This Arduino library provides an easy-to-use interface for controlling the Texas Instruments LMD18200 motor driver IC. The LMD18200 is a 3A, 55V H-bridge designed for driving DC and stepper motors, and it supports features such as current sensing, thermal shutdown, and configurable PWM control. This library supports both sign/magnitude control and active braking modes.
- Speed and Direction Control: Set motor speed with a signed value (positive for one direction, negative for the opposite).
- Braking: Activate an active braking mode.
- Current Sensing: Read the current drawn by the motor via an external resistor.
- Thermal Monitoring: Check the thermal warning flag status.
- Easy Integration: A simple API wrapped in a C++ class.
Add to your platformio.ini:
lib_deps =
CameronBrooks11/LMD18200- Download or clone the repository.
- Copy the
lmd18200folder into your Arduino libraries directory. - Restart the Arduino IDE.
- Open an example sketch from the File > Examples menu to get started.
- Texas Instruments LMD18200 Datasheet (Rev. F) found here
Cameron K. Brooks – cambrooks3393@gmail.com