This project uses automated motion to keep pets engaged and active, utilizing a simple but effective randomized movement algorithm.
Randomized Servo Motion: The Arduino drives a SG90 micro servo attached to a laser pointer or a physical lure. The firmware uses the random() function to generate unpredictable turn angles and speed delays, preventing the cat from getting bored by repetitive patterns.
Battery-Optimized Operation: Designed for portable use with a 9V battery. The code includes a "Deep Sleep" timer that automatically deactivates the motor after 5 minutes of play, preserving battery life for multiple sessions.
Physical Design
Safe Laser Calibration: Highlights the importance of setting "Hard Limits" in the servo software (e.g., 60 to 120 degrees) to ensure the laser never points directly at eye level, ensuring a safe indoor environment for children and pets.