Asked — Edited

Relays Turn On, But Not Off

Alright. My dewy build is almost finished, but I have hit a problem with the relays I'm using. They require at least 1.5v to activate them, and then nothing to deactivate them.

Using a set digital control, I can turn them on, but turning the control off doesn't deactivate the relays.

Why would this be? Does setting the digital port off not set the voltage low?

How else can I activate them and deactivate them with the ez-b if not in this manor?


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

PRO
USA
#73  

if you like breadboards this is the cheapest circuit:

1) https://www.digikey.com/product-detail/en/texas-instruments/SN74HCT245N/296-1612-5-ND/277258

has 8 ports can convert 8 x 3.3v to 5v (unidirectional) but the cost can get more expensive with shipping costs ($4 to $9)

if you like "legos":

these is the cheapest i found in the ebay:

2) http://www.ebay.com/itm/10PCS-IIC-I2C-Logic-Level-Converter-Bi-Directional-Module-5V-to-3-3V-For-Arduino-/151910206546

each circuit has 4 ports, they wrote i2c because most people use them to interface arduinos 5v with 3.3v i2c devices, but they are bidirectional they can convert the opposite way.

There is a high side & low side, you can use them also to convert to 1.8v (intel edison)

if you don't trust ebay vendors you can get this one from sparkfun:

3) http://www.robotshop.com/en/logic-level-converter-bidirectional.html

also has 4 ports.

#74  

Thanks for the info. I ordered 1 and once it is here I will play.

Thanks,