Grove Mosfet

I was trying to use the Grove mosfet connected to A0 port in the Grove PI
I connected a 5V supply to the input and connected a 5V Motor to the output and ran the program in this site https://github.com/DexterInd/GrovePi/blob/master/Software/Python/grove_mosfet.py but I was getting no movement in the motor. I also tried to measure the voltage and there was no reaction. Is there another way to get the motor to react ?

Hi,
Can you try changing the port to D3, D5 or D6 and change the same in the example too https://github.com/DexterInd/GrovePi/blob/master/Software/Python/grove_mosfet.py and try it again.

The D3, D5 and D6 are the PWM pins on the GrovePi and are needed to run the Mosfet. I am not exactly sure if the analog pins can be used or not.

Let us know if it helps.

-karan