BBC Microbit Servo Motor Drive User Manual

H-bridge Logic

P13P14LALBFeatures
00ZZStop/fast domain
01LHReverse
10HLPositive
11LLInstigating / shunning

Inputs and Motor Control

The input pins can be used to control the speed of the motor using Pulse Width Modulation (PWM). When a motor is controlled to rotate, if the drive current is suddenly interrupted, the internal current of the motor cannot terminate immediately due to its inductance property. The freewheeling circuit must be supplied with current to manage this. The H-bridge circuit offers two modes of operation to solve this freewheeling problem: fast decay mode and slow decay mode.

Fast Decay Mode

In fast decay mode, the H-bridge is disabled, and current flows through the body diode. The motor coil is effectively shorted. This mode is achieved when one of the two input pins receives a PWM signal, and the other receives a low-level signal.

Slow Decay Mode

In slow decay mode, one of the two input pins receives a PWM signal, and the other receives a high-level signal.

Sample Program and Connections

The following describes a sample program setup and its expected behavior:

Models: Microbit Servo Motor Drive, Servo Motor Drive, Servo Motor Drive, Drive

PDF preview unavailable. Download the PDF instead.

426930-603168 Microsoft Word 2013