80 likes | 102 Views
Team #4's project aims to create a device that measures and logs weight and blood pressure, with data accessible online. The device has software constraints and a state machine application type with a hybrid model. It includes user ID, timestamp, weight, and blood pressure in its memory allocation. The software flowchart details the process from card swipe to data recording and includes webpage login for accessing health data.
E N D
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
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 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
Memory Allocation User ID (2 bytes) Time Stamp (4 bytes) Weight (2 bytes) B. P. (2 bytes) Data Entry: 10 Bytes per Entry
Software Flowchart Wait for card swipe (idle) Swiped? No Yes New User: Enter PIN to Register No Recognized Card? Yes Ask for PIN PIN given? No Error PIN given? No Error Yes Yes PIN Valid? No Error Add User. Display Registered. Yes
Software Flowchart Tell User to Step on Scale No >10 lbs? Error Yes Measure Average Weight No Valid weight? Error Yes Record Weight
Software Flowchart Tell 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 Login Page Valid Login? No Yes Display User’s Health Data