multi stamp
techgeek1987
Posts: 2
Im using the BS2 Homework Board, and i am wondering if there is a way to add an additional stamp controller to that board, using the stamp that is currently on it to control the additional stamp. if it is possible how would one go about doing it, or even the basic programming logic behind it?
Comments
Apart from the above, what do you mean by "control the additional stamp"? There are some examples in a two part article in Nuts and Volts on networking Stamps. Have a look at that. The index and links to the articles is available by going to Parallax's main webpage and clicking on the Resources tab. You'll see a link to the Nuts and Volts article index near the bottom of the Resources page.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
In the picture below, there are four OEM-BS2 boards controlled by a BS2p40. Communication was accomplished by raising pins high and then lowering them. Each of the five Stamps could be programmed either by a breadboarded RS232 interface (BS2p40) or a USB2SER (the BS2s).
The master/slave setup worked very well and made for some interesting programming. The programming was not complicated, in fact it was very simple because no single microcontroller had to do much. The advantage of not using the most-excellent SERIN/SEROUT commands is that you will never be waiting on one of the commands to complete. The disadvantage of using the master/slave setup is that it is obviously hardware heavy.
On the machine pictured below, I have replaced all of the microcontrollers with a single SX48 running at 20MHz.
[noparse][[/noparse]EDIT: Changed BS2px40 to BS2p40.]
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
Post Edited (Bill Chennault) : 12/7/2009 1:45:26 AM GMT
Nice BOT
I see you covered-up the wheel encoders, are they store bought or home made?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
You USED to be able to buy them as an option at Banebot. However, that is no longer possible. But, when it was, they came fully calibrated as part of the gearbox.
After I run out of the old Banebot motors with built-in encoders, I will start building my own. (Banebot still has an incredibly interesting line of gearmotors. Think dual motors driving a single gearbox.)
--Bill
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You are what you write.
It completely breaks up the SEROUT / SERIN synchronization problem without adding too many parts.