Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
BinHong Lee 263bde7cc6 Set theme jekyll-theme-hacker 7 anni fa
.gitignore Initial commit 7 anni fa
README.md Added README.md 7 anni fa
_config.yml Set theme jekyll-theme-hacker 7 anni fa
compileandexecute.sh Initial commit 7 anni fa
main.c Added some print messages 7 anni fa
setup.sh Added another line to the created sendMail.sh by setup.sh 7 anni fa

README.md

Bike Safety with Pi

A raspberry pi to be mounted on a bike to alert surrounding and the emergency contact of the rider if they fall.

Hardware requirements

Required What I used
Raspberry Pi Pi 3 Model B
MPU3050 gyroscope OSEPP GYROS-01
Button interrupt OSEPP PUSH-01
Buzzer

Code dependencies

  1. g++
  2. ssmtp
  3. wiringPi

Setup

  1. If you don’t have ssmtp installed, run this
$ sudo apt-get update && apt-get install ssmtp
  1. Run the setup script
$ ./setup.sh
  1. Input the email you want to sent to
  2. Done!

Usage

$ ./compileandexecute.sh