Solar-Powered ESP8266 NodeMCU with Turbidity Sensing and Temperature Monitoring
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to harness solar energy to power an ESP8266 NodeMCU microcontroller and various sensors. The solar panel charges a 18650 Li-ion battery through a charge controller. The voltage regulator ensures a stable voltage supply to the microcontroller and sensors. The ESP8266 NodeMCU reads data from a turbidity sensor and multiple DS18B20 temperature sensors, which are connected via a 1-Wire interface.
Component List
Solar Panel
- Description: A photovoltaic panel that converts sunlight into electrical energy.
- Pins:
gnd,vcc
Do solara (Charge Controller)
- Description: Manages the power coming from the solar panel and charges the battery.
- Pins:
-,+,out+,out-,b+,b-
XL6009 Voltage Regulator
- Description: Boosts the voltage to a higher level and provides a stable output for the circuit.
- Pins:
OUT +,OUT -,IN +,IN -
18650 Li-ion Battery
- Description: Rechargeable battery that stores energy from the solar panel.
- Pins:
-,+
ESP8266 NodeMCU
- Description: A microcontroller with Wi-Fi capability for controlling and monitoring the sensors.
- Pins:
D0,D1,D2,D3,D4,3V3,GND,D5,D6,D7,D8,RX,TX,A0,RSV,SD3,SD2,SD1,CMD,SD0,CLK,EN,RST,VIN
Module DS18B20
- Description: A digital temperature sensor module for measuring temperature.
- Pins:
GND,VCC,DAT
DS18B20 1-Wire Temperature Sensor Probe Cable
- Description: Waterproof temperature sensor probes for measuring temperature at various points.
- Pins:
shield,GND,DQ,VDD
Sonda Sensor Turbidez / Turbidity Sensor
- Description: Measures the turbidity of water.
- Pins:
S,-,+
Turbidity Module
- Description: Interfaces with the turbidity sensor and provides analog and digital outputs.
- Pins:
GND,AO,DO,VCC,S+,SO,S-
Wiring Details
Solar Panel
gndconnected to Do solara-vccconnected to Do solara+
Do solara (Charge Controller)
-connected to Solar Panelgnd+connected to Solar Panelvccout+connected to XL6009 Voltage RegulatorIN +out-connected to XL6009 Voltage RegulatorIN -b+connected to 18650 Li-ion Battery+b-connected to 18650 Li-ion Battery-
XL6009 Voltage Regulator
OUT +connected to ESP8266 NodeMCUVIN, Turbidity ModuleVCCOUT -connected to ESP8266 NodeMCUGND, Turbidity ModuleGNDIN +connected to Do solaraout+IN -connected to Do solaraout-
18650 Li-ion Battery
+connected to Do solarab+-connected to Do solarab-
ESP8266 NodeMCU
VINconnected to XL6009 Voltage RegulatorOUT +GNDconnected to XL6009 Voltage RegulatorOUT -, Module DS18B20GND, Turbidity ModuleGND3V3connected to Module DS18B20VCCD2connected to Module DS18B20DATA0connected to Turbidity ModuleAO
Module DS18B20
GNDconnected to ESP8266 NodeMCUGNDVCCconnected to ESP8266 NodeMCU3V3DATconnected to ESP8266 NodeMCUD2
DS18B20 1-Wire Temperature Sensor Probe Cable
GNDconnected together for all probes and to Module DS18B20GNDVDDconnected together for all probes and to Module DS18B20VCCshieldconnected together for all probes and to Module DS18B20DAT
Sonda Sensor Turbidez / Turbidity Sensor
Sconnected to Turbidity ModuleS--connected to Turbidity ModuleSO+connected to Turbidity ModuleS+
Turbidity Module
VCCconnected to XL6009 Voltage RegulatorOUT +GNDconnected to XL6009 Voltage RegulatorOUT -AOconnected to ESP8266 NodeMCUA0S+connected to Sonda Sensor Turbidez+SOconnected to Sonda Sensor Turbidez-S-connected to Sonda Sensor TurbidezS
Documented Code
There is no code provided for the microcontroller. The documentation of the code would typically include details on how the ESP8266 NodeMCU is programmed to read from the temperature and turbidity sensors, process the data, and possibly send it to a remote server or display it locally. However, since no code is available, this section cannot be completed.