Electronics > Microcontrollers
Driving latching relay with attiny85
westfw:
--- Quote ---What [/size]voltage[/size] is the stepper coil rated at ?
--- End quote ---
The 5V relay mentioned in the OP has a "must operate" voltage of 3.5V.
Obviously if you want to operate on a 3.3V supply, you wouldn't use the 5V relay (a 4.5 and a 3V version are available.)
There are also double-coil versions of the same relay. I don't know how things like cost would compare, but if you're actually buying new relays (as opposed to picking something up off the surplus market), it seems to me like the double-coil version would use the same number of pins as the single-coil version, with less "design complexity"
ledtester:
Throwing this out here...
This TE app note describes how to drive a a latching relay with a series capacitor. This allows you to use an ordinary relay driver/push-pull output if it can supply the required impulse current:
https://www.te.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=Axicom_AppNote_5&DocType=CS&DocLang=EN
I found it in this Kerry Wong blog post:
http://www.kerrywong.com/2014/12/12/how-to-drive-a-latching-relay/
and he has additional discussion in this video:
How to Drive a Latching Relay -- Kerry Wong
https://youtu.be/cCYUpTyl3BA
pcprogrammer:
For the new question from
--- Quote from: ehud42 on February 05, 2023, 01:09:56 am ---......
--- End quote ---
the capacitor would simplify things. Just a single pin of the MCU and less risk with one pin stuck high and the other low.
It is funny though to see how this resurrection of old threads with new questions leads to answers to the original question. :-DD
Navigation
[0] Message Index
[*] Previous page
Go to full version