Polystyrene ball

555 Timer Ball Whacker

This project uses a simple 555 timer chip and a feedback loop to control a servo-controlled wooden arm. Whenever an object comes close to a photosensor mounted on the end of the arm, it blocks the amount of light detected, which triggers the arm to swat the object away.