electroEnthusiast Posted June 26, 2011 Report Share Posted June 26, 2011 I know this is a simple question, but i'm still asking it.I'm using a ATMEGA16/ATMEGA8 microcontroller. I want to run a relay using it.I have a relay thats 6V 100ohms. Now i need build a circuit to make the relay run.What would you suggest? Buy a SSR/other relay with suitable rating or shall i make a circuit for it to work. I want to run a appliance thats rated @ 220V/.5A max. Quote Link to comment Share on other sites More sharing options...
Hero999 Posted June 26, 2011 Report Share Posted June 26, 2011 It's pretty easy: use a transistor to drive the relay.There are 100s of examples on the Internet. You should learn how to use Google.http://www.google.co.uk/search?client=opera&rls=en&q=microcontroller+relay&sourceid=opera&ie=utf-8&oe=utf-8&channel=suggesthttp://www.instructables.com/id/How-to-control-a-DC-motor-to-run-in-both-direction/ Quote Link to comment Share on other sites More sharing options...
electroEnthusiast Posted June 26, 2011 Author Report Share Posted June 26, 2011 What if i buy a SSR instead of rigging up the circuit? Quote Link to comment Share on other sites More sharing options...
Hero999 Posted June 26, 2011 Report Share Posted June 26, 2011 That would work but it's probably more expensive and would be more sensitive to high voltage/current spikes. On the plus side, the contact life would be longer, it can switch faster and it's easeir to drive from the MCU. Take your pick. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.