Coder Social home page Coder Social logo

musachowdhury / road-management-system-iot-based Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.28 MB

Some ideas for incorporating IoT into transportation systems (Road /Highway).

License: MIT License

C++ 23.36% HTML 12.00% Java 64.64%
arduino esp8266 iot socket-programming

road-management-system-iot-based's Introduction

About

The project is about a Iot based smart highway management system. The system can automate light (road lamps), can warn drivers about vehicles ahead of them and can allow a user to communicate in an emergency. Watch video to understand more.


Prototype


Specification

The project can be divided into two core parts.

  • Server

      Server connects multiple controller through local network. Then it provides an interface to for specific tasks of the system. It uses broadcast protocols for communication with its slave (controllers). For better understanding see block diagram.

  • Controller

      Controllers are device which collects data and send to server and follow server's instruction. It uses ESP as as wifi module and connects to server with unique id. It uses UDP protocol to communicate with server. For better understanding see block diagram and circuit diagram.


Block Diagram

  • Server

  • Controller


Circuit Diagram

  • ESP 8266

  • Controller


Steps To Build

  1. Configure ESP: First configure ESP module so that it can be used as a interface for Arduino UNO. Follow circuit diagram to build up the circuit. Then use the script "ESP.ino". Follow this link to add required header and also for compilation

  2. Configure Arduino: Prepare circuit as described in the diagram. Use the script "Controller.ino". Before uploading the script to Arduino add valid network configuration to the script parameter. For better understanding read the comments beside variables like "WiFi Name", "Server IP". Here server ip is the local ip address of computer in which the server is running.

  3. Server: Download Intellij IDE (or any which you prefer). Provide broadcast address of the network. It should be the last address of any network.

  4. Start The System: Start the server first. After successfully starting the server start those controllers.


Note

To run the server, add a new Run configuration and select the "Main" class as the entry point, which is inside "src/Main.java" (Assuming the IDE is IntelliJ).
JDK Version : openjdk 20.0.1

Contribution

  • Thank you for your ideas and assistance in designing the prototype, Towasin Alam.

road-management-system-iot-based's People

Stargazers

Tanjid Ahmed avatar

Watchers

Muinuddin Khan Chowdhury 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.