70Views3Replies

Author Options:

Any idea how I should go about switching ON/OFF 120VAC solenoid valve using Arduino? Answered

The solenoid's datasheet doesn't mention a required current, but it does specify it uses 16.1 Watts, so at 120V I'm assuming it's ~134mA. irs.gov

The only relays I can find for that voltage, have a minimum current rating of 1A. Would I have more luck using a MOSFET / NPN Transistor? Any advice would be helpful fedloan

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
jakewilly
jakewilly

6 months ago

A SSR incorporates all the necessary disengagement, is quiet to work and possibly switches when the mains voltage is at zero, so no change spikes or comparable from the solenoid valve
black friday vpn deals 2020

0
Downunder35m
Downunder35m

1 year ago

I would not go with a mains powered relay.
5V relays that you can power with a tiny transistor directly from the Arduino do the same.
For a solenoid valve, if there is no 12 or at least 24V option available I would opt for a full isolation between electronics and relay.
One simple option is to use a optocoupler and from the output you can power a small relay that controls the mains power for the solenoid.
Another neat, although slighty more costly alternative is to use a SSR - Solid State Relay.
You only need the smallest type and they can be powered directly from the Arduino with 5V.
A SSR includes all the required isolation, is silent to operate and only switches when the mains voltage is at zero, so no transition spikes or similar from the solenoid valve.
If you after long term reliablility or expect really frequent switching then SSR is the way to go.

0
mathias.giller
mathias.giller

1 year ago

There are so called "relay boards" who already include everything to switch the relay. You just need to supply them with 5v (for example the power supply of your Arduino) and send a signal to them. This should do the job.