EveryCircuit
Contact
Reviews
Home
nim73
modified 8 years ago

Arduino relay control

5
4
259
02:41:09
For a solar powered irrigation system. Lamps represent solenoid valves. Still working on it so any advice appreciated. Can code but electrical theory not so great ;)
published 8 years ago
KE4CPC
8 years ago
You can adjust your speed to simulate real-time. Currently it's set to about 10ms/s. Also you can adjust your lamp settings to simulate the lamp you are using, however you are suggesting they are sprinkler solenoid rather than lamps. With Arduino you might choose to use a FET or even a high power bipolar transistor to drive the solenoid rather than using a relay, it's far more efficient. But should you decide to use a relay, do put a diode, such as a 1N1001 in reverse across the relay coil to prevent the backlash that comes with it. The same goes for your sprinkler solenoids.
KE4CPC
8 years ago
Heres a circuit to demonstrate the example I was giving: http://everycircuit.com/circuit/5296675951476736
nim73
8 years ago
I can definitely see the advantages of using a transistor instead, your example is perfect, thank you - off to read up for a bit!
ciberjuanjo
8 years ago
Sin diodos en los reles arduino craaaaak bye bye

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 © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy