Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pinguino 4550 - IR Remote Control Decoding
02-06-2017, 07:20 PM,
Thumbs Down  RE: Pinguino 4550 - IR Remote Control Decoding
(01-06-2017, 04:03 PM)Aldeen19 Wrote: Thank you Fred that's kind of you and I'll be waiting.

* DecodeRemote: demonstrates decoding IR codes from a remote control
* An IR detector/demodulator must be connected to the input IRSENSOR.
* Version 0.1 March, 2014
* Author : Regis Blanchot

int RECV_PIN = 2;   // can be any digital pin

decode_results results;

void setup()


void loop()
   if (IRremote.decode(&results))
       if (results.value == 0xF274ADF) {  // button 1
 if ( results.value == 0x56C403) {   //// button stop
       IRremote.resume(); // Receive the next value
 try this i used my own code and it worked.


I have already attempted every possible programming format I could ever think of, changed various pins, changed various number decoding systems from hex into decimal and binary before I asked for help.. and now after trying your sketch the LEDs are still OFF and not responding.. I am frustrated.
More specifically, by watching the serial terminal I figured out that my Pinguino is actually decoding the incoming signals but not executing the 'if' conditions of turning LEDs ON !!?.. as if there is something wrong with the firmware of 4550 or in the IR library included.

For your information; My Pinguino is self-made 4550 clocked 20MHz, IDE is v11Beta4 compiler type is SDCC,  using Hyper Terminal app of Windows XP SP3 for watching the serial port,   IR sensor is TSOP38238 and the remote TX unit is of unknown brand.   Please see attached photo and tell me what you think ?

Attached Files Thumbnail(s)

Messages In This Thread
RE: Pinguino 4550 - IR Remote Control Decoding - by Aldeen19 - 02-06-2017, 07:20 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)