hello everyone. im very new to arduino world. i have used IR receiver to decode signals from my fan's remote. it is in raw so its bunch of numbers, and i have filtered them like so 7000,64046,3460346 ect ect.... ( thats not the actual code)
now im not sure how to make my ir led to send these commands. im using a mega 2560. here is my schematic : http://www.instructables.com/files/orig/FOH/PE7S/GBV5WKEA/FOHPE7SGBV5WKEA.png
Well for a start that 15 ohm resistor is way too low, you will draw too much current out of the arduino pin and damage it. So you need to either up it to about 100 ohms or use a transistor to switch it.
Then you need to find out at what speed the Ir is being modulated at and change the PWM timers to that. Then you need to flash that modulated ir on an off in the right code sequence.
There is a good Lady Ada tutorial on this sort of thing, but it is too long to give all the detailes in a post reply.
I have noticed that your hardware diagram is from an instructables project. These are usually very very poor when it comes to electronic hardware, my advice would be never to use them with out asking a grown up first.
This is the front page with the circuit I'm currently using, and follow the software link to see the code that uses timers and interrupts to generate IR signals (lots of which I adapted from other IR projects).