Posts

Showing posts from November, 2015

Arduino - IR Repeater Tutorial (Part 2)

Image
If you want to see the complete tutorial, please visit IR Repeater Tutorial Part 1 first. Test out everything on the proton board: It's always a good practice to test out the wiring before solder components together.  Connect IR receiver LED to Arduino Pro Mini Connect IR emitter LED through 100 Ohm resister The program below was created by Lauszus that I found on Gighub . The original program was written to receive IR code and decode IR then save the IR code in the memory until a button is pressed to emit IR code. To meet my requirement, I made few modifications to make it receive IR, decode IR, and then emit the IR immediately. Here is my code: [Programming code] /* * IRrecord: record and play back IR signals as a minimal * An IR detector/demodulator must be connected to the input RECV_PIN. * An IR LED must be connected to the output PWM pin 3. * A button must be connected to the input BUTTON_PIN; this is the * send button. * A visible LED c

Arduino - IR Repeater Tutorial (Part 1)

Image
Goal:   To share a Set Top Box in living room with Bedroom TV using the same Remote Control. Preface:  Recently, I subscribed a VOD (Video On Demand) service that came with a Set Top Box in the living room. However, I would like to occasionally watch VOD in the bedroom, but the Set Top Box is in the living room. As you know, there is no way to control the Set Top Box in the living room from the bedroom.  Yeah, an IR repeater is all I need. There are commercial products available in the market already, but I quickly thought about the  Control celling light with a TV remote  Arduino project I have done before might be an replacement for the IR repeater I need. After all, this is why I learn Arduino - May my life easier!! Drawbacks of this project: Either one VOD TV program can be watched from living or bedroom at a time, since the Set Top Box is shared.   Arduino Programming Logic: The programming logic to repeat the IR signal is quite simple Receive remote control