Can you link 2 Basic Stamps Hommework Boards
MrFus
Posts: 27
It is posible to connect two Homework Boards?
I mean connect one of the I/O pins from board number 1 to one of the pins on the second board and send a series of high and low signals from the first to work as trigger to execute some especific subrutines?
How the electronics will be connected...?
Post Edited By Moderator (Chris Savage (Parallax)) : 7/11/2007 12:20:00 AM GMT
I mean connect one of the I/O pins from board number 1 to one of the pins on the second board and send a series of high and low signals from the first to work as trigger to execute some especific subrutines?
How the electronics will be connected...?
Post Edited By Moderator (Chris Savage (Parallax)) : 7/11/2007 12:20:00 AM GMT
Comments
The same info is also in the Basic Stamp Syntax and Reference Manual, which you can download in pdf form. There are probably a couple of articles in the Nuts & Volts columns, which can also be downloaded from the Parallax site.
Take a look at the schematics first, and post if you need more help.
So now after plan 1 is not going to good I get to plan 2 that is design my own microbot, but using 2 boards to have a big big BIG number or I/O options to add features.
Thanks and after read i I have some questions I will go back and when I start bulding something I will post the progress or the final design.
Post Edited By Moderator (Chris Savage (Parallax)) : 7/11/2007 12:19:53 AM GMT
I just want to confirm If I have get the idea clear:
On a fisical way the Boards are going to be connected with 2 cables, one will have a 1k resistor connecting between P1 on both boards and the second one will connect the P0·and·a 10KΩ resistor connected to the Vss from both the boards... is this correct?
On that way the BS will use the Pin 1 to send·and recieve the data and the Pin 0 to monitor the·change of the status of the pin·1 and know when the communication has stop (its like on the example on the book using the pushbutton).
Then on software level, I will use the command serin to make the BS "listen" the P1 for the begining of a chain of data sended (plain numbers or ascii code for text input) and the serout on the other board·to set the microcontroler to use the P1 to start sending info... on the sintaxis I will determine the speed of the transfer, lenght, and some other details... the use of the P0 will help to control the pauses between bits to avoid send·information too fast and lose part of it...
I hope I get the idea clear... today I get a second homework board from radioshack ...
I will open the box and sort the electronic components, and put the board with them on a safe place until I finish to read the book of the first one (its really a good complement to the things I learn with my boe-bot, Im thinking to get another of the books as soon I finish this one, maybe the one that explain the use of IR comunication...) and I start working on this project.
Post Edited By Moderator (Chris Savage (Parallax)) : 7/11/2007 12:19:38 AM GMT