Back to classes
5 lessons

Distance Sensor

Time-of-flight basics, indicators, and distance alarms.

Buy the kit for this courseACEBOTT STEM Educational Starter DIY Robot Kit for Arduino (ESP32-Based)
Your progress5 lessons

Lesson list

Work through these in order. Finishing one unlocks the next. Earn XP as you complete pages, quizzes and challenge steps, up to 500 XP for this class.

1

Lesson 1: Meet the Distance Sensor: Time-of-Flight Basics

Measuring space with light 📏💡

Ready to start Code

Lesson 2: Distance + LED Indicator

Let your LED sense how close things are 📏💡

Locked. Finish the previous lesson Code

Lesson 3: Distance-Based Brightness (PWM)

The closer you get, the brighter it glows 📏🔆

Locked. Finish the previous lesson Code

Lesson 4: Distance Alarm System (Buzzer + LED)

Built like a real parking sensor 🚗🔔

Locked. Finish the previous lesson Code

Lesson 5: Smart Distance System (Mini Project)

Silent or sounding: you choose 📏🎛️

Locked. Finish the previous lesson Code