# Cara di Scratch: Auto-Braking Car with LEGO Distance Sensor (LEGO + Scratch)

> Buat prototipe minimal yang berjalan terlebih dahulu, lalu tambahkan efek, suara, dan level. Stop motors automatically when an obstacle is detected nearby.

[Bahasa Indonesia] LEGO and Scratch physical computing guide: Stop motors automatically when an obstacle is detected nearby.

## Konsep Utama & Langkah Praktis: How LEGO Connects to Scratch

Buat prototipe minimal yang berjalan terlebih dahulu, lalu tambahkan efek, suara, dan level.

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](/id/hardware/): Explore more micro:bit, LEGO, and Makey Makey ideas.
- [micro:bit Setup Guide](/id/microbit/): Full Bluetooth and HEX setup instructions.

## Pengujian & Pengembangan

Prediksi hasil sebelum menekan bendera hijau dan pantau perubahan variabel secara langsung.

- [Kembali ke daftar kategori](/id/hardware/): Proyek Perangkat Keras (micro:bit, LEGO, Makey Makey)
- [Tentang Scratch Daizen (Kebijakan Editorial & Kualitas)](/id/about/): Pelajari misi editorial, standar verifikasi kualitas, dan struktur 10 bahasa Scratch Daizen untuk siswa, orang tua, dan guru.

Diperbarui: 2026-11-24
Penulis: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/)
Japanese Edition: https://scratch.gmnavi.jp/hardware/lego-distance-stop/

[Scratch Daizen (Bahasa Indonesia)](https://scratch.gmnavi.jp/id/)
