tkoWD said:To be able to connect the RS232 to IR you must understand how RS232 works. 12 volts sends '0', -12 volts sends '1'. When you want to Tx you want the led to light up. So you must modulate the input signal ( RS232 ) with the carrier frequency which you choose (e.g 90KHz with NE555 ), this will turn the IR EMITTER on/off. Pay special attention to the average current of the IR EMITTER. More current = more distance, too much current no distance...
On the receiver end you must filter out your signal from other infrared sources such as light, sun, convert the signal to RS232. Use an oscilloscope to visualze the signals...
the receiver has to filter the noise, amplify the signal, convert to TTL then to RS232.
tkoWD said:I have these two pictures that i managed to restore from my harddrive, the transmitter and the receiver. You must use after the receiver a filter, a wave rectifier, a peak detector and a comparator. This is all i could remember hope it helps.
This is only one way of doing this but i guess there are many other ways, you must do some research
b4bb4ge said:very easy, you guys are over thinking this problem I have done this several times with laser diodes. you just need and MAX232 and a tx diode and rx diode (one is a photo transistor and the other a photo diode) connect these to the max232 chip through a transistor (for current reasons) and your circuit is finished.
Does this make since?