Skip to the content
2 layers132.8 × 77.3 mmFinaaaal kicad, the printed circuit board in 3D

An industrial-grade Smart Greenhouse IoT system using ESP32. Features fault-tolerant control, I2C sensor management (BME680), hysteresis logic, and live telemetry via Blynk, Telegram, and ThingSpeak.

Size
132.8 × 77.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
40
Pads
82
Tracks, vias
172, 8
Pours
97
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 May 2026
Updated
20 May 2026

Overview

Finaaaal kicad is an open-source printed circuit board by hatemalmallah, from the hatemalmallah/Smart-Greenhouse-ESP32 repository on GitHub. It is a 2-layer board of 132.8 × 77.3 mm with 21 parts on 40 nets, routed with 172 tracks and 8 vias.

It belongs with the sensors and measurement boards and the ESP32 boards of this library.

README

README.md

Project Overview

This repository contains the hardware design, firmware, and IoT integration for an industrial-grade Smart Greenhouse control system. Unlike standard automated greenhouses, this project is engineered with a strong focus on system reliability, fault tolerance, and precise actuator control.

Powered by an ESP32 microcontroller, the system monitors environmental parameters (Temperature, Humidity, Pressure, Gas, and Soil Moisture) via an I2C-managed BME680 sensor. It intelligently controls 6 distinct actuators—represented by LEDs in this hardware prototype—simulating the following sub-systems: Heating System, Cooling System, Water Pump, Grow Light, Ventilation Fan, and Humidifier. The system manages all of these seamlessly using dual manual/automatic modes.

Key Technical Highlights

  • Advanced Control Logic: Implemented Hysteresis algorithms for stable, threshold-based actuator switching to prevent relay chattering and system instability.
  • Fault Tolerance & Safety: Engineered a robust fail-safe mechanism. The system validates sensor data ranges, falls back to the last valid reading upon error, and executes an Emergency Shutdown after 5 consecutive invalid retries.
  • Signal Processing: Utilized a Moving Average Filter (10-sample window) to clean noisy analog signals from sensors like soil moisture, preventing false triggering.
  • IoT & Remote Management: Features bidirectional remote control via a custom Telegram Bot API and Blynk dashboard, alongside live data telemetry logged to ThingSpeak every 20 seconds for future Machine Learning (Predictive Maintenance) applications.
  • Custom Hardware: Includes full PCB schematics and routing files designed specifically to handle the microcontroller, sensor bus, and actuator power management reliably.

Hardware Components

  • ESP32 Development Board (30-pin)
  • BME680 Environmental Sensor
  • LCD 16x2 with I2C module
  • LDR Module (4-pin Photoresistor)
  • 6x LED (5mm) - Simulating Actuators
  • 6x Resistor (220 ohm)
  • Buzzer (5V)
  • MQ-2 Gas Sensor
  • Push Button (4-pin)

Parts

21
QtyValueFootprintReferences
6220AXIAL-0.4R1, R2, R3, R4, R5, R6
6LED_5MM COPYLED-5MM-5MMCOOLING, FAN, GROWL, HEATER, HUMIDIFIER, PUMP
5Female header1*4_I2C_LCDFEMALEHEADER1*4_I2C_GDIPBME680, LCD, LDR, MQ2, SOIL
14.5*4.5*5 DIP TACTILE BUTTON4.5*4.5*5 DIP TACTILE BUTTONBUSH
1BUZZERBUZZER-12MM-NS-KITBUZZER
1CON_TERMINAL_BLOCK_02-5MMTERMINAL_BLOCK_2P_5POWER(IN)
1ESP32-DEVKIT-V1-30PIN NORMALIZED COPYESP32-DEVKITV1_ESP32-DEVKITV1ESP32

Similar boards

  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers161.3 × 111.8 mmDoj, the printed circuit board in 3D

    Doj

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    21 parts463

Questions

How big is the Finaaaal kicad PCB?

It measures 132.8 × 77.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Finaaaal kicad use?

21 parts. 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 Finaaaal kicad KiCad files?

From the hatemalmallah/Smart-Greenhouse-ESP32 repository on GitHub, at the commit this page was made from: the board is Smart Greenhouse iot/PCB/finaaaal kicad.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Finaaaal kicad design in my own project?

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