Grove mini Fan / DC Motor


I’m desperately seeking a python code snippet to make the DC motor (ATMega 168 based) work on Raspberry pi with Grove Pi.

Any help would be fantastic


Sorry for the delayed reply.

We do not have a ready made solution. Please find the following link might be helpful.

This DC motor uses analog voltage input for varying speed. Hence, it is only convinient to use On / Off with Raspberry Pi. Otherwise, a PWM signal needs to be used.

Thanks for writing to us.

Edit: Clarify analog Voltage input.