Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Arduino Based 4-in-1 Data Logger System

By Ashutosh Bhatt May 25, 2017

In greenhouse farming, it is required to monitor, control and maintain four parameters

1.    Temperature
2.    Humidity
3.    Soil moisture
4.    Ambient light

In such farms, these four parameters are continuously monitored and controlled. Maximum efforts are done to maintain required temperature, humidity, soil moisture and light to get good quality of agriculture product.

Several sensors are placed at different places in all over the greenhouse farm and their readings are monitored. If there reading is less than or more than the required level then proper actuators are activated. E.g. if at some place soil moisture level is less, the particular water valve is opened and the pump is turned ON to increase moisture level.

The given project demonstrates how to measure all these four parameters and monitor them continuously. It uses smart sensors like DHT11 to measure temperature and humidity, soil moisture sensor, and LDR to measure ambient light. It uses Arduino to measure all these four parameters and LCD to display their values.

Prototype of Arduino Based 4-in-1 Data Logger

Fig. 1: Prototype of Arduino Based 4-in-1 Data Logger

First, let us see the circuit diagram followed by its description and working.

Circuit description:

As shown in above figure 3 different sensors, soil moisture, LDR, and temperature cum humidity sensor DHT11 are connected to arduino along with one LCD

•  The soil moisture sensor has 3 pins, Vcc, Gnd and analog output. Vcc pin is connected to 5 V and Gnd pin is connected to Gnd of arduino board. The analog output is connected to analog input pin A1

• LDR is connected in pulled down configuration. It is pulled down using 10 K resistor. It is also given  5 V from board and its output is connected to analog input pin A0 of arduino board

• DHT11 sensor has also 3 pins Vcc, Gnd and digital output. Its Vcc and Gnd pins are given supply from arduino board while output pins is connected to digital pin 7 of arduino board

• Data pins D4-D7 of LCD are connected to arduino pins 10 – 13. Two control pins Rs and En are connected to pins 8 and 9 respectively. Control pins RW and VEE (contras control) are connected to ground

• Backlight LED of LCD is given 5V supply

Circuit operation:

• DHT11 is a smart digital sensor. It senses temperature and humidity and gives direct value of room temperature in centigrade (and even in Fahrenheit) humidity in % RH

• This direct digital value is read by arduino and displayed on LCD as temperature in oC and humidity in % RH

•  As the light intensity changes the LDR resistance changes. So its analog output voltage changes. This analog output is directly proportional to light intensity. So arduino reads this analog voltage and convert it into corresponding digital value using its internal ADC

• The internal ADC of arduino has a 10-bit resolution so its digital output varies from 0 to 1023 as analog input varies from 0 to 5V. This digital output is further converted into 0 to 100% to get light intensity in %

• The soil moisture sensor works on the principle of conductivity. When senses moisture its conductivity increases and vice versa. Its analog output is inversely proportional to soil moisture or conductivity. Means when there is no conductivity or moisture its analog output is maximum – means 5 V

• Again this analog output is read by arduino and converted into digital value. We get the value between 0 to 1023 and it is also converted into 0 to 100 to get soil moisture value in %

•  All four sensor values are also sent to PC/laptop through serial port using USB cable for logging the data
Here are snaps of the circuit arrangement.

Project Video


Filed Under: Electronic Projects

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Engineer's own PCB layout software guide?
  • LVS Mismatch Error in Simple Layout
  • Does mobility carrier ratio changes with Wn? (0.18um) inverter design
  • Lightbox circuit help
  • 12VAC to 12VDC 5A on 250ft 12AWG

RSS Electro-Tech-Online.com Discussions

  • Lightbox circuit
  • Fuel Auto Shutoff
  • Kawai KDP 80 Electronic Piano Dead
  • Python help with keystroke entries
  • Do resistors fail like dominoes?

Featured – Designing of Audio Amplifiers part 9 series

  • Basics of Audio Amplifier – 1/9
  • Designing 250 Milli Watt Audio Power Amplifier – 2/9
  • Designing 1 Watt Audio Power Amplifier – 3/9
  • Designing a Bass Boost Amplifier – 4/9
  • Designing a 6 Watt Car Audio Amplifier – 5/9
  • Design a low power amplifier for headphones- 6/9

Recent Articles

  • ITG Electronics releases gate drive transformers with 200 – 450 V DC capability
  • Stackpole introduces HCJ jumpers with 70.7 amp continuous current capability
  • Infineon releases MCU with 128K flash and multi-sense capabilities
  • ST introduces 600V GaN gate drivers with 300 ns start-up time
  • ABLIC releases S-19116 automotive voltage detector with 6.8μs response time

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronics Projects and Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe