These days, a classic Jack O’ Lantern just doesn’t cut the mustard. Kids are expecting to be scared by high-quality animatronics at a minimum. This haunting work by [Zero To Infinity] might just do the trick.
A real pumpkin is pressed into service in this build, with the usual threatening grin and candlelit interior. However, where it differs is in its single, animated eye. The eye itself is constructed of a pingpong ball, drawn upon with markers for a creepy bloodshot look. A pair of servos allow the eye to twitch and roll, under the command of an Arduino Nano. For further interactivity, an ultrasonic sensor is used to only trigger the pumpkin when it senses a person approaching.
It’s a fun holiday build that also serves as a great primer on how to work with servos and microcontrollers. We can imagine a more advanced setup using more sensors and pumpkins to train multiple eyes on the unsuspecting visitor. If that’s not scary enough, perhaps just make your pumpkins breathe fire instead. Video after the break.
Source: HALLOWEEN PUMPKIN SCARES WITH AN EVIL EYE