ESP32 DHT Web Server Project

  Рет қаралды 99,637

Enjoy Mechatronics

Enjoy Mechatronics

Жыл бұрын

This Project is an ESP32 web server with the DHT11 or DHT22 sensor that displays temperature and humidity. The web server updates the readings automatically without the need to refresh the web page.
► Get your first ESP32 board today and start exploring the world of IoT:
👉 amzn.to/3AjPwTV
👉 amzn.to/3oCu2Pz
--------------------------------------------------------------------
► Project: github.com/Enjoy-Mechatronics...
● Introduction to ESP32: • Introduction to ESP32 ...
● ESP32 Wifi: • Connect ESP32 to WiFi ...
● Playlist Link: bit.ly/3TdXiq5
--------------------------------------------------------------------
✅ My current Productivity Setup 👇:
● Gaming Headset: amzn.to/3HyXgp2
● Gaming Mouse: amzn.to/3ni4Ygp
● Best Webcam: amzn.to/44pVUqw
● Keyboard: amzn.to/3ALXB3M
● GPU: amzn.to/42mylNt
● CPU: amzn.to/44lOBjs
--------------------------------------------------------------------
FOLLOW ME:
● TikTok :
/ enjoy_mechatronics
♥ Never Click This! bit.ly/3jvI8g6
● Facebook: / enjoymechatronics
--------------------------------------------------------------------
► All content by Enjoy Mechatronics is 100% free. I believe that education should be freely available to everyone.

