All paths

Build a parking assistant

A garage stop light from scratch: an ultrasonic sensor that measures with sound, LEDs that turn green, yellow and red, smoothing for messy echoes, sleep when the car is parked, and notes for mounting it for real.

Arduino Uno R3Free6 lessons4 h3 chapters1,320 XPRobotics · Beginner+100 XP

0 of 6 done

Start the course freeMeasure distance with soundBuild it as a kitRetails for about $39, free on Mokxi.Lesson plan for teachers
What you will build

3 projects, built step by step

6 lessons in 3 chapters, about 4 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

Colors for zones

Swap the buzzer for a light you can read through a windshield: a stick of eight LEDs that shows green, yellow and red as the car comes in.

Open it in the simulator
Chapter 2 project

Sleep when empty

A stop light that glows red all night wastes power and lights up the garage. Turn the LEDs off when the car has stopped, and back on when it moves.

Open it in the simulator
Chapter 3 project

Project: a garage stop light

Put it all together: a light that guides the car in, flashes if you go too far, ignores a bad echo, and goes to sleep once you have parked.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Measure and show

Distance from a chirp and an echo, then a stick of LEDs that shows it as zones.

  1. Open165 XP

    Measure distance with sound

    An ultrasonic sensor measures distance like a bat: a chirp, an echo, and a stopwatch. Move the wall, read the distance, and move the stop line.

    0 of 5 steps

  2. ProjectLocked330 XP

    Colors for zones

    Swap the buzzer for a light you can read through a windshield: a stick of eight LEDs that shows green, yellow and red as the car comes in.

    0 of 5 steps

3 questions, graded as you go.
Chapter 2

Steady and smart

Averaging, a hold for missed echoes, and a light that sleeps when the car is parked.

  1. Locked140 XP

    Smoothing

    Real echoes are messy: one bad reading and the light flickers. Average a few readings, ride out a missed echo, and find out what smoothing costs.

    0 of 4 steps

  2. ProjectLocked280 XP

    Sleep when empty

    A stop light that glows red all night wastes power and lights up the garage. Turn the LEDs off when the car has stopped, and back on when it moves.

    0 of 4 steps

4 questions, graded as you go.
Chapter 3

Build it

Where to mount it, what the cold does to sound, and the finished garage stop light.

  1. Locked125 XP

    Mounting notes

    Where the sensor goes decides whether it works: bumper height, aimed level, away from shelves. Plus a cold garage, where sound is slower and every reading is off.

    0 of 4 steps

  2. ProjectLocked280 XP

    Project: a garage stop light

    Put it all together: a light that guides the car in, flashes if you go too far, ignores a bad echo, and goes to sleep once you have parked.

    0 of 4 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Measure and show

  1. Measure distance with soundAn ultrasonic sensor measures distance like a bat: a chirp, an echo, and a stopwatch. Move the wall, read the distance, and move the stop line.
  2. Colors for zonesSwap the buzzer for a light you can read through a windshield: a stick of eight LEDs that shows green, yellow and red as the car comes in.
Chapter 2

Steady and smart

  1. SmoothingReal echoes are messy: one bad reading and the light flickers. Average a few readings, ride out a missed echo, and find out what smoothing costs.
  2. Sleep when emptyA stop light that glows red all night wastes power and lights up the garage. Turn the LEDs off when the car has stopped, and back on when it moves.
Chapter 3

Build it

  1. Mounting notesWhere the sensor goes decides whether it works: bumper height, aimed level, away from shelves. Plus a cold garage, where sound is slower and every reading is off.
  2. Project: a garage stop lightPut it all together: a light that guides the car in, flashes if you go too far, ignores a bad echo, and goes to sleep once you have parked.
Keep going

The next course on your track

Build a parking assistant is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a pet feeder

A first robot with a real job: a servo hatch, meals on a clock, portions weighed by a load cell, a snack button with a ration, and a log of every meal.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

The kit for this course

Parking Assistant Kit

An Uno, an ultrasonic ranger, addressable RGB LEDs, a buzzer and an LED: a stop light that parks your car.

Open the kit
Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a parking assistant

Is Build a parking assistant free?

Yes. All 6 lessons of Build a parking assistant are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a parking assistant take?

About 4 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Colors for zones, Sleep when empty and Project: a garage stop light.

Where do I start?

With "Measure distance with sound", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.