Skip to main content

Case 12: The Shy TPBot

Introduction

To create a TPBot car that automatically adjusts its driving speed according to the sound level of the surrounding environment.

TPBot micro:bit v2

SoftWare

MicroSoft makecode

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: https://makecode.microbit.org/_FxjaAwJcb15K

You may also download it directly below:

Conclusion

The TPBot smart car automatically adjusts the driving speed according to the sound level of the surrounding environment.