0

I have this motor : http://www.dx.com/p/gb37-520-12v-70rpm-micro-dc-gear-motor-for-large-torque-robot-silver-362297

It can run (slower) on 5v, which is fine for me Question is, is this possible / recommended ? I just want to be able to turn it on and off

closed as primarily opinion-based by Milliways, Jacobm001 Jul 8 '17 at 20:06

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Who knows? This is a question about motors, not the Pi. It is unlikely the Pi can supply sufficient current to run a motor. – Milliways Jul 8 '17 at 8:12
1

All the Pi's GPIO are 3V3 and can only supply a few milliamps, not enough to power your motor.

Even if the GPIO could supply enough power it would be damaging to connect a motor direct to the Pi. The back EMF from the motor as it is switched off could destroy the Pi/GPIO.

The 5V pins on the expansion header are not GPIO, they are not switchable. They are always "on" while power is applied to the Pi.

You can buy a motor driver board for a few UK pounds from eBay, e.g. look for L9110S and L298N boards. That would be the "correct" way to control a motor from the Pi.

It would be sensible to use an external power supply to power the motor. In that case you still need to join the Pi ground with the power supply ground.

0

Directly connecting motors to the RPi GPIO pins is not a good idea. They draw too much power and can cause electrical feedback that can fry your RPi. You should use a motor driver board and an external power source when working with motors and the RPi.

Not the answer you're looking for? Browse other questions tagged or ask your own question.