Comments: IR Control Kit Hookup Guide

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #1634254 / about 4 years ago * / 1

    The IRremote library (as of version 2.5.0) renamed several variables. The SparkFun program breaks when trying to compile with versions newer than 2.2.3. The applicable name changes are:
    RAWBUF --> RAW_BUFFER_LENGTH
    USECPERTICK --> MICROS_PER_TICK
    MARK_EXCESS --> MARK_EXCESS_MICROS

    I hope this helps someone else who is trying to use this program with newer versions of IRremote.

  • Member #1371583 / about 7 years ago / 1

    Anybody please tell me the format of the output generated by the remote . is it NEC or just a 32 bit data. I try to interface with XBee but it is not working because TSOP38238 IR receiver module is decoding the input from the remote . It is not understandable by XBee for serial read. Then I used MCP2120 to convert to UART but I want to know the format of remote so that I can able to decode the data.

  • -------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------

    Additional IR Tutorials

    "Laser" Limbo [ https://www.sparkfun.com/tutorials/327 ]

  • Member #619848 / about 10 years ago / 1

    I've used the examples to set up the IR receiver on one UNO and the IR transmitter on another UNO. I can get the receiver to recognize the output of the transmitter as long as they are about 6 inches apart or less. How do I get the type of range of transmission that the remote gives me? I need across-the-room type of range -- like 15 feet or so. Thanks in advance for helping out!

  • Parizival / about 11 years ago / 1

    I can get the sketches to compile on my Uno, but I cant get them to compile on my Leonardo. Does anybody know why?

  • Member #533144 / about 11 years ago / 1

    Hello

    I saw your good site Can you help me to decode an remote IR signal ?

    Here is what i did :

    1. Increase the Rawbuf to 250 because my signal seems to be more longer than 100.

    2. Load the IRremote: IRrecvDump sketch

    3. Capture the signal (below)

    50A4250F Unknown encoding: 50A4250F (32 bits) Raw (250): -23928 3400 -1700 500 -1200 450 -1250 450 -400 450 -400 550 -350 500 -1200 500 -350 450 -400 450 -1250 450 -1300 400 -450 500 -1200 450 -400 450 -400 550 -1200 500 -1200 450 -400 450 -1250 450 -1250 450 -400 450 -450 400 -1300 450 -400 450 -400 450 -1250 500 -350 450 -450 500 -350 450 -400 450 -400 500 -350 500 -400 450 -400 400 -450 500 -350 500 -350 500 -350 500 -400 450 -400 500 -350 500 -350 500 -350 500 -350 500 -400 500 -350 500 -1200 450 -400 450 -400 450 -450 400 -450 500 -350 500 -1200 500 -350 450 -400 550 -350 500 -350 500 -350 500 -1200 500 -350 500 -400 450 -400 500 -350 500 -350 500 -350 500 -400 450 -400 450 -400 500 -350 500 -1200 500 -1200 450 -400 450 -400 500 -1250 450 -400 450 -1250 500 -350 550 -350 400 -450 500 -1200 450 -400 500 -1200 450 -1250 450 -1250 550 -350 400 -1300 450 -1250 450 -1250 500 -350 450 -400 450 -450 450 -400 500 -350 500 -350 500 -350 500 -350 450 -450 500 -350 450 -400 500 -350 500 -350 550 -300 550 -350 450 -400 500 -350 500 -350 500 -350 500 -400 450 -400 500 -350 500 -350 500 -350 500 -350 500 -350 500 -400 450 -400 450 -400 500 -350 500 -350 500 -350 500 -400 400 -450 500 -350 500 -350 450

    1. Remove the first -23928 and all the -

    2. Build and load this code

    include <IRremote.h>

    IRsend irsend;

    // setup my arrays for each signal I want to send unsigned int powerOn[250] = { 3400,1700,450,1250,450,1250,450,400,450,400,450,450,500,1200,500,350,450,400,500,1200,450,1250,550,350,500,1200,500,350,450,400,500,1200,450,1250,450,450,500,1200,450,1250,450,400,500,350,450,1300,400,450,500,350,500,1200,450,400,500,350,500,400,450,400,500,350,500,350,500,350,500,350,500,400,500,350,500,350,500,350,500,350,500,350,550,350,450,400,500,350,500,350,500,400,450,400,500,1200,500,350,500,350,500,350,550,350,450,400,500,1200,450,400,500,350,500,350,500,400,500,350,500,1200,500,350,500,350,500,350,500,350,500,400,500,350,500,350,500,350,500,350,500,350,500,1250,500,1200,400,450,500,350,500,1200,450,400,500,1200,550,350,450,400,500,350,500,1200,500,350,500,350,500,1250,450,1250,400,450,500,1200,450,1250,450,1250,450,450,450,400,450,400,500,350,500,350,500,350,550,350,450,400,450,400,500,350,500,350,500,350,500,400,500,350,500,350,500,350,500,350,500,400,450,400,500,350,500,350,450,400,500,350,550,350,450,400,500,350,450,400,450,400,500,350,550,350,500,350,450,400,500,350,500,350,500,350,500,350,500};

    void setup() { }

    void loop() { irsend.sendRaw(powerOn,250,38); delay(4000); }

    Nothing work , can you advise ? Thanks

  • a2304 / about 11 years ago / 1

    So I had a few errors with the code. What should I do?

    IR_Control_Kit:51: error: 'IRrecv' does not name a type IR_Control_Kit:52: error: 'decode_results' does not name a type IR_Control_Kit.ino: In function 'void setup()': IR_Control_Kit:70: error: 'irrecv' was not declared in this scope IR_Control_Kit.ino: In function 'void loop()': IR_Control_Kit:84: error: 'irrecv' was not declared in this scope IR_Control_Kit:84: error: 'results' was not declared in this scope


If you've found an issue with this tutorial content, please send us your feedback!