DIYmall FZ0407

DIYmall L298N Motor Drive Controller Board Module Instruction Manual

Model: FZ0407

1. Giriş

The DIYmall L298N Motor Drive Controller Board is designed for controlling DC motors and stepper motors. Built around the L298 dual full-bridge driver, this module provides robust performance for various applications, including robotics, smart cars, and other DIY projects. It features two independent channels, allowing it to drive two DC motors or one 2-phase/4-phase stepper motor.

2. Temel Özellikler

  • Ana Chip: Utilizes the L298N dual full-bridge driver.
  • Isıl Performans: Designed for low heat generation with outstanding anti-interference capabilities.
  • Güç Kullanımı: Supports a wide working voltag46V'a kadar.
  • Mevcut Kapasite: Capable of handling a large peak current of 3A and a continuous current of 2A, with a maximum power output of 25W.
  • Motor Uyumluluğu: Can drive one 2-phase stepper motor, one 4-phase stepper motor, or two DC motors.
  • Integrated Regulator: Includes a built-in 78M05 5V regulator. When the drive power exceeds 12V, an external 5V power supply should be used for logic.
  • Gelişmiş Stabilite: Equipped with a large capacity filter capacitance and afterflow protection diode for stable and reliable operation.

3. Kurulum ve Kurulum

Before connecting the L298N module, ensure all power sources are disconnected. Proper wiring is crucial for safe and effective operation. Refer to the wiring diagrams below for detailed connection instructions.

3.1 Güç Kaynağı Bağlantısı

  • Connect your motor power supply (e.g., 12V) to the '+12V Power' terminal.
  • Connect the ground of your power supply to the 'Power GND' terminal.
  • If your motor power supply is 12V or less, the onboard 78M05 regulator can provide 5V for the logic circuit. In this case, ensure the 5V jumper is in place.
  • If your motor power supply exceeds 12V (up to 46V), remove the 5V jumper and provide an external 5V power supply to the '+5V Power' terminal for the logic circuit.

3.2 Motor Bağlantısı

  • For DC motors: Connect the two terminals of the first DC motor to 'OUT1' and 'OUT2'. Connect the second DC motor to 'OUT3' and 'OUT4'.
  • For stepper motors: Connect the four wires of a 2-phase or 4-phase stepper motor to 'OUT1', 'OUT2', 'OUT3', and 'OUT4' as per the stepper motor's wiring diagram.

3.3 Kontrol Sinyali Bağlantısı

  • Connect your microcontroller's digital output pins to 'Input1', 'Input2', 'Input3', and 'Input4' to control the direction of the motors.
  • Connect 'Enable A' to a digital output pin (or PWM pin for speed control) on your microcontroller to enable/disable Motor A (OUT1/OUT2).
  • Connect 'Enable B' to a digital output pin (or PWM pin for speed control) on your microcontroller to enable/disable Motor B (OUT3/OUT4).
L298N Motor Driver Board with labeled pins for Motor A, Motor B, outputs, power, and control inputs.

Figure 1: L298N Motor Driver Board with labeled input/output terminals and the 5V jumper.

Detailed pinout diagram of the L298N module showing +12V power, power GND, +5V power, A enable, input pins, B enable, output A, and output B.

Figure 2: Detailed pinout diagram for the L298N module.

4. Kullanım Talimatları

The L298N module controls motors by manipulating the logic states of its input pins (Input1-4) and enable pins (Enable A/B). By setting these pins HIGH or LOW, you can control motor direction and speed (using PWM on enable pins).

4.1 DC Motor Control

For each DC motor, two input pins (e.g., Input1 and Input2 for Motor A) determine its direction. The corresponding enable pin (Enable A) controls its power and speed.

Table 1: DC Motor Control Logic (Example for Motor A)
Enable AGiriş1Giriş2Motor A Action
DÜŞÜKXXMotor A OFF
YÜKSEKYÜKSEKDÜŞÜKMotor A Forward
YÜKSEKDÜŞÜKYÜKSEKMotor A Reverse
YÜKSEKYÜKSEKYÜKSEKMotor A Brake (Fast Decay)
YÜKSEKDÜŞÜKDÜŞÜKMotor A Brake (Slow Decay)

