LSatan / SmartRC-CC1101-Driver-Lib

This driver library can be used for many libraries that use a simple RF ASK module, with the advantages of the cc1101 module. It offers many direct setting options as in SmartRF Studio and calculates settings such as MHz directly.
Other
410 stars 92 forks source link

868mhz and 433.92mhz #61

Open hzhh110 opened 3 years ago

hzhh110 commented 3 years ago

When receiving 868MHZ, how to block 433.92MHZ and how to set it? After the remote controllers of 433.92 and 868MHZ are sent, 868MHZ is received normally, and it is impossible to determine which frequency it is.

hzhh110 commented 3 years ago

I now use a CC1101 module, which can transmit 315, 433, 868, 915 frequency bands, but I am not sure whether the remote control I copied is 433.92MHz or 868MHz

hzhh110 commented 3 years ago

I tried ELECHOUSE_cc1101.setRxBW(200); and found that the 433.92 frequency can be blocked. What is the principle?????

LSatan commented 3 years ago

Hi, why do you want to block 433.92? you receive what you set. if you only want to receive 868 mhz then set it and only 868 mhz will be received. if you receive something at 868mhz and 433.92 mhz then this is not necessarily unusual. if you are too close to the receiver, for example, another frequency can break through. I suspect, however, that your remote control sends 868 and 433 on both frequencies. This serves as a backup and is often used in alarm systems. to ensure that the signal arrives at the receiver, it is sent dual. rxbw is the reception bandwidth! that means if you set 433.92 mhz and rxbw = 200hz. then you will only receive between 433.82 and 434.02

Regards

hzhh110 commented 3 years ago

Thank you very much, because I am here for the copy of the remote control, and each remote has a corresponding frequency, and we don't know the corresponding frequency, so first I must confirm the corresponding frequency here!Also, is there some way to quickly locate the frequency? For the time being, I can only achieve a fixed copy of a few frequencies. If I can determine the frequency first, I can copy according to the frequency.

hzhh110 commented 3 years ago

How to determine the large range first<300-348 MHZ, 387-464MHZ and 779-928MHZ>, and then determine the small range? How to quickly get the corresponding frequency?

hzhh110 commented 3 years ago

When I keep pressing the remote control to transmit data of unknown frequency, how can I quickly locate the frequency of the remote control?

LSatan commented 3 years ago

have you ever tried the frequency scanner. you need to set the scan area. I do not recommend scanning more than 1mhz. you can also scan 2 MHz but it takes longer. https://github.com/LSatan/SmartRC-CC1101-Driver-Lib/issues/47#issuecomment-685908390