Discussion in "8051 Discussion Forum" started by    posto    Feb 7, 2011.
Mon Feb 07 2011, 11:27 pm
#1
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
Tue Feb 08 2011, 11:14 pm
#2
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...
Tue Feb 08 2011, 11:17 pm
#3
[Topic moved to 8051 Discussion forum]
Wed Feb 09 2011, 10:05 pm
#4
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


[ Edited Wed Feb 09 2011, 10:05 pm ]
Thu Feb 10 2011, 01:33 pm
#5
yes u can use voltage divider or MC14050 it is 3.3 volt operated not gate
insert it in controller and xbee module
Thu Feb 10 2011, 04:59 pm
#6
thanks majoka for ur reply

are this circuit like this?

http://www.kronosrobotics.com/Projects/MaxStreamInterface3.pdf
Thu Feb 10 2011, 05:38 pm
#7
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
Thu Feb 10 2011, 06:05 pm
#8
hmm, how about the data? did will be effect at the data tx/rx?
Thu Feb 10 2011, 06:10 pm
#9
yes may be it effected but module can effect that point is more important
Thu Feb 10 2011, 08:52 pm
#10
hmm, that any solution to make sure the data and module in the good condition when it interface with 89s52?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm