Objective:
In this lesson , we will use BBC Microbit board  to control robot car make some basic movements. Go forward, Backward, Left turn, right turn. The purpose of this lesson is to verify our motor installation and control wiring connection.

Parts and Devices:
树莓派小车的全部零件(PCA9685 和树莓派版除外)

BBC microbit 版  x 1

OSOYOO microbit PNP extension board (如下图):

Hardware Installation and Wire Connection:

机械安装同树莓派小车
Model Pi driver board connection to DC motors:

Model Pi Connection to microbit extension board:

Model Pi microbit extension
ENA P0
IN1 P11
IN2 P12
IN3 P13
IN4 P14
ENB P1

Microbit extension board must be powered  by 5V USB port from Model Pi board

Software:

https://makecode.microbit.org/_E1JYH5iDFHW9