Grove - Mini Fan


#1

Hello,

I am trying to connect the Grove-Mini Fan with the GrovePi and Raspberry Pi Model B+, and I have the following questions:
Should I connect the Fan to which port? D or A?
How can I change the velocity of the fan?

Thanks

D


#2

Hey,
The Grove mini fan uses PWM signals to change the speed. Can you try using analogWrite to change the speed and see if it works. You can have a look at the LED fade example to see how it works: https://github.com/DexterInd/GrovePi/blob/master/Software/Python/grove_led_fade.py.

-Karan