10 likes | 183 Views
P13036 Notification Alert System. NAS.py. +alarmSys: AlarmSystem.py +lcd : DisplayHandler.py +btDriver: BluetoothDriver.py. +main() -_restart_() : int. DisplayHandler.py. AlarmSystem.py. BluetoothDriver.py. -isAlarm : bool = False -isNotification : bool = False
E N D
P13036 Notification Alert System NAS.py +alarmSys: AlarmSystem.py +lcd : DisplayHandler.py +btDriver: BluetoothDriver.py +main() -_restart_() : int DisplayHandler.py AlarmSystem.py BluetoothDriver.py -isAlarm : bool = False -isNotification : bool = False -isControl : bool = False +rows : int +col : int - secondLine : String -alarms[]: String +buttonGPIO : int -display : DisplayHandler.py -alarmSys: AlarmSystem.py -display : DisplayHandler.py -Serial : Object +addAlarm(in alarmTime : string) -remoteAlarm(in alarmTime : string) +ClearAlarms() -run() +__init__() +alarmRecv(in message : string, in speed : int = .5) +notificationRecv(in message : string, in speed : int = .5) +deactivateAlarm() +controlRecv(in time : string) +setPulseSpeed(in pulseSpeed : int) +setSecondLine(in message : string) pySerial.py +readLine() : String +Serial() : Object 2012-2/2012-3 Objective: In the deaf and hard of hearing community a need exists for a small, inexpensive notification and alert device. This device notifies the user of alerts via high intensity flashing lights and through the use of a shaker. The device is controlled by the user wirelessly via Bluetooth through a handheld device such as a cell phone. Functional Overview: • Customer Needs: • Small and lightweight for travel • Flashing high intensity LEDs • Bed shaker adapter • Rechargeable batteries • LCD display to view time and notifications • Low battery indication LED • Bluetooth to communicate to Android® devices • Receives notifications of text messages and emails. • Mobile Application to set/cancel alarms and control High Intensity LED and shaker. • User friendly • Physical alarm turn off on physical device • On/Off switch for travel • Durable housing design BlueGiga ® WT12 UART Android ® Device GPIO Bed Shaker GPIO LCD Display Raspberry Pi ® GPIO Alert LED’s 12V DC Power Supply Electrical Overview: PCB Layout: 12 V Li-Ion Battery Charge Controller 6 - 12 V 8.2- 6 V 5 V On/Off Indication Circuit Warning LED 6 - 12 V 5V Regulator TX/RX Screen Out 5 V 12 V LCD Screen 5 V Raspberry Pi 3.3 V 5 V Bluetooth WT12 Mobile Application Interface: 3.3 V Alarm Off 3.3 V 3.3 V Shaker On/Off On/Off Shaker Switch High Intensity LEDs Switch High Intensity LEDs Software Overview: Thermal Analysis: LCDDriver.py +begin(in cols : int, in rows : int) +home() +clear() +setCursor(in col : int, in row : int) +autoscroll() -write4bits(in bits : byte, in char_mode : bool = False) +pulseEnable() +message(in text : string) Case Design: • Results: • Fully functional alarm clock with bed shaker and high intensity LEDs. • Able to communicate with Android ® mobile devices via Bluetooth to receive emails and text messages which can be displayed on the device’s LCD screen. • User friendly mobile application that controls enabling/disabling alarms, high intensity LED flashing patterns, and bed shaker shaking intensities. Stephen Moskal (CE) Patrick Ganson (CE) William Johnson (ME) Thomas Adcock (ME) Umer Usman (EE) Elizabeth Phillips (EE) Special Thanks to: Dr. Gary Behm (Customer), George Slack (Guide), Dr. Elizabeth DeBartolo (Sponsor)