Zum Inhalt springen

WSAL15220 – Motor Driver for micro – bit/en

Aus JW Tech Wiki

Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.

Summary

The Waveshare motor driver is a module for the BBC micro:bit. It can drive two DC motors and three servo motors (steering gears).

Related products at JW Tech

Technical overview

  • Plugs directly onto the micro:bit edge connector.
  • Onboard connectors for two DC motors and three servos.
  • Power input via VIN terminal: 6 V to 12 V.
  • Output current up to 3 A.
  • Onboard 5 V regulator; gear voltage 5 V, logic voltage 3.3 V.
  • Driver IC: TB6612FNG.
  • Dimensions: 65 mm x 36 mm, hole size 3.0 mm.
  • Pinout: Vcc (power), GND, A1/A2 (motor A +/−), B1/B2 (motor B +/−), P0/P1/P2 (servo control pins).

Commands and examples – verify before use: 

makecode: Add Package URL: https://github.com/waveshare/pxt-Motor
Python: open python/motor.py with Mu editor

Notes and version constraints

  • The source contains typos ('Motots', 'Cotnrol'); correct terms are 'servo motors' and 'Control Servo'.
  • Exact block names in the MakeCode editor are not fully specified; only general workflow is described.
  • For Python, the source only points to external links; specific code lines are not provided.
  • No information on warranty, certifications, or safety precautions is present in the source.

Source and revision record