Serial to parallel data controller
Boris
Posts: 81
Lets say I need to control a large number of devices via relays just simple on/off, with a relatively low frequency. And lets say BS2 does not have enough I/O lines. Is there an IC i can use, that will be able to receive info from basic stamp, via one serial line, and convert the data into multiple parallel channels, and hold those pins high or low untill· other data is received from BS2
Something like this:
BS2 feeds 00100111 serial communication, the IC receives the data and sets pins 0,1,2 and 5 high, and pins 3,4,6 and 7 low. When the communication stops the IC will keep its pins set the same way untill further info is received from BS2.
Something like this:
BS2 feeds 00100111 serial communication, the IC receives the data and sets pins 0,1,2 and 5 high, and pins 3,4,6 and 7 low. When the communication stops the IC will keep its pins set the same way untill further info is received from BS2.
Comments
Or ... you could roll your own by programming an SX micro. With the SX28 you could get 19 IO lines; the device has 20 but you need one for serial comm.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Using this approach, you can easily string together more than one 75HC595 to get 16, 24, or 32 bits of output from the same three pins of the Stamp. As I recall, their current drive is pretty high, too, higher than the BS2.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
Are you sure it wasn't the Microchip MCP23016 16-bit I/O Expander mentioned earilier in this thread. Here is the product link:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=en010412
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Jon Williams replied saying that eventually he'd run out of variable space for data to send out.
Then myself, followed by Sid said we'd be interested in hearing his theory.· But I don't recall anything ever being posted again, nor can I find the original thread to see who it was...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
http://forums.parallax.com/showthread.php?p=468086
Gerry?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·
Glad to help, to keep you from going 'bonkers'.· The way I found it was
to do a search on your name·and 'posted by' selection. Then I looked at the
returned snippets ·to see likely possibilites. Since you are a prolific
appender, I had to look at 200 messages and go back 2 months.
Bob
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
Designs Page:··· http://www.lightlink.com/dream/designs
·