ESP8266/32 & PHP Server: Control LEDs with Database
HTML-код
- Опубликовано: 5 сен 2024
- Welcome to our IoT project tutorial! In this video, we'll show you how to control LEDs using an ESP8266 or ESP32 board and a PHP MySQL server. This project is divided into two main modules:
Module 1: ESP8266/ESP32
Retrieve database data as a JSON object.
Update LEDs according to the database values.
We'll walk you through the hardware setup, including the circuit diagram, and provide a detailed explanation of the code used to connect the ESP8266/ESP32 to a WiFi network, fetch data from a server, and control the LEDs based on that data.
----------
Module 2: PHP MySQL Server
Set up a local server using XAMPP.
Create a database and a table to store LED statuses.
Write PHP scripts to retrieve and update data in the database.
Build a web interface with toggle switches to control the LED statuses.
----------
What's Inside:
Detailed hardware components list.
Step-by-step circuit diagram setup.
Comprehensive code walkthrough for ESP8266/ESP32.
Instructions for installing and configuring XAMPP.
PHP code explanations and integration with MySQL.
Creating a web interface to update database values.
-------
Demo and Testing:
We'll demonstrate how to integrate both modules and test the complete system. Watch the live demo to see the LEDs being controlled remotely via the web interface.
📢 Stay connected:
Instagram: / tfkio
Facebook: / tfkiot
Thank you for watching, and we'll see you in the next video!
🔗 *important link:*
Code:
github.com/tfk...
Previous Videos:
Background Music: • No Copyright Music C...
Very good job sir 👍👏💯😁😄
Good work
Mashaallah sir
❤❤❤❤❤❤❤
Good video bro..... Arduino code use pls.
Please make a video
Wi-Fi control
IR Remote
Fan Dimmer
Manual Switch
EEPROM
4 Lamp+1 Fan With Speed
Love For Bangladesh
Please make a video
ESP8266
Iot project
Fan speech control+4 AC LED
Control, IR remote +push button+Wi-Fi onlinePlease make a video
ESP8266
Iot project
Fan speech control+4 AC LED
Control, IR remote +push button+Wi-Fi online ❤❤❤Bangladesh