Note: 'X' denotes any state (HIGH or LOW). For speed control, apply a Pulse Width Modulation (PWM) signal to the Enable A/B pins instead of a constant HIGH.

4.2 Stepper Motor Control

Controlling a stepper motor requires a sequence of HIGH/LOW signals across Input1-4 to energize the coils in a specific order. This sequence determines the direction and step angle of the motor. Both Enable A and Enable B pins should be HIGH for the stepper motor to operate.

Diagram showing the L298N Motor Driver Board connected to an Arduino and a stepper motor.

Şekil 3: Ör.ample wiring diagram for connecting the L298N to an Arduino and a stepper motor.

Wiring diagram illustrating the connection of an L298N H-Bridge module to an ESP32 microcontroller, a DC motor, and a battery pack.

Şekil 4: Ör.ample wiring diagram for connecting the L298N to an ESP32 and a DC motor.

Video 1: Bir overview of the L298N Motor Drive Controller Board, demonstrating its physical appearance and key components.

5. Özellikler

ŞartnameDeğer
Markakendin yap alışveriş merkezi
Model AdıFZ0407
Ana ÇipL298N
Sürücü TipiÇift H-Köprü
Çalışma Hacmitage (Motorlu)46V'a kadar
Tepe Akımı3A
Sürekli Akım2A
Maksimum Güç25W
Mantık Cilttage5V (via onboard 78M05 or external)
Boyutlar1.6 x 1.6 x 0.8 inç (yaklaşık 40.6 x 40.6 x 20.3 mm)
Ağırlık9.07 gr
Belirli KullanımlarRobotics, Automation, DIY Projects

6. Bakım

The L298N Motor Drive Controller Board is a robust electronic component designed for durability. To ensure its longevity and optimal performance, consider the following maintenance guidelines:

  • Temiz tut: Regularly inspect the board for dust or debris. Use a soft, dry brush or compressed air to gently clean the surface. Avoid using liquids.
  • Çevresel Koşullar: Operate and store the module in a dry environment, away from excessive moisture, extreme temperatures, and corrosive substances.
  • Bağlantı Bütünlüğü: Periodically check all wire connections to ensure they are secure and free from corrosion or damage. Loose connections can lead to intermittent operation or component failure.
  • Isı Yönetimi: Ensure adequate airflow around the heatsink, especially during high-current applications, to prevent overheating of the L298N chip.

7. Sorun Giderme

If you encounter issues with your L298N Motor Drive Controller Board, follow these troubleshooting steps:

  • No Motor Movement:
    • Verify all power connections (motor power and logic 5V) are correct and supplying the appropriate voltage.
    • Check if the 5V jumper is correctly placed or removed based on your motor power supply voltage.
    • Ensure the Enable A/B pins are set to HIGH (or receiving a PWM signal).
    • Confirm that the input pins (Input1-4) are receiving the correct logic signals from your microcontroller.
    • Test the motors directly to ensure they are functional.
  • Yanlış Motor Yönü:
    • Review your code or control logic to ensure the input pins are being toggled in the desired sequence for direction control.
    • For DC motors, try swapping the OUT1/OUT2 or OUT3/OUT4 connections.
  • Motor Runs Slowly or Weakly:
    • Check the motor power supply voltage and current capacity. Insufficient power can lead to poor performance.
    • If using PWM for speed control, ensure the duty cycle is set correctly.
    • Verify that the motor's current draw does not exceed the L298N's continuous current rating (2A per channel).
  • Modül Aşırı Isınması:
    • Ensure the heatsink is properly attached and has adequate ventilation.
    • Reduce the load on the motors or decrease the operating voltage mümkünse.
    • Confirm that the motor current does not exceed the module's specifications.
  • Aralıklı operasyon:
    • Inspect all wiring for loose connections or cold solder joints.
    • Check for electromagnetic interference (EMI) if operating near other electronic devices. Proper shielding or component placement may be necessary.

8. Garanti ve Destek

For warranty information, technical support, or further assistance, please contact the seller or manufacturer directly. Retain your proof of purchase for any warranty claims.

© 2024 DIYmall. All rights reserved.