Arduino UNO Soil Moisture Sensor System with YL-69 Probe and LM393 Module
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates a soil moisture sensor system using the YL-69 Sonda and YL-69 Module LM393, interfaced with an Arduino UNO microcontroller. The YL-69 Sonda detects the moisture level in the soil, and the YL-69 Module LM393 processes this information and sends an analog and a digital signal to the Arduino UNO. The Arduino UNO is programmed to read these signals and can be used to trigger events based on the moisture level, such as turning on a water pump or sending a notification.
Component List
YL-69 Sonda
- Description: Soil moisture probe sensor.
- Pins:
+,-
YL-69 Module LM393
- Description: Soil moisture sensor interface module with both analog and digital outputs.
- Pins:
A0,DO,GND,VCC,-,+
Arduino UNO
- Description: Microcontroller board based on the ATmega328P.
- Pins:
UNUSED,IOREF,Reset,3.3V,5V,GND,Vin,A0toA5,SCL,SDA,AREF,D13toD0
Comments
- Description: Placeholder for additional notes or comments in the circuit design. These components do not have physical representations or pins.
Wiring Details
YL-69 Sonda
+connected to YL-69 Module LM393+-connected to YL-69 Module LM393-
YL-69 Module LM393
A0connected to Arduino UNOA0DOconnected to Arduino UNOD2GNDconnected to Arduino UNOGNDVCCconnected to Arduino UNO5V+connected to YL-69 Sonda+-connected to YL-69 Sonda-
Arduino UNO
A0connected to YL-69 Module LM393A0D2connected to YL-69 Module LM393DOGNDconnected to YL-69 Module LM393GND5Vconnected to YL-69 Module LM393VCC
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
No additional documentation provided.
This document provides an overview of the circuit, including the purpose and connection details of each component, as well as the initial code structure for the Arduino UNO. Further development of the code is required to implement the desired functionality based on the soil moisture readings.