Networking two BOEs with BS2s
Greetings,
First, I'm a bit of a newbie when it comes to both electronics and robotics, so please excuse
my lack of knowledge.
Alright... I have there BOE-bot kits I bought at a surplus store and I've gone through the
lessons in the books that came with them, but I'm interested in branching out a bit more.
I'd like to connect two of the BOEs together and allow them to communicate... As far as
I can tell, everything is 5volt so it should be as simple as plugging a wire from one to another
and using either HIGH/LOW or PULSIN/PULSOUT... I'm not very familiar with SERIN/SEROUT so
if that is required, please point me in the direction of some information on those commands
(I've read whats in the software's help index, and its a tiny bit over my head).
I'd just like to confirm that its as simple as a single/multiple wires before I try it... I don't
want to burn out one or both of·my BS2s!
Also... does anyone have any hints or tips when it comes to networking MCs like this?
First, I'm a bit of a newbie when it comes to both electronics and robotics, so please excuse
my lack of knowledge.
Alright... I have there BOE-bot kits I bought at a surplus store and I've gone through the
lessons in the books that came with them, but I'm interested in branching out a bit more.
I'd like to connect two of the BOEs together and allow them to communicate... As far as
I can tell, everything is 5volt so it should be as simple as plugging a wire from one to another
and using either HIGH/LOW or PULSIN/PULSOUT... I'm not very familiar with SERIN/SEROUT so
if that is required, please point me in the direction of some information on those commands
(I've read whats in the software's help index, and its a tiny bit over my head).
I'd just like to confirm that its as simple as a single/multiple wires before I try it... I don't
want to burn out one or both of·my BS2s!
Also... does anyone have any hints or tips when it comes to networking MCs like this?
Comments
Try the Basic Stamp 2p: Commands, Features and Projects at this link: http://www.parallax.com/html_pages/downloads/basicstamps/documentation_basic_stamp.asp
Even though the document was written for the BS2p, the example for networking two BS2ps will work just the same for the BS2 as long as you use the correct baud rate value for the BS2.
Regards,
TCIII
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
And if you want to be really careful, put a 220 ohm resistor in series with the 'data' wire at both ends. This will prevent damage should one BS2 try to drive the line high while the other BS2 tries to drive the line low. That should never happen, but the resistors will prevent damage if it does.