Пікірлер: 93
@rafaelalvesdasilva6754
@rafaelalvesdasilva6754 Жыл бұрын
Big hug teacher, health and luck always.
@codybarker9942
@codybarker9942 7 ай бұрын
This tutorial was great! I'm planning on adapting it for an in situ soil EC meter.
@EnjoyMechatronics
@EnjoyMechatronics 7 ай бұрын
Perfect!
@carlosvaz4392
@carlosvaz4392 Жыл бұрын
Great work! Thanks for sharing
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
No worries 👍
@Bianchi77
@Bianchi77 Жыл бұрын
Nice info, thanks for sharing :)
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
No problem!
@onecircuit-as
@onecircuit-as 7 ай бұрын
Lovely work!
@EnjoyMechatronics
@EnjoyMechatronics 7 ай бұрын
Many thanks!
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
► Project: github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver
@niltonantonyhuancachambi6239
@niltonantonyhuancachambi6239 Жыл бұрын
podria explicar como realizo el codigo http porfa
@dinukajkdy3291
@dinukajkdy3291 10 ай бұрын
bro can we attach two sensors like dht11 and mq 135 to the esp32 board and get the data onto a server .and lastly into a mobile phone app . i plan to develop this app . please help
@ericcharland784
@ericcharland784 Жыл бұрын
Hello all iam working to add 2 relays with this program so i can control my heating in my cotage could you help me figure out how to add this fonction ! thx for your help
@PhG1961
@PhG1961 8 ай бұрын
Interesting video. However, you're refreshing the webpage every 4 seconds. The way I see it, it is the whole webpage that gets refreshed. If there are (many) more values, which so of them don't change, it is not the best idea to refresh everything. Could you explain how you would only transfer the data of those values instead of the whole page?
@Lionel-pc7ln
@Lionel-pc7ln 4 ай бұрын
Works great, is there anyway I can add the localtime to the webpage? I have tried with Const and Float commands, but just can't work it out.
@BearFulmer
@BearFulmer Жыл бұрын
I am looking for a video that shows how the information is transferred to the web from the esp32, like how the variables get transferred most specifically, so I could make a less fancy website but more variables, how the read variables go from the sensor readings and then how they are manipulated by the htlm/css/java im not sure how it changes names.
@vitovalentinoprasetyoputro4552
@vitovalentinoprasetyoputro4552 Жыл бұрын
Where I can get the code?
@HD_TOON
@HD_TOON Жыл бұрын
Nice video bro 👍
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Glad you liked it
@ShinesMonkey1
@ShinesMonkey1 Ай бұрын
Nice clean web interface - thanks
@EnjoyMechatronics
@EnjoyMechatronics Ай бұрын
Glad you like it!
@bosonw4373
@bosonw4373 3 ай бұрын
That's great. Unfortunately, the option to react to the values with a button is still missing. As in the previous ON OFF project, which was created as an ESP32 access point and cannot be combined well with this. Something like this here, but with buttons would be great.
@WawanSetiawan-xn3ke
@WawanSetiawan-xn3ke 10 ай бұрын
Terima kasih ilmunya sukses selalu semoga bermanfaat, salam..
@Fat1413
@Fat1413 Жыл бұрын
it really work thx
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
No problem
@LordImpaler-xe5qq
@LordImpaler-xe5qq 14 күн бұрын
Can I use the nodemcu instead of the esp32 for this project?;
@PlachtaAndreeaMirela
@PlachtaAndreeaMirela Ай бұрын
Hello! Thank you for this tutorial! What can I do if when entering the ip address nothing opens in the browser?
@RGPinger
@RGPinger 6 ай бұрын
ye, use float with 2 decimals, but use only one. Use also float for int number.
@humanhurt2384
@humanhurt2384 5 ай бұрын
I am using BMP280, is the code same or must search again? btw the code that you use is from Arduino examples or must create manually?
@angelarmandoolveragonzalez8124
@angelarmandoolveragonzalez8124 Жыл бұрын
Hello, I really like your videos and they have helped me a lot. I have learned a lot with your videos. But could you make one using an ultrasonic sensor, an ESP8266 and some distance away that triggers an alarm and pops up an alert or something please. it would help me a lot
@user-kc4xc8si1g
@user-kc4xc8si1g 5 ай бұрын
y IAYAN8 YURNVA8RUVO
@zw.Scribe_Media
@zw.Scribe_Media 9 ай бұрын
Good day to you Sir, thank you so much for taking your time to show all the steps that you went through to make the project a success; I have personally been helped greatly. I just wanted to hear from you if that website on which the values are shown, is customizable; as in you can add other things like charts, buttons etc for more comprehensive analysis of the values. Or i'd need to design a separate web-something for that to be possible. Thank you
@EnjoyMechatronics
@EnjoyMechatronics 9 ай бұрын
You are very welcome Yeah, you could customize it and create a better interface by changing the html code inside the sketch, but you need to learn how to use html and css
@roco9393
@roco9393 23 күн бұрын
Thanks!
@EnjoyMechatronics
@EnjoyMechatronics 23 күн бұрын
No worries ☺️
@Pinko3217
@Pinko3217 4 ай бұрын
ciao intanto ti faccio i miei complimenti perchè spieghi "molto molto bene" per me che sono ignorante nel settore, maneggio un pò di arduino giusto semplici progetti, in questi giorni mi sto avvicinando alla esp32 per un progetto con sonda Dallas che ho già realizzato con la Mega. Se mi posso permettere la mia domanda è , si può utilizzare la WI-FI insieme al Bluetoouth per visualizzare la temperatura su un'altra esp32 dove ho collegato un LCD? grazie
@BagadBilla69420
@BagadBilla69420 4 ай бұрын
How can i add a 16x2 lcd display using i2c
@benmedka
@benmedka 6 ай бұрын
Hi, i am not good at HTML😢. PLEASE what is the relation between the 2 ino files ?. Thank you
@MarcosML.
@MarcosML. 4 ай бұрын
Hello, I have a problem, the temperature and humidity value is -1.0, WHY???.
@redavi
@redavi 4 ай бұрын
same for me
@stramiro5555
@stramiro5555 Ай бұрын
Sameee
@username8191
@username8191 2 ай бұрын
Brother I have this project to present monday so I hope you see my comment and help me. I want to edit the web page to include other stuff is it possible?and how can i do it?
@ManhNguyen-bc9qe
@ManhNguyen-bc9qe Жыл бұрын
i can't find the My-Network to conect. What i should do? please help me!
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
You have to connect to your network You could use your mobile Hotspot
@arduinomaquinas
@arduinomaquinas 11 ай бұрын
Show great !
@EnjoyMechatronics
@EnjoyMechatronics 11 ай бұрын
Thanks!
@ayushjha1110
@ayushjha1110 Жыл бұрын
Hey If I'm using Nodemcu esp8266 will I have to add other library or the same code will work
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
It's almost the same code, but there is a slight difference that I am gonna explain in the next few videos.
@nikoskotsilitis1999
@nikoskotsilitis1999 4 ай бұрын
Perfect good job. I would like to connect 15 sensor dht22 for my beehives can i?
@lephungkhang8695
@lephungkhang8695 Жыл бұрын
good❤❤
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
Thanks 😊
@monicagonzalezgaona9488
@monicagonzalezgaona9488 Жыл бұрын
when i try to do it it says fatal error: WebServer.h: No such file or directory, i already downloaded the library for Wifi and WiFiClient but i cant find where to download the library for WebServer
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
The webserver library comes with the esp32 package. So, you don't have to install it.
@esathidayet7655
@esathidayet7655 11 ай бұрын
@@EnjoyMechatronics i take same error. But not coming with esp32 packages. how can i get it
@Robert-ki5gy
@Robert-ki5gy 3 ай бұрын
it is possible I assign static IP, please reply
@KennethIsrael_aiikendoit
@KennethIsrael_aiikendoit Ай бұрын
wow i like this, what is you dimension size of breadboard?
@AAlejandra_Saav
@AAlejandra_Saav 5 ай бұрын
If the router tells me that it is connected but the IP address does not appear on the serial monitor, but the MAC of the device appears linked, I am connecting the ESP 32 with a WLAN 1100 (PHOENIX CONTAC) in the web administrator (of the wlan) It tells me that the ESP 32 is in the connected devices and it gives the MAC, but in the serial monitor it only shows points, that is, it stays in the while and does not show me the IP address, what could I do? To connect the WLAN with a tablet or a mobile phone, I must configure the IP to be static, enter the data and it connects, how can I do it on the ESP 32? That is to say, it would be to put the data on its own IP address, WLAN IP, "prefix length" dns 1, dns 2, how can I assign (program) these values to esp 32? What strategy do you recommend?
@TaylenIsInsane
@TaylenIsInsane 4 ай бұрын
i am also having the same problem, it just shows "......." and continues forever. i have not found the solution yet
@Vishnu-yp6bz
@Vishnu-yp6bz 2 ай бұрын
@@TaylenIsInsane SAME HERE , I WAS SO EXCITED TO DO THE PROJECT BUT ONLY "------------" IS COMING. SOMEBODY PLEASE HELP US
@AdityaSharma-ug3ip
@AdityaSharma-ug3ip 7 ай бұрын
What changes to be made to make it send data to a server by calling a url
@EnjoyMechatronics
@EnjoyMechatronics 7 ай бұрын
It depends on the server, so read the documentation.
@TheOldKid
@TheOldKid Жыл бұрын
Pretty sad how unorganized the microcontroller world is. You'd think sensors with the name dht11 would all be pinned out the same. The one I have is vcc on left, gnd on right and data in middle. At least that's what the markings are
@comic-typ5919
@comic-typ5919 6 ай бұрын
simply Go for the markings
@roco9393
@roco9393 23 күн бұрын
Tks bro, I've a question, the DNS name could be saved in the memory flash?
@EnjoyMechatronics
@EnjoyMechatronics 20 күн бұрын
I believe so
@joseDiaz21
@joseDiaz21 3 ай бұрын
Hi, Can I use more than one sensor with a single ESP32?
@EnjoyMechatronics
@EnjoyMechatronics 3 ай бұрын
Definitely 💯
@he_good7264
@he_good7264 8 ай бұрын
I have 4 pins in my sensor, what will be the connections?
@benmedka
@benmedka 6 ай бұрын
First vcc, snd data, forth gnd
@nowamaniivannkubito9860
@nowamaniivannkubito9860 Жыл бұрын
how basically can i use that knowledge with sensors
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
I have created two functions that return sensor readings: readDHThumidity readDHTTemperature So you can modify their code to return other sensor data.
@beysik6871
@beysik6871 Жыл бұрын
Where can I find the code?
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver/blob/main/ESP32-DHT-Webserver.ino
@lendilendi8789
@lendilendi8789 6 ай бұрын
Failed uploading: uploading error: exit status 2 help
@jorgeadriano2225
@jorgeadriano2225 5 ай бұрын
Hello, I had the same problem, you need to disconnect all the pins that receive information (like the dht sensor), and try again
@vitovalentinoprasetyoputro4552
@vitovalentinoprasetyoputro4552 Жыл бұрын
Where i can get the code?
@EnjoyMechatronics
@EnjoyMechatronics Жыл бұрын
github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver
@hugocarloshuizaquinto3619
@hugocarloshuizaquinto3619 7 ай бұрын
hay codigo hay like
@user-tc9hp9bj8l
@user-tc9hp9bj8l Жыл бұрын
dontwork
@gilbertmphande4519
@gilbertmphande4519 5 ай бұрын
great work! can this code work with the esp8266?
@EnjoyMechatronics
@EnjoyMechatronics 5 ай бұрын
Yes it will
@radhoinealoui8804
@radhoinealoui8804 8 ай бұрын
Plz can y send me the program
@EnjoyMechatronics
@EnjoyMechatronics 8 ай бұрын
github.com/Enjoy-Mechatronics/ESP32-DHT-Webserver
@radhoinealoui8804
@radhoinealoui8804 8 ай бұрын
@@EnjoyMechatronics شكرا اخي
@bayudharmaprayoga3436
@bayudharmaprayoga3436 7 ай бұрын
Bro code its wrong
@EnjoyMechatronics
@EnjoyMechatronics 7 ай бұрын
No, it works
@user-kc4xc8si1g
@user-kc4xc8si1g 5 ай бұрын
send me the code
@user-kc4xc8si1g
@user-kc4xc8si1g 5 ай бұрын
IS A HFDNYU JNRDUBUYJJ
@mrelo007
@mrelo007 2 ай бұрын
HELLO i want to make something similar but i want to add some thing to show state of a variable 0 or 1 , can i contact you privately to help me? also i noticed you are from tunisia im from algeria
ESP32 NTP Server - Real Time Clock (NO RTC Module)
5:15
Enjoy Mechatronics
Рет қаралды 30 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 549 М.
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 20 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 8 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
ESP32 Web Server - ESP32 Beginner's Guide
11:52
Enjoy Mechatronics
Рет қаралды 55 М.
КАК ПОСТРОИТЬ WEB SERVER НА ESP32
11:34
Kirill Ivanychev
Рет қаралды 5 М.
Control ESP32 and ESP8266 GPIOs from Anywhere in the World
6:57
Rui Santos
Рет қаралды 213 М.
Build an ESP32 Web Server with Arduino IDE
8:13
Rui Santos
Рет қаралды 250 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 162 М.
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 26 МЛН
Опять съемные крышки в смартфонах? #cmf
0:50