In my initial research I found an Arduino sketch and was totally prepared to port it to ESP32, but luckily somebody already did that for me! Even better, it's explicitly using the CC1101. Oh and we need some cables, a bread board, the usual stuff )Īnd the end result isn't too beautiful either, but it works: The CC1101 is essentially an SDR, as you can tune it to a huge spectrum of frequencies. The CC1101 is important as most 433MHz chips for Arduino/ESP only work at 433.92MHz, but Somfy uses 433.42MHz and using the wrong frequency would result in really bad reception. As the end result should be an ESP32, let's move on! Acquiring the right hardwareĬontrary to an RTL-SDR, one usually does not have a spare ESP32 with 433MHz radio at home, so I went shopping: a NodeMCU-32S clone and a CC1101. I know I'm looking for the right protocol at the right frequency. At this point I could just use the id and the counter to send own commands, but if I'd do that too often, the real remote would stop working, as its counter won't increase and the receiver will drop the commands when the counters differ too much.īut that's good enough for now. The output contains the buttons I pressed, but also the id of the remote and the command counter (which is supposed to prevent replay attacks).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |