"Raspberry Pi 3 model B+" is used.
- 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
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.
- Overall System Abstraction -
There are three main functions to be implemented:
- 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.
- Detect if more than one person is riding. And if it's true, the systeme sound a warning tone through the speaker.
- 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.
Demo video link |