equipack - university of massachusetts amherstverified by taking apart a luggage scale and inserting...
TRANSCRIPT
![Page 1: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/1.jpg)
enter Dept name in Slide Master enter Dept name in Title Master
Brenton Chasse
Equipack
Alex Nichols
Zach Boynton
Colin Morrisseau
CSE
CSE
EE
EE
Advisor: Prof. Salthouse
1
![Page 2: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/2.jpg)
enter Dept name in Slide Master
Health Risks from Backpack Misuse
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
▪ Misuse of backpacks ▪ Improper pack positioning
▪ Overloading pack
▪ +7,000 E.R visits annually
▪ ⅓ of 6th graders carry +30% of body weight
▪ Health Risks include: ▪ Vertebral subluxation including herniation
▪ Shoulder/neck stress
2
![Page 3: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/3.jpg)
enter Dept name in Slide Master
Brief Overview of Our solution
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
EquiPack provides a sensor network integrated into a
backpack. Embedded hardware relays the sensor data to
a mobile app, which provides a UI for displaying feedback
on how to adjust the backpack to minimize health risks.
Source: dreamtime.com stockImages/VectorDrawings
3
![Page 4: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/4.jpg)
enter Dept name in Slide Master
Previous Block Diagram
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
Mobile
Device
Blue
Tooth
Micro
Controller
Weight
Sensors
Advisor: Prof. Salthouse
UI
Bluetooth
Communication
Weight
Analytics
Power
Control
Bluetooth
Communication
Weight
Analytics
Brenton Chasse
Colin Morrisseau
Zach Boynton
Alex Nichols
4
![Page 5: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/5.jpg)
enter Dept name in Slide Master
Redesigned Block Diagram
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Advisor: Prof. Salthouse
5
![Page 6: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/6.jpg)
enter Dept name in Slide Master
Proposed MDR Deliverables
▪ Weight sensor network converting physical
force to a measurable signal
▪ Functional software Weight Distribution Model
▪ App UI interface w/ BLE sending and retrieving
“data”
▪ First pass PCB design
▪ μController interfaced with: • Bluetooth transceiver module
• Power systems
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
6
![Page 7: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/7.jpg)
enter Dept name in Slide Master
Proposed MDR Deliverables
▪ Weight sensor network converting physical
force to a measurable signal
▪ Functional software Weight Distribution Model
▪ App UI interface w/ BLE sending and retrieving
“data”
▪ First pass PCB design
▪ μController interfaced with: • Bluetooth transceiver module
• Power systems
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
7
![Page 8: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/8.jpg)
enter Dept name in Slide Master
Proposed MDR Deliverables
▪ Weight sensor network converting physical
force to a measurable signal
▪ Functional software Weight Distribution Model
▪ App UI interface w/ BLE sending and retrieving
“data”
▪ First pass PCB design
▪ μController interfaced with: • Bluetooth transceiver module
• Power systems
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
8
![Page 9: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/9.jpg)
enter Dept name in Slide Master
Proposed MDR Deliverables
▪ Weight sensor network converting physical
force to a measurable signal
▪ Functional software Weight Distribution Model
▪ App UI interface w/ BLE sending and retrieving
“data”
▪ First pass PCB design
▪ μController interfaced with: • Bluetooth transceiver module
• Power systems
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
9
![Page 10: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/10.jpg)
enter Dept name in Slide Master
Proposed MDR Deliverables
▪ Weight sensor network converting physical
force to a measurable signal
▪ Functional software Weight Distribution Model
▪ App UI interface w/ BLE sending and retrieving
“data”
▪ First pass PCB design
▪ μController interfaced with: • Bluetooth transceiver module
• Power systems
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
10
![Page 11: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/11.jpg)
enter Dept name in Slide Master
Proposed MDR Deliverables
▪ Weight sensor network converting physical
force to a measurable signal
▪ Functional software Weight Distribution Model
▪ App UI interface w/ BLE sending and retrieving
“data”
▪ First pass PCB design
▪ μController interfaced with: • Bluetooth transceiver module
• Power systems
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
11
![Page 12: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/12.jpg)
enter Dept name in Slide Master
Proposed MDR Deliverables
▪ Weight sensor network converting physical
force to a measurable signal
▪ Functional software Weight Distribution Model
▪ App UI interface w/ BLE sending and retrieving
“data”
▪ First pass PCB design
▪ μController interfaced with: • Bluetooth transceiver module
• Power systems
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
12
![Page 13: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/13.jpg)
enter Dept name in Slide Master
Proposed CDR Deliverables
▪ Demonstration of Complete System
Functionality • show integration between all subsystems
• Show implementation of a battery powered system
• Mobile application has UI elements to display feedback
• BLE
• Text Alerts
• Show backpack can provide all core functions
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
13
![Page 14: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/14.jpg)
enter Dept name in Slide Master
Weight Sensors
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
▪ Prior Requirements: ▪ 0-100lb weight range
▪ 1lb granularity
▪ environmentally insensitive
▪ Updated Requirements: ▪ Same as previously stated with the additions of: Robust
wiring, insensitivity to wiring contacts
Zach Boynton
14
![Page 15: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/15.jpg)
enter Dept name in Slide Master
Weight Sensors: Completed Tasks
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
▪ I did tests to examine range, sensitivity,
and repeatability of various sensor
configurations
▪ Strain gauge and capacitive sensors had little
change in physical properties
▪ Piezo sensors would not
work easily for static
measurements
Zach Boynton
Source:
http://www.ndsu.edu/pubweb/~braaten/research.html
15
![Page 16: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/16.jpg)
enter Dept name in Slide Master
Weight Sensors
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Zach Boynton
16
▪ Conductive foam was picked for final sensor ▪ Cheap
▪ Easily Manufactured
▪ Current work has been to get
clean readings from foam ▪ Foam is sensitive to the
contacts made
▪ Foam can be modeled as
an RC network
![Page 17: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/17.jpg)
enter Dept name in Slide Master
Weight Sensors
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
Example:
Zach Boynton
Values are noticeably
different (~10mV/lb) for
1 lb increments.
Measurements also
return back to their
initial conditions.
0lbs 1lb 2lbs 0lbs
This will be demonstrated
live at the end of the
presentation
17
![Page 18: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/18.jpg)
enter Dept name in Slide Master
Weight Sensors: Schematic Diagram
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Zach Boynton
R1=450K
R2=300K
R3=680k
C1=33nF
Opamp LM324N
Vcc=5V
18
P_Diss = 687.50 mW
per
sensor
![Page 19: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/19.jpg)
enter Dept name in Slide Master
Weight Sensors: PCB Layout
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Zach Boynton
0lbs 1lb 2lbs 0lbs
19
![Page 20: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/20.jpg)
enter Dept name in Slide Master
Weight Sensors: Contact
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Zach Boynton
Contacts made with inserted wire: Contacts made with screws and washers:
20
![Page 21: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/21.jpg)
enter Dept name in Slide Master
Weight Sensors: Contact
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Zach Boynton
Contacts made with inserted wire: Contacts made with screws and washers:
The measurement to the left is nonsensical as resistance, and
consequently voltage should Increase!
21
![Page 22: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/22.jpg)
enter Dept name in Slide Master
Weight Sensors: Foam Modeling
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
The foam acts as an RC network and so requires time to
settle into a steady state value.
Zach Boynton
Fit line is of the form A*(exp(-B*t))+C in this case A is the
initial value, b is 1/RC and C is the steady state value
22
![Page 23: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/23.jpg)
enter Dept name in Slide Master
Weight Sensors: Values for RC
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Zach Boynton
The foam behaves as an RC network. The values of R and C change with
physical dimensions
Previously seen
4x1.5cm
2x1cm
Dimensions 1/RC
4x1.5cm 0.4106
2x1cm 0.1089
23
![Page 24: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/24.jpg)
enter Dept name in Slide Master
Weight Analytics
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Colin Morrisseau
▪ Subsystem Goals: ▪ Determine Center of Mass
▪ Determine Total Weight
▪ Verify sensor locations
▪ Determine algorithm for strap
adjustments
▪ Challenges ▪ Verifying algorithms without being
able to physically modify the system
24
![Page 25: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/25.jpg)
enter Dept name in Slide Master
Weight Analytics
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Colin Morrisseau
▪ Uses for analytics ▪ Center of Mass determines forward lean.
can be set to a threshold to prevent spine
problems. utilizes the back and lower
strap sensors
▪ users will be recommended to only carry
a percentage of their body weight from
the total weight. utilizes the shoulder
straps.
▪ Strap adjustments aim to decrease the
use pressure sensors on shoulders
25
![Page 26: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/26.jpg)
enter Dept name in Slide Master
Weight Analytics: Center of Mass
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
▪ By using pressure sensors along the back, we can determine the
reactionary force that the backpack exerts at its surfaces.
▪ These forces on the back come from the backpacks pull from gravity
and the fixed point of the pack at the top of the shoulder.
▪ If we assume all mass is located at the
center of mass (an untrue but necessary
assumption), we can determine the y-plane
the center of mass is located on.
▪ Verified equation using bullet physics
engine in Blender
Final Equation:
=
A is a constant determined by strap tension
Colin Morrisseau
26
Ag L
R2
R1
![Page 27: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/27.jpg)
enter Dept name in Slide Master
Weight Analytics: Optimization
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
▪ The Optimization algorithm is based off of a minimization function for the strap pressure on
the shoulders
▪ Strap location can be determined by the maximum force on the upper or lower shoulder
sensors. (exact ratio requires physical testing)
▪ Left/Right symmetry is chosen by deciding whether the left and right sides are balanced
and adjusts straps accordingly.
Algorithm while( abs(left - right) > minimum balance threshold )
loosen higher pressure strap until equal;
//determine strap location by checking pressure on shoulders
if lower strap sensors < upper strap sensors
set strap location to high
else set strap location to low
while(max(shoulder pressure at t+1) < max(pressure on shoulder)) at t)
if strap location == low
tighten both straps
else loosen both straps
if any strap is above a safety threshold
loosen both straps
break;
s
Colin Morrisseau
27
![Page 28: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/28.jpg)
enter Dept name in Slide Master
Weight Analytics: Total Weight
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
▪ To determine total weight an additional sensor connected
to the strap is required
▪ System can be thought of as a simple pulley because the
mass is all in one location and friction is negligible
▪ weight is two times the strap measurement
▪ Verified by taking apart a luggage scale and inserting it in
between the straps Test load cell taken
from luggage scale
Colin Morrisseau
mg
mg
mg
28
![Page 29: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/29.jpg)
enter Dept name in Slide Master
μController and Broadcast
Advisor: Prof. Salthouse
▪Previous requirements:
▪ Low Power (10mA draw)
▪ More than 8 ADCs
▪ Bluetooth Module Implements Full BLE Gatt Server
▪Hardware Choices Review
▪ LPC824M from NXP Semiconductors (μController)
▪ NRF8001 from Nordic Semiconductor (BLE Module)
Advisor: Prof. Salthouse Alex Nichols
29
![Page 30: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/30.jpg)
enter Dept name in Slide Master
▪ Bluetooth-μController Communication
μController and Broadcast
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Alex Nichols
30
![Page 31: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/31.jpg)
enter Dept name in Slide Master
μController and Broadcast
Advisor: Prof. Salthouse
▪ Challenges Faced
▪ Challenge: Low Priority ADC interrupt not firing during
BLE communication
▪ Solution: Interrupt Active Assert Register
(IAAR) is checked until interrupt state becomes active
▪ Challenge: Digital Outputs could not drive pins on
external Bluetooth Module
▪ Solution: use digital output to drive non-
inverting buffer, which in turn drives Module’s pins
Advisor: Prof. Salthouse Alex Nichols
31
![Page 32: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/32.jpg)
enter Dept name in Slide Master
μController and Broadcast
▪ Demonstration
▪ To Demonstrate the functionality of the μController
and the Bluetooth Module, we will show the BLE
peripheral pair and connect with the Android App, and
perform two operations:
▪ Echo User Input
▪ Stream raw sensor data from the μController to
the Phone
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Alex Nichols
32
![Page 33: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/33.jpg)
enter Dept name in Slide Master
Waterproofing Options
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
▪ NeverWet Hydrophobic Coating (Rustolium) • Light, less bulky/easier to repair than epoxy
• Potentially better heat dissipation
▪ Epoxy • More waterproof
• Hard to perform repairs once coated
▪ Silicone and other rubberized coatings
▪ Shrink Tubing: provide additional protection around
wires and solder joints
33
Image Source: http://www.rustoleumspraypaint.com/neverwet-faqs/
![Page 34: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/34.jpg)
enter Dept name in Slide Master
Mobile Application
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
▪Prior Requirements ▪ Secure data storage & transfer
▪ Intuitive UI
▪ Bluetooth Low Energy
▪ Send text alerts
▪ Requirements Achieved ▪ Secure data storage
▪ Core interface/navigation for
intuitive UI
▪ Implementation of BLE stack
▪ Persistent preferences ▪ Additional Requirements:
▪ Expandable code base
▪ Persistent customizable preferences
▪ Reliability (error catching)
34
![Page 35: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/35.jpg)
enter Dept name in Slide Master
Mobile Application: Challenges
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
▪ First major challenge:
▪ Using the Android Bluetooth API and protocol
▪ Un-thrown exceptions within the stack
▪ Solution: Error handling and better understanding of how
the bluetooth stack works.
▪ Second Major Challenge:
▪ Implementing the UI in such a way that sections of the UI
can be reused, and all parts of the UI can talk to one main
▪ Solution: Using a fragment-activity approach rather than a
view-activity approach.
35
![Page 36: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/36.jpg)
enter Dept name in Slide Master
Mobile Application: Design choices
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
▪ Activity: • Can be thought of as a “main”
• Provides a screen that the user can interact with
• Using one activity since all content is tightly bound
internally
▪ Fragments vs. Views: • Represents a portion of
the UI and it’s behavior
• Added or removed while
activity is running
• Better use of screen real
estate on large devices
Image Source: developer.android.com
36
![Page 37: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/37.jpg)
enter Dept name in Slide Master
Mobile Application: Design choices
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
▪ Why pick Navigation Drawer as top-level navigation?
• Suggested by Google if app has:
• +3 top-level views (Can be used with Fragments)
• Views are not directly related to one another
(from the user’s perspective)
▪ Preferences
• Enable me as a developer to
implement a security protocol
• Can enter unique data
about the user’s pack
• Preferences persist over
multiple lifecycles of the app
Source: android.developer.com
37
Navigating with a Navigation Drawer
![Page 38: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/38.jpg)
enter Dept name in Slide Master
Mobile Application: Demonstration
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
▪ Top-level navigation can be performed
through the Navigation Drawer.
▪ App preferences are persistent. (i.e.) If changed, it will be restored the next time the app is run
▪ BLE is Integrated with the
embedded system:
• Can poll the GATT server for ADC values
• Can write to prefered characteristics
• Expand to implement security handshake.
38
![Page 39: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/39.jpg)
enter Dept name in Slide Master Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
BLE state machine
39
![Page 40: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/40.jpg)
enter Dept name in Slide Master
Timeline/Schedule: Integration
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
40
![Page 41: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/41.jpg)
enter Dept name in Slide Master
Conclusion
▪ Questions?
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
41
![Page 42: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/42.jpg)
enter Dept name in Slide Master
Timeline/Schedule: Zach
-December: Sensor housing built to handle weight requirement. Start to
integrate with microcontroller.
-January: Finish weight sensor module. Continue with microcontroller
integration.
-February: Begin power systems work. Begin 2nd pass PCB if required.
-March: Begin integration power systems and sensors into bag.
-April: Final debugging and integration
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Zach Boynton
40
![Page 43: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/43.jpg)
enter Dept name in Slide Master
Timeline/Schedule: Colin
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
-December: verify models with physical sensors
-January: design curve fitting algorithm to speed up the
response time of the sensors
-February: continue previous as necessary
-March: develop API for digital implementation in the
smartphone app
-April: final debugging and integration
Colin Morrisseau
41
![Page 44: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/44.jpg)
enter Dept name in Slide Master
Timeline/Schedule: Alexander
Advisor: Prof. Salthouse Advisor: Prof. Salthouse
-December: Integrate μController PCB Design with Weight Sensor PCB
design
-January: Keep track of Various Phones, integrate with NVM. Implement
top-level encrypted communication with Android Phone
-February: Work On 2nd Pass PCB Design. Start Using Power-saving
functionality on μController and BLE module to ensure optimal sleep schedule
-March: Begin integration into Bag; begin using battery for power
-April: Debugging and stability enhancements
Alex Nichols
42
![Page 45: Equipack - University of Massachusetts AmherstVerified by taking apart a luggage scale and inserting it in between the straps Test load cell taken from luggage scale Colin Morrisseau](https://reader033.vdocuments.net/reader033/viewer/2022050109/5f471fc297137f2f2b59afa0/html5/thumbnails/45.jpg)
enter Dept name in Slide Master
Timeline/Schedule: Brenton
-December: More error handling, Start adding basic UI features
-January: Continue adding basic UI features, Sent text message to
remote device upon a given condition. Implement top-level encrypted
communication with μController
-February: Enhance appearance of UI features, Finish sending text
message ensure solid stability of current features. Begin API as required
features become defined.
-March: API for interfacing with the UI elements to
display equipack calculations
-April: Defect/stability fixes, finish any tasks that have rolled over
Advisor: Prof. Salthouse Advisor: Prof. Salthouse Brenton Chasse
43