Comments (4)
Hi @garudaonekh
Normally with ASK/OOK based RF switches, you have a set of DIP switches in the remote / receiver, used to specify an address.
This lets you run multiple pairs in parallel. Supporting One-One, One-Many, Many-One and Many-Many.
eg. If you set two receiver switches with the same address, one remote button can toggle both switches.
If your remote has DIP switches (normally inside where the battery is), then it's most likely going to be ASK/OOK based, sending the same unencrypted bytes each time, and not more modern rolling-key FSK based which sends a unique code each key press.
Depending on where you are in the world, your remote will either operate on 315MHz or 433MHz. It should have something on the packaging, or sometimes on the back of the remote / receiver.
This YS-RF34T module is designed to work with 433MHz RF switches that use specific protocols (2262, 2260, 1527).
They send 2x address bytes and a key byte.
The address bytes represent the DIP switches, and the key byte to say the state of the device(s) - in the case of a switch, on/off.
If your remote has multiple buttons, it's likely going to use the same address bytes, but a different key value for each button.
The YS module combines both transmitter and receiver sub-modules (each with their own antenna).
This lets you RX a remote to learn it's address/key, then later TX the address/key to emulate the remote.
Not all RF switches use these common protocols. If you have an RTL-SDR dongle, you can capture the output of your remote to see if you can emulate it with the YS module. I put some details in the readme about how to capture using the URH program.
If you already have the YS module and a remote, you can skip a RTL-SDR capture by putting the YS module in RX mode and pressing a button on the remote. If it detects it and outputs the same codes for multiple key presses, you're good to go and can use the captured address + keys when you put the YS module in TX mode.
from micropython-ys-rf34t.
Thanks for your elaborate explanation. I manage to use the switch learning mode and set the address from my controller so doing this way, I can assign any address I like. I think this achieve my goal.
It can easily reach 100 meters with some obstacles.
I also have RTL-SDR which I used to decode weather station. Is this module able to decode RF433 signal from weather station as well? my weather station is 433.92
from micropython-ys-rf34t.
It's unlikely the weather station would be emitting packets compatible with the YS module, even though they are on the same frequency band. The weather station is probably sending larger packets using FSK, whereas this module is ASK.
from micropython-ys-rf34t.
I can reach 320 meters with this ys-rf34t module. My testing condition is on the road with a few trees and cars in between.
I work on farm projects so distance is very concerned. I see that RXB series switch can reach longer distance somehow, this module can't receive this kind of signal when I try. Do you have any input on this?
from micropython-ys-rf34t.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micropython-ys-rf34t.