Wasn't sure whether to post this in "Microcontrollers and Programming" or here so I posted it here as well.I'm new to Arduino and programming so I need some advice. My goal is simple: control a solenoid with an Arduino by using a MOSFET. I'll send a digital signal to the MOSFET, turning it on, allowing high voltage (+30V) to be applied to the solenoid. I'm using a TDK Lambda power converter that converts AC to DC. I'm not sure if my schematic is correct or not. Im confused about the difference between the Ground on the Power converter and the GND (Ground) on the Arduino. Also wasn't sure about the -V on the power converter and whether or not this connection along with the ground connection on the Arduino was correct. Any help would be greatly appreciated. I want to make sure my wiring has no errors.