Skip to the content
PCBKitNew board
2 layers73.5 × 86 mmDiy arduino esp01, the printed circuit board in 3D

Diy arduino esp01

averagejmc/HomeSecurity1

A small local home security system that:

Size
73.5 × 86 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
37
Pads
109
Tracks, vias
274, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
11 Oct 2025
Updated
9 Dec 2025

Overview

Diy arduino esp01 is an open-source printed circuit board by averagejmc, from the averagejmc/HomeSecurity repository on GitHub. It is a 2-layer board of 73.5 × 86 mm with 26 parts on 37 nets, routed with 274 tracks and 0 vias.

It is built around the ATMEGA328-PU and ESP-01. Its parts include 10 connectors, 5 capacitors, 5 resistors, 3 ICs and 2 switches. It belongs with the ESP8266 and AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

HomeSecurity

A small local home security system that:

  • receives sensor data via MQTT
  • shows a real-time dashboard using Flask + SocketIO
  • logs hourly snapshots to a SQLite database
  • sends notifications through Telegram Bot API

The app runs at http://localhost:5000.


Requirements

  • Python 3.10+
  • uv (for virtualenv + dependency management)
  • Mosquitto (or any MQTT broker at localhost:1883)
  • Telegram bot token stored in an environment variable TELEGRAM_TOKEN=<your token>

Installation

1. Create and activate the virtual environment

bash
uv venv
source .venv/bin/activate   # Linux/macOS

Windows PowerShell:

powershell
.\.venv\Scripts\Activate.ps1

2. Install all dependencies

bash
uv sync

Configure Telegram

For this project, we included the bot token in the code. However, it is recommended to use environment variables instead for API and bot tokens.

Set the bot token as an environment variable:

Linux/macOS:

bash
export TELEGRAM_TOKEN="your-token"

Windows PowerShell:

powershell
setx TELEGRAM_TOKEN "your-token"

Running the App

1. Start the MQTT broker

bash
mosquitto

2. Run the web server

bash
uv run webapp.py

Then open:

text
http://localhost:5000

Parts

26
QtyValueFootprintReferences
31KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3
216V 1uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC3, C4
222pFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2
10.1uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC7
110KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
13.3vConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ10
13.3vConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ1
1500Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6
15VConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ9
1ATmega328-PPackage_DIP:DIP-28_W7.62mmU1
1Anaolg PinsConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ7
1Barrel_JackConnector_BarrelJack:BarrelJack_HorizontalJ3
1CP0102Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ2
1CrystalCrystal:Crystal_HC49-U_VerticalY1
1D5Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ4
1ESP-01ESP-01:MODULE_ESP-01U3
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_VerticalU2
1RFIDConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ5
1RFIDConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ8
1SW_PushButton_Switch_THT:SW_PUSH_6mmSW1
1gndConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ11
1hardware interuptButton_Switch_THT:SW_PUSH_6mmSW2

Questions

How big is the Diy arduino esp01 PCB?

It measures 73.5 × 86 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Diy arduino esp01 use?

26 parts, built around the ATMEGA328-PU and ESP-01. 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 Diy arduino esp01 KiCad files?

From the averagejmc/HomeSecurity repository on GitHub, at the commit this page was made from: the board is schematic/diy_arduino_esp01/diy_arduino_esp01.kicad_pcb and its schematic schematic/diy_arduino_esp01/diy_arduino_esp01.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Diy arduino esp01 design in my own project?

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

Similar boards

  • 2 layers100 × 100 mmMist1010, the printed circuit board in 3D

    Mist1010

    UzixLS/mist1010-board

    10x10cm PCB variant of MIST FPGA project for G738/G706 enclosure

    273 parts43MIT
  • 2 layers50 × 100 mmDMX CTRL, the printed circuit board in 3D

    DMX CTRL

    michar71/DMX_CTRL

    DMX512 Controller for light installations based on Bluepill STM32F103 Board

    46 parts12
  • 2 layers68.6 × 95.3 mmMultitool, the printed circuit board in 3D

    Multitool

    cnlohr/stm32f042_fun

    My fun repo for the STM32f042

    90 parts8
  • 2 layers30 × 17 mmMK312WIFI, the printed circuit board in 3D

    MK312WIFI

    Rangarig/MK312WIFI

    A replacement for the MK312's bluetooth adapter that allows to connect to it via wifi ... or comport

    7 parts7GPL-3.0
  • 4 layers100 × 50 mmChronolog, the printed circuit board in 3D

    Chronolog

    slemanz/chronolog

    STM32-based temperature data logger with RTC, NOR flash storage, LCD and Wi-Fi. Hardware and firmware.

    95 parts5
  • 2 layers102.9 × 52.1 mmUarm, the printed circuit board in 3D

    Uarm

    beckdac/uArm-MicroView-esp8266

    uArm control PCB with MicroView (Arduino w/ OLED) and esp8266 WiFi/UART bridge

    14 parts4GPL-3.0
  • 2 layers204.5 × 121.9 mmCt800-pcb, the printed circuit board in 3D

    Ct800-pcb

    d3rvita/ct800-pcb

    PCB for the CT800 chess computer

    91 parts4MIT
  • 2 layers98 × 91.1 mmSoil Sensor Hub, the printed circuit board in 3D

    Soil Sensor Hub

    ArtoLabs/Sensi-pot

    Collection of modules for indoor/outdoor gardening automation and environmental control

    78 parts3MIT