Micro:bit Teachable Machine Controller
This is a simple WASD controller that sends the prediction of a Teachable Machine model to a microbit via serial communication.
The model should output the following classes:
- forward
- backward
- left
- right
- stop
Step 1: Connect to Micro:bit
Step 2: Manual Driving
Keyboard Controls
Press Space to Stop
Controls:
- W or ↑ : Forward
- S or ↓ : Backward
- A or ← : Left
- D or → : Right
- Space : Stop
50
Adjust the forward speed of the Micro:bit.
55
Adjust the turn speed of the Micro:bit.
Step 3: Enter Model URL
Enter the URL of your Teachable Machine model.
Example: https://teachablemachine.withgoogle.com/models/x7UPTyTeq/
Step 4: Start Model Prediction
Model Output
10
Adjust the sensitivity to control how many consecutive detections are needed before sending a message.
Serial Communication Log