Help me connect Xbee to Picaxe!
September 11, 2010
OK, so I’m going to make a remote control to my next robot. I want to connect a picaxe 28x1 to a Xbee and I have ben trying to find
some good examples but with limited success.
As the Picaxe operates at 5V, whilst the Xbee operates at 3.3V I understand that the signal from the picaxe has to be regulated. (not just the input voltage to drive the device).
Of Cause I could run both the picaxe and the Xbee at 3.3V, but that would just screw with everything else I'm gonna connect to it.
I have Ben looking around for adapter-kits that would take care of the signal regulation, but if it would be possible to make a simple one (PCB with on-board Picaxe) , that would be preferred.
Will this circuit fry my Xbee?? This is probably all wrong so I need your input! What am I missing?? I'm a noob so go hard on me!
Will this simple voltage divider do the trick?
Also I have come to understand that you will have to program the xbee module to run at a lower speed to be able to communicate with a Picaxe.
The Xbees default Baud Rate parameter is 3 (9600 bps).
So it seems that I will have to buy at least one Axe210 PICAXE Connect Board and use the Xbee wizard in the Picaxe programming editor to lower the Baud Rate to 2400, and set the Brodcast channel,network group, destination nickname etc...
Also any recommendations of adapter boards or links to information is welcome.
(powerpoint version for windows of the connection at: http://dl.dropbox.com/u/8788764/bigbot/xbee%20ppt.pptx)