help with 5v relay
nottoobright
Posts: 6
I am working with a 5 volt dpst relay. If I run the following code in a bs2:
do
high 0
pause 1000
low 0
pause 1000
loop
im not getting contact closure. I tested the coil for continuity and didnt get a tone, so I thought the relay
was bad. I hooked vss & vdd to relay coil directly just to make sure and clicked shut. oh....i thought maybe the code wasnt running right, so i hooked a meter into pin 0 and the meter runs up to 4.8 something volts then back off......like it should. what in the world am i missing here?
thanks for any insight
do
high 0
pause 1000
low 0
pause 1000
loop
im not getting contact closure. I tested the coil for continuity and didnt get a tone, so I thought the relay
was bad. I hooked vss & vdd to relay coil directly just to make sure and clicked shut. oh....i thought maybe the code wasnt running right, so i hooked a meter into pin 0 and the meter runs up to 4.8 something volts then back off......like it should. what in the world am i missing here?
thanks for any insight
Comments
You might need to change R1 to 500 ohms
You can drive a 5V, 20 mA reed relay directly, but that's about it, unless you can find my favorite DPDT relay: an Aromat/NAIS TF2-5V, also 20 mA.
I just got around to trying the circuit you recommended and the relay is clicking beautifully. Thanks a bunch.