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

Arduino UNO Rain Detection System with Servo Motor Control

Image of Arduino UNO Rain Detection System with Servo Motor Control

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller, a rain sensor, and a servo motor. The Arduino UNO serves as the central controller, reading data from the rain sensor and controlling the servo motor based on the sensor input.

Component List

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

RAIN SENSOR

  • Description: A sensor module used to detect rain.
  • Pins: AO, DO, GRD, VCC

Servo

  • Description: A servo motor used for precise control of angular position.
  • Pins: GND, VCC, PWM

Comment

  • Description: Placeholder for comments in the circuit.
  • Pins: None

Wiring Details

Arduino UNO

  • 5V: Connected to VCC of the Servo and RAIN SENSOR
  • GND: Connected to GND of the Servo and GRD of the RAIN SENSOR
  • D9: Connected to PWM of the Servo
  • D2: Connected to DO of the RAIN SENSOR

RAIN SENSOR

  • VCC: Connected to 5V of the Arduino UNO
  • GRD: Connected to GND of the Arduino UNO
  • DO: Connected to D2 of the Arduino UNO

Servo

  • VCC: Connected to 5V of the Arduino UNO
  • GND: Connected to GND of the Arduino UNO
  • PWM: Connected to D9 of the Arduino UNO

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.