Skip to the content
2 layers38 × 90 mmSIH Smart Irrigation System, the printed circuit board in 3D

SIH Smart Irrigation System

Arshsingh1602/Smart-Irrigation-System

This is our project of SIH 2024 in which we developed a smart irrigation system that can be used to control the under and overuse of water in the feild of farmer. This is a transmitter and receiver code that uses LoRa technology to communicate and uses firebase as a cloud and to store the data. This is only the hardware coding of it.

Size
38 × 90 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
82
Pads
222
Tracks, vias
524, 49
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
20 Dec 2024
Updated
3 Aug 2025

Overview

SIH Smart Irrigation System is an open-source printed circuit board by Arshsingh1602, from the Arshsingh1602/Smart-Irrigation-System repository on GitHub, published under the MIT licence. It is a 2-layer board of 38 × 90 mm with 30 parts on 82 nets, routed with 524 tracks and 49 vias.

It is built around the ESP32-WROOM-32U, SX1278 and DHT11, with the LM2596S-3.3 and S8050 among its other parts. Its parts include 13 capacitors, 5 resistors, 5 ICs, 5 connectors and 2 transistors. It belongs with the radio and wireless boards and the ESP32 boards of this library.

Main components

5

README

README.md

Smart Irrigation System using LoRa and ESP32

This project is a transmitter-receiver duo using the LoRa communication protocol that helps us to revolutionize the agriculture industry by advancing the Smart Irrigation System. The transmitter acts as the node that transmits the data, and the receiver acts as the central node to receive that data and communicate it further, and process it.

Features of the project include:

  1. Soil Moisture Detection
  2. Temperature and Humidity Detection
  3. Transmission (Long Range(upto 12-15km in rural areas))
  4. External parameters fetching, calculations, and predictions based on ML models
  5. Response to outcomes makes it a two-way system without human intervention.
ComponentQuantityDescription / Link
ESP32 Dev Board2WiFi + Bluetooth enabled
SX1278 LoRa Module2433MHz
Soil Moisture Sensor1Capacitive type
MCP9808 Temp Sensor/DHT111Temperature sensor
Water Valve (12V)1Controlled via relay
Relay Module1For switching valve
Power Supply (12V, 5V)1 eachFor sensors and motors

To understand how the project works, we must understand some things first:

Soil Moisture Content: The amount of water present in the soil, usually measured as a percentage. It can be volumetric (by volume) or gravimetric (by weight). Field Capacity (FC): The maximum moisture level that soil retains after excess water has drained. It represents the ideal moisture for plant growth. Wilting Point (WP): The minimum moisture level at which plants begin to wilt due to lack of available water. Permanent Wilting Point (PWP): A critical level where plants can no longer recover, even if water is reintroduced. Available Water Content (AWC): The difference between field capacity and wilting point. It indicates the water range that plants can effectively use.

AWC = Field Capacity − Wilting Point

Saturation Point: When all soil pores are filled with water. Beyond this point, water drainage occurs, and root oxygen is limited. Soil Water Potential (Tension): Indicates how tightly water is held in soil. Measured in kPa, where:

0 kPa = Saturated soil

−33 kPa ≈ Field capacity

−1500 kPa ≈ Wilting point

Soil Texture: Affects water retention. Sandy soils drain quickly, while clay holds more water.

The soil moisture sensor in the transmitter checks the water content in the soil, sends analogue data to the ESP 32, which takes the analogue data and converts it to scientifically accurate values and parameters. These parameters are defined above. There are various ways to program out AI/ML to find out what equation best fits the analogue data, which can be calculated based on heavy experimentation and data collection. The temperature sensor also sends its data to the ESP, and from there, the microcontroller takes the help of the LoRa module to transmit that data to the receiver that is kept far away from the transmitter. The main motto for this transmission is to have data collection and transmission from places in the field where the is no internet connection. One receiver can handle multiple transmitters varying from 4-10(max).

The receiver side is connected to the internet with wifi and can receive the transmitter data, and with the help of an internet connection, sends data to the cloud server that stores data according to the transmitter number, for further analysis. The main role of the receiver is to upload the transmitter's data and also send the data from the cloud back to the respective transmitters in order to control the relay, which controls the valve for irrigation.

The ML model takes the temperature data and the soil moisture sensor, combined with the local humidity and rainfall fetched from the API. The model predicts when to command the specific valve to turn on, depending on the future rainfall predictions and the current status of the soil moisture. For example, if the soil moisture is below the critical level, then the part of the land should be irrigated immediately. But if the soil moisture is low, but the algorithm predicts that rainfall is expected in a few days, then, depending upon the average evaporation rate and the humidity, only a specific amount of water will be released such that the rainfall replenishes the remaining required amount. This way it saves water.

  1. Connect all hardware as per the schematic.
  2. Flash "sender.ino" to field ESP32.
  3. Flash "receiver.ino" to the base ESP32.
  4. Add your Firebase details to "firebase_config.h.h".
  5. Power up both ESP32 boards.

Dependencies / Libraries:

  • "Firebase_ESP_Client"
  • "LoRa by Sandeep Mistry"

Challenges:

  1. LoRa supports distances up to 15-20km in rural areas, but sometimes fields are larger than that.
  2. Theoretically, one transmitter can cover an area of 250 m^2, but this sample space technique that we assumed here only works for flat land.
  3. Configuring the patch of transmitters if farmers grow different types of crops on different patches of their land is difficult, as one crop can be selected but cannot select multiple crops.
  4. The single transmitter cannot handle so much data at the exact same time and will not upload correct data if we do so.

