Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit

Components and supplies

Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
Arduino UNO
×1
Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
SparkFun Soil Moisture Sensor (with Screw Terminals)
×1
Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
Adafruit Standard LCD - 16x2 White on Blue
×1
Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
Breadboard (generic)
×1

Necessary tools and machines

Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
Soldering iron (generic)

Apps and online services

Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
Arduino IDE
Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
circuito.io

About this project

The project tells you about interfacing soil moisture sensor and LCD to give display. I forget everyday to water my plant and my grandmother used to recall me to water. So now I think I should build a project to show moisture so I remember that I have built project lets check out the moisture. So I quickly opened Circuito.io and added inputs and outputs and got schematic.

Connecting Moisture Sensor

Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
  • Connect Soil Moisture 0 to GND.
  • Connect Soil Moisture Sig to Arduino A3.
  • Connect Soil Moisture Vin to Arduino 5v.

Connecting LCD

Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit
  • Connect LCD GND to GND.
  • Connect LCD SCL to Arduino A5.
  • Connect LCD SDA to Arduino A4.
  • LCD VCC to Arduino 5V.

Code

  • Untitled file
Untitled fileC/C++
#include <LiquidCrystal.h> 
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(5, 4);
// These constants won't change. They're used to give names
// to the pins used:
const int analogInPin = A5; // Analog input pin that the Sensor is attached to
int sensorValue = 0; // value read from the Soil Moisture 
void setup() {
// set up the LCD's number of columns and rows:

lcd.begin(16, 2);
delay(100);
} 
void loop() {
lcd.clear();
lcd.print("Soil Moisture:");// print the results to the LCD Display:
sensorValue = analogRead(analogInPin);// read the analog in value:
lcd.setCursor(0, 1);
lcd.print(sensorValue);
// wait 300 milliseconds before the next loop for the 
//analog-to-digital converter to settle after the last reading:
delay(300);
}

Schematics

Real-Time Soil Moisture Monitoring with LCD Display – Arduino DIY Kit

Manufacturing process

  1. Build a Low‑Cost Raspberry Pi Soil Moisture Sensor for Smart Irrigation
  2. DHT11 Temperature & Humidity Sensor Project with LED Indicators and Piezo Speaker
  3. Build a Simple Obstacle Sensor with Arduino – Easy IR LED & Photodiode Tutorial
  4. Interactive LED Matrix Door Display with PIR Motion Sensor – Arduino Holiday Greeting
  5. DIY Arduino Nano Oscilloscope (10 Hz–50 kHz) with 128×64 LCD
  6. Step-by-Step Guide: Connecting YL-39/YL-69 Soil Moisture Sensor to Arduino UNO
  7. Build an IR Sensor Project with Arduino UNO – Simple Guide
  8. Android Motion‑Detection Camera Controlled by Arduino MCU
  9. Portable Arduino-Based Temperature & Humidity Monitor with 16x2 LCD Display
  10. Build an Interactive LCD Game with Arduino UNO