stamp to control three serial ports?
I'm still building my weather balloon, and I need to set up a parallax based flight computer to do the following:
1. take serial output data from another basic stamp setup (on the board of education)
2. take GPS serial data (std OEM garmin GPS 35)
3. process data, and output it through another serial port to a ham radio modem.
4. push some of that data to some sort of flash or non volatile memory.
So basically, I think I need the following:
BS2, or perhaps the BS2P40 (the app mod docs seems to say i need 4 pins per serial port, and maybe some chip, its not clear)
Board of Education Board or BS2p24/40 Demo Board
2 or 3 RS-232 ApMods depending if I can use the onboard serial port for one of the above tasks
some flash or non volatile memory something... and it looks like I'm on my own for that as P-lax doesnt sell anything (why not!!!)
Is this the right track? Will I be able to stack three serial adapters on top of one another to do independent things?
Has anyone done anything related to this?
Thanks.
1. take serial output data from another basic stamp setup (on the board of education)
2. take GPS serial data (std OEM garmin GPS 35)
3. process data, and output it through another serial port to a ham radio modem.
4. push some of that data to some sort of flash or non volatile memory.
So basically, I think I need the following:
BS2, or perhaps the BS2P40 (the app mod docs seems to say i need 4 pins per serial port, and maybe some chip, its not clear)
Board of Education Board or BS2p24/40 Demo Board
2 or 3 RS-232 ApMods depending if I can use the onboard serial port for one of the above tasks
some flash or non volatile memory something... and it looks like I'm on my own for that as P-lax doesnt sell anything (why not!!!)
Is this the right track? Will I be able to stack three serial adapters on top of one another to do independent things?
Has anyone done anything related to this?
Thanks.
Comments
· If you are going to use the programming ("on-board") serial port for one of your devices, then you can't use it for DEBUGging.
· It's possible you only need two I/O pins per device (Transmit Data and Receive Data), unless your devices require hand-shaking.·
Don't forget that the basic stamp cannot receive and transmit at the same time. IOW if you are sending data via the radio, any data that comes in will be lost.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Wise men know when they're right. The wisest also·know when they're wrong."
·
It sounds like you need some simple, small co-processor like the http://www.rhombus-tek.com/co-processors.html. This will provide you with a buffered RS-232 input port, which the BS2 accesses through SHIFTIN/SHIFTOUT instructions. You can easily interface two of these for your inputs, using a 22 Kohm resistor to drop the RS-232 voltage levels (if you need to).
You can connect the "Ham Radio Modem" to the programming port.
Then you sample the input chips for data, and when you get some copy it to eeprom and send it out the Modem port. Meanwhile, the input chips can be taking more data to be sent the next time around.
In any event, the BS2 can recieve "true" +-12 volt RS-232 merely by putting a 22 Kohm resistor in series with the signal pin.· For transmitting true RS-232, you would need· the app-mod (or the programming port).
·