BS2 w/ shift register or BS2p40 for 19 I/Os?
Good morning ladies and gentleman, I have a question for the collective:
I am making a game that will need to have 8 buttons and 11 outputs that will trigger relays via an ULN2003A (or 2). I have a couple of unused BS2s sitting around, but alas: this game needs 19 I/Os, and the BS2 has only 16. Do you guys think it would be easier to use a shift register to consolidate the 8 inputs into 3 pins on the BS2, (and thus freeing up the required 11) or would it just be easier to buy an BS2p40 with all the pins I need?
How difficult is it to read the results of a shift register?
Anyone ever gone down this road?
I am making a game that will need to have 8 buttons and 11 outputs that will trigger relays via an ULN2003A (or 2). I have a couple of unused BS2s sitting around, but alas: this game needs 19 I/Os, and the BS2 has only 16. Do you guys think it would be easier to use a shift register to consolidate the 8 inputs into 3 pins on the BS2, (and thus freeing up the required 11) or would it just be easier to buy an BS2p40 with all the pins I need?
How difficult is it to read the results of a shift register?
Anyone ever gone down this road?
Comments
The "StampWorks" document on the Parallax site has several examples of how to use the '595 chip.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·