Pressing a button results in 2 alternating values for RC5 #1289
-
Hello. I have an IR receiver as described here: The IR receiver signal line is connected to Arduino Mega 2560. I use a Hauppauge remote control (RC5) which works very well with the IR receiver and LIRC driver on a Linux machine. 1 value for every button, not 2 alternating values. Here is the simpe sketch I use on Arduino:
Here is the serial output when pushing a button (1 line for 1 pushing):
Here is the serial output when pushing another button (1 line for 1 pushing):
It's the same with all buttons. Alternating 1F and 17. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You get two different signals because the remote sends two different signals for that button. That is the way RC-5 works. It is called a toggle, and makes it easy to distingbuish e.g. between two different presses of 1 and the 1 held down. If you want RC-5 with the toggle stripped, use the correct decoder. |
Beta Was this translation helpful? Give feedback.
You get two different signals because the remote sends two different signals for that button. That is the way RC-5 works. It is called a toggle, and makes it easy to distingbuish e.g. between two different presses of 1 and the 1 held down.
If you want RC-5 with the toggle stripped, use the correct decoder.