Hey!
I'm trying to do the fan exercise on "Getting started with Arduino" book.
The point is to control a fan, here are the two pictures for the circuit (click for fullsize):
I'm trying to figure out a few things:
Connect it to the 9V battery, the negative side of the battery should go to the arduino ground and the positive side to one side of the motor, According to the schematic the other side of the motor you connect to the drain pin.
The source pin goes to the arduino ground and the gate pin goes to arduino pin 9(or other PWM pin).
Thanks ever so much for your reply!
I've trying to figure that out for hours!
Happy to help.
Have fun!