Send IR Signals with arduino.


You need Download Arduino-IRremote-master from Github, move to the library folder under Arduino.

I got my IR emitter module from local electronics shop. The circuit is very simple, just connect your emitter module, the – pin to GND (ground), +pin to pin 3 on arduino. The following code will send the signal in NEC hex format of value ‘0xFF18E7′, which is equal to button 2 of the mp3 controller.