Description: The TB6612FNG motor driver can control up to two DC motors at a constant current of 1.2A (3.2A peak). Two input signals (IN1 and IN2) can be used to control the motor in one of four function modes - CW, CCW, short-brake, and stop. The two motor outputs (A and B) can be separately controlled, the speed of each motor is controlled via a PWM input signal with a frequency up to 100kHz. The STBY pin should be pulled high to take the motor out of standby mode.CJMCU.
Logic supply voltage (VCC) can be in the range of 2.7-5.5VDC, while the motor supply (VM) is limited to a maximum voltage of 15VDC. The output current is rated up to 1.2A per channel (or up to 3.2A for a short, single pulse).
和L298N相比,尺寸上只有5分之1的大小,但規格上已足夠大多數智慧車使用。
該模組相對於傳統的L298N效率上提高很多,體積上也大幅度減少,在額定範圍內,晶片基本上不發熱。
TB6612的的用法:
TB6612是雙驅動,也就是可以驅動兩個電機
下面分別是控制兩個電機的IO口
STBY(或NC)口接單片機的IO口清零電機全部停止,置1通過AIN1 AIN2,BIN1,BIN2 來控制正反轉
VM 接12V以內電源
VCC 接5V電源
GND 接電源負極
驅動1路
PWMA 接單片機的PWM口
真值表:
AIN1 | 0 | 0 | 1 |
AIN2 | 0 | 1 | 0 |
停止 | 正轉 | 反轉 |
A01、AO2 接電機1的兩個腳
驅動2路
PWMB 接單片機的PWM口
真值表:
BIN1 | 0 | 0 | 1 |
BIN2 | 0 | 1 | 0 |
停止 | 正轉 | 反轉 |
B01、BO2 接電機2的兩個腳