DHTesp | Optimized DHT library for ESP32/ESP8266 using Arduino
kandi X-RAY | DHTesp Summary
kandi X-RAY | DHTesp Summary
DHTesp [Build Status] ===
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DHTesp
DHTesp Key Features
DHTesp Examples and Code Snippets
Community Discussions
Trending Discussions on DHTesp
QUESTION
I have an esp32 firmware that uses 4 sensors (DHT11, PIR, water leakage, MQ2). All sensors work fine and give accurate output but when I try to include Wi-Fi connection and Wi-Fi client the water and mq2 sensors give wrong and random data. Is there anybody who experienced this issue before?
Here is an example of the output without Wi-Fi:
- temperature: 18
- humidity: 58
- water level: 97
- motion: 1
- smoke: 6
- LPG: 12
- CO: 8
and with the Wi-Fi commands it shows like this:
- temperature: 18
- humidity: 58
- water level: 4065
- motion: 1
- smoke: 26145582395.16
- LPG: 26145582395.16
- CO: 26145582395.16
and here is the code used:
...ANSWER
Answered 2020-May-02 at 01:54ESP32 internally has two ADCs, but ADC2 is shared between other resources within ESP32. They are mapped as:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DHTesp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page