Robotic Pan-Tilt Smart Camera

Introduction

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 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.

The primary purpose of this project is to design a localized, interactive surveillance solution that does not rely on third-party cloud subscriptions or proprietary mobile applications, while integrating mechanical actuation, high-speed data processing (video streaming) and wireless network communication into a single, low-cost microchip.

General Description

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.

Block Design

Hardware Design

List of Components

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

Electrical Schematic

Software Design

Environment

  • PlatformIO
  • Programming via USB
  • ESP32Servo library + esp_camera.h && WiFi.h
pm/prj2026/jan.vaduva/horia.lacatusu.txt · Last modified: 2026/05/12 11:43 by horia.lacatusu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0