You are on page 1of 15

Unit 18: Assignment 3

Apply Computational to
Solve a Simple Problem

Name: Will Simpson


Group: FD3
1. Introduction Describing the Problem

This problem is about a wearable device that monitors peoples vital signs and
they fall below a safe level then the alarm will be activated and a message is
sent to the carer. When they wear the device if their systolic blood pressure
goes above maximum then the alarm will also be activated.
If the wearable devices detect a sudden fall, then the alarm will also alert the
carer. If the wearable devices enter a safe level between 90 and 190 then the
alarm should not go off.

2. Breakdown the problem into smaller sub problems

The alarm is activated if their systolic blood pressure goes above a maximum or
their breathing is interrupted. It can also go off if the accelerometer detects a
sudden fall.
A wearable device monitors a persons vital signs. If they fall below a safe level an
instant message is sent to request help from a carer.
However, it does not go off due
to blood pressure or a fall if
another carers wearable
device is detected within 2 Between 90 & 190
meters. If the blood pressure
is above being between 90 and
190 then the alarm will not
activate. The sensor should
allow possible inputs with a
minimum of 50 and a
maximum of 250.
Truth Table

Carers Accelerometer Breathing Blood Blood Outcome


Wearable detects is pressure pressure
Device sudden fall interrupted between between
detected 90 & 50 &
190 250
0 0 0 1 1 No Alarm
1 0 0 1 1 No Alarm
1 1 0 1 1 No Alarm
1 0 1 1 1 No Alarm
1 0 0 0 1 No Alarm
1 0 0 0 0 No Alarm
0 0 0 0 0 No Alarm
0 0 1 1 1 Alarm
0 1 0 1 1 Alarm
0 0 0 0 1 Alarm
0 1 1 1 1 Alarm
0 0 1 0 1 Alarm
0 0 0 0 1 Alarm
0 1 1 0 0 Alarm

Above I have included a truth table to reflect the problem. I have demonstrated all combinations that
could trigger the alarm to go off and not off.
Design a detailed programming solution

Start

Sensor Input

Are they No Alarm


breathing Yes

Yes Alarm Yes


Blood Pressure
above maximum

Yes
Alarm
Accelerometer No
detects sudden fall
sudden fall

No

finish
START

Alternative Solution Flowchart

Sensor Input Yes

No
Are they Alarm
breathing Yes

No
Blood Pressure Alarm
Yes
Below minimum

Yes
Blood Pressure Alarm
No
above maximum

Yes Alarm
Accelerometer No
detects sudden fall

FINISH
Test Plan

Scenario Are they breathing Blood Accelerometer Result


Pressure detects sudden fall

Blood Pressure at 100 Yes 100 No fall No Alarm

Patient has a fall Yes Normal Fall Yes

Blood pressure at 10 Yes 10 No fall No Alarm

Not Breathing No Normal No fall Yes

Carer within 2 metres Yes Normal No Fall No

Breathing BP Blood Fallen Carer Expected Actual


Pressure Nearby Outcome outcome
1 95 Normal 0 0 1 No fall Can be
entered
1 30 (erroneous 1 1 1 Fall Fall
data)

1 15 (erroneous 1 0 1 Not fallen fall


data)

1 500 0 1 0 Not fallen fall


(Erroneous)
1 10 0 1 0 Fall Fall
(erroneous)
1 125 Normal) 0 0 0 Not fallen Not fallen

1 115 (Normal) 1 0 0 Not Fallen Fallen

0 400 1 1 1 fallen fallen


