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

Solar-Powered Linear Actuator System with ESP32 and Sensor Integration

View and Edit Project In Cirkit DesignerImage of Solar-Powered Linear Actuator System with ESP32 and Sensor Integration

Circuit Documentation

Summary

This document provides a detailed overview of a solar-powered system that includes a solar panel, a charge controller, a 12V AGM battery, a linear actuator, a voltage sensor, an ESP32 microcontroller, an IR sensor, a BME680 environmental sensor, and an L298N DC motor driver. The system is designed to harness solar energy, store it in a battery, and use it to power various components, including a linear actuator and sensors.

Component List

  1. Solar Panel

    • Description: Converts sunlight into electrical energy.
    • Pins: +, -
  2. MPPT 12V Charge Controller

    • Description: Manages the charging of the 12V AGM battery from the solar panel.
    • Pins: +, -
  3. 12V AGM Battery

    • Description: Stores electrical energy for later use.
    • Pins: +, -
  4. Linear Actuator

    • Description: Converts electrical energy into linear motion.
    • Pins: +, -
  5. Voltage Sensor

    • Description: Measures the voltage of the system.
    • Pins: GND, VCC, S, +, -
  6. Xiao ESP32C3

    • Description: Microcontroller for controlling various components and sensors.
    • Pins: GPIO2/LRC/A0/D0, GPIO3/BCLK/A1/D1, GPIO4/DIN/A2/D2, GPIO5/A3/D3, GPIO6/SDA/D4, GPIO7/SCL/D5, GPIO21/TX/D6, VUSB/5V, GND, 3V3, D10/MOSI/GPIO10, D9/MISO/GPIO9, D8/SCK/GPIO8, D7/RX/GPIO20, 3.7V BATT+, 3.7V BATT-, Type C
  7. BME680

    • Description: Environmental sensor for measuring temperature, humidity, pressure, and gas.
    • Pins: VCC, GND, SCL, SDA, SDO, CS
  8. L298N DC Motor Driver

    • Description: Drives the linear actuator.
    • 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
  9. E18-D80NK IR Sensor

    • Description: Infrared sensor for object detection.
    • Pins: 5V Brown, OUT Black, GND Blue
  10. Pushbutton

    • Description: User input button.
    • Pins: Pin 2, Pin 1, Pin 3, Pin 4

Wiring Details

Solar Panel

MPPT 12V Charge Controller

12V AGM Battery

Linear Actuator

Voltage Sensor

Xiao ESP32C3

BME680

L298N DC Motor Driver

E18-D80NK IR Sensor