AR-98ArduinoIntermediatePremium
Arduino Mini Radar (Servo + HC-SR04 + OLED Display)
A movie-style radar from a distance sensor and a servo! The SG90 servo sweeps the HC-SR04 from 0 to 180 degrees while the 0.96 inch OLED draws a rotating sweep line and shows detected objects as dots. When something enters the range, the passive buzzer pings, and the pitch rises as the object gets closer. Servo control, ultrasonic measurement, trigonometry-based drawing and tone() sound in one project.
0.0(0)
1 completed
You build the radar screen from the movies right on your desk. A small servo motor swings the HC-SR04 distance sensor mounted on top back and forth across a half circle, while the OLED screen shows a rotating sweep line and every object it catches as a dot. When something comes closer than 50 centimetres the buzzer gives a short ping, and the closer it gets, the higher the sound.
Source Code
Premium Content
The source code, block version and FAQ of this project are open to Premium members.
- All Project Code
- Block version
- Frequently Asked Questions
