Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Humidity YL-69: Examples, Pinouts, and Specs

Image of Humidity YL-69
Cirkit Designer LogoDesign with Humidity YL-69 in Cirkit Designer

Introduction

The Humidity YL-69 sensor, also known as the Soil Humidity Sensor, is an electronic device designed to measure the relative humidity in soil or similar environments. It is commonly used in gardening projects, irrigation systems, and environmental monitoring to ensure optimal moisture levels for plant growth or to conserve water by automating watering schedules.

Explore Projects Built with Humidity YL-69

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Nano-Based Multi-Zone Soil Moisture Monitor with OLED Display
Image of Soil Moisture Sensor Analog: A project utilizing Humidity YL-69 in a practical application
This circuit is designed to collect environmental data using multiple YL-83 modules with YL-69 sondas for soil moisture, and a KY-015 DHT11 sensor for humidity and temperature, all interfaced with an Arduino Nano. Data from the sensors is processed by the Arduino and displayed on an OLED screen, with power supplied by an MB102 Breadboard Power Supply Module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Controlled Irrigation System with Humidity Sensing and LCD Display
Image of soil moisture dia: A project utilizing Humidity YL-69 in a practical application
This circuit is designed to monitor humidity levels using the Humidity YL-69 sensor and display the readings on an LCD2004I2C display, both interfaced with an Arduino Nano. The Arduino controls a 4-channel relay, which in turn can switch a 5v mini water pump on or off based on the humidity readings. The circuit is powered by a 5v battery, which supplies power to the pump through the relay and to the other components directly.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Based Soil Moisture Monitoring System with OLED Display and DHT11 Sensor
Image of Soil Moisture Sensor Digital: A project utilizing Humidity YL-69 in a practical application
This circuit is designed to monitor the moisture levels of multiple plants using YL-69 soil moisture sensors and YL-83 LM393 modules, and to display temperature and humidity readings from a DHT11 sensor on an OLED display. The Arduino Nano serves as the central microcontroller, reading the digital outputs from the moisture sensors through pull-up resistors and interfacing with the OLED via I2C. The code provided manages sensor readings, controls the display output, and indicates which plants require watering based on the moisture sensor data.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Soil Moisture Monitoring and Water Pump System
Image of irrigation farming system : A project utilizing Humidity YL-69 in a practical application
This circuit is designed to monitor soil moisture using a Humidity YL-69 sensor and control a 5v mini water pump via a relay module based on the moisture level. The Arduino UNO reads the moisture sensor and activates the pump when the soil is dry. An LCD I2C display provides real-time status updates on the system and moisture levels.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Humidity YL-69

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Soil Moisture Sensor Analog: A project utilizing Humidity YL-69 in a practical application
Arduino Nano-Based Multi-Zone Soil Moisture Monitor with OLED Display
This circuit is designed to collect environmental data using multiple YL-83 modules with YL-69 sondas for soil moisture, and a KY-015 DHT11 sensor for humidity and temperature, all interfaced with an Arduino Nano. Data from the sensors is processed by the Arduino and displayed on an OLED screen, with power supplied by an MB102 Breadboard Power Supply Module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of soil moisture dia: A project utilizing Humidity YL-69 in a practical application
Arduino Nano Controlled Irrigation System with Humidity Sensing and LCD Display
This circuit is designed to monitor humidity levels using the Humidity YL-69 sensor and display the readings on an LCD2004I2C display, both interfaced with an Arduino Nano. The Arduino controls a 4-channel relay, which in turn can switch a 5v mini water pump on or off based on the humidity readings. The circuit is powered by a 5v battery, which supplies power to the pump through the relay and to the other components directly.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Soil Moisture Sensor Digital: A project utilizing Humidity YL-69 in a practical application
Arduino Nano Based Soil Moisture Monitoring System with OLED Display and DHT11 Sensor
This circuit is designed to monitor the moisture levels of multiple plants using YL-69 soil moisture sensors and YL-83 LM393 modules, and to display temperature and humidity readings from a DHT11 sensor on an OLED display. The Arduino Nano serves as the central microcontroller, reading the digital outputs from the moisture sensors through pull-up resistors and interfacing with the OLED via I2C. The code provided manages sensor readings, controls the display output, and indicates which plants require watering based on the moisture sensor data.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of irrigation farming system : A project utilizing Humidity YL-69 in a practical application
Arduino UNO Controlled Soil Moisture Monitoring and Water Pump System
This circuit is designed to monitor soil moisture using a Humidity YL-69 sensor and control a 5v mini water pump via a relay module based on the moisture level. The Arduino UNO reads the moisture sensor and activates the pump when the soil is dry. An LCD I2C display provides real-time status updates on the system and moisture levels.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Automated irrigation systems
  • Soil moisture monitoring in agriculture
  • Environmental sensing in smart gardens
  • Educational projects related to soil science

