|
Download esp32/level1/humidity_sensor_basic/description_esp.md from eunzee/PCEval: direct link, hf CLI and curl.
- Browser
- Download file 893 Bytes
-
https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/humidity_sensor_basic/description_esp.md
- Command line
-
hf download hf://datasets/eunzee/PCEval/esp32/level1/humidity_sensor_basic/description_esp.md
-
curl -L -o description_esp.md https://huggingface.co/datasets/eunzee/PCEval/resolve/main/esp32/level1/humidity_sensor_basic/description_esp.md
893 Bytes
Humidity Sensor Basic
Project Description
This is a simple ESP32 project that uses dht22 sensor to measure the humidity.
Hardware Components
- ESP32 DevKit v1
- DHT22 sensor
Circuit Description
The DHT22 sensor is connected to an ESP32. The VCC pin is connected to the 5V pin on the ESP32, and the GND pin is connected to the GND2 pin. The data pin is connected to digital pin 2 on the ESP32.
Expected Behavior
When the ESP32 powers up, it should:
- Initialize serial monitor
- Initialize and begin DHT sensor
- Continuously read the DHT sensor's humidity value
- Print humidity to the serial monitor in the following format: "Humidity: {humidity value}", for example: "Humidity: 40.0"
Success Criteria
The test is successful when:
- The correct humidity value is printed to the serial monitor.
Notes for Implementation
- Use Arduino.h library for arduino core.