EZ-SLAM icon EZ-SLAM Creates a map in a global variable; proof-of-concept SLAM visualizer (very experimental). Try it →
Asked — Edited
Resolved Resolved by rb550f!

Triggering 12V Relays From Digital Ports

Hey guys, what's the best and safest way to trigger 12V Relays from the Digital pins? Thanks.:P

I tried a Tip120 Circuit with a 1K resistor, didnt work, then with a 2.2K resistor, didn't work. I have an LED hooked up to the digital pin so I know it works, the LED lights up.


ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#9  

@Toymaker

I'm pondering your advice and I don't understand how these would smoke, I have tried this on relays triggered with manual switches in place of the Tip120's.

I'm not very experienced at how Transistors work. Please elaborate.confused

Here:

User-inserted image

How is it shorting out? Switching D0 and D3 closes the forward circuit and switching D1 and D2 should close the reverse circuit. Of course I won't switch everything on and assume it's "brake".

This is not going to be for continuous rotation, I'm only using this for short spurts since I'm using these motors for the shoulders. tired

#10  

@Toymaker Oh, I think I understand your post now. Thanks.;)

Author Avatar
PRO
United Kingdom
LinkedIn Twitter Google+ YouTube
#11  

Doombot, it just that if say two of the vertical power transistors are allowed conduct at the same time then its a short cct. People put inverters in the control lines to stop this, they can be transistor or logic IC inverters.

Tony

Author Avatar
PRO
United Kingdom
LinkedIn Twitter Google+ YouTube
#12  

Doombot, I have quickly sketched a circuit for a typical transistor inverter for an H-bridge to show the idea, I hope it helps.

User-inserted image

Tony