Case 13: The Line-following and Obstacle-avoidance TPBot
Introduction
To create a TPBot smart car that drives along with the black line and stops while it detects obstacles.
Purchase link
TPBot micro:bit v2
Software
Programming
Click "Advanced" in the MakeCode drawer to see more choices.
We need to add a package for programming. Click "Extensions" in the bottom of the drawer and search with "tpbot" to download it.
Sample
Link
Link: https://makecode.microbit.org/_8RYMihU6wJo3
You may also download it directly below:
Conclusion
TPBot drives along with the black line and stops while it detects obstacles.