Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use LMD1820X: Examples, Pinouts, and Specs

Image of LMD1820X
Cirkit Designer LogoDesign with LMD1820X in Cirkit Designer

Introduction

The LMD1820X is a high-performance dual H-bridge motor driver IC designed for driving DC motors and stepper motors. It is widely used in robotics, industrial automation, and other motor control applications due to its robust design and advanced features. The IC supports a supply voltage of up to 55V and can deliver a continuous output current of 3A per channel, making it suitable for medium to high-power motor control. Additionally, it includes built-in thermal shutdown and current limiting for enhanced reliability and protection.

Explore Projects Built with LMD1820X

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Audio Playback and Amplification System
Image of recorder: A project utilizing LMD1820X in a practical application
This circuit is designed to charge 18650 lithium-ion batteries using a TP4056 charger module, and then boost the voltage using an XL 6009 Boost Module. The boosted voltage is regulated by a 7805 voltage regulator to provide a stable 5V output, which powers an ISD1820 voice recording and playback module. The audio signal from the ISD1820 is then amplified by an LM386 audio amplifier module and output through a loudspeaker.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
Image of playbot: A project utilizing LMD1820X in a practical application
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered RC Car with Massive RC MDEx and MDD10A Motor Driver
Image of Massive RC MDEx: A project utilizing LMD1820X in a practical application
This circuit is a remote-controlled motor driver system powered by a LiPo battery. It uses a Massive RC MDEx microcontroller to control an MDD10A dual motor driver, which in turn drives two GM25 DC motors. The R6FG receiver receives remote control signals to manage the motor directions and speeds.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Infrared Thermometer with I2C LCD Display
Image of infrared thermometer: A project utilizing LMD1820X in a practical application
This circuit features an ESP32 microcontroller powered by a 18650 Li-Ion battery, with a TP4056 module for charging the battery via a USB plug. The ESP32 reads temperature data from an MLX90614 infrared temperature sensor and displays it on an I2C LCD 16x2 screen. The ESP32, MLX90614 sensor, and LCD screen are connected via I2C communication lines (SCL, SDA), and the circuit is designed to measure and display ambient and object temperatures.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with LMD1820X

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of recorder: A project utilizing LMD1820X in a practical application
Battery-Powered Audio Playback and Amplification System
This circuit is designed to charge 18650 lithium-ion batteries using a TP4056 charger module, and then boost the voltage using an XL 6009 Boost Module. The boosted voltage is regulated by a 7805 voltage regulator to provide a stable 5V output, which powers an ISD1820 voice recording and playback module. The audio signal from the ISD1820 is then amplified by an LM386 audio amplifier module and output through a loudspeaker.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of playbot: A project utilizing LMD1820X in a practical application
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Massive RC MDEx: A project utilizing LMD1820X in a practical application
Battery-Powered RC Car with Massive RC MDEx and MDD10A Motor Driver
This circuit is a remote-controlled motor driver system powered by a LiPo battery. It uses a Massive RC MDEx microcontroller to control an MDD10A dual motor driver, which in turn drives two GM25 DC motors. The R6FG receiver receives remote control signals to manage the motor directions and speeds.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of infrared thermometer: A project utilizing LMD1820X in a practical application
ESP32-Based Infrared Thermometer with I2C LCD Display
This circuit features an ESP32 microcontroller powered by a 18650 Li-Ion battery, with a TP4056 module for charging the battery via a USB plug. The ESP32 reads temperature data from an MLX90614 infrared temperature sensor and displays it on an I2C LCD 16x2 screen. The ESP32, MLX90614 sensor, and LCD screen are connected via I2C communication lines (SCL, SDA), and the circuit is designed to measure and display ambient and object temperatures.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Robotics (e.g., motorized wheels, robotic arms)
  • Industrial automation systems
  • CNC machines and 3D printers
  • Electric vehicles and drones
  • Home appliances with motorized components

Technical Specifications

Key Specifications

Parameter Value
Supply Voltage (Vcc) 8V to 55V
Continuous Output Current 3A per channel
Peak Output Current 6A per channel (short duration)
Logic Input Voltage 0V to 5V (TTL/CMOS compatible)
Thermal Shutdown Yes
Current Limiting Yes
Operating Temperature -40°C to +125°C
Package Type TO-220 or similar

Pin Configuration and Descriptions

The LMD1820X typically comes in a 15-pin package. Below is the pinout and description:

