Arduino - IR Repeater Tutorial (Part 2)
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