Arduino UNO Based Soil Moisture Monitoring with Buzzer Alert
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates an Arduino UNO microcontroller with a Soil Moisture Module and a buzzer. The Arduino UNO is used as the central processing unit, interfacing with the Soil Moisture Module to read moisture levels and controlling the buzzer based on certain conditions. The Soil Moisture Module provides both analog and digital signals representing the moisture level of the soil, which can be read by the Arduino. The buzzer is used as an output device to alert or indicate certain moisture conditions.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13.
Soil Moisture Module
- Description: A sensor module used to measure the moisture content in soil.
- Pins: positive, negative, Analog, Digital, Ground, VCC.
Buzzer
- Description: An electromechanical component that emits sound when energized.
- Pins: PIN, GND.
Wiring Details
Arduino UNO
- 5V connected to Soil Moisture Module VCC.
- GND connected to Soil Moisture Module Ground and Buzzer GND.
- A0 connected to Soil Moisture Module Analog.
- D8 connected to Buzzer PIN.
- D2 connected to Soil Moisture Module Digital.
Soil Moisture Module
- VCC connected to Arduino UNO 5V.
- Ground connected to Arduino UNO GND.
- Analog connected to Arduino UNO A0.
- Digital connected to Arduino UNO D2.
Buzzer
- PIN connected to Arduino UNO D8.
- GND connected to Arduino UNO GND.
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 Notes
- The code provided for the Arduino UNO is a template with empty
setup()andloop()functions. Actual implementation details need to be added based on the desired functionality. - The
documentation.txtfile is empty and can be used to add additional notes or documentation related to the code or circuit operation.