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

Arduino-Based Smart Weather Station with LCD Display and Solar Power

View and Edit Project In Cirkit DesignerImage of Arduino-Based Smart Weather Station with LCD Display and Solar Power

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that integrates various sensors, an LCD display, a motor driver, and a microcontroller (Arduino UNO). The circuit is designed to monitor environmental conditions using sensors, display information on an LCD, and control a DC motor. Power is supplied through a combination of a solar panel, battery, and an AC-DC PSU board.

Component List

  1. LCD 16x2 (Wokwi Compatible)

    • Pins: VSS, VDD, V0, RS, RW, E, D0, D1, D2, D3, D4, D5, D6, D7, A, K
    • Description: 16x2 character LCD display
    • Purpose: Display information
  2. Solar Panel

    • Pins: +, -
    • Description: Solar panel for power generation
    • Purpose: Power supply
  3. AC-DC PSU Board 220V-5V&12V

    • Pins: AC-N, AC-L, +5V, GND, +12V
    • Description: Power supply unit converting AC to 5V and 12V DC
    • Purpose: Power supply
  4. KY-026 Flame Sensor

    • Pins: A0, GND, VCC, D0
    • Description: Flame detection sensor
    • Purpose: Detect flame presence
  5. Arduino UNO

    • 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
    • Description: Microcontroller board
    • Purpose: Control and processing unit
  6. IR Sensor

    • Pins: out, gnd, vcc
    • Description: Infrared sensor
    • Purpose: Detect obstacles
  7. DHT11 Humidity and Temperature Sensor

    • Pins: VDD, DATA, NULL, GND
    • Description: Humidity and temperature sensor
    • Purpose: Measure environmental humidity and temperature
  8. L298N DC Motor Driver

    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
    • Description: Dual H-Bridge motor driver
    • Purpose: Control DC motors
  9. DC Motor

    • Pins: pin 1, pin 2
    • Description: DC motor
    • Purpose: Actuation
  10. Rain Sensor

    • Pins: AO, DO, GRD, VCC
    • Description: Rain detection sensor
    • Purpose: Detect rain
  11. Buzzer Module

    • Pins: GND, Vcc, I/O
    • Description: Buzzer for sound alerts
    • Purpose: Sound alerts
  12. Battery

    • Pins: -, +
    • Description: Battery for power storage
    • Purpose: Power supply

Wiring Details

LCD 16x2 (Wokwi Compatible)

Solar Panel

AC-DC PSU Board 220V-5V&12V

KY-026 Flame Sensor

Arduino UNO

IR Sensor

DHT11 Humidity and Temperature Sensor

L298N DC Motor Driver

DC Motor

Rain Sensor

Buzzer Module

Battery

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and