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

ESP8266 Controlled Solar-Powered Relay with I2C LCD Display

View and Edit Project In Cirkit DesignerImage of ESP8266 Controlled Solar-Powered Relay with I2C LCD Display

Circuit Documentation

Summary

This circuit integrates various components including a microcontroller, display, relay module, sensors, switches, a solar panel, a battery charger, and power management modules. The primary controller is an ESP8266 NodeMCU which interfaces with an I2C LCD screen and controls a relay module. The system is powered by a solar panel charging circuit that charges a Li-ion battery, which in turn powers the circuit through a voltage booster (MT3608). The circuit also includes a Maxbotix ultrasonic sensor for distance measurement. Diodes and resistors are used for protection and voltage division respectively.

Component List

I2C LCD 16x2 Screen

A display module for showing information, interfaced with the ESP8266 NodeMCU via the I2C protocol.

Relay Module 1 Channel

An electromechanical switch controlled by the ESP8266 NodeMCU, used to control high power devices.

Solar Panel

A photovoltaic panel used to convert solar energy into electrical energy to charge the battery.

Rocker Switch (SPST)

A single-pole single-throw switch used to control the power flow in the circuit.

18650 Lithium Ion Charger

A charging module for 18650 Li-ion batteries, powered by the solar panel.

1N4007 Rectifier Diode

A diode used to prevent reverse current flow in the charging circuit.

Resistor

A passive two-terminal electrical component used to limit current or divide voltages in the circuit.

Maxbotix MaxSonar Ultrasonic Sensor (Hi-Res)

A sensor used to measure distance via ultrasonic waves, powered by the relay module.

MT3608

A DC-DC step-up converter used to boost the voltage to the required level for the ESP8266 NodeMCU and other components.

18650 Li-ion Battery x 2

A pair of rechargeable batteries providing power to the circuit.

ESP8266 NodeMCU

A microcontroller with Wi-Fi capability that controls the relay module, reads sensor data, and drives the I2C LCD screen.

Wiring Details

I2C LCD 16x2 Screen

Relay Module 1 Channel

Solar Panel

Rocker Switch (SPST)

18650 Lithium Ion Charger

1N4007 Rectifier Diode

Resistor

Maxbotix MaxSonar Ultrasonic Sensor (Hi-Res)

MT3608

18650 Li-ion Battery x 2

ESP8266 NodeMCU

Documented Code

No code was provided for the microcontroller. The documentation of the code would include details on how the ESP8266 NodeMCU is programmed to interface with the I2C LCD screen, control the relay module, and read data from the Maxbotix ultrasonic sensor. It would also include the setup of Wi-Fi connectivity and any web server or MQTT functionalities if implemented.