Pin Number Pin Name Description
1 OUT1A Output for H-bridge 1 (Channel A)
2 OUT1B Output for H-bridge 1 (Channel B)
3 GND Ground connection
4 Vcc Supply voltage for motor power (8V to 55V)
5 IN1A Input signal for H-bridge 1 (Channel A)
6 IN1B Input signal for H-bridge 1 (Channel B)
7 EN1 Enable pin for H-bridge 1 (active high)
8 EN2 Enable pin for H-bridge 2 (active high)
9 IN2A Input signal for H-bridge 2 (Channel A)
10 IN2B Input signal for H-bridge 2 (Channel B)
11 OUT2A Output for H-bridge 2 (Channel A)
12 OUT2B Output for H-bridge 2 (Channel B)
13 Vref Reference voltage for current limiting
14 Thermal Flag Thermal shutdown status output (active high when thermal shutdown occurs)
15 NC No connection

Usage Instructions

Using the LMD1820X in a Circuit

  1. Power Supply: Connect the motor power supply (8V to 55V) to the Vcc pin and ground to the GND pin. Ensure the power supply can handle the current requirements of your motor.
  2. Logic Inputs: Use the IN1A, IN1B, IN2A, and IN2B pins to control the direction of the motors. These pins are TTL/CMOS compatible and can be driven by a microcontroller like an Arduino.
  3. Enable Pins: The EN1 and EN2 pins must be set high to enable the respective H-bridges. If these pins are low, the outputs will be disabled.
  4. Outputs: Connect the motor terminals to the OUT1A, OUT1B, OUT2A, and OUT2B pins as required.
  5. Current Limiting: Use the Vref pin to set the current limit. Connect a resistor or voltage divider to adjust the reference voltage.
  6. Thermal Protection: Monitor the Thermal Flag pin to detect thermal shutdown conditions. If this pin goes high, reduce the load or improve cooling.

Example: Controlling a DC Motor with Arduino UNO

Below is an example of how to control a single DC motor using the LMD1820X and an Arduino UNO:

// Define motor control pins
const int EN1 = 9;  // Enable pin for H-bridge 1
const int IN1A = 7; // Input A for H-bridge 1
const int IN1B = 8; // Input B for H-bridge 1

void setup() {
  // Set pin modes
  pinMode(EN1, OUTPUT);
  pinMode(IN1A, OUTPUT);
  pinMode(IN1B, OUTPUT);

  // Enable the motor driver
  digitalWrite(EN1, HIGH);
}

void loop() {
  // Rotate motor in one direction
  digitalWrite(IN1A, HIGH);
  digitalWrite(IN1B, LOW);
  delay(2000); // Run for 2 seconds

  // Stop the motor
  digitalWrite(IN1A, LOW);
  digitalWrite(IN1B, LOW);
  delay(1000); // Pause for 1 second

  // Rotate motor in the opposite direction
  digitalWrite(IN1A, LOW);
  digitalWrite(IN1B, HIGH);
  delay(2000); // Run for 2 seconds

  // Stop the motor
  digitalWrite(IN1A, LOW);
  digitalWrite(IN1B, LOW);
  delay(1000); // Pause for 1 second
}

Best Practices

  • Use decoupling capacitors near the Vcc pin to reduce noise and voltage spikes.
  • Ensure proper heat dissipation by attaching a heatsink to the IC if operating at high currents.
  • Avoid exceeding the maximum voltage and current ratings to prevent damage.
  • Use appropriate fuses or circuit breakers for additional protection.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Motor Not Spinning:

    • Ensure the EN1 or EN2 pin is set high to enable the H-bridge.
    • Verify the logic input signals (IN1A, IN1B, etc.) are correctly configured.
    • Check the power supply voltage and current capacity.
  2. Thermal Shutdown Triggered:

    • Reduce the motor load or improve cooling with a larger heatsink or active cooling.
    • Verify the current limit is set correctly using the Vref pin.
  3. Motor Vibrates but Does Not Rotate:

    • Check the input signals to ensure they are not conflicting (e.g., both IN1A and IN1B set high).
    • Verify the motor connections to the output pins.
  4. Excessive Noise or Voltage Spikes:

    • Add decoupling capacitors (e.g., 100µF electrolytic and 0.1µF ceramic) near the Vcc pin.
    • Use shielded cables for motor connections to reduce EMI.

FAQs

Q: Can the LMD1820X drive stepper motors?
A: Yes, the dual H-bridge configuration allows it to drive bipolar stepper motors. Use appropriate stepper motor control logic.

Q: What happens if the IC overheats?
A: The built-in thermal shutdown feature will disable the outputs to protect the IC. Reduce the load or improve cooling to resume operation.

Q: Can I use the LMD1820X with a 3.3V microcontroller?
A: Yes, the logic inputs are TTL/CMOS compatible and can accept signals as low as 3.3V.

Q: How do I set the current limit?
A: Connect a resistor or voltage divider to the Vref pin to adjust the reference voltage, which determines the current limit.