Module test demonstration website
http://v.youku.com/v_show/id_XNjQ5MDQ4MzA4.html
Compared with the traditional L298N module, the efficiency of the module is improved a lot, and the volume is also greatly reduced. Within the rated range, the chip is basically not hot, which of course makes it more delicate. Therefore, we recommend friends with certain hands-on ability to use it. When wiring, be careful and pay attention to the positive and negative polarity.
The following are the IO ports controlling the two motors
The STBY port is connected to the IO port of the single chip microcomputer, and all the motors are reset to stop. Set 1 to control the forward and reverse rotation through ain1, ain2, Bin1 and BIN2
VM connected to 12V power supply
VCC connected to 5V power supply
GND doesn't say much
Drive 1 way
PWM port of pwma connected to MCU
Truth table:
AIN1 0 0 1
AIN2 0 1 0
Stop forward reversal
A01
AO2 connected to two pins of motor 1
Drive 2-way
Pwmb connected to PWM port of MCU
Truth table:
BIN1 0 0 1
BIN2 0 1 0
Stop forward reversal
B01
Bo2 connected to two pins of motor 2
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).
Board comes with all components installed as shown. Decoupling capacitors are included on both supply lines. All pins of the TB6612FNG are broken out to two 0.1" pitch headers; the pins are arranged such that input pins are on one side and output pins are on the other.
Features:
- Power supply voltage: VM=15V max, VCC=2.7-5.5V
- Output current: Iout=1.2A(average) / 3.2A (peak)
- Standby control to save power
- CW/CCW/short brake/stop motor control modes
- Built-in thermal shutdown circuit and low voltage detecting circuit
- All pins of the TB6612FNG broken out to 0.1" spaced pins
- Filtering capacitors on both supply lines