Wemos D1 Mini Based Environmental Monitoring System with Solar Charging
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates a variety of components to perform a set of functions that are not explicitly defined in the provided data. The core of the circuit is a Wemos D1 Mini microcontroller, which interfaces with sensors, a pushbutton, a voltage sensor, a temperature and humidity sensor (AHT21), a solar panel, a charge controller, a battery, a DC-DC converter, a linear actuator, and a motor driver. The circuit appears to be designed for monitoring and control applications, possibly in an environment where solar power is used as the energy source.
Component List
Wemos D1 Mini
- Microcontroller board based on the ESP8266.
- Provides GPIO pins for interfacing with other components.
Pushbutton
- A simple switch that can be used to trigger events in the circuit.
Voltage Sensor
- Measures the voltage in the circuit and provides feedback to the microcontroller.
AHT21
- A sensor for measuring temperature and humidity.
Solar Panel
- Converts sunlight into electrical energy to power the circuit or charge the battery.
MPPT 12V Charge Controller
- Maximizes the power output from the solar panel and charges the battery.
12V AGM Battery
- Stores electrical energy for use by the circuit.
XL4015 5A DC Buck Step-down Converter
- Steps down the voltage to a lower level suitable for the components in the circuit.
Linear Actuator
- Converts electrical energy into linear motion.
IR Beam Break Sensor
- Detects objects passing between the emitter and receiver, breaking the infrared beam.
L298N DC Motor Driver
- Controls the direction and speed of DC motors.
Wiring Details
Wemos D1 Mini
RSTconnected to Pushbutton Pin 2A0connected to Voltage Sensor Signal (S)3V3connected to AHT21 Vin+5Vconnected to XL4015 5A DC Buck Step-down Output +G(Ground) connected to multiple components for common groundD2connected to L298N DC motor driver IN2 and AHT21 SDAD1connected to L298N DC motor driver IN1 and AHT21 SCL
Pushbutton
- Pin 2 connected to Wemos D1 Mini RST
- Pin 3 connected to common ground
Voltage Sensor
Sconnected to Wemos D1 Mini A0VCCconnected to 12V rail from L298N DC motor driverGNDconnected to common ground-connected to common ground
AHT21
Vin+connected to Wemos D1 Mini 3V3GNDconnected to common groundSCLconnected to Wemos D1 Mini D1SDAconnected to Wemos D1 Mini D2
Solar Panel
+connected to MPPT 12V Charge Controller +-connected to MPPT 12V Charge Controller -
MPPT 12V Charge Controller
+connected to Solar Panel +, 12V AGM Battery +, and 12V rail for the circuit-connected to Solar Panel -, 12V AGM Battery -, and common ground
12V AGM Battery
+connected to MPPT 12V Charge Controller +-connected to MPPT 12V Charge Controller -
XL4015 5A DC Buck Step-down Converter
Output +connected to Wemos D1 Mini 5VOutput -connected to common groundInput +connected to 12V rail from MPPT 12V Charge ControllerInput -connected to common ground
Linear Actuator
+connected to L298N DC motor driver OUT2-connected to L298N DC motor driver OUT1
L298N DC Motor Driver
IN1connected to Wemos D1 Mini D1IN2connected to Wemos D1 Mini D212Vconnected to 12V rail from MPPT 12V Charge ControllerGNDconnected to common groundOUT1connected to Linear Actuator -OUT2connected to Linear Actuator +
Documented Code
Wemos D1 Mini - sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Wemos D1 Mini - documentation.txt
(No additional documentation provided for the code)
This concludes the documentation for the provided circuit. The circuit's functionality and the microcontroller's code are not fully detailed, which may be necessary for a complete understanding of the system's operation.