Smart Valve - Electric Tap

About the project

LoRa-based Smart Valve(Electric tap), which is connected through the water source to the drip irrigation system. It is operated according to the moisture readings of the soil received by him. It is a Lithium-ion battery operated with a micro-USB charging port in addition to Solar Panel to charge the battery.

Eurocircuits PCB Contest WinnerEurocircuits PCB contest winner

Items used in this project

Hardware components

Arduino bootloader-programmed chip (Atmega328P) Arduino bootloader-programmed chip (Atmega328P) x 1
Lithium Ion Polymer Battery 3.7V 2500mAh Lithium Ion Polymer Battery 3.7V 2500mAh x 2
Small 6V 1W Solar Panel - Silver Small 6V 1W Solar Panel - Silver x 1
Magnetic Latching Valve Magnetic Latching Valve x 1
RFM98W - sx1278 chip RFM98W - sx1278 chip x 1
TP4056 circuit TP4056 circuit x 1
Micro-USB connector Micro-USB connector x 1
16 MHz Crystal + 20pF capacitors 16 MHz Crystal + 20pF capacitors x 1
915MHz LoRa Antenna RP-SMA - 1/4 Wave 2dBi 915MHz LoRa Antenna RP-SMA - 1/4 Wave 2dBi x 1
Mountable Slide Switch Mountable Slide Switch x 1
MINI PUSH BUTTON SWITCH 2-PIN QTY. 4 MINI PUSH BUTTON SWITCH 2-PIN QTY. 4 x 1
L9110H H-Bridge Motor Driver for DC Motors - 8 DIP - 2.5V-12V 800mA L9110H H-Bridge Motor Driver for DC Motors - 8 DIP - 2.5V-12V 800mA x 1
TC2117 TC2117 x 1

View all

Software apps and online services

Arduino IDE Arduino IDE

Hand tools and fabrication machines

Soldering Iron Soldering Iron x 1
Hot Air Gun Hot Air Gun x 1
Screw Driver Screw Driver x 1
Tweezer Tweezer x 1

Story

Agriculture accounts for around 70% of all water withdrawals globally according to the World Bank, and approximately 60% of that is wasted, largely due to inefficient applications according to the UN’s Food and Agriculture Organisation (FAO). With water increasingly valuable against the backdrop of a rising human population and climate change. I have found one solution integrating a drip irrigation system with an embedded system.

Smart Valve is basically an electric tap for the supply of water to the drip irrigation system. It will turn ON/OFF depending on the moisture of the soil or data received by him by the farmer. It will help in saving water and time for the farmer. He doesn't have to always look around for the dryness of the soil and turned the valve manually.

https://drive.google.com/drive/folders/1dLuo2hPiUzkDZu9pLPURcNfzZYdu4X64?usp=sharing

The proposed solution uses LoRa Technology’s long-range, low-power wireless qualities to enable the use of low-cost sensors to send data from the farm to the Cloud where it can be analysed to improve operations. It is basically a two-way communication between the sensor node in the farm(Smart Valve) and a trans-receiver at the farmer's house. Due to its long-range capabilities, it can communicate at a distance of almost 10Km wirelessly with low power consumption.

The proposed solution is powered by 2 Lithium Ion 18650 batteries of 2500 mAh, the microcontroller chip ( (Atmega328P) used here is half a time kept in deep sleep mode saving maxing power. There is a micro-USB port given to the module to charge it with a 5V 2A adapter. It also has a Solar panel connected in parallel with the adapter which will charge the batteries on the field with a free renewable energy source(Sunlight). So there is no worry about charging the batteries manually as such.

So overall it is a great package for farmers to install on their farms and take a step toward smart agricultu




Schematics, diagrams and documents

Schematic

EasyEDA File

Block Diagram

Here LoRa based Soil Sensor and ESP32 based LoRa Trans-receiver are the supporting module for Smart Valve

Code

Smart Valve

Arduino

Smart Valve

Final Code

Credits

Photo of efarm-kjsce

efarm-kjsce

I am a tech freak who wanted to take farming to the next level. Electriculture is the new term, I wanted to start where all the farming techniques cooperate with electronics eg. Cloud, DBS, IoT, Automation, etc.

   

Leave your feedback...