Arduino IR Remote Receiver

95,480

116

19

Introduction: Arduino IR Remote Receiver

I have been successful in programming my Arduino to identify sets of digits transmitted from my  IR remote.
With this program you can control 4 LEDs over a IR Remote.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts

You will need:

- A TV  IR Remote (I used one from samsung)
- 4 LEDs or more
-  A IR Receiver (TSOP4838, or a similar)
- any Arduino

Step 2: Building

Connect The LEDs and the Reciver like in the picture

LEDs:

LED1 = Pin D4
LED2 = Pin D5
LED3 = Pin D6
LED4 = Pin D7


Reciver:

Pin1 = Pin D19
Pin2 = Gnd
Pin3 = 5v

If you don`t use the Arduino Mega: Use an Digital Pin and write the Pin into the Code.

Step 3: The Code

Unzip "IRremote_Library.zip" and put it to -> documents -> arduino -> liabraries...
Restart arduino...
Then unzip "IR-Reciver.rar" and open it with Arduino.

You are Ready to go !!!

Step 4: Finishing




LED1 = Reverse Button
LED2 = Forward Button
LED3 = Play Button
LED4 = Pause Button

If you press one of the Button, the LED will light up.
And if you press the "Stop Button" they will go out.


Sorry for the watermark, I will replace the video soon.
Arduino Contest

Participated in the
Arduino Contest

Remote Control Contest

Participated in the
Remote Control Contest

Be the First to Share

    Recommendations

    • LED Strip Speed Challenge

      LED Strip Speed Challenge
    • Sculpting Challenge

      Sculpting Challenge
    • Clocks Contest

      Clocks Contest

    19 Discussions

    0
    HGK.
    HGK.

    1 year ago on Step 2

    Why "if you don't use an Arduino mega"?
    I have got an original Arduino mega and the code with the ir sensor doesn't work
    How can I do?

    0
    PeopleAreWeird
    PeopleAreWeird

    2 years ago

    working great with my remote controlled room lights

    0
    kehaldoshi
    kehaldoshi

    3 years ago

    Can I use any remote or I have to change in code ?

    0
    Arpan2103
    Arpan2103

    4 years ago

    It shows compiling error, when i upload IRrecvDemo to uno.

    0
    big_tacy
    big_tacy

    4 years ago on Introduction

    Be careful with the diagram above. I've done a few projects really just a beginner. Not sure if it's right or wrong but I like to wire the source power to the breadboard to start my project. In the case above I wired my positive and negative terminals to the breadboard from my Arduino. Then continued to place my IR receiver. However in the diagram the negative terminal is going to the positive side of the breadboard. Needless to say my IR receiver overheated shortly after turning the power on. They have IR receivers at Radio Shack for $1.99. So the diagram above will work but you have to pay close attention to the polarity of the pins.

    0
    AramV
    AramV

    5 years ago on Introduction

    3.3 actually heated it too, using any resistor works

    0
    lini27
    lini27

    Reply 5 years ago on Introduction

    That should`t be. Have you checked the datasheet for the pin description ? Or try too use a new one...

    0
    AramV
    AramV

    Reply 5 years ago

    I think mine was a different sensor.

    0
    AramV
    AramV

    5 years ago on Introduction

    5 volts was too much for my reciever, 3.3 might work better. it heated up and left an imprint on my finger

    0
    RonanL
    RonanL

    5 years ago on Introduction

    I need to know how to get the remote-control values.

    0
    lini27
    lini27

    Reply 5 years ago

    The project was made a long time ago. Search in google: " adafruit ir", they have a great tutorial and sure the information you need.

    0
    agis68
    agis68

    5 years ago on Introduction

    Hi, I have an old cellphone with broken battery but works using the adepter. I have photos and notes in this phone but are reachable only through IR. So with your hardware can i take my photos back????...the video doesn’t work

    thanks

    0
    lini27
    lini27

    Reply 5 years ago

    No, it doesn't work. I only send numbers, sending photos is more complex. I really recommend going to a smartphone shop they should know what to do.

    Yes, i deleted the video because it was made a long time ago.

    0
    codegamc
    codegamc

    6 years ago on Introduction

    what opens .rar files? the Arduino IDE won't?

    0
    ranil1234
    ranil1234

    6 years ago on Introduction

    https://www.instructables.com/files/deriv/FXV/R2A2/HMEXSWJD/FXVR2A2HMEXSWJD.THUMB.jpg

    error.png
    0
    compactcd
    compactcd

    Reply 6 years ago on Introduction

    Try changing the dashes with lower ones in the library folder name Arduino_IRremote_master (instead Arduino-IRremote-master)

    0
    codegamc
    codegamc

    Reply 6 years ago on Introduction

    that doesn't solve it. its a larger library problem.

    0
    ranil1234
    ranil1234

    6 years ago on Introduction

    i have a problem in the code, the IRrecv irrecv . how can i fix this ! please help me. thanks