Back to all projects
Ages
9–12
Length
4 sessions
Level
Intermediate

Ultrasonic radar

A sensor on a servo sweeps back and forth and draws nearby objects on a live radar screen.

What it does

An HC-SR04 sensor sends out sound pulses too high for people to hear and times the echo to measure distance. A servo turns it from 0° to 180°, and the ESP32 sends each angle and distance to a web page that draws them like a real radar.

Parts we use

  • ESP32 development board
  • HC-SR04 ultrasonic sensor
  • SG90 servo motor
  • Cardboard or 3D-printed mount

What kids learn

  • The speed of sound, and distance = speed × time
  • Angles, and turning an angle and distance into x and y
  • Sending live data to a web browser
Ask about this project

Build it at home

These kits include every part for this project.

  • Sensor Lab Kit

    Everything in the Starter Kit plus six sensors and actuators, enough to build five of our ESP32 projects.

    ¥7,980tax incl.