Adding a 2nd BS2
I have the BS2 Discovery Kit and have went through most of the stuff in the What's a Microcontroller book.
My question is is it possible to connect 2 [url=mailto:BS2@'s]BS2's[/url] together and have them communicate with each other?
Also is it possible to pull the BS2 chip off the kit board and place it on my own board and supply it with 5 volts dc? Would I need anything else to run the chip once I have it programmed?
My question is is it possible to connect 2 [url=mailto:BS2@'s]BS2's[/url] together and have them communicate with each other?
Also is it possible to pull the BS2 chip off the kit board and place it on my own board and supply it with 5 volts dc? Would I need anything else to run the chip once I have it programmed?
Comments
The answer to your first question is YES, via SERIN/SEROUT. I can't answer your second question, as I've never personally seen a "Discovery Kit".
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Personally, I like the $20 "Super Carrier Board", http://www.parallax.com/detail.asp?product_id=27130
This gives you some prototyping area where you can add sockets or chips·to make your own circuits.
Post Edited (allanlane5) : 8/24/2006 12:27:44 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Or could I connect an output from one to the input of the other as sort of like a "trigger" and visa versa?
A simple example woulds be : BS2 #1 would run until something happens and it would send an output high or low to a input
pin on BS2 #2 and then it would run until it sent a hi/lo signal back to BS2 #1 to "trigger" it to start again
Thanks for all your help guys!!
John
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Typically, you determine one to be the 'Master', while the other is the 'Slave'. You do this, because the 'slave' will spend more time waiting in a SERIN for the 'master' to talk to it. You have to do this because the BS2 doesn't 'buffer' RS232. If the 'receiver' is not waiting in a SERIN when a 'sender' sends to it, it won't get the data.