Required Components
Required Components

The ESP32 development board is the main controller of the Temperature & Humidity Monitor. It receives temperature and humidity data from the sensor and can process the readings for display or wireless monitoring. A DHT11 or DHT22 sensor is used to measure the surrounding temperature and relative humidity. The DHT22 generally provides better accuracy and a wider measurement range than the DHT11.
A 10kΩ resistor may be required as a pull-up resistor between the sensor’s data line and its supply voltage, depending on the DHT sensor module and configuration. The breadboard provides a convenient way to assemble the circuit without soldering, while jumper wires are used to connect the ESP32, sensor, and other components.
A USB cable is required to power the ESP32 and upload the program from a computer using the Arduino IDE. Once programmed, the ESP32 can operate the monitor from USB power, while the sensor continuously provides temperature and humidity readings to the controller.