Serial to 3 bs2
cjleydon
Posts: 14
in BASIC Stamp
Hi guys. I am currently working on a project that requires 3 basic stamps and want to be able to program them in their board. I was thinking of using the usb BOE to connect to the computer and have 4 wires come off that (Sin, Sout, ATN, and Gnd) and go through a 3 way switch to each stamp in the main project board, however it doesnt work. I have continuity between each of the 4 pins on the BOE board to each stamp in the main project board and no shorts between them but still nothing. The cable betweeen the BOE board and the switch is approx 800mm long and between the switch and the stamps is approx 400mm long. Is this too long? is there something else i can do?
Any help would be greatly appreciated. Thanks.
Any help would be greatly appreciated. Thanks.
Comments
Sout is connected to switch.
Sin is connected to switch.
Atn is connected to switch.
Correct me if I'm wrong.
Im confused, are you saying all the pins on the selected stamp must have continuity to atn pin on pc?
I have continuity from atn on boe to tan on selected stamp only.
continuity from Sin on boe to Sin on selected stamp only
continuity from Sout on boe to Sout on selected stamp only.
Gnd is connected to all stamps all the time
All working now!! Yay!! Thanks AwesomeCronk.
I added a 0.1uF cap between gnd and atn on each of the 3 stamps.
Glad to hear you found something that worked.
But I'm curious...what was the problem that the capacitor remedied? Were you able to 'scope the signal on the ATN pin and see something amiss?
DJ
That’s only a guess though. But I still don’t understand why it works without the cap if it’s plugged straight into the boe board. Maybe cable length?
This comes from Nuts & Volts column #63, which is in Volume 2.
https://www.parallax.com/downloads/nuts-and-volts-basic-stamps-volume-2
Figure 63.1 is the programming port and DEBUG interface.
The capacitors on the ATN line allow the Stamp to be reset by the PC but will block a steady state on the serial DSR line.
This will be important later when we connect the Stamp to a terminal program.
You can find all of those articles here and there is a treasure trove of information in there so take a look.
https://www.parallax.com/search?search_api_views_fulltext=nuts+and+volts&=Search