Aideepen ST-Link V2 M89, Dual H-Bridge DC Stepper

Manual d'instruccions de la unitat de programació Aideepen ST-Link V2 i del controlador de motor pas a pas de CC de doble pont en H

1. Introducció

This manual provides comprehensive instructions for the Aideepen ST-Link V2 Programming Unit and the accompanying Dual H-Bridge DC Stepper Motor Driver modules. It covers product overview, setup procedures, operating guidelines, specifications, and troubleshooting to ensure proper and efficient use of these components in your electronic projects.

Aideepen ST-Link V2 programming unit and five Dual H-Bridge DC stepper motor driver modules.

This image displays the complete product package, including the purple ST-Link V2 programming unit, five red Dual H-Bridge motor driver modules, and a set of jumper wires for connections.

2. Producte acabatview

2.1 ST-Link V2 Programming Unit

The ST-Link V2 is a compact in-circuit debugger and programmer for STM8 and STM32 microcontrollers. It supports both SWD (Serial Wire Debug) for STM32 and SWIM (Single Wire Interface Module) for STM8, facilitating debugging and program downloading. The unit also supports automatic firmware upgrades.

Funcions compatibles:

  • Full range of STM32 SWD debugging interface support.
  • Full range of STM8 SWIM download debugging support.
  • Automatic firmware upgrades.

Supported Software Versions:

  • Utilitat ST-LINK 2.0 i posterior
  • STVD and above
  • STVP 3.2.3 i superior
  • IAR EWARM V6.20 i superior
  • IAR EWSTM8 V1.30 i superior
  • KEIL RVMDK V4.21 i posterior

ST-Link V2 Interface Definition:

The ST-Link V2 features a 4-wire interface for easy connection. The pin definitions are clearly marked on the unit's housing.

ST-Link V2 programmer with numbered pinout and connection diagram.

An image of the ST-Link V2 programmer with its pinout clearly numbered and labeled, providing a visual guide for connecting to target devices.

  • RST: Reset pin
  • SWDIO: Serial Wire Debug Data Input/Output
  • GND: Terra
  • GND: Terra
  • NEDAR: Single Wire Interface Module
  • SWCLK: Serial Wire Clock
  • 3.3 V: 3.3 Volt Power Output
  • 3.3 V: 3.3 Volt Power Output
  • 5.0 V: 5.0 Volt Power Output
  • 5.0 V: 5.0 Volt Power Output

2.2 Dual H-Bridge DC Stepper Motor Driver Module

The Dual H-Bridge motor driver module is designed to control two DC motors or one 4-wire two-phase stepper motor. It utilizes an imported original chip with a built-in low on-resistance MOS switch for efficient operation.

Five Aideepen Dual H-Bridge DC stepper motor driver modules.

A view of five individual Dual H-Bridge motor driver modules, showcasing their compact design and components, including the main driver chip and capacitors.

3. Instruccions de configuració

3.1 Connecting the ST-Link V2

To connect the ST-Link V2 to your target microcontroller, use the provided jumper wires. Ensure correct pin alignment according to the interface definition provided in Section 2.1. Connect the SWDIO, SWCLK, RST, and GND pins to the corresponding pins on your target board. Provide power to the target board either externally or via the 3.3V/5.0V pins from the ST-Link V2, if supported by your setup.

Aideepen ST-Link V2 programming unit with connected jumper wires.

Primer pla view of the ST-Link V2 programming unit, highlighting its pinout and showing how jumper wires are typically connected for debugging or programming.

3.2 Connecting the Dual H-Bridge Module

The Dual H-Bridge module requires connections for power supply, motor outputs, and control signal inputs. Refer to the diagram below for proper wiring.

Wiring diagram for the Dual H-Bridge motor driver module.

A schematic diagram illustrating how to connect the Dual H-Bridge module, showing connections for supply voltage (2V~10V), I/O control signals (IN1-IN4), and two independent DC motors (Motor-A, Motor-B).

  • Subministrament Voltage: Connect a DC power source between 2V and 10V to the '+' and '-' terminals.
  • Connexions del motor: Connect Motor-A to the 'MOTOR-A' terminals and Motor-B to the 'MOTOR-B' terminals.
  • Entrada de senyal de control: Connect your microcontroller's I/O pins to IN1, IN2, IN3, and IN4. The signal voltage range for these inputs is 1.8V-7V.
  • IN1 and IN2 control Motor-A.
  • IN3 and IN4 control Motor-B.

4. Instruccions de funcionament

4.1 Using the ST-Link V2

Once connected, the ST-Link V2 can be used with compatible development environments such as IAR, KEIL, ST-LINK Utility, STVD, and STVP. Install the necessary drivers and software on your computer. Refer to the specific software documentation for detailed instructions on debugging, programming, and firmware updates for your STM8 or STM32 microcontroller.

4.2 Controlling Motors with the Dual H-Bridge

The Dual H-Bridge module controls DC motors based on the logic levels applied to its IN1-IN4 pins. The following table outlines the control modes for each motor:

Table detailing DC motor control modes for the H-Bridge module.

A table illustrating the control logic for the Dual H-Bridge module, showing input combinations (IN1, IN2, IN3, IN4) for various motor operations like Forward, Reversion, Standby, and Brake for both Motor-A and Motor-B.

