Back to Browse

Send DHT11 data to PHP MySQL Server using NodeMCU ESP8266

17.8K views
Jan 22, 2022
9:30

Today, I will show you how to send DHT11 data to MySQL Server. Then you can display temperature and humidity data on your own dashboard in real-time. I have just connect the DHT11 sensor to NodeMcu ESP8266. And after uploading the code, the NodeMCU start sending temperature and humidity data to MySQL Server. This is a NodeMcu based internet of things project. And you do not need to use any IOT cloud Platform. I will show you how to build cloud like platform using a PHP and MySQL Server. The dashboard of this project is very simple. I've added two gauge meters to display the real-time temperature and humidity data. You can also visualize all the latest data in tabular form. This project is just like having your own weather station dashboard and you can monitor your weather station readings, from anywhere in the world. -------------------------------------------------------------------------------------------------------------------- Parts Buy Links (Affiliate Links) -------------------------------------------------------------------------------------------------------------------- 1. NODE MCU - https://amzn.to/3Zzm1bJ 2. DHT11 Temperature Humidity Sensor - https://amzn.to/421TIUD 3. Breadboard - https://amzn.to/3ysOvHX 4. Jumper Wires - https://amzn.to/3YRafs5 0:00 - Intro 0:46 - Advantages of your own IOT Cloud 1:45 - Project Code and Related Resources 2:07 - Recommended Hosting for Weather Station Froject 2:36 - Create a Subdamin 3:35 - Crate MySQL Database 4:32 - Uploading SQL file in Database 5:07 - Upload Project Files to Web Server 5:42 - Project Configuration 7:34 - Testing Project with Fake Data 8:07 - Wiring NodeMCU with DHT11 8:32 - NodeMCU Sketch (Programming) 9:04 - Arduino Serial Monitor Tesing 9:17 - End Screen -------------------------------------------------------------------------------------------------------------------- Useful Video Links -------------------------------------------------------------------------------------------------------------------- NodeMCU SIM800L GPS Tracker https://youtu.be/HrIBGJep-1o Arduino IOT Cloud Home Automation With ESP32 and NodeMCU https://youtu.be/gN4S5wEIYTc -------------------------------------------------------------------------------------------------------------------- Social Media Links -------------------------------------------------------------------------------------------------------------------- GitHub: https://github.com/ahmadlogs/ YouTube: https://www.youtube.com/ahmadlogs?sub_confirmation=1 -------------------------------------------------------------------------------------------------------------------- Download Code -------------------------------------------------------------------------------------------------------------------- https://github.com/ahmadlogs/nodemcu-dht11-mysql -------------------------------------------------------------------------------------------------------------------- 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. #NodeMCU #ESP8266 #ESP8266Projects

Download

1 formats

Video Formats

360pmp420.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Send DHT11 data to PHP MySQL Server using NodeMCU ESP8266 | NatokHD