SunFounder ESP32 Starter Kit
float distance = microsecond / 29.00 / 2;
Note that the ultrasonic sensor will pause the program when it is working, which may cause some lagging when writing
complex projects.
1.29 5.13 Temperature - Humidity
The DHT11 is a temperature and humidity sensor commonly used for environmental measurements. It is a digital
sensor that communicates with a microcontroller to provide temperature and humidity readings.
In this project, we will be reading the DHT11 sensor and printing out the temperature and humidity values it detects.
By reading the data provided by the sensor, we can obtain the current temperature and humidity values in the environ-
ment. These values can be used for real-time monitoring of environmental conditions, weather observations, indoor
climate control, humidity reports, and more.
Required Components
In this project, we need the following components.
It’s definitely convenient to buy a whole kit, here’s the link:
Name ITEMS IN THIS KIT LINK
ESP32 Starter Kit 320+
You can also buy them separately from the links below.
COMPONENT INTRODUCTION PURCHASE LINK
ESP32 WROOM 32E
ESP32 Camera Extension -
Breadboard
Jumper Wires
DHT11 Humiture Sensor
• Available Pins
Here is a list of available pins on the ESP32 board for this project.
Available Pins IO13, IO12, IO14, IO27, IO26, IO25, IO33, IO15, IO2, IO0, IO4, IO5, IO18,
IO19, IO21, IO22, IO23
Schematic
1.29. 5.13 Temperature - Humidity 99