I am currently using an Arduino Mega sending a PWM signal to a MOSFET FQP30N06LG to drive a DC motor from an 18V Ryobi CD-18 battery powered Drill. I am using a 19V 4.7A power supply (from old laptop) to power the drill. I also have a diode across the Motors terminals for safety. This entire circuit works perfectly with the Mega (I only need to control the speed of the motor, not direction), however I need to change the board to an Arduino DUE. This setup does not work at all with the DUE.
I have been told it is because of the 3.3V output from the DUE's pins and I would need to add a small transistor before the MOSFET. Please could someone confirm this or let me know of other solutions. If this is the way to go, then I would highly appreciate a picture of what the circuit would look like or some guidance in order to make the drill work with the DUE.
Thanks in advance,