Blogger

Delete comment from: Ken Shirriff's blog

C. Weeks said...

Hi Ken,

First off, thanks for all the hard work on building this library, the documentation and even the examples. You've saved me many, many days (weeks? months even?) of research.

Now for the issue: This is my first Arduino project and I'm still tinkering with the IRremote examples that you've bundled with the library and, while IRsendDemo works as coded, I can't seem to get IRrecord to work.

Hardware:
Arduino Uno R3
IR receiver breakout board - http://www.sparkfun.com/products/8554
Max Power IR LED Breakout kit - http://www.sparkfun.com/products/10732

Luckily the device I'm trying to operate uses sony codes and 0xA90 in the IRsendDemo works perfect.
I switched over to the IRrecord sketch and the serial output is as follows:

Received SONY: A90
Received SONY: A90
Received SONY: A90
Received SONY: A90

When I hit the button, the IR LED lights up (checked with my phone) but no dice. I've tried copy/pasting the send code with the For statement directly from the IRsendDemo to the IRrecord Thinking it might be a timing issue but still nothing.

If it helps here's a dump of the button press:
A90
Decoded SONY: A90 (12 bits)
Raw (26): -25430 2500 -500 1300 -450 700 -500 1300 -450 700 -500 1300 -450 700 -500 700 -450 1300 -500 700 -450 700 -450 700 -500 700
A90
Decoded SONY: A90 (12 bits)
Raw (26): -13802 2500 -450 1350 -450 700 -450 1350 -450 700 -450 1350 -450 700 -450 700 -500 1300 -500 650 -500 700 -450 700 -500 650
A90
Decoded SONY: A90 (12 bits)
Raw (26): 4982 2500 -450 1350 -450 700 -500 1300 -450 700 -500 1300 -450 700 -500 700 -450 1300 -500 700 -450 700 -450 700 -500 700


Any chance you can shed some light on what I'm missing?

Thanks again,
Weeks

Apr 26, 2012, 3:28:15 PM


Posted to A Multi-Protocol Infrared Remote Library for the Arduino

Google apps
Main menu