Closed Loop Stepper Motor Driver
1. Product Introduction
This project is a software and hardware solution for 42 stepper motor drivers, using ESP32 as the main control, using UART, CAN, WIFI, Bluetooth for communication, working voltage 8~35V, small size, and can be applied to various motor drive equipment.
2. Application scenarios
medical equipment
Industrial Motion Control
move robot
small robotic arm
Stabilized gimbal
3. Product overview
This project uses ESP32 as the main control, which can be controlled by UART, CAN, WIFI, and Bluetooth. The working voltage is 8-35V, and 14-bit magnetic encoder is used for closed-loop control.
At present, the motor open-loop position control and closed-loop position control have been realized
Equipped with Android-based APP application software
All hardware and software are open source
4. Product parameters
Dimensions: 41mm*41mm Four-layer board design
Positioning hole: 31mm * 31mm, diameter 3mm
Working voltage: 8-35V, it is recommended not to exceed 24V
Peak current: 4A (recommended to use 1A current, please add a radiator for long-term high-current use)
Applicable motor: suitable for any two-phase four-wire 42 stepper motor
Interface: serial port, CAN, WIFI, Bluetooth
Front 3D preview
3D preview of the back
5. Instructions for use
The power input interface is connected to 8V~35V DC power supply, it is recommended not to exceed 24V, the motor interface is connected to the motor, pay attention to the wiring sequence of the motor
The communication interface is connected to UART or CAN;
When the motor works for a long time or with a heavy load, it is recommended to add a heat sink to the motor driver chip
6. Remarks
The software, hardware and host computer software of this project are all open source
The program downloader uses a USB-C cable, connected to the USB interface of the control board, and downloaded using VSCODE or ARDUINO software
The cost of components is about 40 yuan, not including the screen, motor, PCB, labor is not included
The control code is in the attachment "motor control source code.zip", use vscode or arduino to edit
The APP source code is in the attachment "Android APP source code.zip", edited with Android Studio
The instructions for use are in the attachment "Instructions for Use.zip", which can be opened with any text editor.