cyborg5 / IRLib2

Library for receiving, decoding, and sending infrared signals using Arduino
GNU General Public License v3.0
384 stars 138 forks source link

Cannot Detect Toshiba Remote - Even Raw #91

Closed EasyG0ing1 closed 4 years ago

EasyG0ing1 commented 4 years ago

Hello,

Nice library - excellent documentation.

The only issue I'm having with this library is that I cannot get it to give me any readings with a Toshiba remote control that I have. Even when I use the Raw library, it only gives me two samples with values of 0. However, when I use the freq sketch, it does give me a frequency of 32khz.

When I use this remote with the core Schiff library, it will give me an actual HEX code that is unique for each button on this remote, but I need to use this library for its memory efficiency and I also like the options it has with more granular control over the whole process. So, I really want to use this library in my project, but I need to be able to detect the different buttons on this Toshiba remote control, not to re-play those codes, but as a means of triggering different functions within my sketch.

Any ideas on how I could do this?

Here is a zip file containing a screenshot of my scope along with a text file that has the raw data points that the scope captured from a button press from this remote, if it will help anyone with an answer for me.

ScopeData.zip

By the way, I'm using this library with an Arduino Nano if that matters. I'm also doing these tests with the sample sketches or the code from the manual ... no other libraries or hardware are any part of the equation.

Thank you,

Mike Sims

EasyG0ing1 commented 4 years ago

I solved my problem with the Toshiba remote ... the AA batteries were reading 1.4V each ... which I thought was just fine until I replaced them with batteries that read 1.5V each. Now the library correctly interprets the codes as NEC codes.

My bad!

Thank you,

Mike