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.
Just wanted to share this with the community as I couldn't find an example when searching via google
In my setup I have these devices
1 - 303Mhz Hampton Bay Fans ( RCSwitch )
2 - 315Mhz GE Ceiling Fans ( RCSwitch )
3 - 433Mhz Temperature sensor ( ESPPiLight )
And I wanted to see if it was possible to scan all the frequencies and receive any messages when they were received. So I pulled together the code below ( this is my first attempt at something like this, so it likely has issues ). Personally I would rate the code as hacky, as I pulled a couple of functions from this library local and also needed to make the calibrate function public.
For the frequency hopping, followed the example in the data sheet and think I have method 2 on page 64 working okay. With my setup it appears to work pretty well
Just wanted to share this with the community as I couldn't find an example when searching via google
In my setup I have these devices
1 - 303Mhz Hampton Bay Fans ( RCSwitch ) 2 - 315Mhz GE Ceiling Fans ( RCSwitch ) 3 - 433Mhz Temperature sensor ( ESPPiLight )
And I wanted to see if it was possible to scan all the frequencies and receive any messages when they were received. So I pulled together the code below ( this is my first attempt at something like this, so it likely has issues ). Personally I would rate the code as hacky, as I pulled a couple of functions from this library local and also needed to make the calibrate function public.
For the frequency hopping, followed the example in the data sheet and think I have method 2 on page 64 working okay. With my setup it appears to work pretty well