Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Homepage
Full H Bridge Stepper Motor Demo software¶
Simple demo playing binary control lookup tables for dual full h bridge with driver.
http://en.wikipedia.org/wiki/H_bridge
Information
This demo requires a dual full h bridge (with mosfet driver, if separate mosfets are used) Not an integrated motor control IC
Inputs and Outputs¶
Input p18: Step pulse (if enabled) p19: Speed analog (if enabled) p20: Direction
Output p21: L1 p22: L2 p23: H1 p24: H2 p25: H3 p26: H4 p27: L3 p28: L4
Dual H Bridge
------------------------------------------ V+ | | | | \H1 \H2 \H3 \H4 |----MA----| |----MB----| \L1 \L2 \L3 \L4 | | | | ----------------------------------------- V-