Skip to the content
2 layers77.7 × 114 mmMC GL, the printed circuit board in 3D

Green Link is an open-source, autonomous IoT irrigation system designed for efficient garden and plant watering. It features a robust ESP32-based hardware controller with two independent watering channels and a modern Android application built with Jetpack Compose for remote monitoring and control.

Size
77.7 × 114 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
21
Pads
72
Tracks, vias
230, 4
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
31 May 2026
Updated
2 Jun 2026

Overview

MC GL is an open-source printed circuit board by farzad-moradkhani, from the farzad-moradkhani/GreenLink repository on GitHub, published under the MIT licence. It is a 2-layer board of 77.7 × 114 mm with 26 parts on 21 nets, routed with 230 tracks and 4 vias.

Its parts include 8 connectors, 6 resistors, 6 diodes, 3 ICs and 3 transistors. It belongs with the home automation and IoT boards of this library.

README

README.md

English | Deutsch

Green Link 🌱

Smart Dual-Zone IoT Garden Watering System

License: MIT PlatformIO Android

Green Link is an open-source, autonomous IoT irrigation system designed for efficient and precise garden watering. It combines reliable ESP32-based hardware with a modern Android application, enabling both scheduled autonomous operation and convenient remote control via WiFi.

🟢 Updates

Designed Motor Channel module and also added it's 3D components MC IMAGE


✨ Key Features

  • Two independent watering channels with individual control
  • PWM-based flow control for precise watering intensity
  • Sensor integration:
    • Capacitive soil moisture sensors (one per zone)
    • Water tank level sensor
  • DS3231 Real-Time Clock (RTC) for accurate time-based scheduling
  • Autonomous operation – works independently of the mobile app
  • Local WiFi communication – no cloud service required
  • Buzzer alerts for low water level and system notifications
  • Modern Android App with clean Jetpack Compose UI

🛠️ Tech Stack

Hardware & Firmware

  • Microcontroller: ESP32
  • Framework: PlatformIO + C++
  • Communication: JSON over HTTP (AsyncWebServer)
  • Storage: LittleFS + Preferences
  • Sensors & Actuators: Soil moisture, ultrasonic/float level, PWM pumps, buzzer, DS3231 RTC

Android Application

  • Language: Kotlin
  • UI: Jetpack Compose + Material 3
  • Architecture: MVVM + Repository Pattern
  • Networking: Ktor Client (or Retrofit)
  • Dependency Injection: Hilt

📱 Android App Features

  • Real-time sensor dashboard (humidity + water level)
  • Manual pump control with PWM flow sliders
  • Advanced scheduling system (per channel, recurring)
  • WiFi device connection and discovery
  • Responsive and intuitive user interface

📂 Project Structure

  • /firmware – ESP32 source code
  • /android – Jetpack Compose Android app
  • /hardware – Schematics, BOM, and 3D models
  • /docs – Detailed documentation and API specification

🚀 Getting Started

Prerequisites

  • ESP32 development board
  • Two 12V water pumps
  • Soil moisture sensors + water level sensor
  • DS3231 RTC module
  • Android device (API 24+)

Firmware Setup

  1. Clone the repository
  2. Open the firmware folder in PlatformIO
  3. Configure WiFi credentials in config.h
  4. Build and flash to ESP32

Android App Setup

  1. Open the android folder in Android Studio
  2. Connect to the same WiFi network as the device
  3. Enter device IP or use discovery feature

Detailed setup instructions are available in the docs folder.


📸 Screenshots

(Add screenshots here: Dashboard, Schedule screen, Manual control, Hardware photo)


🎯 Project Goals

This project showcases full-stack IoT development skills, including embedded systems programming, hardware integration, sensor-actuator control, and modern mobile application development. It is built with clean code, modularity, and reliability in mind.

Ideal for learning or as a practical demonstration of embedded + mobile engineering capabilities.


📄 License

This project is licensed under the MIT License – see the LICENSE file for details.


🤝 Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines.


Made with ❤️ by farzad for efficient and sustainable gardening.

Project developed as a complete IoT solution for portfolio and learning purposes.

Parts

26
QtyValueFootprintReferences
4Screw_Terminal_01x03TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-03P_1x03_P5.00mmJ4, J6, J7, J8
312vRelays:HJR-3FF-S-ZU1, U2, U3
31KResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_HorizontalR2, R4, R6
31N4002Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD3, D4, D6
34.7KResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P20.32mm_HorizontalR1, R3, R5
3LEDLED_THT:LED_D5.0mmD1, D2, D5
3NPNTransistors_BJT:2N2222Q1, Q2, Q3
3S_T_01x02TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mmJ1, J2, J3
1Screw_Terminal_01x06TerminalBlock:TerminalBlock_MaiXu_MX126-5.0-06P_1x06_P5.00mmJ5

More from farzad-moradkhani/GreenLink

1
  • 2 layers44 × 55 mmRTC GL, the printed circuit board in 3D

    RTC GL

    farzad-moradkhani/GreenLink

    Green Link is an open-source, autonomous IoT irrigation system designed for efficient garden and plant watering.

    12 partsMIT

Similar boards

  • 2 layers57.3 × 19 mm11ua, the printed circuit board in 3D

    11ua

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    26 parts990GPL-3.0
  • 2 layers98 × 59.5 mmMCP23017 PCB, the printed circuit board in 3D

    MCP23017 PCB

    hackclub/OnBoard

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

    26 parts915
  • 2 layers142.9 × 98.5 mmCantor MX, the printed circuit board in 3D

    Cantor MX

    diepala/cantor

    Cantor keyboard, a 42 key diodeless split keyboard.

    26 parts756GPL-3.0
  • 2 layers103.8 × 50 mmGalagino pcb set, the printed circuit board in 3D

    Galagino pcb set

    harbaum/galagino

    A Galaga, Pac-Man and Donkey Kong arcade emulator for the ESP32

    26 parts558
  • 2 layers20.3 × 34.8 mmL0 ESP32, the printed circuit board in 3D

    L0 ESP32

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    26 parts546MIT
  • 2 layers40.6 × 50.8 mmWALTsm, the printed circuit board in 3D

    WALTsm

    google/walt

    A device for measuring latency of physical sensors and outputs on phones and computers

    26 parts474Apache-2.0
  • 2 layers158.5 × 75 mmDoj v2, the printed circuit board in 3D

    Doj v2

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    26 parts463

Questions

How big is the MC GL PCB?

It measures 77.7 × 114 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MC GL use?

26 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 MC GL KiCad files?

From the farzad-moradkhani/GreenLink repository on GitHub, at the commit this page was made from: the board is hardware/PCB/Motor Channel Module/MC_GL/MC_GL.kicad_pcb and its schematic hardware/PCB/Motor Channel Module/MC_GL/MC_GL.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MC GL design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).