Sam and Anna’s Phone Case Alarm

For our program we wanted to create a portable alarm system that would trigger an alert (output) based on an input from the user. While we currently only have the prototype, the final product would have the touch sensors built into a phone case along with a microcontroller that could communicate to an Arduino or another microcontroller via Bluetooth.

In order to trigger the alarm, the user presses the sensor built into their phone case, and this causes the LED to light up, signaling to an emergency contact (family, significant other, etc.) that the user is in distress. In order to prevent accidental triggering of the alarm, we set multiple pressure thresholds for the pressure sensor so that light/accidental touches wouldn’t trigger the alarm light; only a very firm touch will cause it to go off.  These different pressure thresholds simulate different buttons within the program.

Moving forward, we want to include a feature to leave the alarm light on until the user decides to turn it off again (presumably when he/or she is no longer in danger).  In the current model we simply set a long delay to leave the alarm light on for a prolonged period of time.

Sam & Anna Phone Alarm

The structure of our code was taken from this website. We modified it slightly to fit our circuit.

Comments are closed.