EveryCircuit
Contact
Reviews
Home
TimoM
modified 9 years ago

Arduino controlled 12V relay - How to control 230V with an Arduino

8
0
388
06:44:20
With this simple circuit you can control mains voltage devices like lamps, TVs etc with the 5V output of an Arduino. Make sure to put a flyback diode at the relay (a diode that is placed in parallel with the relay, but in reverse polarity) To protect the transistor against voltage spikes when the relay's coil is deenergizing. Also make sure to put a resistor at the base of the transistor, so the output of the Arduino to limit the flow of current, which may not exceed 20mA at an Arduino! (Its absolute max rating is 40mA, but it seems like everything over 20mA shortens its lifespan and everything over 40mA fries it.)
published 9 years ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2025 by MuseMaze, Inc.     Terms of use     Privacy policy