NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

Auto-Braking Car with LEGO Distance Sensor (LEGO + Scratch)

📌 What you will learn

Stop motors automatically when an obstacle is detected nearby.

How LEGO Connects to Scratch

Stop motors automatically when an obstacle is detected nearby.

Before starting, confirm Scratch Link (for Bluetooth devices) or USB keyboard input (for Makey Makey) is active on your computer.

All 15 Hardware Projects Explore more micro:bit, LEGO, and Makey Makey ideas. Learn more → micro:bit Setup Guide Full Bluetooth and HEX setup instructions. Learn more →

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.