hi,
im trying to control a 12v DC pump motor using PWM.
Ive hooked up a RFP3055 MOSFET with a resistor and diode like in these instructions: http://bildr.org/2012/03/rfp30n06le-arduino/
When I put 5v power to the gate it works as expected. When i hook the gate up to pin 9 on the arduino and DigitalWrite the pin high or analogeWrite it 255, nothing happens.
It doesnt make sense to me, i though that would be supplying the pin with 5v and that would be the same as going right to the 5v on the board, yet it doesnt do the same.
gr0p3r:
i though that would be supplying the pin with 5v and that would be the same as going right to the 5v on the board, yet it doesnt do the same.
It's not quite the same, because the I/O pin driver will drop the voltage slightly from the nominal 5V. You could try switching the pin HIGH and see what output voltage is present at the pin and compare that to the 5V line voltage. Is that difference enough to affect the MOSFET?
The data sheet says your MOSFET has a gate threshold voltage in the range 2V-4V, so I guess it should be possible to get it working. What is the voltage between the MOSFET gate and ground terminals? Are you certain that the only change between the working and non-working circuit is that you moved the wire from 5V to pin 9?