Skip to content

A motor driver module designed for the BBC micro:bit. This module can drive 2 DC motors and 3 Servo motors.

Notifications You must be signed in to change notification settings

sbcshop/Micro-Bit-Motor-Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro-Bit-Motor-Driver

A motor driver module designed for the BBC micro:bit. This module can drive 2 DC motors and 3 Servo motors.

Buy it from : https://shop.sb-components.co.uk/products/motor-driver-for-micro-bit

alt-text-1 alt-text-2

Features

  • Micro:bit edge connector to connect Micro:Bit directly on module.
  • Onboard connectors to connect upto 2 DC motors and 3 servo motors
  • Vin 5-12 Volts input , output upto 3A

Specification

  • Power input range: 5V~12V
  • Output voltage: 5V
  • Logic voltage: 3.3V
  • Driver: TB6612FNG
  • Dimension: 65mm x 41mm
  • Holes size: 2.0mm

Pinouts and Connectors

PIN/CON Description
VIN Power (5~12V)
GND Ground
MA1 Positive pole of motor A
MA2 Negative pole of motor A
MB1 Positive pole of motor B
MB2 Negative pole of motor B
P0 Control pin P0 of Servo 1
P1 Control pin P1 of Servo 2
P2 Control pin P2 of Servo 3

Programming Guide

  • First visit https://makecode.microbit.org/ and create new project, enter project name and create on Create button.
  • Click on Advanced , then on Extension as shown below

alt-text-1

alt-text-1

  • Now click on Search Result to add it on current project, You can verify installation of extension by looking for "Motor Driver" extension as shown below.

alt-text-1

Now you can use Motor driver extension feature to run/stop your motors.

Video Tutorial

About

A motor driver module designed for the BBC micro:bit. This module can drive 2 DC motors and 3 Servo motors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published