serout stuff
damion
Posts: 39
Hello,
So what I would like to do is link 2 bs2p's with seperate vin and vdd sources to one transciever and have them both send data via the transciever. From the serout documentation I get the impression that this is how I wire it up. But I have already burntout one pin trying this. Any advice as far as code is concerned?
Thanks,
Damion
So what I would like to do is link 2 bs2p's with seperate vin and vdd sources to one transciever and have them both send data via the transciever. From the serout documentation I get the impression that this is how I wire it up. But I have already burntout one pin trying this. Any advice as far as code is concerned?
Thanks,
Damion
doc
92K
Comments
1) I don't know how much current the Maxstream transceiver takes, but it's probably more than the regulator on the Stamp can provide. A Stamp can normally provide only about 50ma of +5V and the Stamp itself takes some of that. You can't parallel two Stamps to get more current either.
2) It's dangerous to directly connect two Stamp pins to each other (pin 8 on one Stamp to pin 7 on the other). Both Stamps will initialize their I/O pins to input mode and, if you write your programs properly and make no mistakes, you can do without a protective series resistor in each lead, but, if you accidentally make both pins outputs and they're in different states (one high and one low) for even a few milliseconds, you may burn out one or both I/O pins. Other than that, you can connect both Stamps to one transmit input with the pullup and whichever Stamp does an output that pulls the transmit line low will control the transmitter (a SEROUT will work too as long as you use open mode). I suggest you use a smaller pullup value. 4.7K is a good compromise for power vs. speed. If you do use a protective series resistor in each Stamp I/O lead, 220 ohms would be fine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Suman I am working with the xstream module.