team #4 project health monitor to create a device that measures and logs weight and blood pressure...
DESCRIPTION
Software Model Application Type: State Machine “Hybrid” of Program-Driven and Interrupt-Driven Memory Mapping: On chip Flash contains software Flash chip contains health and user dataTRANSCRIPT
Team #4 Project Health Monitor
To create a device that measures and logs weight and blood pressure with the data accessible from the
internetTeam #4 Dan Chapman Mike Goodwin Joe Isca Brent Rager
Software Constraints
Constraints: 512KB Flash External to Microcontroller 64KB Flash On Board Microcontroller Running at 25 MHz Clock Outlet Powered
Plenty of Storage, Plenty of Cycles,And Plenty of Power
Software ModelApplication Type: State Machine “Hybrid” of Program-Driven and Interrupt-
Driven
Memory Mapping: On chip Flash contains software Flash chip contains health and user data
Memory Allocation
Time Stamp (4 bytes)User ID (2 bytes) Weight (2 bytes) B. P. (2 bytes)
Data Entry:
10 Bytes per Entry
Software Flowchart
Swiped?
Wait for card swipe (idle)
Ask for PIN
No
Yes
PIN given? No Error
PIN Valid?
Yes
ErrorNo
Yes
RecognizedCard?
YesNoNew User:Enter PIN to
Register
PIN given?NoError
YesAdd User.
Display Registered.
Software FlowchartTell User to Step on Scale
>10 lbs? No Error
Yes
Measure Average Weight
Valid weight? No Error
Yes
Record Weight
Software FlowchartTell User to Put on Strap and Press key
Key Pressed? No Error
Yes
Measure Blood Pressure
Valid BP? No Error
Yes
Record Blood Pressure
Display Thank You.Return to Idle State
Software Webpage
Valid Login? No
Yes
Login Page
Display User’sHealth Data