XBee Level Shifting

it2022-05-12  46

http://www.faludi.com/bwsn/xbee-level-shifting/

The XBee communication (RX/TX) pins definitely operate off of a 5V signal with the Arduino. We’ve seen this a lot and done this a lot, and it certainly keeps things simple. That said, there’s nothing wrong with adding a level-shifting circuit to deliver 3.3 V signals to the XBee and 5 V signals to a microcontroller.  Definitely a good idea for commercial applications where you will need to keep the module stable across its entire temperature range, etc.

Level shifting can be accomplished with:

a resistor-based voltage divider: This will work but will also slow down signal rise and fall times significantly. For most cases this won’t be a problem, but it might affect the integrity of fast signals over long wires.a Zener circuit (with a resistor for level-shift): This is better but the part isn’t one most people have lying around, and it’s not stocked say, at Radio Shacka diode circuit:  The two in the schematic below use easily available parts and the diodes can be any common silicon rectifier type

转载于:https://www.cnblogs.com/shangdawei/p/3190929.html

相关资源:xbee中文教程

最新回复(0)