Elektronik Atölyem

Parking sensor

Measure distance with an HC-SR04 ultrasonic sensor; the beeps speed up as an obstacle gets closer and green, yellow and red LEDs light up.

Medium45 minutespulseIn()distance from the speed of soundtone()non-blocking timing with millis()

Parts

  • ☐ Arduino Uno
  • ☐ HC-SR04 ultrasonic sensor
  • ☐ Passive buzzer
  • ☐ Green, yellow and red LEDs with 3 × 220 Ω
  • ☐ Breadboard and jumper wires
See the parts in the shop →

This project is paid content

The wiring diagram, annotated code, simulator and extension ideas unlock after purchase.

This project · FİYAT SORAll projects · FİYAT SOR
Buy

Sign up for free or log in first to buy.

Join for free and try the free sample project first.