ES-82IntermediatePremium
ESP32 Robot Head That Follows You: Turns Its Head, Squints Its Eyes (2 HC-SR04 + 2 Servos)
A creepy but funny robot head that turns to face you wherever you go in the room. Two HC-SR04s measure in turn, and the head servo turns toward the one that sees you closer. Come too close and the eyelid servo narrows, the LED eyes dim and the robot gives you a suspicious look. With nobody around it looks about, after a while it falls asleep, and it wakes with a start when someone shows up.
0.0(0)

You build a robot head that turns to face you wherever you go in the room and gives you a suspicious squint when you get too close. Two distance sensors find you, one servo turns the head, a second servo lowers the eyelid and two red lights are its eyes. With nobody around it looks about, dozes off and wakes up with a start when someone walks in.
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
