This tutorial build programs the KS4019 mini car with MakeCode blocks. Two TCRT5000 line-tracking sensors, left on P12 and right on P13, tell the car where the line is, and the micro:bit V2 shield drives the motors through the TB6612 driver.
What you will do
- Build the car on the micro:bit V2 robot shield
- Write MakeCode blocks that read both line sensors
- Make the car follow a line and stop at the end
When the blocks version works, the same project exists in MicroPython for learners moving to text code.
This is a tutorial build based on the official documentation: KS0426 / KS4019 official documentation