Back to classes
5 lessons

Distance Sensor

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

Your progress5 lessons

Lesson list

Work through these in order — finishing one unlocks the next. Complete them all and you earn 500 XP.

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