MOTOR CCMODEIN1IN2IN3IN4
MOTOR-AEndavant1/PWM0
Reversió01/PWM
En espera00
Fre11
MOTOR-BEndavant1/PWM0
Reversió01/PWM
En espera00
Fre11

Nota:

  • "1" represents a high level; "0" represents a low level; "PWM" indicates a pulse width modulated wave, used to adjust the duty cycle to change speed.
  • IN1 and IN2 control MOTOR-A; IN3 and IN4 control MOTOR-B. These two motor controls are completely independent.
  • INx anti-input common conduction function: if a pin is floating, it is equivalent to a low input.

5. Manteniment

To ensure the longevity and reliable operation of your ST-Link V2 and H-Bridge modules, follow these general maintenance guidelines:

  • Keep the devices in a dry environment, away from moisture and extreme temperatures.
  • Avoid exposing the modules to static electricity. Handle them by the edges or use anti-static precautions.
  • Periodically inspect connections for any loose wires or damage.
  • Clean the modules gently with a soft, dry cloth if dust accumulates. Do not use liquids or harsh chemicals.

6. Solució De Problemes

If you encounter issues with your ST-Link V2 or H-Bridge modules, consider the following troubleshooting steps:

  • Problemes de connexió: Double-check all wiring for correct pin assignments and secure connections. Ensure power supply is within the specified voltage gamma.
  • ST-Link V2 Not Detected: Verify that the ST-Link V2 drivers are correctly installed on your computer. Try a different USB port or cable. Ensure the target microcontroller is powered.
  • Programming/Debugging Errors: Confirm that your development environment (IAR, KEIL, etc.) is configured for the correct microcontroller and ST-Link V2. Check for firmware updates for the ST-Link V2.
  • Motor Not Responding: Check the power supply to the H-Bridge module and the motors. Verify that the control signals (IN1-IN4) from your microcontroller are correct according to the operating table. Ensure motors are properly connected.
  • Sobreescalfament del motor: Ensure the motor current does not exceed the H-Bridge module's capabilities. Reduce load or operating time if necessary.

7. Especificacions

7.1 ST-Link V2 Programming Unit

  • Supported Microcontrollers: STM32 (SWD interface), STM8 (SWIM interface)
  • Interfície: USB 2.0 full speed
  • Vol. De sortidatage: 3.3V, 5.0V (selectable via pins)
  • Firmware: Automatic upgrade support

7.2 Dual H-Bridge DC Stepper Motor Driver Module

  • Xip de conductor: Imported original chip with low on-resistance MOS switch
  • Tipus de motor: Drives two DC motors or one 4-wire two-phase stepper motor
  • Subministrament Voltage: 2V a 10V DC
  • Volum del senyal de controltage: 1.8V a 7V
  • Entrades de control: IN1, IN2 (for Motor-A); IN3, IN4 (for Motor-B)

8. Garantia i Suport

For warranty information or technical support, please refer to the product packaging or contact Aideepen customer service directly through their official channels. Keep your purchase receipt as proof of purchase.

Documents relacionats - ST-Link V2 M89, Dual H-Bridge DC Stepper

Preview Manual d'usuari del controlador de servomotor pas a pas SMC05: cablejat, funcionament i configuració
Manual d'usuari detallat per al controlador de servomotor pas a pas Aideepen SMC05, que cobreix el cablejat del mòdul, la introducció de les funcions, els modes de funcionament, els paràmetres del sistema, la configuració del motor, els protocols de comunicació i la resolució de problemes.
Preview Manual d'usuari del controlador de temperatura i humitat Aideepen STC-3028
Manual d'usuari del controlador de temperatura i humitat Aideepen STC-3028, que detalla les seves especificacions, cablejat, modes de funcionament i procediments de calibratge.
Preview Manual del provador de transistors M328: característiques, especificacions i guia d'operació
Manual complet per al provador de transistors Aideepen M328. Aprèn sobre les seves característiques, paràmetres del producte, instruccions d'ús i capacitats de mesura de components per a transistors, resistències, condensadors i més.
Preview Manual del controlador de temperatura i humitat Aideepen SHT-2000
Guia completa per al controlador de temperatura i humitat Aideepen SHT-2000. Detalla les funcions principals, les especificacions tècniques, la configuració de calefacció/refrigeració i humidificació/deshumidificació, els diagrames de cablejat, els codis d'error i les precaucions de seguretat.
Preview Manual d'usuari de l'indicador de bateria Aideepen VTM100 - Vol.tagMonitorització electrònica i del SOC
Manual d'usuari complet per a l'indicador de bateria Aideepen VTM100. Apreneu a controlar el volum de CC.tage, estat de càrrega (SOC) i temperatura per a diverses compostos químics de bateria com ara plom-àcid, liti ternari i LiFePO4.
Preview Oscil·loscopi portàtil Aideepen: característiques, especificacions i guia de l'usuari
Guia completa de l'oscil·loscopi de mà Aideepen, que cobreix la seva pantalla TFT de 2.4", les especificacions, les funcions dels botons, el funcionament, el calibratge, les actualitzacions de firmware i la resolució de problemes. Apreneu a utilitzar el vostre oscil·loscopi Aideepen de manera eficaç.