(erroneous)
0 1 (erroneous 1 1 0 Fallen Fallen

1 280 0 0 0 Not fallen Not fallen


(erroneous)
0 190 1 0 0 Fall Fall

Interface for wearable design 1 chosen design

Carer is within 2 metres

Patient has a fall

Not Breathing TEST

Cool Health Min Max

Blood Pressure
Blood
Pressure

Not TEST
Breathing

Patient
Falls

Link to my Health Device


Cool
Health
https://scratch.mit.edu/projects/140751014/

Feedback- Karan Pabla

What do you think of my health device?


I think the health device is very good and easy to use. The reason it is easy to use is because
the designer has made a very simple, nice looking UI for the user to use, as well not adding to
many features to the device to over complicate it.
Is it suitable for the purpose?
I feel this health device is suitable for the purpose, as it meets the all the needs of the user. In
addition to this the device has a test button where the user can test the device on how it will
react in different situations, and scenarios, which is a great little feature, which is why this
health device meets the purpose.

Are there at least three buttons on my device?


Yes, there are at least three buttons on this device. There are exactly five intractable buttons
on the device, making it very interactive for the user using the health device.

Is there any improvements that could be made to the device?


One improvement I would recommend to this health device is by adding two buttons that say
connected to the patient, and connected to the carer. This will improve the user interface,
because the user will know of the device is correctly connected to both carer, and the patient.
The second improvement I would recommend is add a new functional button that says re-set.
The re-set button will re-set all of the buttons back to 0 / not active. This will help improve
user experience.

Refinements Before

I have included an image below of before I have the recommended improvements to my health
device. This is what it looks like before as you can see there is an image of the wearable device
with the code.
The image that I have included below is a refinement image as you can see I have read what
Karan has written in the feedback and I have added an extra two buttons to my wearable
device this improve the user experience of the device because its lets you know that the device
is connected to each others. I have made this improvement because it has been recommended
that I add to extra buttons as you can see from the image below I have included two extra
buttons.

Another refinement that I have made is I have added a reset button to my health device so this
will reset the device back to 0. Below you will see a screenshot. This screenshot shows below
that I have not yet added the test button to my wearable device.
The screenshot below shows that I have added a reset button to my wearable device. As you
can see this device did not have a reset button before and now I have successfully added a
reset button this has been done because it will improve the user experience when they are
using the health device.
Link to Refined Version of health device: https://scratch.mit.edu/projects/141323313/

Justification in writing of the design decisions taken


When designing my health device, I made sure that I was meeting the purpose by adding the
correct buttons on the design on my device. I feel that when I was designing the health device I
had the idea of making the device compatible with a smartwatch. The design that I chose to do
was a smart watch design because the carer could have the smart health watch and then the
patient could have like a device that is motion activated.
When designing the product, I wanted to make it as user friendly as possible for the user. The
users that will have the device are the carer and the patient. When designing the device, I
wanted to make it as simple as possible to replicate when developing the device. I decided to
design the health device for an apple watch because it would be easy for the carer to see
because she would always have it on her wrist. If the patient falls, then an alert will come up on
her watch. The alert is the alarm.
When designing the product, I made some minor changes when developing it because at the
designing stage I included a lot of buttons on the device and when I developed device I had to
shrink the buttons so they were compatible with the health device. The reason that I had to
make the buttons smaller on the final product is because otherwise the carer would not be able
to read what they say. When designing the product, I considered the purpose and the
requirements of the client. I have designed a device that has three buttons and if the patient
has a fall, blood pressure and breathing interrupted then the alarm will go of on the device.
When designing the product there were some constraints that I did face. A constraint that
happened when designing my product is the size of the buttons on the template of the device. I
did not make the template very big when designing it so I had to rethink the size of the buttons
on the device. I found this was a constraint because the template that I designed was not bigger
enough. To fix this issue I made space on the template to fit the buttons.
Other constraints that I faced were the timing to design the device. I did not have very long to
design it and if I was to design this again then I would change it and spend longer on designing
the product because I feel that when designing the product, I did not do very well on the
original design and next time I would want to spend longer. I found the timing was a constraint
overall because I dont think that I had enough time to make the design ideal. If I was given the
opportunity to improve this, then I would spend longer on improving the design.
To justify I have made several changes in the design process because I wanted to make the
design better before starting to design my app I was originally going to design the app for a
smartphone but I decided against that because the purpose of this is to design an app for a
wearable device. If I designed the app for a smartphone I feel that I would not be meeting the
purpose because a smartphone is not a wearable device. I feel that designing an app for a
smartphone would not be appropriate because Its needs to be a wearable device. I feel that
designing an app for an apple watch would be more appropriate because this a wearable
device.
Another change that I made during the design stage is I have made the change of the buttons
on the design. I originally had the buttons the same colour as the background and I decided to
colour key the buttons because this would improve the user experience of the device when
they came to use it. For example, I used red buttons for the important parts of the device and I
have also included a wireless signal on the device.
I have decided to colour code the device so the carer will know where to look when something
happens to the patient. The buttons that I have designed are distinctive and are easy to see
because I have colour coded them. Overall I have made this slight change because I want to
make the device as easy as possible, if the device was complex to use then the user would find
it confusing make this slight change improves the usability of the device and makes it look much
better.
Overall these changes that I have made in the design change improve how the wearable device
looks it also improves what it does. The changes that I have made improve the purpose of the
device. The original purpose of the device is the patient has a fall, or their blood pressure is
below 50 then the alarm will nor sound if their blood pressure is too high then the alarm will
sound, if the carers wearable device is detected within two metres then the alarm will not
sound. I feel that when designing the original device, I have succeeded because I have
explained the purpose and broken the scenario down in to sections and made a device out of
the purpose that I have been given.

You might also like