Skip to content

DhruvaG2000/ESP32_wifiDHT11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample output

temp= 31 *C
75 %Humidity

Prerequisite:

It is a must that you have ESP-IDF installed and running on your computer.
For installation instructions follow
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/#step-1-install-prerequisites
and the steps that follow.

Avoid source compilation as it may cause errors

install git and clone

sudo apt update && sudo apt upgrade
sudo apt install git
git clone https://github.com/DhruvaG2000/ESP32_wifiDHT11 

How to build and flash

 cd ~/(your path where you cloned this repo)/ESP32_wifiDHT11	
 idf.py fullclean
 idf.py menuconfig

In menuconfig go to example configuration and press enter. In the next screen enter you WIFI SSD and Password.

 idf.py build	

-- this is an optional step wherein you may require USB serial permissions to flash into your esp:

sudo chmod 777 /dev/ttyUSB0   

The USB0 part may vary in your case so hitting tab will help you there.

 idf.py flash monitor

Circuit Diagram

ESP32 DHT11
3V3 VCC
pin 27 data
ground gnd

How to get the output

Once the ESP enter monitor mode, it should reach a stage where it will give you connected to WIFI
and it will show its IP.
the next step is simply go to any browser (firefox, Chrome) and paste in the following format

 IP_ADDRESS/show
 Eg: http://192.168.0.102/show  

About

A way to monitor the temperature at your home using only an ESP32 and DHT 11!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published