I want to create a IR Receiver that can record a IR signal e.g. a TV remote, and then at a press of a button it plays back the signal thou its own IR LEDs . I would also like it to record it to a SD card so I can manually add it to future Code.
You may also want to use one of these: https://www.sparkfun.com/products/10732
It’s a little PC board with a small NPN transistor, the appropriate resistors and a high power IR LED. You can connect this directly to your Arduino (5 volts, ground and control signal to Pin 2) and it will give you a really “bright” infrared signal that works much further than merely connecting the LED to the Arduino port.
Also, note that Ken Sherriff’s IR library works with the Arduino UNO (and any other 328P based board). It doesn’t work on an Arduino MEGA (and I haven’t dug into the code to figure out why yet).
Lastly, in case you don’t know… you can’t see the IR light from the LED. At BEST you may be able to see a VERY dim orange glow in a pitch dark room. But a digital camera CAN see the IR perfectly (it shows up as a bluish-white glow). So you can use a digital camera to check if your circuit is working properly.