Mechanical Engineering

Whisker Twister: Autonomous Laser Toy for Cats

Whisker Twister is an intelligent, autonomous laser toy designed to combat cat obesity and boredom by keeping feline companions entertained and active while owners are away. The system uses real-time motion detection, smart triggering, and randomized laser patterns to create engaging, unpredictable play that adapts to the cat's interactions.

My Role

  • Electrical & embedded systems architecture: Led a multi-ESP32 distributed control system using ESP-NOW for coordinated operation.
  • Real-time sensor fusion: Implemented ultrasonic, photoresistor, encoder, and button inputs with noise filtering and debounce logic.
  • Autonomous control logic: Designed the state machine and control flow to enable reliable, hands-free operation.
  • Motor control integration: Integrated DC motor and servo control with feedback systems for precise, repeatable motion.

Date:

SPRING 2025

Course:

ME100

cover
cover
cover
cover
cover

Key Features & Results:

  • Distributed IoT System: Three coordinated ESP32 modules communicating wirelessly.
  • Smart Detection: Ultrasonic sensor with median filtering detects cat paw presence (2–160 cm range).
  • Context-Aware: Photoresistor ensures laser visibility and prevents daytime operation.
  • Adaptive Behavior: Forced movement resets every 10 seconds if the cat disengages, keeping play dynamic.
  • Robust Implementation: Debounce logic, stable distance measurements, and encoder-based positioning for reliable operation.