Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem in interfacing Xbee with at89s51 microcontroller

Status
Not open for further replies.

harisharanyp

Newbie level 4
Joined
Mar 18, 2013
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,327
Our project has simple task of sending some text from the laptop(one end) to the microcontroller(other end). Laptop and microcontroller are to be connected using wwireless connection. We have :two series2 XBees; two Xbee breakout boards (one with USB and another with DB9 port); microcontroller. We want to interface one Xbee with an at89s51 microcontroller. can anyone please guide us in interfacing these two? do we need to use a level-shifter at the tx-rx pins of xbee?
kindly help.
 

yes of course bro, the levels given by the serial xbee pins are ttl with -7 and 7 volts. so what you need to do is to make these levels 0 and 5 volts inorder for the microcontroller to understand that these are uart data.
 

yes of course bro, the levels given by the serial xbee pins are ttl with -7 and 7 volts. so what you need to do is to make these levels 0 and 5 volts inorder for the microcontroller to understand that these are uart data.

Can you suggest which type of level shifter to use ?
 

i suggest that you should use a comparator of reference 0 and threshold 5v so if signal is -7 it will give 0v and if signal is 7v it will give 5v.
regards.

- - - Updated - - -

i suggest that you should use a comparator of reference 0 and threshold 5v so if signal is -7 it will give 0v and if signal is 7v it will give 5v.
regards.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top