Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO-Based Smart Soil Moisture and Distance Sensing System with Servo Control

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Smart Soil Moisture and Distance Sensing System with Servo Control

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with a Servo motor, an Ultrasonic Sensor, and a SparkFun Soil Moisture Sensor. The circuit is powered by a 18650 Li-ion Battery. The Arduino UNO controls the Servo motor and reads data from the Ultrasonic Sensor and Soil Moisture Sensor.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. Servo

    • Description: A motor that can be controlled to rotate to a specific angle.
    • Pins: GND, VCC, PWM
  3. Ultrasonic Sensor

    • Description: A sensor used to measure distance by using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND
  4. SparkFun Soil Moisture Sensor

    • Description: A sensor used to measure the moisture level in the soil.
    • Pins: VCC, GND, SIG
  5. 18650 Li-ion Battery

    • Description: A rechargeable lithium-ion battery.
    • Pins: -, +

Wiring Details

Arduino UNO

Servo

Ultrasonic Sensor

SparkFun Soil Moisture Sensor

18650 Li-ion Battery

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:

}

Documentation (documentation.txt)

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO microcontroller.