This is an old revision of the document!
This project is a DIY IoT security camera built around the ESP32-CAM microcontroller. It functions as a standalone, localized smart device that streams real-time video over Wi-Fi while allowing the user to physically steer the camera’s viewing angle. The entire system—including the live video feed and the robotic servo controls—is hosted on a custom web server running directly on the ESP32, meaning it requires no third-party apps and can be controlled from any smartphone or PC browser.
This project is a DIY, self-contained robotic security camera. Unlike commercial smart cameras, it requires no cloud subscriptions or third-party mobile apps to function.
How it Works: The ESP32-CAM microcontroller connects to your local Wi-Fi network and hosts its own internal web server. By typing the camera's IP address into any standard web browser (on a smartphone or laptop), the user accesses a custom-built control dashboard. From this webpage, the user can watch the live video stream and use on-screen sliders to physically steer the camera left, right, up, and down using two micro-servo motors.
| Components | Purpose |
|---|---|
| ESP32-CAM | Main microcontroller |
| OV2640 Camera Module | Camera that will be used to capture video |
| SG90 Micro-Servos (x2) | Motors used for moving the camera: pan or tilt |
| Pan-Tilt Bracket | A plastic assembly that mounts the two servos |
| MB102 Power Module | Voltage regulator |
| FTDI Programmer | Translates USB data from laptop into UART serial data |