Free Spinning Motor

Circuit Diagram

motor_connection

Connections:

  • Battery, 3 to 6 Volts
    • Negative to the left side pin 8
    • Positive to the right side pin 8
  • Motor A
    • One pole to the right side pin 1
    • Second pole to right side pin 8
  • Motor B, optional
    • One pole to the right side pin 2
    • Second pole to right side pin 8
  • Raspberry Pi
    • Pin 6 (Ground) to the left side pin 8
    • Pin 11 (Motor A control) to the left side pin 1
    • Pin 12, optional (Motor B control) to the left side pin 2

———

Scratch

  • Create variable named “MotorA” and/or “MotorB”
  • Control motor speed by setting the variable to any value between 0 (stop) and 100 (full speed)

———

Python