Discussion in "Project Help" started by    yasir mahmood abbasi    Jan 29, 2008.
Tue Jan 29 2008, 01:38 pm
#1
i need circuit and configuration code to implement IR sensor led communication b/w microcontroller
and tell me frequency
baud rate,
how to interface it.
Tue Jan 29 2008, 10:37 pm
#2
IR sender: IR LED
IR Receiver: TSOP1738
IR Frequency: 38Khz
Baudrate: 1200bps (for good communication)

Please make use of NE555 in astable multivibrator configuration for 38Khz square wave and 50% duty cycle. Connect the o/p of 8051's UART to RST pin of NE55.
Wed Feb 13 2008, 02:26 am
#3
On the sender side I connected the IR LED & transmitted the data on 1200bbs & on the Receiver side I collected the data using the IR detector at 1200bps, but communication is not establishing between to 8051 controllers???

The ckt explained above (IR Sender has how much baud rate & how u have connected the TSOP at the receiver side?) Can u give me the ckt diagram for the same & some help on it....

Thanks
Wed Feb 13 2008, 12:09 pm
#4
TSOP understands only PCM waveform so you need a 38Khz carrier wave for transmitting your data.

TSOP is directly connected to 8051's RX pin but after you receive the data you need to complement it.
Sun Jul 06 2008, 11:38 pm
#5


TSOP understands only PCM waveform so you need a 38Khz carrier wave for transmitting your data.

TSOP is directly connected to 8051's RX pin but after you receive the data you need to complement it.

Ajay



You mean to receive data from an IR transmitter (mobile phone/remote), TSOP's data pin can be directly connected to the RX pin of the 8051 micro Controller??

If yes, can I use the same code to scan the data that I am using while serial connection of 8051 with Hyper Terminal?
Mon Jul 07 2008, 07:48 pm
#6
well serial port can be only 1-1 connection. you cant use the same port for receiving and sending with two peripherals.

rather.. if you use only rx pin of controller for IR reception then tx can be connected to PC like simplex communication.
Mon Jul 07 2008, 08:44 pm
#7
you mean I have to connect the tx pin to a pc? Can't I leave the tx pin free?

Or if i has to connect in anycase, can I connect it directly to an IR led?
Tue Jul 08 2008, 08:39 am
#8
You can very well leave the tx pin unconnected...
Tue Jul 08 2008, 08:44 am
#9


TSOP understands only PCM waveform so you need a 38Khz carrier wave for transmitting your data.

TSOP is directly connected to 8051's RX pin but after you receive the data you need to complement it.

Ajay


think you would have to invert the bits before it gets to the rx pin,else with the start and stop bits of the frame inverted,the controller will not be able to make out the serial frame.
Tue Jul 08 2008, 11:03 am
#10


think you would have to invert the bits before it gets to the rx pin,else with the start and stop bits of the frame inverted,the controller will not be able to make out the serial frame.

sashijoseph



Dear Sashi, Can you please explain it in detail. I do not have any idea how to invert the bits..?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

RandyBence
Wed May 15 2024, 02:00 pm
JordanDic
Wed May 15 2024, 01:55 pm
DavidDeelf
Wed May 15 2024, 11:16 am
ytaletjkca
Wed May 15 2024, 09:45 am
MildredWoumb
Wed May 15 2024, 04:07 am
NaKrutkADamb
Wed May 15 2024, 12:03 am
MichaelGot
Tue May 14 2024, 04:08 pm
FrankTrelm
Tue May 14 2024, 10:39 am