Skip to the content
4 layers86 × 63 mmSmartBeehive, the printed circuit board in 3D

Open-source ESP32-S3 IoT beehive monitoring system with MQTT, Node-RED, InfluxDB and Docker for real-time hive health monitoring.

Size
86 × 63 mm
Copper layers
4
Thickness
1.6 mm
Parts
12
Nets
46
Pads
73
Tracks, vias
57, 2
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
22 Jul 2026
Updated
6 Nov 2026

Overview

SmartBeehive is an open-source printed circuit board by stiangglanda, from the stiangglanda/SmartBeehive repository on GitHub. It is a 4-layer board of 86 × 63 mm with 12 parts on 46 nets, routed with 57 tracks and 2 vias.

It is built around the DS18B20 and INMP441. Its parts include 6 ICs, 4 connectors and 1 resistor. It belongs with the home automation and IoT and sensors and measurement boards and the ESP32 boards of this library.

Main components

2

README

README.md

favicon

SmartBeehive Monitoring System

This project is an IoT-based beehive monitoring system. An ESP32-S3 collects real-time beehive data (weight, temperature, audio, and images) and sends it over Wi-Fi to a central STM32MP215F-DK Linux server running Docker.


▶ Watch Video

PXL_20260723_111851826 PXL_20260911_131013808

PCB

PCB

Schematic

Schematic

Project Structure

This project is divided into two main components:

  • firmware(this Repo): The ESP-IDF C source code for the ESP32-S3 edge node.
  • Web Dashboard: The static Next.js frontend application used to visualize the collected hive metrics and media.

System Architecture

mermaid
graph TD
    subgraph ESP32-S3 [ESP32-S3 Beehive Node]
        S_Scale[HX711 Load Cell] --> ESP[ESP32-S3]
        S_Temp[SHT31 Sensor] --> ESP
        S_Probe[DS18B20 Probe] --> ESP
        S_Mic[INMP441 Mic] --> ESP
        S_Cam[OV2640 Cam] --> ESP
        ESP --> Disp[SSD1306 OLED]
    end

    subgraph Server [Any Linux Server - Docker]
        Broker[Mosquitto MQTT]
        NodeRED[Node-RED]
        Influx[InfluxDB v2]
        Nginx[Nginx Web Server]
        Storage[(Shared File Storage)]
    end

    ESP -->|1. MQTT Telemetry| Broker
    Broker -->|2. Forward Data| NodeRED
    NodeRED -->|3. Write Metrics| Influx
    
    ESP -->|4. HTTP POST Images/Audio| NodeRED
    NodeRED -->|5. Save Files| Storage

Hardware Components

Edge Node

  • ESP32-S3 development board
  • OV2640 Camera
  • INMP441 I2S Microphone
  • HX711 ADC & Load Cell
  • SHT31-D Temp & Humidity Sensor
  • DS18B20 Temp Probe
  • SSD1306 OLED Display

Server Host

  • STM32MP215F-DK (or any device running Linux like Raspberry Pi, PC, or VPS)

Pinout Mapping (ESP32-S3)

Component / SignalESP32-S3 Pin
HX711 DOUTGPIO 1
HX711 SCKGPIO 2
I2C SDA (SHT31 & OLED)GPIO 21
I2C SCL (SHT31 & OLED)GPIO 38
DS18B20 DataGPIO 14
INMP441 I2S WSGPIO 39
INMP441 I2S SCKGPIO 40
INMP441 I2S SDGPIO 41
OV2640 CameraStandard DVP pinout

Server Deployment

To deploy the entire server stack (Mosquitto, Node-RED, InfluxDB, Nginx) on your Linux host using the provided server/docker-compose.yml:

bash
# Start the stack in background (detached mode)
docker-compose up -d

# Verify that all 4 containers are successfully running
docker ps

Edge Node Build Guide

Configure Credentials

Update the configuration section at the top of the main source file:

c
#define WIFI_SSID           "Your_SSID"
#define WIFI_PASS           "Your_Password"
#define SERVER_IP           "Your_Server_IP"

Compile and Flash

Execute the following commands in your ESP-IDF terminal environment:

bash
idf.py set-target esp32s3

idf.py build

idf.py flash

Parts

12
QtyValueFootprintReferences
4MountingHole_2.2mm_M2MountingHole:MountingHole_2.2mm_M2P1, P2, P3, P4
14.7KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1DS18B20SmartBeehiveLib:DS18B20U4
1HX711_ModuleSmartBeehiveLib:HX711_V2U2
1INMP441SmartBeehiveLib:INMP441U5
1LOGOLOGOG***
1SHT31SmartBeehiveLib:SHT31U6
1SSD1306SmartBeehiveLib:SSD1306U3
1~SmartBeehiveLib:Freenove_ESP32_S3U1

Similar boards

  • 2 layers56.4 × 78.4 mmAIOsense, the printed circuit board in 3D

    AIOsense

    Schluggi/AIOsense

    ESPHome based all-in-one sensor

    25 parts162MIT
  • 2 layers135 × 135 mmVa5pcb, the printed circuit board in 3D

    Va5pcb

    iollama/Voice-Assistant-5

    ESP32-S3 push-to-talk voice assistant using OpenAI Realtime API

    16 parts21GPL-3.0
  • 2 layers70 × 100 mmIot badge-433, the printed circuit board in 3D

    Iot badge-433

    galopago/iot-badge-legacy

    Electronic conference badge for programming conventions, hacking events, etc.

    77 parts4
  • 2 layers39.1 × 39.9 mmNebula, the printed circuit board in 3D

    Nebula

    Thecactusman0/Nebula-openwatch

    Nebula is a ESP32 based smartwatch that features a rotating bezel encoder

    85 parts4
  • 2 layers74.9 × 100.3 mmSpectrum analyzer, the printed circuit board in 3D

    Spectrum analyzer

    JadenS180/spectrum-analyzer

    ESP32-based real-time audio spectrum analyzer with custom PCB design. Features INMP441 I2S microphone, SSD1306 OLED display, FFT processing, and real-time WiFi streaming to a browser-based visualizer via WebSockets.

    11 parts2MIT
  • 2 layers33 × 77.5 mmPcm pmod, the printed circuit board in 3D

    Pcm pmod

    s59mz/kicad-pcm_adc

    PCM1808 ADC Testing module with PMOD interface

    12 parts2GPL-3.0
  • 2 layers52 × 43 mmHologram, the printed circuit board in 3D

    Hologram

    alaotach/eidolon

    23 parts1
  • 2 layers80 × 50 mmLedhub c6, the printed circuit board in 3D

    Ledhub c6

    AskAlice/home-automation-pcbs

    Daily Kimi-generated home automation PCB designs with KiCad sources, 3D models, and rendered documentation

    59 parts1MIT

Questions

How big is the SmartBeehive PCB?

It measures 86 × 63 mm and has 4 copper layers, 1.6 mm thick.

What parts does the SmartBeehive use?

12 parts, built around the DS18B20 and INMP441. 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 SmartBeehive KiCad files?

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

Can I use the SmartBeehive design in my own project?

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