BS2 as a rs232 multiplexor????
Archiver
Posts: 46,084
I am trying to create an automated flight system. It will have 4 inputs
(gps, compass, joystick, and a altimeter) and two outputs to control two
strong servos via two motor minds. Is it possible to program a BS2 to act as
a rs-232 multiplexor to handle the incoming data streams and send the
information it gets the a program I am making. I'm a little out of my league
with the stamp and was hoping you could help. I have a long time to
implement this so I also have a while to learn. Any help would be greatly
appreciated.
Tim Dale
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
(gps, compass, joystick, and a altimeter) and two outputs to control two
strong servos via two motor minds. Is it possible to program a BS2 to act as
a rs-232 multiplexor to handle the incoming data streams and send the
information it gets the a program I am making. I'm a little out of my league
with the stamp and was hoping you could help. I have a long time to
implement this so I also have a while to learn. Any help would be greatly
appreciated.
Tim Dale
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
Comments
multiplexer. The stamp is not capable of recieving simultanious serial
streams. (it is single threaded, and only capable of one task at a
time.)
However, if you can apply flow control to all the devices which will
send the stamp data, then you may be able to use the stamp. Every
device will have to buffer it's data, until the stamp signals the device
with the appropriate flow control line. (sorry, i'm a bit rusty on my
rs-232.) This setup may not be as responsive.
joshua
Excerpts from Stamp_List: 15-Oct-100 [noparse][[/noparse]basicstamps] BS2 as a rs23.. by
Tim·Dale@h...
> I am trying to create an automated flight system. It will have 4 inputs
> (gps, compass, joystick, and a altimeter) and two outputs to control two
> strong servos via two motor minds. Is it possible to program a BS2 to act as
> a rs-232 multiplexor to handle the incoming data streams and send the
> information it gets the a program I am making. I'm a little out of my league
> with the stamp and was hoping you could help. I have a long time to
> implement this so I also have a while to learn. Any help would be greatly
> appreciated.
The mux and demux gave me 8 to 1 and then 1 to 8. The stamp can provide the
control lines to select the port. You only need the 8 to 1.
Richard