How to send DHT11 data to MySQL server using NodeMCU

preview_player
Показать описание
Hello Guys,
In this Project I've interfaced DHT11 with nodemcu and then I'm sending data of dht11 which is humidity and temperature to phpmyadmin database.

if you want to know about how to install xampp server and create database and table in phpmyadmin, please watch this video:

You can buy tools from amazon India, below are the links:

you can get the source code from this link:

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

To be honest, at first, I did not understand any of this. Until I tried to use the code from github. All these things worked so perfectly. I used this in my project to send read voltage from a 12V battery using my ESP8266 D1 Mini and let it calculate the state of charge (SoC) and the depth of discharge (DoD). Yes I know, the max voltage read cap of the microcontroller is only 3.3V, I used a voltage divider :)
And now, my problem is how to display these on a web page. HAHAHA
I will do some more research.

Thank you again for this very helpful tutorial sir! God bless you more and more!

eccomusic
Автор

Thank you so much.. i just love your video.. it's just awesome.. keep doing videos like this 😍😍

smrutipragnyadash
Автор

THANKS VERY LOT FOR URE GOOD EXPLAIN AND I HOPE THAT YOU KEEP UP

riahiyassine
Автор

I like to connect weight scale indicator and get out in url. Please advice

suvashishdas
Автор

What if I am using micro-python. Is there any way to push the values to the sql database.

razi_kr
Автор

i have esp8266 module how to connect it with arduino uno to try ur project?
thank for ur amazing videos

muathlahlabat
Автор

Thanks for helpful viddeo. Can you pls tell me why my PHP is not running, though connection with local pc is successful ? My PHP file is supposed to create a .txt file. Ive put my PHP in htdocs. Should I make changes in my GET command. I am stuck.

amarendraranade
Автор

thank you so ¿How could you send the logs to an external server?

lalosanchez
Автор

thank you for your tutorial sir, it's helpful my work
i have a question can i use the same code for online webserver?
thanks..

AdityaPratama-khxt
Автор

sir in your arduino code you set a variable humidityData, how come in your php code you only use humidity? How can it connect sir?

carlitoespinosa
Автор

Sir what is that we need to put in the local ip here ? i tried puttng the ipv4 address from ipconfig but its not working

vandhanabharghavi
Автор

why my code not work? same code like yours. local ip show different in serial monitor and in esp code?

_MohamadRakaWirakesuma-uuux
Автор

Can we use another backend instead of php ?

harshivthakkar
Автор

what is MFRC522 and purpose of including?

arslanishtiaq
Автор

Hi Sr How to make this on external website? Can you please tell us how could us updating MySQL in cPanel and refresh website automacticaly?

andremurilobr
Автор

sir can you please list the components required all the components!

raghavgoel
Автор

Amazing!, ok.
Please, I would like to, as soon as, I receive nodemcu data, show on the server, screens in html, js, or in php, as messages, images, or pages, referring to the given data. Thank you.

rodamps
Автор

hi sir, my esp8266 is connected to local server, and I can write manually in the browser to insert the database. But, my esp8266 is not updating the database. Even I allow all the access through firewall, still not updating. anyone has the solution?

suster
Автор

Bro my nodemcu is not sending the http request and giving response code -1 please help me

kcreations
Автор

Hello sir! i get: Errant query: insert into DHT11 set humidity='70', temperature='35' when im trying the php. It works with my local server but not with my live server plz help me

Jzprs