I'm not super skilled with electronics, so I want to see if the following is feasible. I have a fog atomizer (with ultrasonic piezoelectric component) and I want to use the power from the wall outlet/socket and use an arduino and mosfet to control when it is powered. It comes in two pieces with an adapter to supply 24 volts, which is the operating voltage for it to atomize correctly. The amazon link:
and the specs:
1 . spray head parameters:
Input voltage: AC / DC 24V
Input Current: 600 mA
Atomization Disc Diameter: Φ20mm
2 . transformer parameters:
Input voltage: AC 110V ~ 220V / 60Hz
Input power: 16W
Output voltage: AC / DC 24V
edit: (but I bought a different adapter, scroll down)
So, do I just need the adapter, mosfet, arduino, and atomizer? Can mosfets ussually handle this voltage?
I appreciate any guidance. Thanks.
That's not real helpful. Maybe the mist generator works with AC or DC but you need to know what you have. But that's odd, because if there is a built-in rectifier & capacitor filter you get the peak which means 24VAC gets converted to about 33VDC.
Is the power supply/transformer marked AC or DC? Or do you have a multimeter to check it?
A regular electro-mechanical relay will work with AC or DC, but it needs a driver circuit with the Arduino. (You can get relay boards with the driver built-in.)
There are solid state relays that can be controlled directly from the Arduino but they are (usually) either designed specifically to switch AC or DC so again you need to know what you've got.
P.S.
If you want to switch the wall power, that definitely needs a relay because the lethal power line voltage MUST be isolated from you, the Arduino, the water, and everything else! (Relays are electrically isolated, electrically operated, switches.)
I actually got my own adapter. It says
AC Adapter
PRI: 230V ~ 50 Hz 46mA
SEC: 21V ~ 150mA
and I did plug it in and measured the end with a multimeter and gave 21V AC (If I remember correctly, and it actually works when I plug this directly into the atomizer). But why is the output of the adapter AC? Isn't the purpose of the adapter to convert the AC from the wall to DC for devices?
DVDdoug: P.S.
If you want to switch the wall power, that definitely needs a relay because the lethal power line voltage MUST be isolated from you, the Arduino, the water, and everything else! (Relays are electrically isolated, electrically operated, switches.)