Code Monkey home page Code Monkey logo

parky-parking-space-monitoring's Introduction

Parky

Parking Space Monitoring using Raspberry Pi

Parky was the final year project in my Bachelor's degree which was completed in the year 2016. It is a simple working model of parking monitoring using Raspberry Pi 2 Model B and IR sensors.

Screenshots

Parky App

Tech

Raspberry Pi
  • The raspberry Pi 2 was installed with the raspbian OS and mysql server was setup in it.
  • The database was designed to store the user details and parking slot status.
  • Three IR Sensors were connected to the GPIO ports of the raspberry pi.
  • A python script was written to read the IR sensor status and update the database accordingly.
Python
  • The python script runs on the raspberry pi
  • The script imports the raspberry pi GPIO library and setups the GPIO ports 17, 18 and 27
  • The script also connects to the mysql server which is locally hosted.
  • When a HIGH (means an object is infront of the IR sensor) is detected at the GPIO port, the corresponding sensor's database value is updated to 1.
  • When a LOW (no object is infront of the IR sensor) is detected at the GPIO port, the corresponding sensor's database value is updated to 0.
Android
  • Android app connects to the mysql database in the raspberry pi to read the sensor status.
  • The total and available parking space at the chosen location is displayed to the user.
  • The app has a login and signup page for authentication.

Working Environment

As this was an academic project it was developed to work in the local home network by setting the IP of the raspberry pi to static so that the mysql server host address doesn't change on router reboot. The android phone loaded with the Parky app and raspberry pi is also connected to same wifi network so that the app can connect to mysql database.

parky-parking-space-monitoring's People

Contributors

josepaul99 avatar

Stargazers

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