Skip to content

Project: building electric kickboard safety system using Raspberry Pi || Practice: GPIO, socket programming

License

Notifications You must be signed in to change notification settings

jaejungscene/Project-using-RaspberryPi-01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Raspberry Pi 3 model B+" is used.


Practice

  • GPIO(General-Purpose Input/Output) pins: GPIO pins are a physical interface between the Raspberry Pi and the outside world. By turning the current on and off on these pins, various sensors can be controlled. All the sensors I've controlled in this repository are LED, alcohol sensor, pressure sensor, weight sensor, speaker, button.
  • Soket Programming



Project - Public Electric Kickboard Safety System

Purpose of Project

With the introduction of public electric kick scooters, there has been a rise in traffic accidents involving personal mobility devices, including electric kick scooters. Various factors, such as speeding and alcohol consumption, contribute to these accidents caused by public electric kick scooters. But the companies providing public electric kick scooters had only implemented a feature to detect and prevent speeding. To address this issue, the aim of the project is to develop additional features that detect not only speeding but also instances of two-person riding and alcohol consumption, thereby suggesting restrictions on such behaviors. Furthermore, this system is implemented to automatically send accident signals to emergency services (112 or 119) in the event of a major accident.

Overview of Implemented System

- Overall System Abstraction -
Screenshot 2023-05-14 at 3 36 57 PM

There are three main functions to be implemented:

  1. Conduct an alcohol test. If a rider fails the test, it makes the public electric kickboard be deactivated, while if they pass, the kickboard can be activated.
  2. Detect if more than one person is riding. And if it's true, the systeme sound a warning tone through the speaker.
  3. Detect whether the rider has been involved in a severe accident that exceeds the body's capacity, utilizing weight sensors and pressure sensors. If such an accident is detected, the system automatically reports it to the mock server (112 or 119 in the real world).

Based on above the three functions and the overall system abstraction, the complete logic is succinctly illustrated in the figure below.

Screenshot 2023-05-14 at 4 39 24 PM

Demo

Demo video link

About

Project: building electric kickboard safety system using Raspberry Pi || Practice: GPIO, socket programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages