Skip to content

πŸš— Parking Lot Sensor + Notification System πŸ””

Notifications You must be signed in to change notification settings

swetha-h/parking-lot-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Parking Lot Sensor

This repository contains

  • sensor.ino - Code that reads distance from an Ultrasonic sensor to determine if a parking spot is occupied or not.

  • main.py - FastAPI server that

    • recieves requests from the board regarding the current parking lot status.
    • serves a frontend to check status of parking lot
    • notifies users regarding free spot through email

Steps to run

  • Connect the board and laptop to same network
  • Run ipconfig on PC to get PC's IP.
  • Edit serverName in sensor.ino to reflect the current PC's IP
  • Create virtual env and install requirements from requirements.txt
python -m venv env
.\env\Scripts\activate
pip install -r requirements.txt
  • Run python server using uvicorn main:app --host 0.0.0.0
  • Compile and Upload sensor code from Arduino IDE

About

πŸš— Parking Lot Sensor + Notification System πŸ””

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages