Project

# Title Team Members TA Documents Sponsor
24 Bike Crash Detection
Alexander Tam
Brian Lin
Dhruv Mathur
Kristina Miller design_document4.pdf
final_paper1.pdf
presentation1.pptx
proposal1.pdf
# Problem

50,000 accidents involving bicycles occur every year. Many times the rider is unresponsive and cannot call for help when they need it. It would be beneficial for many bikers to have a device that can detect when they are involved in a crash, and notify an emergency contact via text message so that the rider can get assistance.

# Solution Overview

The system will consist of a PCB that mounts to the bike seat stem. We choose this location as the stem is a consistent size between bike models, and sits close to the center of mass of the rider. We are avoiding a helmet based system as many riders choose not to wear helmets (only 16% of bike related deaths in 2017 occurred with helmets [source](https://www.iihs.org/topics/fatality-statistics/detail/bicyclists)), so this will allow anyone who rides to be safer. The system will detect crashes and notify specified emergency contacts with the location, time, and force involved of any crash.

# Solution Components

The PCB will consist of a microcontroller, a accelerometer/gyroscope sensor, a GSM module, and a GPS module.

## Microcontroller

We plan to use the ATmega328 chip, the same chip used on Arduino Uno boards. This will allow for flexibility in communicating with the sensors and modules on the PCB.

## Accelerometer/Gyroscope sensor

We plan to use the ICM-20689 6-axis motion tracking sensor, that consists of a 3-axis accelerometer and a 3-axis gyroscope. We will use this sensor to detect crashes, specifically by looking for a combination of a spike in acceleration in one or more directions, accompanied by a rapid rotation in the bike's orientation. This will allow us to filter out false positives, such as a rider sharply braking while maintaining control of the bike and their body. Detecting events where the bike falls over after a sudden stop will almost always correlate with the rider falling of the bike and potentially sustaining injuries.

## GSM module

We plan to use the SIM800L Module board that will be used to send the text message to emergency contacts after a crash. Having the module on the PCB removes the dependence for a connection to the rider's phone to send a message. The module is also programmable so the rider can set up a list of contacts that will receive the emergency notification.

## GPS module

We plan to use the NEO-6M GPS Module to capture the rider's location at the time of a crash. Again, having this module on the PCB means we don't have to rely on pulling GPS information from the rider' phone. Sending the location to emergency contacts will help friends/family or emergency services locate the rider if they are injured and cannot move.

For both the GSM and GPS modules, we can leave them unpowered until a crash is detected. This will save on power consumption and decrease the frequency of the rider having to recharge or change the batteries.

# Criterion for Success

A successful demo of our project will involve crashing an unmanned bicycle and receiving a text with the relevant details immediately after. During development of our system, if we discover that working with the GSM module is impractical, we will switch to using a Bluetooth module to communicate with the rider's phone to send the text message.

Cypress Robot Kit

Todd Nguyen, Byung Joo Park, Alvin Wu

Cypress Robot Kit

Featured Project

Cypress is looking to develop a robotic kit with the purpose of interesting the maker community in the PSOC and its potential. We will be developing a shield that will attach to a PSoC board that will interface to our motors and sensors. To make the shield, we will design our own PCB that will mount on the PSoC directly. The end product will be a remote controlled rover-like robot (through bluetooth) with sensors to achieve line following and obstacle avoidance.

The modules that we will implement:

- Motor Control: H-bridge and PWM control

- Bluetooth Control: Serial communication with PSoC BLE Module, and phone application

- Line Following System: IR sensors

- Obstacle Avoidance System: Ultrasonic sensor

Cypress wishes to use as many off-the-shelf products as possible in order to achieve a “kit-able” design for hobbyists. Building the robot will be a plug-and-play experience so that users can focus on exploring the capabilities of the PSoC.

Our robot will offer three modes which can be toggled through the app: a line following mode, an obstacle-avoiding mode, and a manual-control mode. In the manual-control mode, one will be able to control the motors with the app. In autonomous modes, the robot will be controlled based off of the input from the sensors.