Categories: Electronics

Soil Moisture Indicator For Gardening Software


Remark errors or corrections discovered for this circuit, and get the prospect to win large!

The Soil Moisture Measurement is an important utility in Gardening and Agriculture to test the standing of soil whether or not dry humid or moist. Correct moisture content material information helps to test whether or not a plant or crop wants water or not. Many moisture measurement methods can be found available in the market. Some are expensive and few have solely audio or visible indication amenities. To get rid of this downside, I’ve developed this soil moisture indicator for gardening purposes with LCD show facility. This method is cost-effective and straightforward to make use of with the least human effort. 

Parts

Arduino Nano

The Arduino Nano is a micro measurement, full, and breadboard-compatiable board primarily based on the ATmega328. The Arduino Nano could be powered through the Mini-B USB connection.The ability supply is routinely chosen to the very best voltage supply. The ATmega328 has 32 KB. Every of the 14 digital pins on the Nano can be utilized as an enter or output, utilizing pinMode(), digitalWrite(), and digitalRead() features. They function at 5 volts. Every pin can present or obtain a most of 40 mA and has an inside pull-up resistor.

I2C LCD

A typical I2C LCD show consists of an HD44780-based character LCD show and an I2C LCD adapter. These LCDs are perfect for displaying solely characters. A 16×2 character LCD, for instance, can show 32 ASCII characters throughout two rows. On the coronary heart of the adapter is an 8-bit I/O expander chip – PCF8574. This chip converts the I2C knowledge from an Arduino into the parallel knowledge required for an LCD show. 

– Commercial –

Soil Moisture Sensor

A soil moisture sensor is used to measure the extent of moisture of soil.It has two probes which could be inserted within the soil to measure the moisture stage within the soil. These two probes circulate the present to the soil and calculate the resistance of the soil and alter the worth to the moisture worth. Every time there may be extra water, soil conducts extra present, so the resistance will probably be decrease and moisture stage will probably be extra. On the opposite facet, dry soil conducts much less present because of much less water, so the resistance is extra and moisture will probably be much less.

Half Listing

  • Arduino Nano
  • Bread Board
  • Jumper Wires
  • Nano Cable
  • LCD I2C
  • Soil Moisture Sensor
  • Jar
  • Soil

Building and Working

To construct this soil indicator system, now we have used LCD I2C together with digital elements Arduino Nano, Soil Moisture Sensor, Bread Board, Arduino Nano Cable, Jar crammed with soil. The Soil Moisture Sensor is related with the A0 analog pin of Arduino Nano. LCD I2C is used to show soil moisture standing whether or not dry, humid or moist. LCD I2C pins SDA related to A4 pin of Arduino Nano, SCL to A5 pin of Arduino Nano, Vcc to 5V pin of Arduino Nano, GND to GND pin of Arduino Nano. When the moisture stage is between 600 and 1000, LCD will show “soil is dry”. When the moisture stage is between 400 and 600, LCD will show “Soil is humid” and when the moisture stage is beneath 400, LCD will show “Soil is moist”. If the moisture worth is above 1000, LCD shows “Sensor is just not within the soil”.

– Commercial –

Circuit Diagram

Fig. 1: Soil Moisture Indicator Circuit Diagram

Testing

Make connections as per the circuit diagram. Join Nano Cable with Laptop. Join Vcc of the sensor to 5V and floor to floor pin of Arduino. Put the Sensor inside dry soil, and the LCD will show “Soil is Dry. Put the Sensor inside moist soil, and the LCD will show “Soil is moist”. Put the Sensor inside regular soil, LCD will show “Soil is humid”. 

Supply Code

#embody <LiquidCrystal_I2C.h>

LiquidCrystal_I2C liquid crystal display(0x27,16,2);  

const int sensor_pin = A0;  

void setup() {

  liquid crystal display.init();

  liquid crystal display.clear();         

  liquid crystal display.backlight();      

  liquid crystal display.setCursor(0,0);  

  liquid crystal display.print(“Soil Moisture”);

  liquid crystal display.setCursor(0,1);   

  liquid crystal display.print(“System”);

  Serial.start(9600); 

  delay(2000);

  liquid crystal display.clear(); 

}

void loop() {

  int sensor_analog;

  sensor_analog = analogRead(sensor_pin);

  if (sensor_analog >=1000)

    { liquid crystal display.setCursor(2,0);   

     liquid crystal display.print(“Sensor is”);

     liquid crystal display.setCursor(0,1);   

     liquid crystal display.print(“not within the soil”);

     delay(1000);

     liquid crystal display.clear();}

  if (sensor_analog < 1000 && sensor_analog >= 600)

     {liquid crystal display.setCursor(2,0);   

     liquid crystal display.print(“Soil is”);

     liquid crystal display.setCursor(2,1);   

     liquid crystal display.print(“dry”);

       delay(1000);

     liquid crystal display.clear();}

   if (sensor_analog < 600 && sensor_analog >= 400)

   {   liquid crystal display.setCursor(2,0);   

     liquid crystal display.print(“Soil is”);

     liquid crystal display.setCursor(2,1);   

     liquid crystal display.print(“humid”);

      delay(1000);

     liquid crystal display.clear();}

   if (sensor_analog < 400)

   {

     liquid crystal display.setCursor(2,0);   

     liquid crystal display.print(“Soil is”);

     liquid crystal display.setCursor(2,1);   

     liquid crystal display.print(“moist”);

       delay(1000);

     liquid crystal display.clear();

   }

}

Creator’s Prototype



👇Observe extra 👇
👉 bdphone.com
👉 ultractivation.com
👉 trainingreferral.com
👉 shaplafood.com
👉 bangladeshi.assist
👉 www.forexdhaka.com
👉 uncommunication.com
👉 ultra-sim.com
👉 forexdhaka.com
👉 ultrafxfund.com
👉 bdphoneonline.com
👉 dailyadvice.us

Uncomm

Share
Published by
Uncomm

Recent Posts

Microsoft and NVIDIA speed up AI improvement and efficiency

Collectively, Microsoft and NVIDIA are accelerating a few of the most groundbreaking improvements in AI.…

4 weeks ago

Your subsequent smartphone would possibly embrace an even bigger 200MP principal digicam

Robert Triggs / Android AuthorityTL;DR Android OEMs are experimenting with a bigger 200MP major sensor…

4 weeks ago

How is the UK investing in AI infrastructure?

Final yr, 4 main U.S. companies dedicated a mixed £6.3 billion, or $8.16 billion, to…

4 weeks ago

Breaking Boundaries with Photonic Chips and Optical Computing

Introduction: The Shift from Electronics to Photonics As conventional semiconductor-based computing approaches its bodily and…

4 weeks ago

SparkFun

This week, we announce our assist of Python and MicroPython, launch two new IoT RedBoards,…

4 weeks ago

Reference Design For Gigabit Ethernet Entrance Finish

That includes optimized elements akin to transformers, common-mode chokes, and surge safety, this validated design…

4 weeks ago