pj0kLwt

Four-channel DC motor control board

 
Overview
This is
a four-channel motor control board using the ESP32WORK32 as the main controller. It can drive four 513 or 520 motors and has reserved interfaces for UART2, I2C, and MPU6050 modules. A TPS5430 step-up/step-down module needs to be purchased and soldered separately. It is suitable for various competitions, mini-cars, etc.
It has been verified to be usable.
The schematic design

uses the TPS5430 module to step down the battery's 12V to 5V, and then uses an 1117 to step it down to 3.3V.
A CH340C is used for USB to TTL conversion, and the program is automatically programmed with a one-click download circuit.
Due to the limited pin count of the ESP32 module, a 74HC595D is used for pin expansion, connecting the TB6612's direction control pins. Please pay attention to this when programming. Additionally, due to insufficient pin count, the TB6612's STBY pin is directly connected to VCC.
Pin definitions are given on the right side of the schematic using shorting symbols.

The PCB design layout

uses an almost perfectly symmetrical arrangement due to my personal preference.
The size is 80mm*100mm, meeting JLCPCB's free board-making requirements.
The Type-C interface pads are elongated for easier soldering; a little solder paste and a generous amount of solder flux are applied, and the soldering is done by carefully running a soldering tool along the surface.
The TPS5430 module has a custom package design, which can be modified to accommodate other DC-DC circuits.
The 74HC595D chip uses an SOP-16 package, consistent with the CH340C.
The MPU6050 module covers the Type-C interface, a nod to the 3D stacking technique of placing resistors between two rows of female connectors.

Important notes:


I purchased the TPS5430 module from Uxin Electronics (as shown in the picture), but it seems they occasionally run out of stock; other suppliers should have similar issues. For


the 74HC595 chip, I recommend purchasing the version with a "D" suffix, as this version has built-in pull-up pins on the output pins. There is a version with an "A" suffix that appears to be open-drain output; since I didn't design an external pull-up pin, it might not be able to drive the motor properly.


The VIN+ and VIN- on the left and right sides are reversed; please pay attention when wiring.


The reference code
is not yet finished; I will update it when it is complete. If there's been too long since the last update, please leave a comment. See the attached video for
a placeholder code demo .

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-27 23:27:51

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号