at89s52 interfacing with Xbee
Mon Feb 07 2011, 11:27 pm
hello, i had promble with communication by using xbee. i know that xbee operate with 3.3V but 89s52 is 5v
1. my project like this :
uc+xbee (send data to) xbee+pc
2. can i using this circuit http://www.8051projects.info/upload/Image/Interface_ckt.BMP
tq
1. my project like this :
uc+xbee (send data to) xbee+pc
2. can i using this circuit http://www.8051projects.info/upload/Image/Interface_ckt.BMP
tq
Tue Feb 08 2011, 11:14 pm
You can use that schematic if your module is support 5v inputs. if not then you have to lower down the voltage level. You can make use of a simple transistor logic.
for input to microcontroller you actually dont need to do anything. microcontroller that are 5V tolerant can accept 3V input levels.
so.. do check your module's datasheet...
for input to microcontroller you actually dont need to do anything. microcontroller that are 5V tolerant can accept 3V input levels.
so.. do check your module's datasheet...
Wed Feb 09 2011, 10:05 pm
i see the module`s datasheet, the tx current : 45mA @ 3.3V and rx current : 50mA @ 3.3V
it show that i cannot directly connect to pin tx/rx uC and must have a voltage divide to reduce the voltage from 5V to 3.3V ? right? if i wrong plz corret it.
thanks
it show that i cannot directly connect to pin tx/rx uC and must have a voltage divide to reduce the voltage from 5V to 3.3V ? right? if i wrong plz corret it.
thanks
[ Edited Wed Feb 09 2011, 10:05 pm ]
Thu Feb 10 2011, 01:33 pm
yes u can use voltage divider or MC14050 it is 3.3 volt operated not gate
insert it in controller and xbee module
insert it in controller and xbee module
Thu Feb 10 2011, 04:59 pm
thanks majoka for ur reply
are this circuit like this?
http://www.kronosrobotics.com/Projects/MaxStreamInterface3.pdf
are this circuit like this?
http://www.kronosrobotics.com/Projects/MaxStreamInterface3.pdf
Thu Feb 10 2011, 05:38 pm
yes almost in pdf circuit is doing same thing resistor will limit hr current
i was talking like this that is on this page
http://www.8051projects.net/forum-t40433-last.html
i was talking like this that is on this page
http://www.8051projects.net/forum-t40433-last.html
Thu Feb 10 2011, 06:10 pm
yes may be it effected but module can effect that point is more important
Thu Feb 10 2011, 08:52 pm
hmm, that any solution to make sure the data and module in the good condition when it interface with 89s52?
Powered by e107 Forum System