crankyoldgit / IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
GNU Lesser General Public License v2.1
2.84k stars 810 forks source link

The IT Receiver sensor (SM0038) is receiving signals and reporting values even when not pressing any button in the remote. #2071

Closed sathyashriya closed 4 months ago

sathyashriya commented 4 months ago

I'm trying to control an air-conditioner using Arduino UNO. To receive IR signals from the remote, I'm using SM0038 IR receiver to receive signals form the remote and give hex codes for the ON and OFF command. And once I receive an array of codes for both, I'll give them in another program and give temperature conditions accordingly to invoke them to switch the AC on and off.

But, my IR receiver is continuously receiving signals even while not pressing any button. And the codes which I got by pressing the buttons keep changing each time. Those codes when given in another program does not replay to the AC to switch it on and off.

Here's the program .

IR receiver