running multiple relay''s from BS-1
Archiver
Posts: 46,084
If you have 4 available output pins go to the files section of www.yahoogroups.com, Basic Stamps group, and look for the file named IRL520.jpg
This is only one of many methods that will work. Sid mentioned using a '595 shift register and a Darlington array, and that solution also works and if memory serves me correctly, it the '595 will consume 3 stamp pins.
The IRL520 method is a simple way to drive your relay coils. A logic high from the stamp will engergize the relay coil......so unless you are tight on available output pins, the IRL520 mosfets will do the job.
A good source and inexpensive shipping for the IRL's is www.glitchbuster.com (and I am not affiliated with them in any way, just a happy customer).
Additional note. Be sure to place a diode across the relay coil, cathode (end with a stripe) to the positive side of the relay coil
This is only one of many methods that will work. Sid mentioned using a '595 shift register and a Darlington array, and that solution also works and if memory serves me correctly, it the '595 will consume 3 stamp pins.
The IRL520 method is a simple way to drive your relay coils. A logic high from the stamp will engergize the relay coil......so unless you are tight on available output pins, the IRL520 mosfets will do the job.
A good source and inexpensive shipping for the IRL's is www.glitchbuster.com (and I am not affiliated with them in any way, just a happy customer).
Additional note. Be sure to place a diode across the relay coil, cathode (end with a stripe) to the positive side of the relay coil