Skip to the content
2 layersESP32 Bot PCB, the printed circuit board in 3D

This project presents the design and development of an ESP32-based smart robotic system capable of motion control, laser aiming, video streaming, GPS tracking, and secure communication.

Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
51
Pads
125
Tracks, vias
224, 17
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
9 Apr 2026
Updated
9 Apr 2026

Overview

ESP32 Bot PCB is an open-source printed circuit board by mm24phc1r33-cmd, from the mm24phc1r33-cmd/ESP32-Surveillance-Bot repository on GitHub. It is a 2-layer board with 17 parts on 51 nets, routed with 224 tracks and 17 vias.

It is built around the ESP32-WROOM-32 and AMS1117. Its parts include 6 connectors, 3 resistors, 3 ICs, 2 switches and 1 diode. It belongs with the ESP32 boards of this library.

Main components

2

README

README.md

ESP32-Surveillance-Bot

ESP32-Based Smart Surveillance Robot (Embedded Systems Project)

Overview

This project presents the design and development of an ESP32-based smart robotic system capable of motion control, laser aiming, video streaming, GPS tracking, and secure communication. The system integrates multiple hardware modules with embedded firmware to create a scalable and real-time surveillance platform.

The robot operates using differential drive motors, supports remote monitoring via Wi-Fi, and ensures secure access using BLE authentication.


Objectives

The main objective of this project is to design a complete embedded system including:

  • Real-time motor control using PWM
  • Laser aiming using servo motor
  • GPS-based location tracking
  • Wireless communication via Wi-Fi
  • Secure access using BLE authentication
  • Camera-based monitoring (simulated/extendable)

System Architecture

The system consists of the following major blocks:

  • ESP32 microcontroller (central controller)
  • Motor driver (TB6612FNG)
  • DC motors for movement
  • Servo motor for laser aiming
  • GPS module (UART-based)
  • Wi-Fi communication module (ESP32 inbuilt)
  • BLE authentication system
  • Power regulation using AMS1117

Hardware Components

  • ESP32-WROOM-32
  • TB6612FNG Motor Driver
  • 2 × DC Motors
  • 1 × Servo Motor
  • GPS Module (NEO-6M or similar)
  • AMS1117 Voltage Regulator (3.3V)
  • Capacitors (10µF)
  • Resistors (220Ω, 10kΩ)
  • Push Buttons (Reset & Boot)
  • LED Indicator
  • Connectors (Pin Headers & Terminal Blocks)

PCB Design

A custom PCB was designed using KiCad with the following considerations:

  • Proper component placement (power, control, communication separation)
  • Wide traces for motor power lines
  • Ground plane for noise reduction
  • Keep-out zone for ESP32 antenna
  • Decoupling capacitors near power pins
  • Separate connectors for GPS, UART, motors, and servo Screenshot 2026-04-09 120329
Screenshot 2026-04-09 130713 Screenshot 2026-04-09 130849 Screenshot 2026-04-09 150811 Screenshot 2026-04-09 152431 Screenshot 2026-04-09 152606 image Screenshot 2026-04-09 181805 Screenshot 2026-04-09 182627

Firmware Features

The firmware is developed using Arduino IDE for ESP32 and includes:

  • Motor control (forward, backward, left, right)
  • PWM-based speed control
  • Servo control for laser positioning
  • GPS data parsing (latitude & longitude)
  • Wi-Fi connectivity and server communication
  • BLE-based authentication (simulated)
  • Safety mechanism (motor stop on disconnection)

Communication

  • Wi-Fi: Used for data transmission and remote monitoring
  • BLE: Used for authentication before granting control
  • UART: Used for GPS communication

Testing & Output

The system was tested using Serial Monitor:

  • Verified motor control commands
  • GPS data updated every 5 seconds
  • Simulated authentication process
  • Safety stop triggered on connection loss Screenshot 2026-04-08 182722
Screenshot 2026-04-08 200231 Screenshot 2026-04-08 202225 Screenshot 2026-04-08 202836 Screenshot 2026-04-08 202846

Safety Features

  • Motors automatically stop on Wi-Fi disconnect
  • Controlled access using BLE authentication
  • Power regulation to avoid voltage fluctuations

Project Structure

text
ESP32_Surveillance_Bot/
│── firmware/
│   └── main.ino
│
│── hardware/
│   ├── schematic.kicad_sch
│   ├── pcb_layout.kicad_pcb
│   ├── gerber_files/
│
│── README.md

Future Improvements

  • Real-time camera streaming using ESP32-CAM
  • Mobile app integration
  • Autonomous navigation using sensors
  • AI-based object detection

Conclusion

This project demonstrates the integration of embedded systems, PCB design, and communication protocols into a single functional robotic platform. It showcases practical implementation skills in hardware-software co-design and real-time system development.


Author

Monika M.Sc. Tech Engineering Physics (Electronics) NIT Warangal


🔗 GitHub

(Add your GitHub repo link here)


Parts

17
QtyValueFootprintReferences
2C_PolarizedCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm10uf1, 10uf2
2Conn_01x02TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ5, J6
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1, J4
2RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2, R3
2SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1AMS1117Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1Conn_01x02_PinTerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ2
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U1
1LEDLED_THT:LED_D5.0mmD1
1TB6612FNGPackage_SO:SSOP-24_5.3x8.2mm_P0.65mmU2

Similar boards

  • 2 layers130 × 77 mmNano keyboard, the printed circuit board in 3D

    Nano keyboard

    Freireg/Custom-Macro-Keypad

    Custom macro mechanical keypad

    49 parts4
  • 4 layers63.2 × 49.3 mmRiMon, the printed circuit board in 3D

    RiMon

    RafaelEstevamReis/MonitoramentoRios

    Repositório do projeto de monitoramento de Rios

    58 parts2MIT
  • 2 layers45 × 55 mmDongleALIVEv2.0, the printed circuit board in 3D

    DongleALIVEv2.0

    joaogabrielsantosD/Dongle-eaLIVE-PCB

    PCB of the DongleEALIVE for reading data from the vehicle's CAN bus with telemetry via BLE, supporting GPS and accelerometer.

    77 parts1
  • 2 layers97.3 × 40.6 mmGate opener, the printed circuit board in 3D

    Gate opener

    Leczok12/gate-opener

    This device can open gate remotly using ESP RainMaker app or Google home.

    29 parts1
  • 2 layers165 × 110 mmClean room, the printed circuit board in 3D

    Clean room

    trieuhuyduc/Clean_room_slave

    ESP32-based slave controller board for cleanroom equipment — RS485/Modbus, isolated I/O, 220V mains control (KiCad)

    213 parts1
  • 2 layers52.8 × 68.5 mmMP3, the printed circuit board in 3D

    MP3

    amkhan2009/GameBoy-Mp3-Plater

    Portable ESP 32 based MP3 Player

    40 partsMIT
  • 2 layers80 × 100 mmAirstream controller, the printed circuit board in 3D

    Airstream controller

    klaus-liebler/self-balancing_robot

    hardware and software for a super cheap self balancing robot

    77 partsMIT

Questions

What parts does the ESP32 Bot PCB use?

17 parts, built around the ESP32-WROOM-32 and AMS1117. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the ESP32 Bot PCB KiCad files?

From the mm24phc1r33-cmd/ESP32-Surveillance-Bot repository on GitHub, at the commit this page was made from: the board is hardware/ESP32_Bot_PCB.kicad_pcb and its schematic hardware/ESP32_Bot_PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP32 Bot PCB design in my own project?

Its repository states no licence, so its author keeps all rights: ask mm24phc1r33-cmd before reusing the design.