Technical Specifications

Key Technical Details

  • Operating Voltage: 3.3V to 5V
  • Output Voltage: 0V to 4.2V
  • Current: 35mA (typical)
  • Sensitivity: Adjustable via onboard potentiometer

Pin Configuration and Descriptions

Pin Number Pin Name Description
1 VCC Power supply (3.3V to 5V)
2 GND Ground
3 AOUT Analog output voltage
4 DOUT Digital output (threshold set by onboard potentiometer)

Usage Instructions

How to Use the Component in a Circuit

  1. Connect the VCC pin to the power supply (3.3V to 5V).
  2. Connect the GND pin to the ground of the power supply.
  3. Connect the AOUT pin to an analog input pin on your microcontroller to read the analog moisture level.
  4. Optionally, connect the DOUT pin to a digital input pin on your microcontroller if you want to use the digital threshold feature.

Important Considerations and Best Practices

  • Avoid submerging the sensor completely in water or exposing it to corrosive chemicals.
  • Calibrate the sensor by adjusting the onboard potentiometer to set the threshold for the digital output.
  • Use a pull-up resistor if you are using the digital output.
  • To extend the life of the sensor, power it only when a reading is needed.

Example Code for Arduino UNO

// Define the sensor analog pin
const int sensorPin = A0;

void setup() {
  // Begin serial communication at 9600 baud rate
  Serial.begin(9600);
}

void loop() {
  // Read the value from the sensor
  int sensorValue = analogRead(sensorPin);
  
  // Convert the analog reading to a voltage
  float voltage = sensorValue * (5.0 / 1023.0);
  
  // Print the voltage to the Serial Monitor
  Serial.print("Voltage: ");
  Serial.println(voltage);
  
  // Wait for a second before taking another reading
  delay(1000);
}

Troubleshooting and FAQs

Common Issues Users Might Face

  • Inconsistent Readings: Ensure that the sensor is not moving and is properly inserted into the soil. Check for any corrosion on the sensor's probes.
  • No Readings: Verify that the sensor is correctly powered and that all connections are secure. Check the microcontroller's analog pin with a known good sensor.

Solutions and Tips for Troubleshooting

  • If the sensor provides inconsistent readings, recalibrate the onboard potentiometer.
  • Clean the sensor probes with distilled water and dry them if corrosion or soil buildup is present.
  • Ensure that the sensor is not exposed to water for prolonged periods to prevent oxidation.

FAQs

Q: Can the YL-69 sensor be used to measure water content in substances other than soil? A: Yes, but the sensor is calibrated for soil moisture and may require recalibration for other materials.

Q: How do I prevent the sensor from corroding? A: Minimize the time the sensor is powered on, and avoid leaving it in wet soil for extended periods. Clean and dry the sensor after use.

Q: Is it possible to use the sensor with a 3.3V system? A: Yes, the sensor can operate at 3.3V, but the output voltage range will be lower, affecting the sensor's resolution.

Q: How do I interpret the analog voltage reading? A: The voltage reading is proportional to the moisture level. A higher voltage indicates more moisture. Calibration is required to correlate voltage to specific moisture levels.