team #4 project health monitor to create a device that measures and logs weight and blood pressure...

8
Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan Chapman Mike Goodwin Joe Isca Brent Rager

Upload: ursula-hall

Post on 18-Jan-2018

218 views

Category:

Documents


0 download

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 data

TRANSCRIPT

Page 1: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

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

Page 2: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

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

Page 3: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

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

Page 4: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

Memory Allocation

Time Stamp (4 bytes)User ID (2 bytes) Weight (2 bytes) B. P. (2 bytes)

Data Entry:

10 Bytes per Entry

Page 5: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

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.

Page 6: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

Software FlowchartTell User to Step on Scale

>10 lbs? No Error

Yes

Measure Average Weight

Valid weight? No Error

Yes

Record Weight

Page 7: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

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

Page 8: Team #4 Project Health Monitor To create a device that measures and logs weight and blood pressure with the data accessible from the internet Team #4 Dan

Software Webpage

Valid Login? No

Yes

Login Page

Display User’sHealth Data