Read temperature and humidity from nodemcu ESP12E with DHT11 and show it on HTML webpage that will be made from scratch, and I will show you step by step procedure to create the webpage.
If you are seeing this tutorial directly, then please start from beginning here:
Create a folder named "IoT_Read_Data" and download and place the below two images inside that folder. Rename the first image as "humidity" and second image as "temperature" respectively.
It doesn't matter where you are placing the folder. The only thing is that the above two images should be placed inside the folder carefully. And rename them as specified above.
2. Now create a new file in notepad++ and copy and paste the following code. Starting with the title and head section.
4. Now copy the body section where we will be showing the icons of temperature and humidity along with paragraph where we will display the value coming from esp12e nodemcu in json format. And a textbox where we will be pasting the local IP address of esp12e nodemcu to get the data.
5. Now finally the script section which is reloading the page every 5 seconds. This will automatically refresh and send the get request to our esp12e nodemcu module.
沒有留言:
張貼留言