ESP32 Send Temperature and Humidity Data to localhost XAMPP for Absolute Beginners Step by Step

preview_player
Показать описание
In this tutorial video, you will learn how to send temperature and humidity data from an ESP32 microcontroller to a localhost XAMPP server using a simple PHP script. This video is specifically designed for absolute beginners who have little or no experience with programming and web development.

The video covers all the necessary steps in a step-by-step manner, including downloading and installing XAMPP, setting up the project folder, writing and testing the PHP script, and finally, sending fake data to the server using the ESP32 serial monitor.

Additionally, the video also explains the code used to send the temperature and humidity data from the ESP32 to the server and provides line-by-line explanations of the PHP script used to receive and store the data in a MySQL database.

By the end of the video, you will have a working system that can send and store real-time data from your sensors.

--------------------------------------------------------------------------------------------------------------------
Buy On Amazon
--------------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
Send DHT11 data to PHP MySQL Server

--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
YouTube:

--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------------------------------------------------------
Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

Warning: I will use High Voltages which if incorrectly or improperly used could result in serious injuries or death. So be careful of what you are doing because I will take no responsibility for any of your actions.

Warning: In some countries it is required to register GSM module from govt authorities before using it. So, get proper understanding of govt laws related to GSM technologies.

#esp32 #dht11 #xamppserver
Рекомендации по теме
Комментарии
Автор

httpCode: -1

how i can solve this ???
i think the program is no error.
please help

ansellroman
Автор

now, i know PHP is not dead, it so simple, powerful and once you installed XAMPP everything is there, thank you the video

edinetgrunhed
Автор

Ahmad, I love how you edit the video. You make a wonderful tutorial. It's very detailed, step by step like you said. Thank you so much. Since i'm a beginner, it helps me a lot. Thank you!

khanghoangvan
Автор

Thanks! This helped a lot, unliked those others who throw codes at you and call it a "tutorial".

Elsa.zoneNt
Автор

I am using raspberry pi pico W in Thonny and after following your approach I am now able to send data to my localhost. Thanks alot Sir

happymatekenya
Автор

Bonjour, voila enfin un vrais tuto .Merci pour ce temps passé pour cette réalisation. Après avoir réalisé ce projet, j'ai put refaire le même avec un capteur DS18B20 avec un esp8266 ( avec quelque modifications très simple bien sur ).Cela fonctionne parfaitement que ce soit avec XAMPP ou Lamp sur le PI. Continuez, vos vidéos son très intéressantes et riches d'informations. Pour ceux qui on cherché comme moi pour ce genre de projet, ne cherchez plus vous avez trouvé.

Lovely-bxse
Автор

Show!! It worked perfectly fine! However, it is necessary to alert to release the windows firewall for private networks, otherwise the database is not reached by ESP32. Other than that, congratulations and many thanks for sharing your projects.

alfonsoff
Автор

Hello Ahmad,

thank you very much for this tutorial which corresponds quite well to what I want to do. That is, to log the measurements of a JSY-MK-194T module in a MySql database. Thanks to you, I have all the keys to finalize what I've started.

philippe
Автор

Excellent Video Sir! Every Step you explain well. Thank you so much for this type of video. If possible one more video post on the asynchronous method .

ifpeftv
Автор

Brilliant! Thank you so much for the easy to understand and follow explanation! So easy to understand and yet such a detailed and thorough explanation. I actually done the setup of my "web server" on a small arm single board computer and i could still follow the examples, just had to change a directory or two in order to us the http folder in my setup.

savvycreativeadventurer
Автор

Excellant presentation. Thank you very much.

nbzfiym
Автор

thank you sir! you literally saved my project!

kientong
Автор

@ALL There is an Mistake on 26:56 in this tutorial - the header must written BEFORE postData, not AFTER - Thats why the code doesnt't work at many people!! Connection to Database is succesful, but no Dataset is written. When you fix it, it will work properly!

fred_sonntag
Автор

Thank you very much for this great tutorial and for the very clear explanations.
Next step would be to have the temperature with one decimal cipher

brunodalessio
Автор

This helped me a lot.Thank you !, very much.

mrx.
Автор

Hi There. So i have a problem. due to the nature of the project i have to use an Arduino Mega and i can't find a HTTPClient library that works with your code... any sugestions where to find it? Needless to say i'm a noob with little experience on programming...

eternalxpectator
Автор

this video helped me a lot, thankyou so much <3

huytuan
Автор

nice video it helped me alot .
thank u sir

Lets_Travel
Автор

appreciate your vids so much. They helped me a lot <3

quaninhphamhong
Автор

greaat thanks alot every thing is explened well thanks alot

aligermah