Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Solar-Powered ESP8266 NodeMCU with Turbidity Sensing and Temperature Monitoring

Image of Solar-Powered ESP8266 NodeMCU with Turbidity Sensing and Temperature Monitoring

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

  • gnd connected to Do solara -
  • vcc connected to Do solara +

Do solara (Charge Controller)

  • - connected to Solar Panel gnd
  • + connected to Solar Panel vcc
  • out+ connected to XL6009 Voltage Regulator IN +
  • out- connected to XL6009 Voltage Regulator IN -
  • b+ connected to 18650 Li-ion Battery +
  • b- connected to 18650 Li-ion Battery -

XL6009 Voltage Regulator

  • OUT + connected to ESP8266 NodeMCU VIN, Turbidity Module VCC
  • OUT - connected to ESP8266 NodeMCU GND, Turbidity Module GND
  • IN + connected to Do solara out+
  • IN - connected to Do solara out-

18650 Li-ion Battery

  • + connected to Do solara b+
  • - connected to Do solara b-

ESP8266 NodeMCU

  • VIN connected to XL6009 Voltage Regulator OUT +
  • GND connected to XL6009 Voltage Regulator OUT -, Module DS18B20 GND, Turbidity Module GND
  • 3V3 connected to Module DS18B20 VCC
  • D2 connected to Module DS18B20 DAT
  • A0 connected to Turbidity Module AO

Module DS18B20

  • GND connected to ESP8266 NodeMCU GND
  • VCC connected to ESP8266 NodeMCU 3V3
  • DAT connected to ESP8266 NodeMCU D2

DS18B20 1-Wire Temperature Sensor Probe Cable

  • GND connected together for all probes and to Module DS18B20 GND
  • VDD connected together for all probes and to Module DS18B20 VCC
  • shield connected together for all probes and to Module DS18B20 DAT

Sonda Sensor Turbidez / Turbidity Sensor

  • S connected to Turbidity Module S-
  • - connected to Turbidity Module SO
  • + connected to Turbidity Module S+

Turbidity Module

  • VCC connected to XL6009 Voltage Regulator OUT +
  • GND connected to XL6009 Voltage Regulator OUT -
  • AO connected to ESP8266 NodeMCU A0
  • S+ connected to Sonda Sensor Turbidez +
  • SO connected to Sonda Sensor Turbidez -
  • S- connected to Sonda Sensor Turbidez S

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.