A raspberry pi to be mounted on a bike to alert surrounding and the emergency contact of the rider if they fall.
Required | What I used |
---|---|
Raspberry Pi | Pi 3 Model B |
MPU3050 gyroscope | OSEPP GYROS-01 |
Button interrupt | OSEPP PUSH-01 |
Buzzer |
- g++
- ssmtp
- wiringPi
- If you don't have ssmtp installed, run this
$ sudo apt-get update && apt-get install ssmtp
- Run the setup script
$ ./setup.sh
- Input the email you want to sent to
- Done!
$ ./compileandexecute.sh