Robotics & Arduino
Lesson 3 · Hands on

Project 10

Pot, servo and ultrasonic

What do we want to do?

Aim the ultrasonic sensor manually and indicate detected distance.

Parts

  • Arduino Uno + USB cable, breadboard, and jumper wires.
  • Potentiometer, servo, and HC-SR04 ultrasonic sensor
  • Sensor mounting bracket
  • 4 LEDs and 4 × 330Ω resistors
  • Suitable 5V servo supply

What to expect

The knob turns the sensor. Serial Monitor and LEDs report distance in the selected direction.