top of page

Acerca de

Keyboard and Mouse

Software Design

User Interface

A good UI displays vital information and lets the user navigate through the system's core functions. PillAgenda uses a 5" 800x480 capacitive touch screen, and mock templates were created for user-accessible pages, including the home page, the settings page, the manual dispensing page, and the schedule page, which are shown below.

Capture3.PNG

Data Model

Data models are used to output vital information and optimize architectural components from data creation, storage, and transformation. Shown below is a UML diagram, which for PillAgenda, can be interpreted as a block diagram representation of interfacing class objects and APIs at a high-level architectural system view. It represents how the touchscreen interfaces with the internal electro-mechanical system, through user input and controllers for the Jetson Nano.

Capture4.PNG

Data entities Medication, Users, Schedule, Compartment, and SysInfo represent the different models of data stored by the device. Each data component has relevant functions for stable operation, triggered by user activity on the touch screen. The listed data component functions support user, time, and schedule updates in addition to the manual dispensing function. Furthermore, the Jetson processes user touch events and sends execution instructions to the touch screen, air pump, servo motors, and speaker. All data is stored locally on the Jetson Nano.

​

The ERD is the data model depicting data entities and relationships through primary and foreign keys. Five entities were derived from offline storage requirements modeled for full data functionality. Medication stores pill ids, pill name, strength, and shape. User stores user ids, medication ids from Medication, and name. Schedule stores schedule ids, user id from User, medication id from Medication, and regimen info. Compartment stores compartment ids, medication id from Medication, and pill quantity. System stores the datetime of system.

Capture5.PNG
bottom of page