Skip to content

Beginner Web - A basic IoT training project using MQTT protocol with a PHP-based website. This project, organized by Nusabot, enables real-time sensor monitoring, device control, and data logging via a web interface.

License

Notifications You must be signed in to change notification settings

diazadr/beginner-web-iot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beginner Web IoT

Project Status License Certificate

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.

Illustrations

Illustration

Explanation of the MQTT protocol, consisting of an MQTT Client publishing, MQTT Broker, and an MQTT Client subscribing.

Technologies Used

  • Shiftr Io
  • MQTT Protocol
  • Wokwi
  • PHP

Features

  • 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.

Demo

Wokwi Simulation

Wokwi Simulation

Website Interface

Website Interface Website Interface Website Interface Website Interface Website Interface

Cloud Shiftr Io

Shiftr Io Dashboard

Setup

  1. Clone the Repository:
    git clone https://github.com/your-username/beginner-web.git
    cd beginner-web
  2. Set Up a Local Server:
    • Use XAMPP or Laragon to run a local server.
    • Move the project files to the htdocs or www directory.
  3. Import Database:
    • Open phpMyAdmin.
    • Create a new database.
    • Import the provided SQL file.
  4. Configure config.php:
    • Update database credentials in config.php.
  5. Run the Project:
    • Open a web browser and go to http://localhost/beginner-web/.

Usage

  1. Connect an ESP32 device to the MQTT broker.
  2. Use the web dashboard to monitor sensor data and control devices.
  3. Send MQTT messages to control servo motors and other peripherals.

Project Status

This project is completed and will not be further developed.

Contributions

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Beginner Web - A basic IoT training project using MQTT protocol with a PHP-based website. This project, organized by Nusabot, enables real-time sensor monitoring, device control, and data logging via a web interface.

Topics

Resources

License

Stars

Watchers

Forks