Driving 8 relays on one pin
Naphtali Moore
Posts: 42
Is it possible to drive 8 relays on one pin? I was thinking that if I used a SEROUT command sent to a 74HC595 Serial to Parallel chip and ran that to a transistor·array like the ULN2803 I could drive 8 relays. But it would seem that in a set up like that the relays would only flash ON momentarily once per cycle or less; as long as the SEROUT command was being sent. I saw somewhere, a circuit called a Flip-Flop circuit, that used a few transistors to·HOLD a particular state, ON or OFF; like a toggle switch. Do they have these on IC's? Does any of this even make sense? Yes I have seen the EFX boards, I'm thinking of something similar but homebrew. Thanks! [noparse]:)[/noparse]
Comments
You shouldn't use SEROUT as that is for asynchronous (internal clock) serial communication. What you need to drive a shift register is synchronous (external clock) serial communications, and that is accomplished with the PBASIC SHIFTOUT command on the BS-2 Stamps. On the BS-1 Stamp series you would have to bit-bang synchronous serial communication.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (skylight) : 11/2/2007 9:39:06 PM GMT
-Phil
That's quite a driver. It certainly has impressive voltage limits, but it looks like it can handle only about 20ma per output pin. You need something that can handle about 1/2A. You'd be best to use one logic-threshold MOSFET per valve like the IRL511 and a cheap output shift register like the 74HC595 x 4 to get the 32 outputs.
2) A cheap junction power transistor will work. Anything with at least a 30V / 1A rating will do and a gain (hFE) of at least 50. The ULN2803 will work, but you'll have to parallel two Darlington transistors per relay since each one is only rated at 1/2A.
3) You could also use the TPIC6595 which combines the equivalent of the 74HC595 with the MOSFET equivalent of the ULN2803. Again, you'd have to parallel two outputs (and turn them both on at the same time), but that could work nicely.
If you're not interested in the EFX RC4 relay board, you can control 16 relays using an EFX-TEK DC-16 I/O expander:
The DC-16 uses ULN2803a's to control up to 16 I/O's via a simple serial protocol. I connected the DC-16 to a pair of Kit-74 relay boards from Circuit Specialists. Worked like a charm. [noparse]:)[/noparse]
Vern
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