If it gets darker, the lights are blinking faster and faster. When it's completely dark, the lights stop blinking and stay on. If you gently press the pressure sensor, the lights will go off again.
I made this for my robot Jerry. Jerry is afraid in the dark. The lights will become his eyes and will make it look like he's blinking. The pressure sensor will end up in his hand, so if you hold his hand, he'll calm down and close his eyes.






EXPANDED TECHNICAL DETAILS
Animatronic Vision Simulation
This project uses a single high-speed display or mechanical lid to simulate the complex, non-linear movement of a human blink.
- Natural Saccade Algorithm: The Arduino manages the speed and frequency of the "Blink." Instead of a fixed timer, it uses a Gaussian random distribution to create an organic, realistic blinking pattern that doesn't feel robotic.
- OLED Graphical Eyelid: (Features) Renders a high-contrast eye graphic on a small SSD1306 display. The firmware performs a "Vertical Wipe" animation to simulate the eyelid closing and opening in less than 300ms.
Interactive Modes
- Motion-Triggered Blink: (Advanced version) Integrates a PIR sensor; the "Eye" only blinks if no motion is detected for a certain period, creating a "Staring" effect that surprises viewers.