- Tue Feb 22, 2011 10:58 am
#120965
Thanks for your time fll-freak, I managed to get it to work.
My initial problem was that I assumed the two sensors/receivers were the same but they were not. Code I was trying was built for the sensor in the very first image but I was trying with the second one (the one that has 2 pin led) that only reads 0-1024 values.
Then of course I puffed the good one, with the new IR receiver it worked from first try and it decodes data properly with IR sample from arduino program. It says "Decoded NEC: FFA25D", "Decoded NEC: FF18E7", etc
My initial problem was that I assumed the two sensors/receivers were the same but they were not. Code I was trying was built for the sensor in the very first image but I was trying with the second one (the one that has 2 pin led) that only reads 0-1024 values.
Then of course I puffed the good one, with the new IR receiver it worked from first try and it decodes data properly with IR sample from arduino program. It says "Decoded NEC: FFA25D", "Decoded NEC: FF18E7", etc