GPIO usage for DC motor

hello everyone!
I want to control the DC motor by 2GPIO’s. Do I have to prepare kind of H-bridge on transistors or can I use outputs directly? I’ve noticed that high state is 3.3V but there is no information about max current.

Hi,

You cannot draw more ten a few milliamps from GPIO pins, they are used to do digital logic. If you want to control a DC motor you should use hMotor port which is dedicated to do such task. If you really want to use a GPIO pin, then yes, you will need kind of H-bridge.

Hi, here you’ve got all you need https://wiki.robocore.io/hardware:hmotor :slight_smile: