Beginner project IoT using MQTT protocol with a PHP-based website. This project is a basic Internet of Things (IoT) training project organized by Nusabot.

Explanation of the MQTT protocol, consisting of an MQTT Client publishing, MQTT Broker, and an MQTT Client subscribing.
- Shiftr Io
- MQTT Protocol
- Wokwi
- PHP
- Real-time Data Storage: Stores real-time data from microcontrollers into an SQL database.
- Device Identification: Captures device serial numbers such as ESP32.
- Sensor Data Handling: Logs and monitors sensor readings.
- Servo Control & LCD Display: Controls a servo motor and displays temperature sensor readings on an LCD.
- Web Monitoring & Control: Allows users to monitor and control components via a web interface.







- Clone the Repository:
git clone https://github.com/your-username/beginner-web.git cd beginner-web
- Set Up a Local Server:
- Use XAMPP or Laragon to run a local server.
- Move the project files to the
htdocs
orwww
directory.
- Import Database:
- Open phpMyAdmin.
- Create a new database.
- Import the provided SQL file.
- Configure
config.php
:- Update database credentials in
config.php
.
- Update database credentials in
- Run the Project:
- Open a web browser and go to
http://localhost/beginner-web/
.
- Open a web browser and go to
- Connect an ESP32 device to the MQTT broker.
- Use the web dashboard to monitor sensor data and control devices.
- Send MQTT messages to control servo motors and other peripherals.
This project is completed and will not be further developed.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for more details.