EasyManua.ls Logo

Keyestudio Micro:bit Mini Smart Robot Car V2 - Motor Driving

Keyestudio Micro:bit Mini Smart Robot Car V2
184 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
49
Motor Driving
Description
The micro:bit robot shield has built-in PCA9685PW and TB6612FNG
chips. To save the IO port resources, we can control the TB6612FNG
chip through PCA9685PW chip; then control the moving direction and
speed of two DC motors by TB6612FNG chip.
Pin LED1 and LED2 of PCA9685PW chip are separately used to
control the direction and speed of the left motor;
Pin LED3 and LED4 separately control the direction and speed of the
right motor.
In the code, LED1 and LED3 are setting the moving direction.

Related product manuals