Control led with ESP8266 | Webhost | MySQL

preview_player
Показать описание
--- SOME RECOMMEND ---
- This just a tiny project to control 1 led, if you want to control more your have to change a lot of code in Webhost , ESP , Android ,...
- Beside that, i think this way is quite bad. You need to research about control led via MQTT protocol, it's better than using database to control a device ^^.
- Normally , when use MQTT protocol to control device, when send some data from the host, ESP can receive data immediatly without use loop function. But HTTP you have to put "if condition" to check receive data inside loop function. This quite bad if your source code is big. If you know how to get the data by HTTP GET/POST without loop. Comment below this video. Thanks

I using ESP8266 to control Led via Wifi and below is project information :
Рекомендации по теме
Комментарии
Автор

Mình muốn thêm nhiều hơn 1 led thì hiệu chỉnh code trong arduino IDE như thế nào bạn. Coi như bỏ qua phần app android.

volongvuong
Автор

http.getString() return html page insted of 1 or 0 please help me to sort out the problem !

thinktubers
Автор

bạn cho mình hỏi là nếu sài trên 000webhost thì có cần đổi hay thêm gì trong phần PHP không. tại mình làm giống bạn mà nó ko in ra serial được còn phần httpCode in ko ra 200 mà nó ra -1.

wallandhomedesign
Автор

I hope you will share more such information in the future. Thanks for sharing your good knowledge.

rawanlankesh
Автор

will this project works on a live server ? instead of xampp

muhammadshehujaafar
Автор

sir i want to add 2 LED, what sholud i add in the QLDA.ino?

othmanmirizi
Автор

Hello is there a way i can send a message back to mysql saying the led is turned on and have the text display in the webpage?

DiyintheGhetto
Автор

hello, when i import sql file that time show me this error "#1273 - Unknown collation: 'utf8_vietnamese_ci' " please help me

gunjanvyas
Автор

I want to put the URL of my website is it going work? please help me

rajeshanupoju
Автор

hello sir please share link or node mcu program

SimplifyTrader
Автор

your project is awesome, thanks but how can i connect and make this app, please make a video on this app. thanks

engineerpawanmeena
visit shbcf.ru