I need help with understanding which how to wire a MOSFET (FDA59N30-ND). This MOSFET will be used as a switch for a solenoid and controlled with an arduino. This is the flyback diode I got 20SQ045. The solenoids will run on 41V and 10A. Based on my research I will need a resistor between the gate and arduino board to prevent a high current going into the board (220 ohm - 5V 23mA way below the 40mA of the board). The drain should connect to the solenoid and the source to the ground. Here is the link to the solenoid we bought F700F-22 (*Linear Solenoids - Push Pull Solenoids | Geeplus.com) and I’ve attached the data sheet with additional information.push_pull_solenoid_700.pdf (691.6 KB)
I am lost as how to connect the diode to prevent flyback voltage. Any help will be greatly appreciated! And recommendations for proto board that can handle this amount of current and voltage.
Some Background: This is for a mechanical engineer undergraduate senior design group and we are making an electronically controlled valve train. There will be one solenoid controlling the intake valve and one solenoid controlling the outtake valve. The valve timing will be depending on the rotation of the crankshaft which is read with a different sensor but everything will be connected to one arduino.