Coder Social home page Coder Social logo

smart-parking-webserver's Introduction

ESP8266 Smart Parking Websocket Server

This project implements a Smart Parking System using an ESP8266 microcontroller, infrared sensors, and servos. It allows monitoring parking spaces, controlling entry and exit gates, and communicating status updates via WebSocket.

Hardware Requirements

  • ESP8266 microcontroller
  • Infrared sensors
  • Servos
  • Power supply
  • Gates (for entry and exit)

Software Dependencies

  • Servo.h: Arduino Servo library for controlling servos.
  • ESP8266WiFi.h: ESP8266WiFi library for connecting to WiFi networks.
  • WebSocketsServer.h: WebSocketsServer library for WebSocket communication.

Setup

  1. Connect the hardware components as per the provided schematic.
  2. Upload the provided code to the ESP8266 microcontroller.
  3. Ensure the infrared sensors are appropriately positioned to detect vehicle presence.
  4. Adjust the gate servo positions if necessary for proper opening and closing.

Configuration

  • Set the WiFi network credentials in the code:
    const char *ssid = "Smart Parking";
    const char *pass = "m123456789";
  • Ensure correct pin assignments for IR sensors, servos, and gate control pins.

Operation

  • The system monitors parking spaces and gate entrances/exits continuously.
  • WebSocket communication allows real-time updates on parking space occupancy and gate status.
  • The system automatically opens gates upon vehicle detection and closes them after a delay.

Flutter Application

  • A companion Flutter application is available for monitoring and controlling the Smart Parking System.
  • Repository link: Smart Parking App

Demo Video

  • See the Smart Parking System in action: Demo Video

Contributing

Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

smart-parking-webserver's People

Contributors

mazen-salah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.