Expanding outputs of a Basic Stamp. ( 200 outputs)
Joe
Posts: 184
Hi.
I need to turn on and off 200 individual relays .
The comsuption of each relay is 150 mA only.
For this reason I need 200 outputs.
Do you know a simple way to do this ?
Thanks, Joe
I need to turn on and off 200 individual relays .
The comsuption of each relay is 150 mA only.
For this reason I need 200 outputs.
Do you know a simple way to do this ?
Thanks, Joe
Comments
Do the relays need to all be on at once?
Define simple.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
Of course , the 200 relays will work not at once.
They will work independent.
For example I will need to turn on the realy number
125 only, and then the relay number 130 , etc.
I think that now is more clear, thanks.
Any idea is welcome.
Thanks, Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545
This message sent to you on 100% recycled electrons.
Take a look at serial to parallel shift reg.s. Start out with just one shift reg. and work up to 2 shift reg.Then another.
Next include and other I/O pins to run another set of shift regs.
Since "200" in DEC, is "11001000" in BIN, This falls in the one BYTE range.This is native to the stamp and "CON" , "VAR", and "DATA" should work.
Its still gonna be complicated
_________$WMc%_____
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Truth is out there············································ BoogerWoods, FL. USA
If you're only going to have one relay on at a time, you could use a matrix arrangement with something like the TPIC6595 on one axis to switch the ground connection and what's called a "high side driver" on the other axis that switches the (+) power source to a particular relay.