rc-switch icon indicating copy to clipboard operation
rc-switch copied to clipboard

SimpleRCScanner returning random numbers with no RF signal (no button pressed)

Open helzayat opened this issue 4 months ago • 1 comments

I am running SimpleRCScanner on a NodeMCU. After adding:

#if defined(ESP8266) || defined(ESP32)
    // interrupt handler and related code must be in RAM on ESP8266,
    #define RECEIVE_ATTR ICACHE_RAM_ATTR
#else
    #define RECEIVE_ATTR
#endif

and RECEIVE_ATTR void handleInterrupt() it runs and I get a string of 0s when nothing is connected to the NodeMCU. If I connect my 433MHz receiver (This item: https://makerselectronics.com/product/wireless-rf-kit-433mhz-transmitterreceiver) and reset the NodeMCU, I get a random string of digits before I press any buttons on my fob. They are different each time the sketch runs, and the visualization on https://test.sui.li/oszi/ makes no sense. Pressing any button on the fob during the countdown doesn't yield reproducible sequences, just another random series. I don't have an oscilloscope, but a voltmeter connected to the output of the receiver shows that something happens when I press a button. I was hoping to duplicate my fob using the RF transmitter controlled by an ESP8266 and WiFi through my phone. Any ideas?

helzayat avatar Feb 21 '24 23:02 helzayat