I'm just getting started with espruino here. My first project is to make the lights in my room(which are currently controlled via an IR remote) controllable by the espruino.
I have all the gear here: an espruino, an IR sensor, and an IR led. I followed the tutorial for decoding the IR signal from the remote, but I don't get a single number long number. The output is something like:
So as per the tutorial saying there are two distinct groups of numbers, it looks like my numbers split off at 0.01, so I changed it to that in the code.
So I'm unclear if I have the correct numbers or not? Also, I'm unclear on what the next steps are to lighting the IR led programmatically. Specifically, I'm not sure how to connect the IR Led to the espruino as well as how to send the proper code to it programmatically.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hey everyone,
I'm just getting started with espruino here. My first project is to make the lights in my room(which are currently controlled via an IR remote) controllable by the espruino.
I have all the gear here: an espruino, an IR sensor, and an IR led. I followed the tutorial for decoding the IR signal from the remote, but I don't get a single number long number. The output is something like:
or
depending on the function on the remote.
Here is what the raw times are:
So as per the tutorial saying there are two distinct groups of numbers, it looks like my numbers split off at 0.01, so I changed it to that in the code.
So I'm unclear if I have the correct numbers or not? Also, I'm unclear on what the next steps are to lighting the IR led programmatically. Specifically, I'm not sure how to connect the IR Led to the espruino as well as how to send the proper code to it programmatically.
The remote is a Lutron MIR-ITFS 5 function remote. I actually found the datasheet for the remote: http://www.lutron.com/TechnicalDocumentLibrary/048158.doc if that helps anyone understand this problem a bit better
Thanks in advance for any help continuing on here! :)