Indonesi
an
Journa
l
of El
ect
ri
cal Engineer
ing
an
d
Comp
ut
er
Scie
nce
Vo
l.
9
, No
.
1
,
J
an
ua
ry
201
8
, p
p.
1
64
~
16
9
IS
S
N:
25
02
-
4752
, DO
I: 10
.11
591/
ijeecs
.
v9.i
1.pp
1
64
-
16
9
164
Journ
al h
om
e
page
:
http:
//
ia
es
core.c
om/j
ourn
als/i
ndex.
ph
p/ij
eecs
Improvi
ng Medi
ca
l
Adhe
re
n
ce usin
g Smar
t Medi
cin
e Cabinet
Monitori
ng Syste
m
S. A.
I
sh
ak
,
H
.
Z
aino
l
Ab
idi
n
*
,
M
.
Muha
mad
Facul
t
y
of
El
e
ct
r
ic
a
l
Eng
ineeri
ng
,
Univer
si
ti Te
kn
ologi
MA
RA,
40
450
Shah
Alam,
Sela
ngor,
Mal
a
ysia
Art
ic
le
In
f
o
ABSTR
A
CT
Art
ic
le
history:
Re
cei
ved
A
ug
1
3
, 201
7
Re
vised
N
ov
1
1
, 2
01
7
Accepte
d
N
ov
27
, 201
7
Pati
ent
s
at
hom
e
m
ay
forg
et
to
t
ake
their
m
edi
cines
on
ti
m
e,
m
iss
doses
or
eve
n
t
ake
ov
erd
oses.
Thi
s
par
t
icular
l
y
appl
i
es
to
the
e
lde
rl
y
at
h
om
e.
Henc
e
,
thi
s
pape
r
pr
ese
nts
a
m
onit
orin
g
s
y
stem
to
improve
the
m
edica
l
adhe
r
ence
which
is
base
d
o
n
Inte
rne
t
of
Things
(IoT
)
conc
ept
known
as
s
m
a
rt
m
edi
ci
n
e
c
abi
n
et
m
onit
ori
ng
s
y
stem.
Th
e
s
y
stem
is
proposed
to
re
m
ind
th
e
el
der
l
y
to
ta
ke
their
m
edicine
s
on
ti
m
e,
t
o
ensure
th
at
th
e
el
d
erly
have
t
ake
n
th
ei
r
m
edi
ci
nes
and
to
noti
f
y
the
f
amil
y
m
ember
of
the
el
d
erly
abou
t
th
ei
r
m
edi
ca
t
ion
int
a
ke.
Thi
s
pap
er
pre
sents
a
m
et
hod
of
m
onit
oring
the
m
edi
ca
t
ion
intak
e
of
the
el
d
erly
which
is
base
d
o
n
IoT
con
ce
pt
to
display
th
e
dat
a
on
th
e
web
dat
ab
ase
.
Th
e
s
y
stem
uses
an
Arduino
m
ic
roc
ontrol
ler,
a
toggl
e
sw
it
ch
,
L
CD
Displa
y
,
li
m
i
t
sw
it
ch,
alarm
s
y
stem
and
a
W
i
-
Fi
m
odule
.
The
dev
el
oped
s
y
stem
is
see
n
to
be
anot
h
er
alter
nat
iv
e
that
woul
d
hel
p
th
e
el
der
l
y
espe
c
iall
y
who
ar
e
li
v
in
g
al
one
for
the
i
r
m
edi
ca
t
ion
ad
her
ence
to
hom
e
-
base
d
tr
eatm
ent
.
.
Ke
yw
or
d
s
:
E
lderly
In
te
r
net
of Th
i
ng
s
M
edical
ad
herence
S
m
art
cabinet
Copyright
©
201
8
Instit
ut
e
o
f Ad
vanc
ed
Engi
n
ee
r
ing
and
S
cienc
e
.
Al
l
rights re
serv
ed
.
Corres
pond
in
g
Aut
h
or
:
H
.
Zai
nol A
bidi
n
,
Facul
t
y
of
Elec
t
ric
a
l
Eng
ineeri
n
g
,
Un
i
ver
sit
i T
eknolo
gi M
ARA
,
4045
0 S
hah A
l
a
m
, S
el
ango
r,
Ma
la
ysi
a
.
Em
a
il
:
husnaz
a@sal
am.ui
tm.e
d
u.
m
y
1.
INTROD
U
CTION
Takin
g
presc
ribed
m
edicat
ion
with
the
e
xa
ct
do
se
an
d
t
i
m
e
as
instru
c
te
d
is
m
and
at
or
y
f
or
a
ny
patie
nt
unde
r
goin
g
m
edical
t
reatm
ent.
Ho
w
ever,
it
is
of
te
n
that
patie
nts
neg
le
ct
to
ta
ke
their
m
edication
as
directed
.
The
c
onditi
on
s
uc
h
as
in
-
ta
king
of
irregular
m
edi
ci
ne
du
e
to
pat
ie
nt’s
busy
sch
edu
le
,
c
om
plication
ta
kin
g
la
rg
e
nu
m
ber
of
m
edici
nes
at
a
tim
e
and
la
c
k
of
k
nowled
ge
a
bout
pro
per
us
e
of
m
edici
nes
can
le
ad
to
non
-
ad
her
e
nce
of
m
edicat
ion
s
[1]
.
Me
dicat
ion
ad
her
e
nce
is
the
patie
nt’s
conform
anc
e
with
the
pro
vi
der
’
s
reco
m
m
end
at
ion
with
re
sp
ec
t
to
ti
m
ing
,
do
sage
a
nd
fr
e
qu
ency
of
m
edicat
ion
-
ta
king
duri
ng
the
pres
cribe
d
le
ng
th
of tim
e.
It
is
est
i
m
at
ed
that
three
out
of
f
our
Am
ericans
do
not
ta
ke
their
m
edic
ines
as
directe
d
[
2]
.
Ta
king
m
edicat
ion
correct
ly
m
a
y
see
m
li
ke
an
easy
or
pe
rs
on
al
th
ing
,
bu
t
no
t
obey
ing
or
no
t
ta
kin
g
m
edici
nes
a
s
directed
is
a
com
m
on
pr
oble
m
.
Most
peo
pl
e
do
no
t
reali
ze
the
con
se
quence
s
of
no
n
-
com
pliance.
So
m
e
people
m
ay
no
t
ta
ke
thei
r
m
edici
nes
as
directe
d
a
s
th
ey
fo
r
ge
t
.
H
oweve
r,
t
her
e
a
re
m
any
m
et
h
od
s
an
d
te
chnolo
gies
avail
able
to
so
l
ve
this
pro
blem
.
The
I
nter
ne
t
o
f
T
hings
(
I
oT
)
ap
plica
ti
on
s
is
on
e
way
of
ho
m
e
m
on
it
or
ing esp
eci
al
ly
f
or
el
de
rly
p
e
op
le
with
sp
eci
al
need
s
or ch
ronic il
lne
sses
[
3]
.
Me
dicine
rem
i
nd
e
r
syst
em
pr
ov
i
des
an
ot
her
al
te
rn
at
ive
or
te
chnolo
gy
tha
t
would
be
abl
e
to
i
m
pr
ove
the
m
edical
adh
ere
nce
am
ong
the
el
de
rly
w
ho
li
ve
i
nd
e
pe
ndently
.
It
al
so
r
epr
ese
nts
a
sub
sta
ntial
con
tri
buti
on
to
the
ef
fici
enc
y
of
hom
e
-
bas
ed
treat
m
ent
wh
ere
fam
i
ly
m
e
m
ber
s
are
the
on
ly
res
pons
i
bl
e
per
s
on
s
t
o
he
lp
the
patie
nts
[1]
.
T
hu
s
,
t
he
fam
i
ly
m
e
m
ber
s
of
the
el
der
ly
w
ou
ld
not
ha
ve
to
keep
on
rem
ind
in
g
th
ei
r
par
e
nts
to
ta
ke
their
m
edicat
ion
as
dire
ct
ed
by
the
do
ct
or
.
F
ur
t
her
m
or
e
,
for
the
el
der
ly
w
ho
m
igh
t
have
an
Alz
heim
e
r
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Impr
ovin
g
Me
dical A
dhere
nc
e u
si
ng Sm
ar
t
Medici
ne
C
abinet M
on
it
or
i
ng
…
(
S.
A
. I
s
hak
)
165
Disease
(
AD),
ta
kin
g
m
edici
nes
on
ti
m
e
would
be
a
pr
ob
le
m
fo
r
them
.
Tho
se
w
ho
a
re
suffe
rin
g
of
AD
m
igh
t
be
c
onfused
w
hethe
r
they
ha
ve
ta
ke
n
th
ei
r
m
edici
nes
or
not,
or
how
oft
en
or
how
m
any
or
wh
ic
h
m
e
dicin
e
sh
oul
d be take
n.
The
m
edicat
io
n
m
on
it
or
in
g
syst
e
m
add
resse
s
the
need
s
of
chro
nical
ly
i
l
l
patie
nts
w
ho
r
equ
i
re
long
-
te
rm
m
edicat
io
n.
A
s
the
cost
of
the
in
-
ho
m
e
m
edical
care
up
s
wings
,
eve
r
y
ind
ivid
ual
w
il
l
al
ways
loo
k
fo
r
a
well
-
orga
nize
d
dev
ic
e
to
ha
nd
le
thei
r
m
e
dicines
prop
e
r
ly
.
Even
t
hough
s
om
e
m
edi
cat
ion
rem
inde
rs
are
avail
able, m
os
t o
f
th
em
are
to
o
c
om
plica
te
d
for
the
elde
rly
to
use
[
1]
.
Ther
e
a
re
sev
eral
ways
pro
po
s
ed
by
the
m
edical
pr
act
it
ion
ers
a
nd
re
searche
rs
t
o
im
pr
ov
e
the
m
edicat
ion
ad
her
e
nce
am
ong
the
patie
nts.
On
e
of
the
po
pula
r
m
et
ho
ds
is
a
rem
ind
er
t
hro
ugh
Sho
rt
Me
ssage
Ser
vices
(S
MS
).
Per
nell
et
al
.
[4]
te
st
the
two
-
way
SMS
m
edicat
ion
s
rem
ind
e
rs
f
or
patie
nts
with
Sickle
Ce
l
l
Disease
(S
C
D)
with
and
with
ou
t
ast
hm
a
whil
e
Morton
et
al
.
[
5]
fo
un
d
that
it
was
eff
e
ct
ive
to
us
e
th
e
SMS
rem
ind
er
syst
em
fo
r
child
ren
with
Cy
sti
c
Fi
brosis
(CF
).
A
dler
et
al
.
[
6]
stud
y
the
us
e
d
of
SMS
as
a
re
m
ind
er
for
Ca
r
diovasc
ular Dise
ase
(
CVD
) pati
ents.
Pr
iy
ad
har
s
hin
i
et
al
.
[1]
discu
sses
the
im
po
rt
ance
of
ta
king
m
edici
nes
on
ti
m
e
at
the
preci
se
qua
ntit
y
especial
ly
fo
r
il
li
te
rat
e
peo
ple
.
The
pa
per
pr
opos
e
d
a
n
A
ut
om
atic
Me
dicat
ion
Re
m
ind
er
(A
MR
)
syst
em
that
us
es
a
no
rm
al
4x4
m
at
rix
ke
ypad,
Mi
cr
oc
on
t
ro
ll
er
(Mas
te
r
IC
&
Sla
ve
IC)
,
LC
D
disp
la
y
an
d
Re
a
l
Ti
m
e
Cl
ock
(RTC
)
m
od
ule
and
al
a
rm
sys
tem
to
re
m
ind
the
pati
ents
to
ta
ke
the
prop
e
r
dosa
ge
at
the
righ
t
ti
m
e.
The
AMR
syst
e
m
i
s
a
low
-
c
os
t
de
vice
an
d
it
is
easy
to
be
han
dle
d
by
the
e
lderly
.
H
ow
e
ve
r,
there
is
a
s
et
back
wh
e
re it i
s
un
a
ble to e
nsure
th
at
the p
at
ie
nts
hav
e
take
n
t
heir
m
edici
nes.
An
onli
ne
re
m
ind
er
syst
em
was
pro
pose
d
in
re
f
ere
nce
[
7]
w
her
e
a
repor
t
is
ge
ne
rated
i
n
a
n
el
ect
ro
nic
healt
h
rec
ord
to
id
entify
patie
nts
pr
esc
ribe
d
wit
h
a
ne
w
dr
ug
f
ro
m
a
do
ct
or
in
one
of
the
prim
ary
care
cl
inics.
P
at
ie
nts
will
be
rem
ind
ed
th
rough
t
he
onli
ne
syst
e
m
if
they
fail
to
c
ollec
t
the
ne
w
pr
esc
r
ipti
on
within a
w
ee
k.
It is f
ound t
hat
the no
nadhe
rence
r
at
e
decr
eas
ed fr
om
6
5.5%
to 22.2
%.
Re
search
pres
ented
i
n
[
8]
descr
i
bes
t
he
de
velo
pm
ent,
prototypi
ng
and
eval
uatio
n
of
Ra
dio
Fr
e
qu
e
ncy
Id
e
ntific
at
ion
(RF
ID)
base
d
Me
di
cat
ion
Adhe
re
nce
I
ntell
igenc
e
Syst
e
m
(RM
AI
S
).
T
his
syst
e
m
is
an
aut
om
at
ic
m
edicat
ion
m
a
nag
em
ent
an
d
passive
rem
ote
m
on
it
or
i
ng
f
or
outpati
ents
wh
e
re
it
pro
vi
des
a
pr
act
ic
al
an
d
e
conom
ic
al
m
ea
ns
f
or
ordi
nar
y
patie
nts
to
m
anag
e
t
heir
own
m
edicat
ion
s.
This
syst
em
is
m
ade
up
of
se
ver
al
pa
rts,
w
hic
h
inc
lud
e
a
m
oto
riz
ed
r
otati
on
plat
form
,
scal
e
RFID
rea
der
,
us
e
r
interface
pa
ne
l
and
m
ic
r
ocontro
ll
e
r.
It
can
s
uppo
rt
up
to
se
ve
n
m
edici
nes.
H
oweve
r,
the
prot
otype
is
un
ec
onom
ic
al
,
and
it
need
s
sk
il
le
d perso
ns t
o op
e
rate
it
.
Jingjin
g
et
al.
[
9]
introd
uced
a
n
arc
hitec
ture
of
the
four
sect
ion
s
of
the
IoT
or
ie
nte
d
f
or
hom
e
healt
h
m
on
it
or
ing
ser
vice
.
A
sm
oo
thn
e
ss
in
de
x
m
et
hod
is
ap
plied
t
o
the
m
on
it
or
i
ng
of
hum
a
n
healt
h
i
nd
e
x
w
here
data f
ro
m
b
ody
te
m
per
at
ure
de
te
ct
ion
e
xp
e
rim
ents v
eri
fied t
he
feasi
bili
ty
o
f
the
fou
r
sess
ion
s
syst
em
.
This
pa
per
proposes
a
sm
art
m
edi
ci
ne
ca
bin
et
m
on
it
or
ing
syst
em
to
help
the
el
de
rl
y
with
their
m
edicat
ion
int
ake.
The
re
su
l
ts
of
the
c
on
tr
ibu
ti
ons
of
thi
s
pa
pe
r
a
re
to
rem
ind
the
el
der
ly
to
ta
ke
t
heir
m
edici
nes
on
tim
e,
to
ensure
that
the
el
der
ly
hav
e
ta
ke
n
the
ir
m
edici
nes
and
t
o
noti
fy
t
he
fam
il
y
m
e
m
b
ers
of
the
el
der
ly
about
their
m
edicat
ion
intake.
El
der
ly
will
be
re
m
ind
ed
on
th
ei
r
m
edicat
ion
intake
an
d
al
w
ay
s
be
m
on
it
or
ed
by
their
c
hildr
e
n
or
fam
il
y
m
e
mb
ers
rem
otely
to
av
oid
im
pr
oper
pr
e
scri
ptio
n
ta
ki
ng.
This
wor
k
would
al
so
be
nef
ic
ia
l
to
the
do
ct
or
s
to
m
on
it
or
thei
r
patie
nts.
Oran
d
et
al
.
[
10
]
sta
te
d
t
hat
a
n
a
fforda
ble
a
nd
exp
a
ndable
m
on
it
or
i
ng
an
d
ac
tuati
ng
syst
e
m
is
benefici
al
to
m
edical
pr
of
e
ssion
al
s
f
or
de
al
ing
with
the
needs
of
patie
nts
.
T
he
rest
of
this
pap
e
r
is
orga
ni
zed
as
fo
ll
ow
s.
In
S
ect
ion
2
,
the
de
velo
pme
nt
of
the
pro
po
s
ed
syst
e
m
is
el
abo
rate
d
in
detai
l
wh
il
e
Sect
io
n
3
dw
el
ls
with
the
prot
otyp
e
of
the
syst
e
m
.
Finall
y,
Sect
ion
4
con
cl
ud
e
s the
pap
e
r
a
nd r
ec
om
m
end
s futu
re
works t
hat can
b
e ca
rr
ie
d ou
t
.
2.
SMART
ME
DICINE
C
AB
INET M
O
NI
TORI
NG SY
S
TE
M
Fig
ure
1
s
how
s
a
blo
ck
diag
ram
of
the
syst
e
m
.
Two
co
m
po
nen
ts
are
us
e
d
as
the
in
pu
ts
in
t
his
syst
e
m
.
The
LCD
will
prom
pt
the
us
e
r
to
press
the
s
witc
h
and
a
to
ggle
switc
h
will
act
as
the
m
a
in
sw
it
ch
to
sta
rt
the
ti
m
er.
The
m
edici
ne
cabinet
w
he
re
al
l
the
m
edici
nes
are
sto
red
i
n
it
will
act
as
t
he
‘se
nsor
’
to
detect
wh
et
her
the
use
r
has
ope
ned
the
cabinet
or
no
t.
An
Ardu
i
no
ME
GA
2560
is
us
ed
in
thi
s
proj
ect
in
w
hi
ch
al
l
the
inst
ru
ct
io
ns
an
d
c
omm
a
nd
s
are
e
xecu
t
ed
a
nd
w
il
l
be
inter
pr
et
e
d.
Wh
e
n
t
he
ti
m
er
e
xp
i
res,
t
he
al
arm
syst
e
m
so
unds
a
bu
zze
r;
wh
e
n
th
e
m
edici
ne
cabi
net
is
op
e
ned,
t
he
al
arm
syst
e
m
turns
off
th
e
bu
zze
r.
O
nc
e
the
al
arm
syste
m
is
act
ivate
d,
it
se
nds
data
that
is
proce
ssed
a
nd
a
naly
sed
a
nd
dis
pla
ye
d
on
t
he
LC
D.
T
he
ou
t
pu
t
is
s
har
e
d
on
t
o
t
he
we
b
data
base
via
W
i
-
Fi
M
odule
wh
ic
h
is
co
nne
ct
ed
to
A
r
du
i
no
ME
GA
2560
.
T
he
prototype
of
th
e syst
e
m
is shown in
Fig
ure
2
.
Figure
3
de
picts
the
flo
wch
a
r
t
of
the
syst
em
’s
op
erati
on.
I
niti
al
ly
the
m
ic
ro
co
ntro
ll
e
r
is
i
nterf
ac
e
d
with
the
switc
h.
T
he
proce
ss
is
then
fo
ll
owed
by
the
use
r
bein
g
aske
d
to
press
the
m
a
in
switc
h
in
order
t
o
sta
rt
the
syst
em
.
On
ce
the
m
ai
n
switc
h
has
been
presse
d,
t
he
ti
m
er
will
ru
n
acco
rd
i
ng
to
m
edicat
ion
s
chedule
that
has
bee
n
s
et
in
the
cod
e
.
The
buzze
r
is
act
ivate
d
w
hen
it
is
tim
e
to
tak
e
the
m
edici
ne
and
o
nce
t
he
us
er
Evaluation Warning : The document was created with Spire.PDF for Python.
IS
S
N
:
2502
-
4752
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci,
Vol
.
9
,
No.
1
,
Jan
ua
ry
201
8
:
1
64
–
16
9
166
op
e
ns
the
m
edici
ne
cabi
net,
t
he
push
butt
on
switc
h
at
ta
che
d
to
the
cabi
ne
t
will
deac
ti
vat
e
the
al
arm
syst
e
m
.
At
the
sam
e
tim
e,
LCD
will
disp
la
y
a
m
essage
that
t
he
m
edici
ne
has
be
en
ta
ke
n.
The
inf
or
m
at
ion
of
us
e
r
ta
kin
g
m
edici
nes
is
al
so
sent
to
W
eb
datab
ase
to
no
ti
fy
the
fam
ily
m
e
m
ber
s
that
the
el
der
ly
has
ta
ken
th
e
m
edicat
ion
s. T
he data
is s
har
e
d
to
the
data
ba
se v
ia
Wi
-
Fi m
odule E
SP
8266.
Figure
1
.
Bl
oc
k
diag
ram
o
f
t
he
syst
e
m
Figure
2
.
P
r
otot
ype of
the
syst
e
m
Figure
3
.
Flo
w
char
t
of the
s
yst
e
m
The
A
r
du
i
no
Me
ga
25
60
[11]
is
a
m
ic
ro
con
t
ro
ll
e
r
bo
a
r
d
based
on
the
ATm
ega2
56
0
and
it
ha
s
54
dig
it
al
in
pu
t/
outp
ut
pi
ns
of
wh
ic
h
14
pi
ns
can
be
us
e
d
as
P
W
M
outp
uts,
16
a
nalo
g
inputs,
4
U
A
RTs
(h
a
rdwa
re
seri
al
ports),
a
16
MHz
cryst
al
osc
il
la
tor,
a
USB
connecti
on,
a
powe
r
j
ac
k,
an
ICS
P
hea
de
r
an
d
a
reset
bu
tt
on
[
12]
.
The
bo
a
rd
can
be
op
e
rated
on
an
e
xternal
su
pply
of
6
t
o
20
volt
s
bu
t
the
best
rec
omm
ende
d
range
is
bet
we
en
7
t
o
12
vo
lt
s.
T
he
ATm
ega2
56
0
has
25
6KB
of
flas
h
m
e
m
or
y
f
or
the
c
ode
s
wh
ic
h
c
om
pr
ise
s
of
8KB
m
e
m
or
y
fo
r
the bo
ot load
e
r,
8K
B o
f SR
AM and 4K
B of
EEPR
OM. Each
of the
54 d
igit
al
p
ins c
an
be
us
e
d
as a
n
i
nput
o
r
outp
ut
us
in
g pinM
od
e
(),
di
gital
Wr
it
e()
a
nd d
i
gital
Re
ad(
) f
un
ct
io
ns
.
Sw
i
tc
h
M
ed
i
c
i
n
e
C
a
b
i
n
et
W
eb
D
a
ta
b
a
s
e
L
C
D
Bu
z
z
er
A
r
d
u
i
n
o
M
E
G
A
2560
In
p
u
t
M
i
c
r
o
c
o
n
tr
o
l
l
er
O
u
tp
u
t
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Impr
ovin
g
Me
dical A
dhere
nc
e u
si
ng Sm
ar
t
Medici
ne
C
abinet M
on
it
or
i
ng
…
(
S.
A
. I
s
hak
)
167
Fig
ure
4
.
A
rdu
ino
ME
G
A 2560
Fig
ure
5
.
Wi
-
F
i
m
od
ule
ESP
8266
ESP82
66
W
iFi
m
od
ule
[
12
]
i
s
a
W
iFi
s
erial
transcei
ver
m
odule.
Its
s
m
all
siz
e
and
lo
w
cost
feat
ur
e
s
m
akes
it
su
it
able
to
be
us
ed
a
s
par
t
of
the
sensor
no
des.
It
op
e
rate
s
on
3.3V
a
nd
need
s
curren
t
up
to
250m
A
.
Current
c
on
s
um
pt
ion
is
quit
e
big
;
th
us
it
is
usual
ly
no
t
powe
re
d
by
batte
ry.
To
pro
vid
e
a
c
omm
on
powe
r
,
vo
lt
age
a
da
ptati
on
is
require
d,
becau
se
the
E
SP82
66
m
od
ul
e
us
es
3.3
V
w
hile
m
os
t
Ar
du
ino
s
w
ork
on
5V.
A
si
m
ple
po
we
r
ci
rcu
it
is
sh
own
in
F
ig
ure
6.
It
us
es
a
Texa
s
In
str
um
ents
LM111
7
Linea
r
Re
gu
la
to
r
[
13]
an
d
1k
Ω
r
esi
st
or
s
di
vid
er
to pr
ovi
de
a
ppr
opriat
e
vo
lt
age
s.
The
database
us
e
d
in
t
his
pro
j
ect
is
Or
ac
le
’s
My
SQ
L
,
database
m
anag
em
ent
syst
e
m
that
us
es
Stru
ct
ur
e
d
Q
ue
ry
Lan
guage
(S
Q
L).
F
or
th
e
real
-
ti
m
e
mo
nito
rin
g
syst
e
m
,
this
data
is
store
d
in
a
My
SQL
database
provi
ded b
y
X
AMP
P
-
ph
pMyA
dm
i
n.
Fig
ure
6
.
Wi
-
F
i
m
od
ule
ESP
8266
powe
r
ci
rc
uit
3.
FUNCTIO
N
A
LIT
Y
TE
ST
A
f
unct
io
nalit
y
te
st was ca
rr
ie
d ou
t t
o
e
nsure
that the
syst
em
w
or
ks ac
co
r
ding to
s
pecifi
cat
ion
s.
Figure
7
.
I
niti
al
ly
u
sers
a
re as
ked to
switc
h o
n
the
d
e
vice
Evaluation Warning : The document was created with Spire.PDF for Python.
IS
S
N
:
2502
-
4752
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci,
Vol
.
9
,
No.
1
,
Jan
ua
ry
201
8
:
1
64
–
16
9
168
As
dep
ic
te
d
in
Figure
7,
us
e
r
s
are
as
ke
d
to
act
ivate
the
syst
e
m
.
The
tim
er
is
set
an
d
the
buzzer
will
be
act
ivate
d
once
the
ti
m
e
fo
r
t
he
el
de
rly
to
ta
ke
the
m
e
dicine
has
bee
n
reac
he
d.
O
nc
e
the
cabi
net
do
or
is
op
e
ne
d,
the lim
it
sw
it
ch
that
is at
ta
ched
w
it
h
the cabi
net wi
ll
trigg
er th
e a
la
rm
syst
e
m
to
d
eact
ivate
. The LCD
will
then
dis
play
that the m
edici
ne
has
b
ee
n t
aken
a
s il
lustr
at
ed
in
Fig
ur
e
8.
Figure
8
.
Me
ss
age
on LCD
on
ce m
edici
ne
is t
aken
The
data
is
th
en
s
har
e
d
to
the
database
vi
a
W
i
-
Fi
m
odul
e
ESP82
66
w
hich
is
c
onnec
te
d
to
th
e
Ardu
i
no
by
a
TCP/
IP
prot
oc
ol
sta
ck.
T
he
el
der
ly
fam
i
ly
m
e
m
ber
s
will
be
noti
fied
on
the
m
edici
ne
intake
thr
ough
t
he
we
b
data
base
as
s
how
n
in
Fi
g
ure
9.
I
f
the
re
are n
o
ne
w
r
ec
ords
in
the
pa
rtic
ul
ar
tim
e
at
wh
ic
h
the
m
edici
nes
are
su
pp
os
e
d
to
b
e
taken, thei
r fa
m
ily can det
ect
the a
bnorm
al
act
ivit
y of
thei
r pare
nts.
Figure
9
.
Kee
pi
ng
t
rack o
f dat
a u
si
ng
W
e
b D
at
abase
4.
CONCL
US
I
O
N
AND
F
UT
U
RE W
ORK
This
pa
per
ha
s
pr
ese
nted
a
he
al
th
m
on
it
or
i
ng
syst
em
to
i
m
pr
ov
e
the
m
edical
adh
e
rence
a
m
on
g
the
el
der
ly
who
li
ve
ind
e
pe
ndent
ly
.
Curr
e
ntly
,
t
her
e
are
s
om
e
m
edicat
ion
re
m
ind
er
syst
em
s
avail
able.
H
oweve
r,
there
are
s
om
e
dr
a
wb
a
cks
t
ha
t
can
be
im
pr
oved
s
uc
h
as
b
e
ing
to
o
e
xp
e
nsi
ve
or
dif
ficult
to
us
e.
I
n
ad
di
ti
on
,
m
os
t
of
them
do
not
ha
ve
noti
ficat
ion
feat
ur
e
.
T
he
de
velop
e
d
syst
e
m
presente
d
i
n
thi
s
pa
per
rem
ind
s
t
he
el
der
ly
to
ta
ke
the
m
edici
ne
on
ti
m
e
as
well
as
no
ti
fy
th
ei
r
fam
ily
m
e
m
ber
s
so
that
they
can
m
on
it
o
r
th
e
el
der
ly
m
edicin
e
intak
e.
Ba
sed
on
t
he
f
un
ct
io
nalit
y
te
st
resu
lt
s,
al
l
the
ob
j
ect
ive
s
sta
te
d
ha
ve
been
su
ccess
fu
ll
y
achieve
d.
T
he
ef
fecti
ven
es
s
of
keep
i
ng
t
rack
of
data
via
we
b
data
base
has
been
dem
on
st
rated.
The
res
ults
show
t
hat
it
is
po
s
sible
to
m
o
nito
r
the
m
edicat
ion
inta
ke
of
the
el
der
l
y
by
j
us
t
op
e
ning
th
e
m
edici
ne
cabi
ne
t.
This
is
the
init
ia
l
sta
ge
of
de
velo
ping
the
s
yst
e
m
.
It
m
a
y
be
f
ur
t
her
e
xtend
e
d
to
cat
er
f
or
diff
e
re
nt
ty
pes
of
m
edici
nes
with
diff
e
ren
t
tim
e
intake.
A
sm
artph
one
ap
p
m
ay
a
l
so
be
de
velo
pe
d
f
or
the
m
on
i
toring
syst
e
m
.
The
syst
e
m
can
al
so
be
e
xp
a
nded
t
o
al
lo
w
only
the
re
sp
ect
ive
patie
nt
or
el
de
rly
per
s
on
to
open
th
e
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Impr
ovin
g
Me
dical A
dhere
nc
e u
si
ng Sm
ar
t
Medici
ne
C
abinet M
on
it
or
i
ng
…
(
S.
A
. I
s
hak
)
169
m
edici
ne
cabin
et
,
su
ch
as
pro
vid
in
g
th
um
b
pr
i
nt
detect
ion.
This
is
to
ens
ure
that
the
m
edici
ne
is
stored
safely
in t
he
ca
bi
net to keep
it
out
of r
eac
h
a
nd out
of sig
ht of sm
al
l chil
dr
e
n.
ACKN
OWLE
DGE
MENT
This
w
ork
is
fund
e
d
by
the
Mi
nistry
of
Highe
r
Ed
uc
at
ion
(M
OHE)
thr
ough
th
e
Re
search
Accu
lt
urat
io
n Gr
a
nt Sc
hem
e, RAGS
(60
0
-
R
MI/R
AG
S
5
/
3 (16/2
015).
REFERE
NCE
S
[1]
R.
Pri
y
adh
arshi
ni,
S.
Ram
y
a
,
S.
Kalai
y
ar
asi,
S.
Mithuna
,
and
Maniva
nn
an.
L,
S
utha
nthi
r
a
Van
itha.
N
,
“
A
Nove
l
Approac
h
of
Microc
ontro
ll
er
b
ase
d
Autom
at
ic
Medicat
ion
Remin
der
(AM
R)
Sy
st
em for
Pati
ent
s,”
Int.
J
.
Eng
.
Re
s.
,
vol.
V4
,
no
.
4
,
A
pr.
2015
.
[2]
“
Medic
at
ion
Adhere
nc
e
-
Ta
kin
g
Your
Meds
as
Dire
cted.”
[
Online
]
.
Available:
htt
p://ww
w.he
art.org/
HEARTOR
G/Condit
ions/M
ore
/
Consum
erHe
al
thC
are
/Me
dic
a
ti
on
-
Adherence
---
Ta
k
ing
-
Your
-
Meds
-
as
-
Dire
cted_UCM
_453329_Artic
l
e.
j
sp#.
[Access
ed:
13
-
Jun
-
2017]
.
[3]
A.
Rghioui
and
A.
Oum
nad,
“
Inte
rne
t
of
Thi
ngs:
Surve
y
s
for
Me
a
suring
Hum
an
A
ct
ivitie
s
from
Ev
er
y
wh
ere,”
In
t
.
J.
Elec
tr.
Compu
t.
Eng.
,
vo
l. 7, n
o.
5
,
pp
.
2474
–
2
482,
Oct
.
2017
.
[4]
B.
M.
Pern
el
l
,
M.
R.
DeB
aun,
K.
Bec
k
er,
M
.
Rodeghi
er
,
V.
B
r
y
an
t,
and
R
.
M
.
Cronin
,
“
Im
proving
Medicat
io
n
Adhere
nce
with
Two
-
wa
y
Short
Mess
age
Servic
e
Reminders
i
n
Sickl
e
Cel
l
D
isea
se
and
As
thma,
”
Appl
.
Cl
in
.
Inform.
,
vo
l. 8, n
o.
2
,
pp
.
541
–
55
9,
2017
.
[5]
R.
Morton,
H.
El
phic
k
,
E.
Ed
wards,
W
.
J.
D
aw,
and
N.
S.
W
est,
“
Inve
stigating
the
fe
asibi
l
i
t
y
of
te
x
t
m
essage
re
m
inde
rs
to
improve
adhe
r
ence
to
nebul
i
ze
d
m
edi
c
at
ion
in
chil
dre
n
and
ado
le
s
ce
nts
with
c
y
s
ti
c
fibrosis,
”
Pa
ti
e
nt
Pref
er.
Adh
ere
n
ce
,
vol
.
Volum
e 11,
pp
.
861
–
869
,
Ma
y
2017
.
[6]
A.
J.
Adler
,
N
.
Marti
n,
J.
Mariani,
C.
D
.
Taje
r
,
O.
O.
Ow
ola
bi,
C.
Free
,
N.
C.
S
err
ano,
J.
P.
Cas
as,
and
P.
Per
el,
“
Mobile
phone
te
xt
m
essaging
to
improve
me
dicati
on
adh
er
enc
e
in
se
cond
ar
y
pr
eve
nt
ion
of
ca
rdiova
s
cular
disea
se,
”
in
Coc
hrane
Database
of
Syst
emati
c
R
e
vi
ews
,
A.
J
.
Adl
er,
Ed.
Chi
che
st
er,
UK
:
John
W
il
e
y
&
Sons
,
Lt
d
,
2017.
[7]
D.
E.
Kerne
r
a
nd
E.
L.
Knez
e
vic
h,
“
Us
e
of
c
om
m
unic
at
ion
t
ool
withi
n
elec
t
ronic
m
edica
l
r
ec
ord
to
improv
e
primar
y
nonadh
e
re
nce,”
J
.
Am.
P
harm
.
Assoc.
,
vo
l.
57
,
no
.
3
,
p
.
S
270
–
S273.e
2,
M
a
y
2017.
[8]
C.
McCal
l
,
B.
Ma
y
nes
,
C.
C.
Zou,
and
N.
J.
Zha
ng,
“
An
autom
at
ic
m
edi
c
at
i
on
self
-
m
ana
ge
m
ent
and
m
onit
oring
s
y
stem for inde
p
ende
nt
l
y
l
ivi
ng
p
at
i
ent
s,”
Me
d
.
E
ng.
Ph
ys.
,
vol
.
3
5,
no
.
4
,
pp
.
505
–
514,
Apr.
2013.
[9]
Y.
Jingji
ng,
H.
Shangfu,
Z.
Xia
o,
G.
Benz
hen
,
L.
Yu,
D.
Bei
b
e
i,
and
L
.
Yun,
“
Fam
ily
Hea
lt
h
Monitori
ng
S
y
st
e
m
Based
on
the
Fo
ur
Sess
ions
Inte
rne
t
of
Thi
ngs,”
TEL
KOMNIKA
(
Tele
communic
ati
on
Comput.
Elec
tron.
Control
.
,
vol.
13
,
no
.
1
,
pp
.
314
–
320
,
Mar
.
2015.
[10]
A.
Orand,
Y.
Tomita
,
S.
Oka
m
o
to,
and
S.
Sonoda,
“
On
the
Design
and
Deve
lopment
of
a
Zi
gb
ee
-
Base
d
Multi
m
odal
Input
-
Output
Monit
oring
-
Actuating
S
y
stem,”
Int
.
J.
El
ec
tr
.
Comput.
Eng.
,
vol
.
5,
no.
5,
pp.
1143
–
1152,
Oct
.
2015
.
[11]
Mante
ch
Elec
tron
ic
s
(Pt
y
)
Lt
d
.
,
“
Arduino
Mega
2560.
”
[Onl
i
ne]
.
Availa
ble
:
htt
p://ww
w.m
ant
ec
h.
co.za
/d
atashee
ts/produ
ct
s/A0
00047.
pdf. [Access
ed:
13
-
Jun
-
20
17]
.
[12]
SparkFun
El
ec
tr
onic
s,
“
W
iFi
M
odule
-
ESP
8266
-
W
RL
-
13678
-
SparkFun
El
ec
tron
ic
s.
”
[Online
]
.
Avail
able
:
htt
ps://
ww
w.spa
rkfun.
com/produ
ct
s/13678.
[Acce
ss
e
d:
13
-
Jun
-
2017]
.
[13]
Snos
412n
–
,
“
L
M1117 800
-
m
A L
ow
-
Dropout
Linea
r
R
egulator
,
”
2000.
Evaluation Warning : The document was created with Spire.PDF for Python.