GithubHelp home page GithubHelp logo

bike-parking-system's Introduction

Bike Parking System for S-Trains

Overview

The Bike Parking System for S-Trains is a networked embedded system designed to enhance urban mobility by providing real-time information about bike parking availability on S-Trains. This project aims to streamline the commuter experience in Copenhagen by integrating advanced sensor technology with cloud computing services.

System Architecture

This project employs a multi-tier architecture involving sensing units, data aggregators, a master controller, and a cloud-based server. The system's workflow encompasses data collection, aggregation, processing, and user interface display.

  • Sensing Units: Utilizes HC-SR05 Ultrasonic Sensors for detecting bike presence.
  • Data Aggregators: Arduino Uno microcontrollers serve as intermediaries to collect and process sensor data.
  • Master Controller: An Arduino Uno R4 WIFI microcontroller acts as the central processing unit.
  • Cloud Server: Hosted on AWS Elastic Beanstalk, it manages data storage and user interface display.

Repository Structure

This repository is organized into several directories, each containing specific components of the system:

  • /Arduino: Contains the Arduino sketches for the different modules.
    • Data Aggregator: Code for the Arduino Unos attached to the HC-SR05 Ultrasonic Sensors. This sketch handles the distance measurement and transmits the status to the master controller.
    • Master Controller: Arduino Uno R4 WIFI code. It aggregates sensor data and sends it to the cloud server.
  • /Server: Includes all the code for the cloud server hosted on AWS Elastic Beanstalk
    • server.js: Node.js server script managing incoming data and updating the UI in real-time.
    • index.html: Main HTML file for the user interface.
    • /css: Styling files for the UI.
    • /js: JavaScript files for frontend logic.

Hardware Setup

The project utilizes the following hardware components:

  • 2 x HC-SR05 Ultrasonic Sensors: Attached to separate Arduino Uno boards.
  • 2 x Arduino Uno: Each programmed with Data Aggregator for sensor data collection.
  • 1 x Arduino Uno R4 WIFI: Flashed with Master Controller for data aggregation and cloud communication.

Getting Started

To set up the system:

  1. Hardware Assembly: Connect the HC-SR05 sensors to the respective Arduino Uno units as per the circuit diagrams provided in /Diagrams.
  2. Flashing the Code:
    • Flash Data Aggregator code onto each Arduino Uno.
    • Flash Master Controller code onto the Arduino Uno R4 WIFI.
  3. Server and UI Setup:
    • Deploy server.js to AWS Elastic Beanstalk, and host the rest of Server on a suitable web server.

Usage

Once the system is set up and running:

  • The sensing units detect bike presence and relay this information to the data aggregators.
  • The master controller processes this data and sends it to the cloud server.
  • Commuters can access the web interface to view real-time bike parking availability.

Contributing

Contributions to the Bike Parking System project are welcome. Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

Contact

Phillip Ravn Boe Jensen - [email protected]

Project Link: https://github.com/ravvnen/Bike-Parking-System

bike-parking-system's People

Contributors

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