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

ESP32-Based Smart Weather Station with Motorized Window Control

View and Edit Project In Cirkit DesignerImage of ESP32-Based Smart Weather Station with Motorized Window Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an ESP32 Expansion Board, an Anemometer NPN, a L298N DC motor driver, a 12V Battery, a 16x2 I2C LCD, a Rain Sensor, Button Limit Switches, and a motor power window. The circuit is designed to interface various sensors and actuators with the ESP32 microcontroller for data acquisition and control.

Component List

  1. Anemometer NPN

    • Pins: VCC, GND, AO
    • Description: Measures wind speed.
    • Purpose in Circuit: Provides analog output proportional to wind speed.
  2. ESP32 Expansion Board

    • Pins: D13, D12, D14, D27, D26, D25, D33, D32, D34, VIN, VP, EN, 3.3V, Ground, D15, D2, D4, D16, D17, D5, D18, D19, D21, RX0, TX0, D22, D23, GND, VCC, D@@, Source, 5V
    • Description: Microcontroller board with Wi-Fi and Bluetooth capabilities.
    • Purpose in Circuit: Central control unit for data processing and communication.
  3. 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 in Circuit: Controls the motor power window.
  4. 12V Battery (Small Size)

    • Pins: VCC, GND
    • Description: Power source.
    • Purpose in Circuit: Provides 12V power to the motor driver.
  5. 16x2 I2C LCD

    • Pins: GND, VCC, SDA, SCL
    • Description: Display module.
    • Purpose in Circuit: Displays sensor data and system status.
  6. Rain Sensor

    • Pins: AO, DO, GRD, VCC
    • Description: Detects rain.
    • Purpose in Circuit: Provides analog output proportional to rain intensity.
  7. Button Limit Switch

    • Pins: -, +
    • Description: Mechanical switch.
    • Purpose in Circuit: Detects end positions of the motor power window.
  8. Motor Power Window

    • Pins: +, -
    • Description: DC motor.
    • Purpose in Circuit: Operates the power window.

Wiring Details

Anemometer NPN

ESP32 Expansion Board

L298N DC Motor Driver

12V Battery (Small Size)

16x2 I2C LCD

Rain Sensor

Button Limit Switch (Instance 1)

Button Limit Switch (Instance 2)

Motor Power Window

Code

No code provided for this circuit.


This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code section. Each component is described, and its connections are detailed to ensure clarity and ease of understanding.