Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an ESP32 microcontroller, a DS18B20 1-Wire Temperature Sensor Probe Cable, a DS18B20 Module, a Turbidity Sensor, and a TDS Sensor. The circuit is designed to measure temperature, turbidity, and total dissolved solids (TDS) in a given environment. The ESP32 microcontroller serves as the central processing unit, interfacing with the various sensors to collect and process data.
Component List
ESP32
- Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
DS18B20 1-Wire Temperature Sensor Probe Cable
- Description: A temperature sensor probe that uses the 1-Wire communication protocol.
- Pins: shield, GND, DQ, VDD
DS18B20 Module
- Description: A module that interfaces with the DS18B20 temperature sensor.
- Pins: VCC, DQ, GND
Turbidity Sensor
- Description: A sensor used to measure the turbidity (cloudiness) of a liquid.
- Pins: OUT, VCC, GND
TDS Sensor 2
- Description: A sensor used to measure the total dissolved solids (TDS) in a liquid.
- Pins: AIn, GND, 5V
Wiring Details
ESP32
- D35 is connected to AIn of the TDS Sensor 2.
- D32 is connected to OUT of the Turbidity Sensor.
- 3V3 is connected to VCC of the Turbidity Sensor, 5V of the TDS Sensor 2, and VCC of the DS18B20 Module.
- GND is connected to GND of the Turbidity Sensor, GND of the TDS Sensor 2, and GND of the DS18B20 Module.
- D4 is connected to DQ of the DS18B20 Module.
DS18B20 1-Wire Temperature Sensor Probe Cable
- GND is connected to GND of the DS18B20 Module.
- DQ is connected to DQ of the DS18B20 Module.
- VDD is connected to VCC of the DS18B20 Module.
DS18B20 Module
- VCC is connected to 3V3 of the ESP32.
- DQ is connected to D4 of the ESP32.
- GND is connected to GND of the ESP32.
Turbidity Sensor
- OUT is connected to D32 of the ESP32.
- VCC is connected to 3V3 of the ESP32.
- GND is connected to GND of the ESP32.
TDS Sensor 2
- AIn is connected to D35 of the ESP32.
- 5V is connected to 3V3 of the ESP32.
- GND is connected to GND of the ESP32.
Code
There is no code provided for the microcontrollers in this circuit.
This document provides a comprehensive overview of the circuit, including a summary, a detailed component list, wiring details, and a section for code documentation. This should serve as a useful reference for understanding and replicating the circuit.