This is an old revision of the document!
This project is an interactive pet entertainment device built around an ESP32-CAM module, designed to keep cats engaged and active when their owners are away from home. The system combines real-time video streaming with a remotely-controlled pan-tilt camera mount and a laser pointer that can be operated manually or move autonomously in random patterns.
The idea started from a simple idea, that indoor cats often become bored or stressed when left alone for extended periods, and existing solutions (automatic laser toys, pet cameras) are usually expensive.
The project aims to:
The device is useful both for the cat (mental stimulation, exercise) and for the owner (peace of mind, ability to interact with the pet remotely, and a fun way to engage with the animal). The whole system is built from low-cost components and open-source software, making it an accessible alternative to commercial pet cameras.
The system is built around an ESP32-CAM module which acts as the central controller, handling video streaming, peripheral control, and serving the web-based user interface. The user interacts with the system through any modern web browser over WiFi.
The user opens the web interface in a browser. The browser loads the HTML page from the ESP32 and starts receiving the video stream on port 81. When the user presses a control button (move servo, toggle laser, start auto mode), the browser sends an HTTP GET request to the ESP32, which processes it, actuates the corresponding peripheral, and replies with a small JSON status update. The web interface periodically polls the ``/climate`` endpoint to refresh the temperature and humidity readings.
| Component | Quantity | Role | Price (RON) | Source |
|---|---|---|---|---|
| ESP32-CAM | 1 | Main controller, WiFi, video streaming | 67.40 RON | ESP32-CAM eMAG |
| OV2640 (2MP) | 1 | Camera sensor integrated with ESP32-CAM, MJPEG stream | - | Included with ESP32-CAM |
| USB-TTL programmer CH340 | 1 | Firmware upload only | - | Included with ESP32-CAM |
| SG90 Servo motor | 2 | Pan and tilt mechanical movement | 10.29 RON | SG90 ArduShop |
| KY-008 laser module | 1 | Visual stimulus for the cat | 4.36 RON | KY-008 ArduShop |
| DHT11 sensor module | 1 | Temperature and humidity monitoring | 8.50 RON | DHT11 ArduShop |
| LM2596 Step-down converter | 1 | 9V to 5V voltage regulation | 16.90 RON | LM2596 ArduShop |
| USB-C PD 9V power adapter | 1 | power input | <PRET> | PD-USB-9V ArduShop |
| Pan-tilt 2-axis kit | 1 | Mechanical structure for camera movement | <PRET> | <MAGAZIN> |
| Prototype PCB board | 1 | Final soldered assembly | <PRET> | <MAGAZIN> |
| Jumper wires | ~15 | Interconnections during prototyping | <PRET> | <MAGAZIN> |
| Total | ~XXX RON |