This circuit integrates various sensors and actuators with an Arduino UNO microcontroller to perform tasks that likely involve environmental monitoring and response. The circuit includes a soil moisture sensor for detecting water content in the soil, a soil moisture module that interfaces with the sensor, an HC-SR04 ultrasonic sensor for distance measuring, and two Tower Pro SG90 servos for actuation. The Arduino UNO serves as the central processing unit, reading sensor data, and controlling the servos based on programmed logic.
+
, -
positive
, negative
, Analog
, Digital
, Ground
, VCC
UNUSED
, IOREF
, Reset
, 3.3V
, 5V
, GND
, Vin
, A0
to A5
, SCL
, SDA
, AREF
, D13
to D0
VCC
, TRIG
, ECHO
, GND
Signal
, +5V
, GND
positive
pin of the Soil Moisture Module.negative
pin of the Soil Moisture Module.5V
pin on the Arduino UNO.GND
pin on the Arduino UNO.A0
pin on the Arduino UNO.ECHO
pin of the HC-SR04 Ultrasonic Sensor.TRIG
pin of the HC-SR04 Ultrasonic Sensor.Signal
pin of one Tower Pro SG90 servo.Signal
pin of the other Tower Pro SG90 servo.5V
pin on the Arduino UNO.GND
pin on the Arduino UNO.D9
and D10
on the Arduino UNO respectively.5V
pin on the Arduino UNO.GND
pin on the Arduino UNO.D5
and D3
) on the Arduino UNO.void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not contain any functional logic. It needs to be populated with instructions to control the sensors and actuators based on the requirements of the project.