Future Scope:

  1. The individual transmitters can be coded as nodes of a mesh that can act like nodes that bounce/propel data forward if the distance between any transmitter and the receiver is too long.
  2. The receiver can be coded to generate a sequence of data received, store locally just for the purpose of uploading it to the server(forming a queue structure with the FIFO principle). This way, we can handle a huge amount of load on the receiver and avoid data corruption or system failure.
  3. Solar panels can be installed on each transmitter to make it self-sufficient.
  4. An algorithm can be developed that takes satellite images of the land from the maps API and analyzes the area based on terrain and slope, and finds the best locations to place our transmitters strategically to cover the whole field.

This is a public repo licensed under the MIT license. Users are obliged to reference/credit me(Arsh Singh) when copying the project or using/updating this project.

Made by Arsh Singh

Parts

30
QtyValueFootprintReferences
40.1uFCapacitor_SMD:C_0603_1608MetricC2, C3, C10, C12
310kRCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderR1, R4, R5
310uFCapacitor_SMD:C_0201_0603Metric_Pad0.64x0.40mm_HandSolderC7, C8, C9
2100uFCapacitor_SMD:CP_Elec_3x5.3C1, C4
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC5, C13
25.21kRCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderR2, R3
2S8050Package_TO_SOT_THT:TO-92_InlineQ1, Q2
2Screw_Terminal_01x01TerminalBlock_MetzConnect:TerminalBlock_MetzConnect_360271_1x01_Horizontal_ScrewM3.0_BoxedJ3, J4
110nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC11
11uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC6
1CP2102N-Axx-xQFN24Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU2
1DHT11Sensor:Aosong_DHT11_5.5x12.0_P2.54mmU5
1ESP32-WROOM-32URF_Module:ESP32-WROOM-32UU1
1LM2596S-3.3Package_TO_SOT_SMD:TO-263-5_TabPin3U4
1SX1278Package_DFN_QFN:QFN-28-1EP_6x6mm_P0.65mm_EP4.8x4.8mmU3
1Screw_Terminal_01x03TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-3-2.54_1x03_P2.54mm_HorizontalJ1
1U.FL-R-SMT_01_UFL CONNECTOR:HRS_U.FL-R-SMT_01_J5
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ2

More from Arshsingh1602/Smart-Irrigation-System

1
  • 2 layers65 × 100 mmReceiver, the printed circuit board in 3D

    Receiver

    Arshsingh1602/Smart-Irrigation-System

    This is our project of SIH 2024 in which we developed a smart irrigation system that can be used to control the under and overuse of water in the feild of farmer.

    26 partsMIT

Similar boards

  • 4 layers26 × 19.1 mmCanSat, the printed circuit board in 3D

    CanSat

    TanujRai14/Sat_pcb_design

    This repository contains the PCB design files and documentation for a Can Satellite, featuring multiple environmental and orientation sensors, power management, and wireless communication capabilities.

    35 partsCERN-OHL-S-2.0
  • 4 layers45.3 × 31.5 mmRF Transiever, the printed circuit board in 3D

    RF Transiever

    Lonelybarbarian0/SX1278_Transiever

    48 parts1
  • 2 layers152.1 × 70.1 mmFLP PCB set, the printed circuit board in 3D

    FLP PCB set

    DSM-Interrupt/FLP

    Overall Embedded segment of Project FLP

    118 parts
  • 2 layers36.5 × 42.5 mmPCB Design, the printed circuit board in 3D

    PCB Design

    Pritika-2024/Lora_Communication_based_real_time_tracking

    A real-time wireless tracking system using an STM32-based transmitter integrated with GPS and LoRa modules, and an ESP32-based receiver with LoRa communication.

    20 partsMIT
  • 4 layers40 × 40 mmCommsRev0, the printed circuit board in 3D

    CommsRev0

    Kmshanley/PicoSat-Initiative

    The pocket cube standard requires satellites to be 5x5x5cm and under 250 grams. Upon completion of this Wentworth PicoSat it will become one of the smallest satellites capable of high resolution imagery from LEO.

    39 parts3GPL-3.0
  • 2 layersBLE trial, the printed circuit board in 3D

    BLE trial

    AchyuthaU24/ble-pcb-kicad

    BLE module PCB designed in KiCad - schematic, layout and BOM

    13 parts
  • 2 layers160 × 100 mmTest Board, the printed circuit board in 3D

    Test Board

    Alfaa123/Arduino-Thermostat

    This is a project to create a Arduino powered home thermostat. Version 1 PCB schematic and design is complete.

    41 parts2
  • 2 layers90.5 × 55.3 mmESP 32 IEM RIG RX VER 1.0, the printed circuit board in 3D

    ESP 32 IEM RIG RX VER 1.0

    dlmuschamp/ESP32IEMPack

    A repo to store my code and schematics for a custom wireless IEM pack built using 2 ESP32s and some TFT displays.

    69 parts4

Questions

How big is the SIH Smart Irrigation System PCB?

It measures 38 × 90 mm and has 2 copper layers, 1.6 mm thick.

What parts does the SIH Smart Irrigation System use?

30 parts, built around the ESP32-WROOM-32U, SX1278, DHT11 and LM2596S-3.3. 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 SIH Smart Irrigation System KiCad files?

From the Arshsingh1602/Smart-Irrigation-System repository on GitHub, at the commit this page was made from: the board is Transmitter(PCB)/SIH Smart Irrigation System.kicad_pcb and its schematic Receiver(PCB)/Receiver.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the SIH Smart Irrigation System 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).