groove wrote:
I relatively new to Arduino (and programming in general) and these videos are FANTASTIC!
I'm trying to find the 'codes' that my IR Remote is sending.
I've started by using the first simple Ardunio sketch 'IR-Rcv-Demo1.ino' which uses the <IRremote.h> library.
The sketch seems to compile/upload successfully, but the serial output is always '0' no matter which button is pressed on the remote.
example:
14:00:02.933 -> 0
14:00:03.034 -> 0
14:00:03.171 -> 0
14:00:03.272 -> 0
14:00:03.374 -> 0
14:00:03.475 -> 0
14:00:04.089 -> 0
14:00:04.123 -> 0
14:00:04.261 -> 0
14:00:04.364 -> 0
14:00:04.467 -> 0
14:00:05.676 -> 0I've tried several similar sketches and I've tried different remotes but all end with the same results.
Any ideas as to what might be the issue?
Note: My board is Mega2560 (though I've tried using an Arduino Nano board with the same results).
Thanks,
-Groove
This topic came up some time ago.
Check all your hardware connections?
Use webcam or digital camera to look at the remote output to see if it is working.
https://forum.dronebotworkshop.com/arduino/ir-modual/#post-11780