I nte rna t io na l J o urna l o f   Rec o nfig ura ble a nd   E m be dd e d Sy s t e m s   ( I J R E S)   Vo l.  1 4 ,   No .   1 Ma r ch   20 2 5 ,   p p .   1 4 5 ~ 1 5 6   I SS N:  2089 - 4864 DOI 1 0 . 1 1 5 9 1 /i j r es . v 1 4 . i 1 . pp 1 4 5 - 1 5 6           145       J o ur na l ho m ep a g e h ttp : //ij r es.ia esco r e. co m   An  int erne o thi ng s - driv en s m a rt  k ey  sy ste m  w ith  r ea l - ti m e   a lerts:   inno v a tion s in hotel  securi ty             P utr a   J a y a ,   Ry a n F ik ri,   Ag a ria dn Dw ing g o   Sa m a la ,   Dim a s   Sa nja y a   D e p a r t me n t   o f   El e c t r o n i c s E n g i n e e r i n g ,   F a c u l t y   o f   En g i n e e r i n g ,   U n i v e r si t a s   N e g e r i   P a d a n g P a d a n g ,   I n d o n e si a       Art icle  I nfo     AB ST RAC T   A r ticle  his to r y:   R ec eiv ed   No v   2 0 ,   2 0 2 3   R ev i s ed   A u g   1 4 ,   2 0 2 4   A cc ep ted   A u g   3 0 ,   2 0 2 4       T h is  p a p e p re se n ts  a n   i n n o v a ti v e   sm a rt  k e y   s y ste m   d e sig n e d   to   e n h a n c e   th e   sa fe t y   a n d   c o n v e n ien c e   o f   h o tel  g u e sts.  T h e   s y ste m   e m p lo y a n   it e ra ti v e ,   a g il e   a p p ro a c h   e n c o m p a ss in g   th e   p h a se o f   re q u irem e n a n a ly si s,  d e sig n ,   im p le m e n tatio n ,   a n d   tes ti n g .   Ke y   c o m p o n e n ts   o f   th e   in p u t   c ircu it r y   in c lu d e   li m it   s w it c h e s,  RF ID - RC5 2 2   a n d   S W 4 2 0   v ib ra ti o n   se n s o rs,  w h ich   c o ll e c ti v e l y   g a th e d a ta.  T h is  d a ta  is  p ro c e ss e d   u sin g   a n   A rd u in o   Un o   m icro c o n tro ll e a n d   in teg ra ted   with   i n tern e o f   th in g (I o T tec h n o lo g y .   On   th e   o u tp u si d e ,   t h e   sy ste m   in c o rp o ra tes   a   so len o i d   l o c k   a n d   is  c a p a b le  o f   p ro m p tl y   n o ti fy in g   u se rs   v ia  T e l e g ra m   in   re sp o n se   to   u n a u t h o r ize d   a c c e ss   a tt e m p ts.  Im p o rtan tl y ,   th e   s y ste m   c a n   d isti n g u ish   b e tw e e n   v ib ra ti o n c a u se d   b y   u n a u th o rize d   e n try   a n d   t h o s e   f ro m   leg i ti m a te  u sa g e .   Rig o ro u tes ti n g   v a li d a tes   it e ff ica c y ,   issu in g   T e le g ra m   a lerts  p ro m p tl y   w h e n   d e tec ti n g   se c u rit y   b re a c h e s.  T h is  tec h n o lo g ica a d v a n c e m e n sig n if ica n tl y   e n h a n c e s   h o tel  r o o m   se c u rit y ,   p ro v id in g   a n   in telli g e n re a l - ti m e   so lu ti o n .   T h e   f u sio n   o f   Io T ,   A rd u in o   m icro c o n tro ll e r,   a n d   p re c ise   se n so r   c o n f ig u ra ti o n   u n d e rsc o re th e   sy ste m ' re li a b il it y ,   se tt in g   n e w   b e n c h m a r k f o se c u rit y   in   th e   h o sp i talit y   se c to r.   T h e   c o m p re h e n siv e   a p p ro a c h   d e taile d   i n   th is   p a p e o f f e rs   v a lu a b le i n sig h ts ap p li c a b le t o   a   w id e   ra n g e   o f   s e c u rit y   a p p li c a ti o n s.   K ey w o r d s :   Ag ile  m et h o d o lo g y   A r d u i n o   Un o   I n ter n et  o f   t h i n g s   R ea l - ti m aler ts   S m ar k e y   s y s te m   T h is i a n   o p e n   a c c e ss   a rticle   u n d e r th e   CC B Y - SA   li c e n se .     C o r r e s p o nd ing   A uth o r :   R y a n   Fi k r i   Dep ar t m en t o f   E lectr o n ics E n g in ee r i n g ,   Facu lt y   o f   E n g i n ee r in g ,   U n i v er s ita s   Neg er i P ad an g   P r o f .   Dr .   Ham k a   Stre et ,   A ir   T a w ar   B ar at ,   P ad an g   Utar a,   P ad an g ,   W est S u m ater 2 5 1 7 1 ,   I n d o n esia   E m ail:  r y a n f i k r i@ f t. u n p . ac . id       1.   I NT RO D UCT I O N   A cc o r d in g   to   d ata  f r o m   C en t r al  B u r ea u   o f   Statis t ics  o f   I n d o n esia  ( B a d a n   P u s a S ta tis tik )   [ 1 ] ,   th e   s tatis t ics  o n   t h n u m b er   o f   to u r is ts   s ta y i n g   in   h o tels   i n   I n d o n esia,  en co m p a s s i n g   b o th   s tar r ed   an d   n o n - s tar r ed   h o tels ,   h av e   clo s el y   co r r elate d   w it h   g lo b al  s i tu at io n   o v er   t h p ast  f i v y ea r s .   I n   2 0 1 8 ,   th to tal  n u m b er   o f   tr av eler s   w h o   o p ted   f o r   h o t el  ac co m m o d atio n   w a s   6 3 , 0 1 1 , 1 2 6 ,   in d icatin g   p o s iti v g r o w th   in   t h h o tel  in d u s tr y .   Ho w e v er ,   i n   2 0 1 9 ,   d u to   t h i m p ac o f   t h C OVI D - 1 9   p an d e m ic  an d   s u b s eq u e n tr a v el  r estrict io n s ,   th is   n u m b er   d ec r ea s ed   to   5 7 , 7 3 6 , 8 0 4 .   Du to   th p an d e m ic,   th n u m b er   o f   to u r i s t s   in   2 0 2 0   d r o p p e d   s ig n i f ica n tl y   to   1 4 , 9 1 4 , 2 7 3 .   I n   p ar ticu lar ,   th y ea r   2 0 2 1   m ar k ed   r eb o u n d ,   s ig n ali n g   th g r ad u al  r ec o v er y   o f   th h o tel  in d u s tr y   af ter   th p an d e m ic.   T h ese  f l u ctu atio n s   in   s tatis tics   s er v a s   test a m e n to   th r esi lien c o f   th h o s p it ali t y   in d u s tr y   i n   th f ac o f   u n e x p ec ted   g lo b al  d ev elo p m e n ts .   T h e y   u n d er s co r th n ee d   f o r   co llab o r atio n   b et w ee n   g o v er n m e n au th o r itie s ,   in d u s tr y   s ta k e h o ld er s ,   an d   th p u b lic  to   r ev italize  th to u r i s m   s ec to r .   Mu ltip le   s tak e h o ld er s   h av ta k e n   p r o a ctiv m ea s u r e s   to   in cr ea s e   to u r is v is it s ,   in cl u d in g   co n d u ct in g   r esear c h   in   th e   f ield   o f   in f o r m at io n   an d   co m m u n icat io n   tech n o lo g ie s   ( I C T )   w it h in   h o tel  en v ir o n m en ts   [ 2 ] ,   [ 3 ] ,   im p r o v in g   h o tel  f ac il ities   [ 4 ] ,   [ 5 ] ,   c o n d u cti n g   g u est  s atis f ac tio n   f ee d b ac k   s u r v e y s   [ 6 ] ,   an d   estab lis h in g   s m ar t     h o tels   [ 7 ] ,   [ 8 ] .   Fig u r 1   illu s tr ates th f l u ctu a tio n s   in   t h n u m b er   o f   to u r is t s   v i s iti n g   an d   s t a y in g   i n   h o tel s .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4864   I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t Vo l.  1 4 No .   1 Ma r c h   2 0 2 5 :   1 4 5 - 1 5 6   146       Fig u r e   1 .   T o tal  n u m b er   o f   I n d o n esia n   an d   f o r ei g n   to u r is ts   s t a y in g   i n   h o tel s   r ated   w it h   a n d   w it h o u t star s       Du to   th lar g n u m b er   o f   to u r is t s   w h o   v is it  an d   s ta y   i n   h o tels ,   s ec u r it y   i s   an   is s u th at   ca n n o b n eg lec ted .   T o   im p r o v e   h o tel   s ec u r it y ,   s t u d y   o f   e s s e n t ial  co m p o n e n t s   m u s b ca r r ied   o u t   [ 7 ] .   Ho tel  r o o m   s ec u r it y ,   s u c h   as  ac ce s s   to   an d   f r o m   r o o m s ,   p la y s   v ital  r o le  an d   is   to p   p r io r ity   f o r   h o tel  o w n er s .   T h is   e m p h a s is   o n   s ec u r it y   al ig n s   s ea m les s l y   w it h   th co r m i s s i o n   o f   h o tels to   p r o v id g u es ts   w it h   s af an d   co m f o r tab le  en v ir o n m en d u r i n g   t h eir   s ta y .   I is   n o te w o r th y   t h at  h o tel  d o o r s ,   in   g en er al,   ar e q u ip p ed   w it h   v ar io u s   s ec u r it y   f ea t u r es  s p ec if icall y   tailo r ed   to   th eir   in te n d ed   u s e,   en s u r i n g   th at  g u e s ts   ca n   f ee s ec u r in   th eir   ac co m m o d atio n s .     T h a v ailab ilit y   o f   s m ar k e y   s y s te m s   th a in te g r ate  in ter n et  o f   th in g   ( I o T )   tech n o lo g y ,   as  s h o w n     in   [ 9 ] - [ 1 1 ] ,   allo w s   h o tel  m a n ag er s   to   p r o v id a   h ig h er   lev el  o f   s ec u r it y   t h r o u g h   t h e   im p le m e n tatio n   o f   elec tr o n icall y   co n tr o lled   d o o r   ac ce s s   [ 1 2 ] - [ 1 4 ] .   Ho tel  g u es ts   ca n   b e n ef i s i g n if ican t l y   f r o m   a n   I o T - d r iv en   s m ar k e y   s y s te m ,   s u c h   as  r ea l - ti m m o n ito r in g   o f   t h eir   r o o m   d o o r s   v ia  s m ar d ev ices  s u ch   as  s m ar tp h o n e s .   As  r esu lt,  ev er y o n ca n   en s u r th s ec u r it y   o f   th eir   h o tel  r o o m   d o o r s   w it h o u b ein g   p h y s i ca ll y   p r ese n t.  T h is   m o n ito r i n g   i n s tr u m en p r o v id es  ad d itio n al   s ec u r it y   an d   co n v e n ie n ce   to   v is ito r s ,   r e m o v i n g   co n ce r n s   ab o u t   u n d es ir ab le  ac ce p tan ce   o r   alter atio n s   to   th eir   r o o m   d o o r s .   A d d r ess i n g   th s ec u r it y   is s u e,   s m ar k e y   s y s te m   d r i v en   b y   I o T   h as  b ee n   p u r p o s ef u ll y   d esig n ed   to   en h a n ce   h o tel  r o o m   d o o r   s ec u r it y .   T h is   s y s te m   ai m s   to   s o lv e   s ev er al  p o ten tial  d if f icu lties .   A   s i g n i f ican t   co n ce r n   i n v o lv es   t h r is k   o f   m is p laci n g   t h r ad io   f r eq u e n c y   id en ti f icatio n   ( R FID )   k e y   c ar d   f o r   h o tel  r o o m   d o o r   ac ce s s   o r   b ein g   d is co v er ed   b y   u n id e n ti f ied   in d iv id u als .   T h is   en s u r e s   th at  o n l y   au th o r ized   p e r s o n n el  ca n   u s t h ca r d .   A ls o ,   to   p r ev en u n w a n ted   ac ce s s   an d   in te r f er en ce   w it h   h o tel  r o o m   d o o r s .   I f   th d o o r   is   d am a g ed   o r   f o r cib l y   o p en ed ,   ca u s i n g   v ib r atio n s ,   t h s y s t e m   w il tr an s m it  w ar n i n g   to   th h o tel  r o o m   o cc u p an ts   as a   p o ten t ial  d an g e r   s ig n .   As a  r esu l t,  th e y   ca n   ta k th e   ap p r o p r iate  ac tio n   i m m ed iatel y .   T h i s   in n o v a t i o n   f a ci l it a t es   in t e r a c t i o n s   b etw e en   d ev i ce s   an d   u s e r s   f o r   a c c e s s i n g   i n f o r m at i o n   ab o u t   h o t el  r o o m   d o o r   s e cu r i ty   th r o u g h   th e   T e l e g r am   a p p l ic a t i o n .   T h is   s y s t em   is   as s em b l e d   b y   in t eg r at i n g   th r e e   ty p es   o f   s e cu r i ty   s en s o r s .   T h R F I D - R C 5 2 2   s en s o r   en a b l es   a c c es s   t o   th e   h o t el   r o o m   d o o r   b y   r e c o g n i zi n g   th e   e l e c t r o n ic   k ey   c a r d .   T h e   S W 4 2 0   s en s o r   d e t e c ts   d o o r   v i b r a t i o n s ,   p o t e n t i al ly   i n d i c a ti n g   s u s p i ci o u s   a c ti v i ty .   L a s t ly ,   th e   l im it  s w it ch   is   a   s en s o r   th a t   i d e n t if i es   f o r c e d   d o o r   o p e n in g s   an d   q u ic k ly   al e r ts   p o t en t i al   s ec u r i ty   b r e a c h es .   T o   c o n tr o th is   s y s te m ,   a n   Ar d u in o   d ev ice  i s   t h e   ce n tr al  co n tr o ller   th at  co llect s   d ata  f r o m   th e s v ar io u s   s e n s o r s .   A s   r esu lt,  I o T   tech n o lo g y   i s   u s ed   to   co n n ec t h is   d e v ice  to   t h i n ter n et   d ir ec tl y .   User s   ca n   r ec eiv r ea l - ti m n o tific atio n s   v ia  t h T eleg r a m   ap p   w h e n   an   ac ti v it y   o r   is s u a f f ec t s   h o tel  r o o m   d o o r   s ec u r it y .   T h co m b in a tio n   o f   s en s o r   tech n o lo g y ,   A r d u i n o ,   an d   I o T   p r o v id es  co m p r eh en s i v s o l u tio n   to   i m p r o v e   s a f et y   w h i le  o f f er in g   h o tel  g u est s   g r ea ter   p ea ce   o f   m i n d   d u r in g   th e ir   s ta y .         2.   M E T H O D   I n   th is   r esear ch ,   w h a v ad o p ted   th Ag ile   ap p r o ac h .   T h s elec tio n   o f   t h Ag ile  ap p r o ac h   is   m o tiv a ted   b y   th e   co n ti n u o u s l y   e v o l v in g   n atu r o f   I o T   s y s te m s ,   m ak in g   t h e m   s u s ce p tib le  to   ch an g es  o v er   ti m e.   T h A g i l e   ap p r o ac h   is   i m p le m e n ted   i n   t h d e v ice  d e s ig n   p r o ce s s   o f   a n   I o T - d r iv en   s m ar t   k e y   s y s te m ,   co v er in g   s y s te m   n ee d s   a n al y s is ,   d esi g n   ( b o th   h ar d w ar a n d   s o f t w ar e) ,   i m p le m en ta tio n ,   an d   test i n g .   T h is   Ag ile  m et h o d o lo g y   allo w s   f le x ib ilit y   a n d   r esp o n s i v e n e s s   to   ch a n g i n g   r eq u ir e m e n t s   th r o u g h o u t h d ev elo p m en t   c y cle,   e n s u r i n g   th at  t h I o T - d r iv en   s m ar t   k e y   s y s te m   ca n   e f f ec ti v el y   ad ap to   tech n o lo g ical   ad v an ce m en ts   a n d   ev o lv i n g   u s er   n ee d s .   T h s tag es o f   t h i s   p r o ce s s   ar illu s tr ated   in   Fi g u r 2 .   63 58 15 34 33 0 10 20 30 40 50 60 70 2 0 1 8 2 0 1 9 2 0 2 0 2 0 2 1 2 0 2 2 T o tal Year T ot al   N um ber   of   T our i st s   ( i Mi l l i on) Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t     I SS N:   2089 - 4864       A n   in tern et  o f th in g s - d r iven   s ma r t k ey   s ystem  w ith   r ea l - time   a lert s :   in n o va tio n s   in   h o tel    ( P u tr a   Ja ya )   147       Fig u r e   2 .   Ag ile  ap p r o ac h   in   th d ev elo p m e n t p r o ce s s   o f   t h I o T - d r iv en   s m ar k e y   s y s te m       2 . 1 .     Nee ds   a na ly s is   T h in itial  s tag e s   o f   d esig n i n g   s y s te m   to   aid   in   th d ev e lo p m e n o f   an   I o T - b ased   s m a r k e y   f o r   h o tel  r o o m s   h a v r ev ea led   s ev er al  cr u cial   in s i g h ts   i n to   t h c u r r e n s tate  o f   h o tel  r o o m   d o o r s .   T h r o u g h   a   co m p r e h en s iv n ee d s   an al y s i s ,   it  b ec am ev id en t h at  s e v er al  k e y   is s u e s   n ee d   to   b a d d r ess ed .   First,  m a n y   ex is t in g   h o tel  r o o m   d o o r s   lack   th n ec ess ar y   i n f r a s tr u ct u r t o   s u p p o r t a d v an ce d   I o T   tech n o lo g y .   A d d itio n all y ,   th a n al y s is   h i g h li g h ted   t h i m p o r ta n ce   o f   e n s u r i n g   co m p atib ilit y   w ith   th v ar io u s   t y p es  o f   d o o r   lo ck in g   m ec h a n i s m s   cu r r en t l y   i n   u s e.   T h ese  in s i g h ts   ar p iv o tal  f o r   g u id in g   th s u b s eq u e n s ta g es  o f   th s m ar k e y   s y s te m   d e v elo p m e n t.   T h n ee d s   an al y s is   u n d er s co r e s   th n ec e s s i t y   o f   e n h a n ce d   g u est  s ec u r it y   t h r o u g h   t h i m p le m en tatio n   o f   s m ar k e y   s y s te m .   T h is   s y s te m   ai m s   to   b o ls ter   h o tel  g u est s '   s ec u r it y   b y   o f f er i n g   r ea l - ti m s u r v ei llan c e   an d   an   i m m ed iate  r esp o n s to   u n a u t h o r ized   en tr y   atte m p ts .   L ev er a g in g   I o T   tech n o lo g y ,   th i s   i n n o v ati v e   s o lu tio n   en s u r es  th at  g u e s ts   a r s af eg u ar d ed   ar o u n d   th clo ck .   Featu r es  s u ch   as  r ap id   a ler ts   to   b o th   h o tel   s ec u r it y   an d   g u e s ts '   m o b ile  d e v ices  n o o n l y   d eter   p o ten tial  in tr u d er s   b u also   e n ab le  i m m ed iate   ac tio n   in   th e   ev en t o f   s ec u r i t y   b r ea ch ,   ali g n in g   w it h   c u r r en t h o tel  s af e t y   s tan d ar d s .   T o   en s u r s ec u r an d   d ep en d ab le  lo ck in g   s y s te m ,   th s m a r t k e y   s y s te m   w ill  u til ize  s o l en o id   lo ck ,   w h ic h   r elies  on   elec tr o m ag n et ic  m ec h an ics.  T h is   tech n o lo g y   n o o n l y   i m p r o v es  t h r elia b ilit y   a n d   ef f icie n c y   o f   th lo c k in g   m ec h a n i s m   b u t   also   f ac ilit a tes  s ea m le s s   i n ter ac tio n   w it h   th s m ar k e y   s y s te m .   B y   r eq u ir i n g   elec tr o n ic  s i g n al s   to   o p er ate,   th s o le n o id - b ased   lo ck   o f f er s   an   ad d itio n al  la y er   o f   p r o tectio n ,   r ed u cin g   t h lik eli h o o d   o f   u n a u t h o r ized   ac ce s s   an d   e n h a n ci n g   o v er all  g u e s t sa f et y .   R e m o te  ac ce s s   an d   m o n ito r in g   w ill  b f ac ilit a ted   th r o u g h   t h T eleg r a m   ap p licatio n ,   en a b lin g   h o tel   m an a g e m e n to   o v er s ee   r o o m   ac ce s s   i n   r ea l - ti m v ia  t h in ter n et.   T h is   f ea t u r allo w s   g u e s ts   to   r ec ei v u p d ates  an d   n o tif icat io n s   d ir ec tl y   to   th eir   d ev ices,  w h ile  s taf f   ca n   s w i f tl y   ad d r ess   an y   s ec u r it y   co n ce r n s .   I n teg r atio n   w it h   T eleg r a m   e n s u r es  t h at  b o th   g u e s ts   a n d   h o te p er s o n n el  ca n   ea s il y   a n d   s ec u r el y   r e g u la te  an d   m o n ito r   ac ce s s ,   th er eb y   i m p r o v in g   o v er all  o p er atio n al  e f f ici en c y   a n d   th g u e s t e x p er ie n ce .   I n   th ev e n o f   h az ar d o u s   s i t u atio n   at  t h h o tel  r o o m   d o o r ,   s u ch   as  f o r ce d   en tr y   w it h   v ib r atio n s   o r   u n a u t h o r ized   d o o r   ac ce s s   w it h o u v ib r atio n s ,   t h s y s te m   will  i m m ed iatel y   n o tify   t h h o t el  g u e s ts   s ta y in g   i n   th at  r o o m .   T h ese  r ea l - ti m w a r n in g s   en s u r th a g u e s ts   ar p r o m p tl y   a w ar o f   an y   p o ten tia s ec u r it y   b r ea ch es ,   allo w i n g   t h e m   to   tak ap p r o p r iate  ac tio n   o r   s ee k   ass is ta n ce .   T h is   p r o ac tiv ap p r o ac h   n o o n l y   en h a n ce s   g u e s t   s af et y   b u t a l s o   d e m o n s tr ates t h h o tel 's co m m it m e n t to   p r o v id in g   s ec u r an d   r esp o n s iv en v ir o n m e n t.   Fin all y ,   t h s y s te m   ca n   b d is cr ee tl y   i n s talled   o n   th b ac k   o r   in s id t h h o tel  r o o m   d o o r ,   en s u r in g   i t   d o es  n o d etr ac t   f r o m   th r o o m 's  ap p ea r an ce   o r   th g u es t's   co m f o r t.  T h is   in v i s ib le  in s tallatio n   ap p r o ac h   allo w s   m o d er n   s ec u r it y   tec h n o lo g ies  to   f u n c tio n   s ea m le s s l y   w it h o u b ei n g   o b tr u s iv e,   g i v in g   g u e s ts   p ea ce   o f   m i n d   w h ile  m ai n tai n in g   t h h o tel' s   ele g a n ce   an d   s t y le.   B y   k ee p in g   t h s ec u r it y   s y s te m   o u t   o f   s ig h t,  h o tel s   ca o f f er   an   e n h an ce d   s e n s o f   s ec u r it y   w h ile  p r eser v in g   t h r o o m 's ae s th et ic  ap p ea l.   As  r es u lt  o f   th e s m et h o d s ,   th I o T - d r iv en   s m ar k e y   s y s te m   s ig n i f ica n tl y   en h a n ce s   t h s ec u r it y   o f   h o tel  g u est s   b y   p r o v id in g   r ea l - ti m m o n ito r in g   an d   i m m e d iate  r esp o n s c ap ab ilit ies.  T h is   s y s te m   e n ab les   ea s ier   m o n ito r i n g   o f   h o tel  r o o m   d o o r s   an d   allo w s   f o r   s w i f p r ev en ti v ac tio n s   in   p o ten tiall y   h ar m f u l   s itu a tio n s .   W it h   f ea t u r es  li k e   r e m o te  ac ce s s   a n d   s ec u r it y   n o tific atio n s ,   g u est s   ca n   h a v p ea ce   o f   m i n d   k n o w i n g   th e y   ar p r o tecte d   f r o m   u n au th o r ized   ac ce s s   a n d   o th er   s ec u r it y   t h r ea ts .   O v er all,   th i m p le m e n tatio n   o f   th i s   s m ar t k e y   s y s te m   e n s u r es a   s af er   an d   m o r s ec u r en v ir o n m e n t f o r   h o tel  g u est s .     2 . 2 .     H a rdwa re   d esig n   Ov er all,   t h co m p o n e n ts   o f   t h is   s y s te m   co n s is o f   a n   R FID - R C 5 2 2 ,   li m it  s w itc h ,   SW 4 2 0   v ib r atio n   s en s o r ,   A r d u in o   Un o   A t m eg a 3 2 8 ,   E SP 8 2 6 6   m o d u le,   an d   s o len o id   lo ck .   T h ese  co m p o n e n ts   ar co m b i n ed   to   f o r m   s y s te m   t h at  p er f o r m s   its   in ten d ed   p u r p o s e.   Fig u r e   3   s h o w s   an   ill u s tr ati v d esi g n   o f   th d ev ice 's  d ev elo p m en t.   A ct u alizi n g   d esig n   co n ce p in   t h s tr u c tu r e   o f   b lo ck   d iag r am   t h r o u g h o u th d ev elo p m en t   p h ase  is   also   k n o w n   a s   d esig n   i m p le m en tatio n .   T h m u lt ip le  co m p o n e n ts   i n   th i s   b lo ck   d iag r a m   ea c h   h av a   p ar ticu lar   p u r p o s e.   T h in p u b lo ck   d iag r a m ,   w h ich   is   t h f i r s t p h ase   in   th is   p r o ce s s ,   i s   o n o f   t h e m .   T h in p u t   b lo ck   d iag r a m   r ep r ese n ts   th in itia lizatio n   o f   t h e   n ec e s s ar y   d ata,   w h ic h   i s   t h en   tr an s f er r ed   to   th e   m icr o co n tr o ller .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4864   I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t Vo l.  1 4 No .   1 Ma r c h   2 0 2 5 :   1 4 5 - 1 5 6   148       Fig u r e   3 .   Ov er all  p r o ce s s   b lo ck   d iag r a m   o f   th d e v ice  d esi g n       Mu ltip le  s en s o r s   p er f o r m   i m p o r tan f u n ct io n s   i n   t h i s   s t u d y .   Fo r   ex a m p le,   t h e   SW 4 2 0   v ib r atio n   s en s o r   is   r esp o n s ib le   f o r   s en s i n g   v ib r atio n s   at  t h h o tel  r o o m 's  d o o r .   L ik e w i s e,   th li m it  s w itc h   is   cr itical  in   d eter m in i n g   w h eth er   t h d o o r   is   o p en   o r   clo s ed .   Me an w h ile,   t h R FID - R C 5 2 2   co m p o n en u s es  R FID   tech n o lo g y   to   u n lo c k   th d o o r   to   th e   h o tel  r o o m .   T h th r ee   t y p es  o f   s e n s o r s   ar r esp o n s ib le  f o r   ac q u ir in g   t h r eq u ir ed   d ata.   Su b s eq u en tl y ,   th e   d ata  f r o m   ea ch   s e n s o r   is   s en to   th e   m icr o co n tr o ller ,   w h ic h   s er v es   as  th ce n tr al  co n tr o u n it.  Fu r th er m o r e,   th d ata  co llected   b y   th ese  s e n s o r s   w il b r o u ted   in to   th I o T   n et w o r k   to   allo w   f u r t h er   in te g r atio n   an d   ac ce s s ib ilit y .   T h is   p r o ce s s   en ab les th e   m o r ef f ic ien t a n d   au to m atic   tr ac k i n g   a n d   m a n ag e m e n t o f   h o tel  r o o m   d o o r s .   T h p r o ce s s   b lo ck   d iag r a m   s tates  t h s y s te m 's  es s en tial  co m p o n e n t s ,   s u c h   as  t h A r d u in o   Un o   m icr o co n tr o ller   an d   th I o T   in f r astr u ctu r e.   T h is   p r o ce s s   b lo ck   r ep r esen ts   th e n tit y   r esp o n s ib le  f o r   p r o ce s s in g   d ata  f r o m   th e   in p u b lo ck .   T h A r d u i n o   m icr o co n tr o ller   w il d ir ec t h e   d ata  f r o m   th e   in p u t   b lo ck   t h r o u g h   p r o ce s s in g   s tep s .   Data   w ill  b d eliv er ed   to   th n ex le v el  th r o u g h   r ich er   i n f o r m ati o n al  d ata  v ia  I o T   tech n o lo g y .   T h o u tp u b lo c k   d iag r a m   s h o w s   th f i n al  s tep   o f   th e   p r o ce s s   f lo w .   T h is   b lo ck   is   t h r ec ei v er   o f   in f o r m atio n a d ata  th at  t h A r d u in o   m icr o co n tr o ller   h as  p r o ce s s ed .   T h p r o ce s s ed   d ata  w i ll  b d eliv er ed   to   an   elec tr o n ic  k e y   to   b s en t v ia  n o tif icatio n s .   T h h ar d w ar d esig n   m et h o d   in clu d es  s elec ti n g   an d   cu s to m izi n g   m an y   co m p o n e n ts   th a m ee t h e   d ev ice' s   n ee d s .   T h p u r p o s is   f o r   ea ch   co m p o n e n to   b len d   ef f o r tle s s l y .   Fi g u r e   4   s h o w s   t h s ch e m atic  d esi g n   o f   th s m ar k e y   s y s te m   to   o p ti m ize  t h cir cu it   s tr u ct u r e.   T h is   g r ap h ic  s h o w s   t h co m p lete  co n f i g u r atio n   r eq u ir ed   to   m ee f u n ctio n al  r eq u ir e m e n ts   a n d   en s u r th s m ar t k e y   s y s te m 's d esi g n   ca n   r u n   o p ti m all y .           Fig u r 4 .   Ov er all  cir cu it  s ch e m atic   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t     I SS N:   2089 - 4864       A n   in tern et  o f th in g s - d r iven   s ma r t k ey   s ystem  w ith   r ea l - time   a lert s :   in n o va tio n s   in   h o tel    ( P u tr a   Ja ya )   149   2 . 2 . 1 .   M icro c o ntr o ller  AT M eg a   3 2 8   T h A r d u i n o   m icr o co n tr o ller   is   cr itical  to   p r o ce s s in g   i n p u t   an d   o u tp u d ata  i n   t h I o T - b ased   s m ar k e y   d ev ice.   T h A r d u i n o   m i cr o co n tr o ller   p r o ce s s es  all  s e n s o r   i n f o r m atio n   an d   i n s tr u ct io n s   to   t h e   l in k ed   d ev ices.  T h A T Me g a3 2 8   ch ip ,   w h ic h   h as  1 4   d ig ital  p o r t   p i n s   an d   s i x   an alo g   p o r p in s ,   is   u s ed   in   A r d u i n o ,   m icr o co n tr o ller   d ev elo p m e n d ev ice.   I n   ad d itio n ,   A r d u in o   in clu d e s   1 6   MH c r y s tal  o s cillato r ,   a   USB   p o r t,   r eset  b u tto n ,   an d   p o w er   j ac k .   As  th p r i m ar y   d ata  p r o ce s s o r ,   A r d u in o   is   cr itical  i n   p r o ce s s i n g   s e n s o r   d ata  an d   o r g an i z in g   d u ties   th at   o th er   co m p o n e n ts   o f   t h s m ar t   k e y   s y s te m   m u s t   co m p lete.   Ar d u in o   ca n   co n n ec t   v ar io u s   s e n s o r s   an d   ac tu ato r s   th at  p lay   r o le   in   th d ev ice' s   f u n ctio n in g   u s in g   its   d iv e r s if ied   d ig ital  an d   an alo g   p in s   [ 1 5 ] - [ 1 7 ] .     2 . 2 . 2 .   E SP8 2 6 6   T h E SP 8 2 6 6   m o d u le   is   v ital   to   co n n ec t   th d e v ice  to   t h i n ter n et  t h r o u g h   Wi - F [ 1 8 ] .   T h i s   m o d u le   co n tain s   a n   E SP 8 2 6 6   ch ip   b u ilt  a n d   co n n ec ted   w i th   o t h e r   co m p o n en t s   o f   i n ter n et  co n n ec ti v it y   [ 1 9 ] .   T h e   E SP 8 2 6 6   m o d u le  is   t y p icall y   u s ed   w it h   m icr o co n tr o ller ,   w h ic h   m a k es   it   a n   ad d itio n al  d ev ice  th at  allo w s   i to   co n n ec to   t h i n ter n et.   I n te g r atin g   t h E SP 8 2 6 6   m o d u le  w it h   m icr o co n tr o ller   i m p r o v es  th e   ab ili t y   o f   t h e   d ev ice   to   w o r k   o n li n i n   n u m er o u s   ar ea s   o f   l if [ 2 0 ] ,   [ 2 1 ] ,   allo w i n g   it  to   co m m u n icat e,   s en d ,   an d   r ec ei v d at a,   an d   p ar ticip ate  in   in ter n e t - b ased   r esear ch   [ 2 2 ] ,   [ 2 3 ] .     2 . 2 . 3 .   SW4 2 0   v ibra t io n sens o r   T h SW 4 2 0   v ib r atio n   s en s o r   ca n   d etec v ib r atio n s   o r   s h o ck s   f r o m   m a n y   d ir ec tio n s   [ 2 4 ] .   T h is   s en s o r   o p er ates   u s in g   m etal  f lo at  w i th   t w o   elec tr o d es  w it h i n .   T h s en s o r   r em ai n s   attac h ed   w it h o u v ib r atio n ,   w h ic h   ca u s e s   lo w   o u tp u v alu e.   T h co n n ec tio n   is   b r o k e n   w h e n   t h s e n s o r   d etec ts   v ib r atio n s ,   p r o d u cin g   a   h i g h   o u tp u v al u [ 2 5 ] .   W h en   v ib r atio n s   o cc u r   i n   t h is   g ad g et,   th A r d u i n o   m icr o co n tr o ller   an d   I o T   s y s te m s   p r o ce s s   t h in p u d ata  r ec eiv ed   b y   th s e n s o r .   T h p r o ce s s ed   d ata  ar e   th en   tr an s m itted   as  n o tice  to   th e   T eleg r am   ap p licatio n .   T h is   m eth o d   allo w s   u s er s   to   r ec eiv r ea l - ti m in f o r m at io n   o n   v ib r atio n s   o r   s h o ck s   in   th m o n ito r ed   s y s te m .   A s   a   r esu lt,  in teg r ati n g   th v ib r a tio n   s en s o r   w it h   A r d u i n o   an d   I o T   p r o v id es  an   ef f ec tiv s o lu t io n   to   m o n ito r   ac tiv itie s   o r   cir cu m s ta n ce s   t h at  r eq u ir s p ec ial  atten tio n .     2 . 2 . 4 .   RF I D - RC5 2 2   R FID   is   r ad io   w a v e - b a s ed   id en tif icatio n   s y s te m   t h at   m a y   w ir eles s l y   tr a n s f er   id en ti f icatio n   in f o r m atio n   as  P I N.   T h R FID   r ea d er   an d   th R FID   tag   ar th tw o   m ai n   ele m e n t s   th at  p la y   an   ess e n tia l   r o le   in   th is   tech n o lo g y .   I o p er ates  s i m ilar l y   to   r ad io   w a v es  i n   th at  th R FID   r ea d er   tr an s m its   r ad io   w a v es  t h at   ar s u b s eq u en tl y   r ec ei v ed   b y   t h R FID   ta g ' s   an te n n a.   A   c h ip   w ith in   th e   R FID   tag   h o ld s   u n iq u I co d f o r   ea ch   tag .   T h R FID   ta g   an ten n th e n   tr an s m its   t h d ata  to   b r ea d   b y   t h R FID   r ea d er .   R FID   tec h n o lo g y   i s   u s ed   in   t h i s   s y s te m   to   u n lo ck   t h d o o r s   o f   h o tel  r o o m s   [ 2 6 ] ,   [ 2 7 ] .   As  in p u t,  t h SW 4 2 0   v ib r atio n   s en s o r   an d   R FID   tech n o lo g y   ar i m p le m e n ted   in   th i s   s y s te m .   T h s y s te m   also   u s e s   li m it  s w itc h   to   d etec w h en   th h o tel  d o o r   is   f o r ce d   o p en   w it h o u l e g i ti m ate  co n tr o l.  T h li m it   s w itc h   f u n ct io n s   a s   a n   e lectr o m ec h a n ical  s w itc h   t h at  ca n   ch a n g t h p o s itio n   o f   t h co n tact  ter m in al s   f r o m   n o r m all y   clo s ed   to   o p en   o r   v ice  v er s a.   T h is   l i m it  s w i t ch   is   m a n u all y   ad j u s ted   in   u s b y   p u s h i n g   [ 2 8 ] .   T h is   s y s te m   p r o v id es   a n   ef f ec tiv an d   i n te g r ated   s ec u r it y   la y er   f o r   th s a f a n d   co n tr o lled   o p en in g   o f   h o tel   r o o m   d o o r s   b y   co m b i n i n g   R FI tech n o lo g y ,   t h SW 4 2 0   v ib r atio n   s e n s o r ,   an d   th li m it  s w it ch .     2 . 2 . 5 .   S o leno id   A   s o len o id   i s   a n   elec tr o n ic  co m p o n e n t   th a o p er ates  u n d er   th co n ce p o f   elec tr o m a g n etic  a n d   co n s is ts   o f   co n d u c to r   w ir t w i s ted   ar o u n d   an   ir o n   co r [ 2 9 ] .   So len o id s   t y p icall y   f u n ct io n   at  v o ltag o f     12   VDC.  W h e n   an   elec tr ic  c u r r en f lo w s   th r o u g h   t h ir o n   co r e,   th s o le n o id   g e n er ates   m a g n etic  f ield ,   ca u s i n g   th s o le n o id   to   o p en .   W h en   t h er is   n o   elec tr ic  cu r r en t f lo w in g ,   th s o len o id   r e m a in s   lo c k ed .   T h s o len o id   co n tr o ls   ac ce s s   i n   it s   o p er atio n ,   w h ile  o t h er   co m p o n en ts ,   s u c h   a s   R FID - R C 5 2 2   an d   th e   li m it  s w itc h ,   d etec leg al  e n tr y   a n d   p r ev en u n w an ted   attem p ts   [ 3 0 ] .   T h SW 4 2 0   v ib r atio n   s e n s o r   d etec ts   u n u s u al  s h o c k s   o r   v ib r atio n s   o n   t h d o o r ,   w h ile  t h A r d u in o   Un o   A t m eg a3 2 8   an d   E SP 8 2 6 6   m o d u les  m a n ag e   d ata  an d   n e t w o r k   co n n ec ti v it y .   C o m b i n i n g   all  t h ese   co m p o n en t s   p r o d u ce s   a   co m p le x   s y s te m   f o r   h o tel   r o o m   d o o r   s ec u r it y.     2 . 2 . 6 .   So f t w a re   d esig n   T h s o f t w ar i s   d esi g n ed   ac co r d in g   to   t h s y s te m   f lo w   r ep r esen ted   in   Fi g u r 5 .   T h i s   d iag r a m   o u tlin e s   t h s tep s   t h s o f t w ar e   m u s f o llo w   to   en s u r ef f icie n an d   e f f ec tiv o p er atio n .   E a ch   co m p o n e n i n   th e   s y s te m   f lo w   h a s   b ee n   ca r ef u ll y   in teg r ated   to   en s u r s m o o th   p r o ce s s es.  B y   ad h er i n g   t o   th g u id eli n es  i n   Fig u r 5 ,   th s o f t w ar d ev elo p m en t p r o ce s s   ca n   b m o r s tr u ctu r ed   an d   o r g an ized .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4864   I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t Vo l.  1 4 No .   1 Ma r c h   2 0 2 5 :   1 4 5 - 1 5 6   150       Fig u r e   5 .   Flo w c h ar t so f t w ar s y s te m       2 . 3 .     I m ple m e nta t io n   As  s p ec i f ied   in   th r eq u ir e m e n t s   m e n tio n ed   ab o v e,   t h d ev elo p m e n o f   d ev ice s   an d   s u p p lies   is   th e   f ir s s tep   to w ar d s   d ev elo p in g   an   I o T - b ased   s m ar k e y   f o r   h o tels .   Fo llo w i n g   th a t,  th p r o g r a m   d esig n   p r o ce s s   w il b ca r r ie d   o u in   th f o r m   o f   s o f t w ar e,   w it h   A r d u i n o   I DE   s o f t w ar f u n ctio n in g   as  th p latf o r m   f o r   d ev elo p in g   t h p r o g r a m   in   t h C   p r o g r a m m in g   la n g u a g e,   w h ich   h as  b ee n   o p ti m ized   f o r   m icr o co n tr o ller   p r o g r am m i n g .   T h co m p o n e n in s tallatio n   p r o ce s s   i s   t h en   c ar r ied   o u t,  w h ic h   i n v o l v es   th e   u s e   o f   h a n d   d r ill  to   p r o d u ce   h o les  in   th b ase   m ater ials   s u c h   as  p l y w o o d   an d   ac r y lic.   T h ese  h o les  w i ll  s e cu r th d ev ice  b y   s ec u r i n g   t h co m p o n e n t s   an d   in s talli n g   b o lts .   Fi n all y ,   th n ec ess ar y   co m p o n e n ts   w ill   b s y s te m atica l l y   ass e m b led   ac co r d in g   to   th cir cu it d esi g n   p r ev io u s l y   p lan n ed .   J u m p er   ca b les   co n n ec o n co m p o n en to   an o th er   in   th is   co n s tr u ct io n ,   an d   th ese  co n n ec tio n s   ar r ein f o r ce d   w it h   s o ld er   an d   tin   to   en s u r s tr o n g   an d   d u r ab le  co n n ec tio n s .   A r d u in o   Un o ,   E SP 8 2 6 6   m o d u le R FID - R C 5 2 2 ,   SW 4 2 0   v ib r atio n   s en s o r ,   li m it  s w itc h ,   r ela y ,   k e y   s o len o id ,   1 2   VDC  ad ap ter ,   an d   o th er   d esig n - r elate d   co m p o n e n ts   ar u t ilize d   in   th as s e m b l y .   Fi g u r e s   6   illu s tr ate  th cir cu it  d iag r a m s   an d   th ap p licatio n   o f   t h cr ea ted   d ev ice.   Fi g u r e   6 ( a)   s h o w ca s e s   t h p h y s ical   u til izatio n   o f   t h a s s e m b led   d ev ice  i n   e v er y d a y   s ce n ar io s ,   p r o v id in g   clea r   v ie w   o f   h o w   t h d ev ice  in te g r ates  i n to   it s   in ten d ed   en v ir o n m e n t.  Fi g u r 6 ( b )   d ep icts   an   elec tr o n ic  cir c u it   d iag r a m   d etaili n g   th co n n ec tio n s   b et w ee n   th e s co m p o n en t s ,   o f f er in g   a   tech n ical  p er s p ec tiv o n   t h d ev ice' s   i n ter n al  w o r k i n g s   a n d   h o w   ea ch   p ar in ter ac ts   to   ac h iev t h d esire d   f u n ctio n alit y .   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t     I SS N:   2089 - 4864       A n   in tern et  o f th in g s - d r iven   s ma r t k ey   s ystem  w ith   r ea l - time   a lert s :   in n o va tio n s   in   h o tel    ( P u tr a   Ja ya )   151       ( a)   ( b )     Fig u r e   6 .   I llu s tr ate  t h cir cu it  d iag r a m s   a n d   th ap p licatio n   o f   th cr ea ted   d ev ice   ( a)   s h o w c ases   t h p h y s ical  u tili za t io n   o f   t h as s e m b led   d ev ice  in   e v er y d a y   s ce n ar io s   an d   ( b )   d e p icts   an   elec tr o n ic  cir cu it d iag r a m   d etailin g   th co n n ec tio n s   b et wee n   th e s co m p o n e n ts       3.   RE SU L T S AN D I SCU SS I O N   Dif f er en k i n d s   o f   s e n s o r s   ar e   e m p lo y ed   in   t h s m ar k e y   i n p u cir c u it.  T h R FID - R C 5 2 2   s en s o r   is   th f ir s to   b u s ed .   T h R FID   s en s o r   w a s   tes ted   to   d eter m i n e   its   p er f o r m a n ce   co n ce r n i n g   th r ea d in g   d is tan ce   b et w ee n   th R FID   r ea d er   an d   th R FID   ca r d .   T h R FID   ca r d   w a s   co n n ec ted   to   th R FID   r ea d er   f r o m   v ar io u s   d is tan ce s   d u r in g   test i n g .   T h r esu lt s   o f   th i s   test   i n d icate d   th at  th R FID   r ea d er   co u ld   s u cc ess f u l l y   r ea d   th e   R FID   tag   f r o m   u p   to   3   cm   aw a y .   Ho w e v er ,   d is tan ce s   o v e r   3   ce n ti m eter s   d id   n o p r o d u ce   ac cu r ate  r esu lts .   Du r in g   t h is   tes t,  th R FID   s en s o r   w as  g iv e n   v o lta g in p u o f   3 . 4   VDC.  T ab le  1   an d   Fig u r 7   s h o w   v o lta g e   r ea d in g s   at  s p ec if ic  p o s itio n s   o n   th A r d u i n o ,   n o tab l y   p i n s   D9 ,   D1 0 ,   D1 1 ,   D1 2 ,   an d   D1 3 .       T ab le   1 .   A r d u in o   v o lta g m ea s u r e m en t s   to   ev al u ate   R FID - R C 5 2 2   P i n   l o c a t i o n   V o l t a g e   me a su r e me n t   i n   R F I D   (V)   V C C   3 . 4   S C K   0 . 4   S D A   2 . 4   R S T   3 . 2   M I S O   0 . 2   M O S I   3 . 4           Fig u r e   7 .   E x p er i m en tatio n   a n d   m ea s u r e m e n t s   o n   th s m ar t d o o r   d ev ice       B ased   o n   th ese  m ea s u r e m e n ts ,   it  is   p o s s ib le  to   c o n clu d th at  th R FID   s en s o r   w o r k s   n o r m all y   a n d   f o llo w s   t h e x p ec ted   s p ec if ic atio n s .   F u r t h er m o r e,   th e   d e v i ce ' s   f u n ctio n ali t y   w a s   te s ted   w h e n   th d o o r   w a s   o p en ed   w it h o u v ib r atio n .   A cc o r d in g   to   th r es u lts   o f   th is   tes tin g ,   if   t h d o o r   w er o p en ed   w it h o u t v ib r atio n ,   a   n o tific atio n   aler t   w o u ld   b s e n t   to   t h u s er   t h r o u g h   t h T eleg r a m   s c h e m e.   Fi g u r 8   s h o w s   t h n o ti f icat io n   d is p la y .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4864   I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t Vo l.  1 4 No .   1 Ma r c h   2 0 2 5 :   1 4 5 - 1 5 6   152       Fig u r 8 .   T eleg r am   n o tif ica tio n   f o r   o p en - d o o r   ev en t       T h li m it  s w i tch   i s   t h s ec o n d   s en s o r   i n   th s m ar k e y   in p u t   cir cu it.  T h li m it  s w itc h   w as  test ed   b y   tak i n g   m ea s u r e m e n ts   w it h   m u lti m eter   at   t h ter m i n als   o f   th l i m i s w i tch .   T h m ea s u r e m en s h o u ld   y ield   a   ce r tain   v a lu if   t h li m it  s w itc h   is   i n   g o o d   w o r k i n g   co n d itio n   an d   co n n ec ted .   T h m ea s u r e m en t s h o u ld   c h an g e   af ter   p r ess in g   th li m it  s w i tch   w it h   m u l ti m eter   p r o b e,   s h o w i n g   th at  t h li m it  s w itc h   is   en g a g ed .   T h lim i t   s w itc h   v o lta g w a s   m ea s u r ed   at  p in   D7   o f   t h A r d u i n o   U n o   an d   t h g r o u n d   co n n ec tio n   was  co n n ec ted   at  t h e   A r d u i n o   g r o u n d   p in ,   w h ich   y i eld s   th m ea s u r e m e n t d ata  s h o w n   i n   T ab le  2 .       T ab le  2 .   Vo ltag m ea s u r e m e n t s   o f   A r d u i n o   in p u t r ea ctio n   to   li m it  s w itc h   C o n d i t i o n   V o l t a g e   i n   l i mi t   sw i t c h   (V)   P u sh   0   N o t   p u sh   3 . 8       B ased   o n   th e   r esu lts   o f   t h i s   t esti n g ,   it   is   p o s s ib le  to   co n c lu d th at  t h l i m i s w itch   w o r k s   co r r ec tl y   an d   f o llo w s   t h ex p ec ted   co n d itio n s .   F u r t h er m o r e,   th e   d ev i ce s   w er o p er ated   w h en   th e   li m it  s w itc h   d etec ted   th h o tel  d o o r   b ein g   s e v er el y   o p en ed .   T h is   tes tin g   s h o w ed   t h at  n o tific atio n   a ler w o u ld   b s en to   t h u s er   v ia  th T eleg r a m   ap p licatio n   i n   s u ch   s ce n ar io .   T h is   test i n g   s h o w ed   th at  n o ti f icat io n   ale r w o u ld   b s en to   th u s er   v ia  t h T eleg r a m   ap p licatio n   in   s u c h   s ce n ar io .   Fig u r 9   s h o w s   t h n o t i f icati o n   d is p la y ,   w h ic h   p r o v id es  v is u al  r ep r esen tati o n   o f   h o w   th aler ap p ea r s   o n   th u s er 's  d ev ice.   T h is   f ea t u r en s u r es  th at  u s er s   ar p r o m p tl y   i n f o r m ed   o f   r elev an e v e n ts   o r   u p d ates,  en h a n cin g   t h o v er all  f u n ctio n alit y   an d   u s er   ex p er ien c e   o f   th s y s te m .   T h SW 4 2 0   v ib r atio n   s en s o r   is   th th ir d   s en s o r   test ed .   T h v ib r atio n   s en s o r   w a s   test ed   to   en s u r th at  it  p er f o r m s   b y   t h p r e - p r o g r am m ed   p r o g r a m .   T h test   w a s   ca r r ied   o u o n   th o u tp u o f   th SW 4 2 0   v ib r atio n   s e n s o r ,   w h ic h   w a s   co n n ec ted   to   p in   A 0   o n   th e   A r d u i n o   Un o   m icr o co n tr o ller .   A   5   VDC  s u p p l y   o p er ated   th v ib r atio n   s en s o r ,   an d   th g r o u n d   co n n ec tio n   w a s   co n n ec ted   to   th A r d u in o   U n o   g r o u n d   p in .   T h f o llo w i n g   co n d it io n s   ar e   s tan d ar d   cr iter ia:  w h en   v ib r ati o n   is   d etec ted ,   th v o ltag o u tp u f r o m   th SW 4 2 0   v ib r atio n   s en s o r   is   s u p p o s ed   to   b e   5   VDC.  B ase d   o n   th test   r esu lt s ,   th m ea s u r ed   o u tp u v o lta g e   is   4 . 6   VDC  w h e n   v ib r atio n   i s   d etec ted .   T h A r d u i n o   U n o   m icr o co n tr o ller   w ill  p r o ce s s   th i n p u t   v ia   th i s   v ib r atio n   s en s o r .   T h r esu lts   w il b r etu r n ed   to   th E SP 8 2 6 6   m o d u le,   w h ich   w ill  n o tify   t h u s er   an d   th e   ad m in i s tr ato r   if   an y   v ib r atio n   is   d etec ted   o n   th h o tel  d o o r .   W h en   th SW 4 2 0   v ib r atio n   s en s o r   d etec ts   v ib r atio n s ,   n o ti f icat io n   r ec o g n i tio n   i s   is s u ed   to   th u s er   th r o u g h   t h test in g - b ased   T el eg r a m   ap p licat io n .   Fig u r 9 ( a )   d ep icts   th n o ti f icatio n   s y s te m   d es ig n ed   to   aler u s er s   an d   ad m i n is tr at o r s   in   t h e v en t   o f   u n a u t h o r ized   d o o r   o p en in g ,   en h a n ci n g   s ec u r it y   m ea s u r es.  Fu r t h er m o r e,   Fig u r 9 ( b )   illu s tr ates  th u tili za t io n   o f   th T eleg r a m   ap p licatio n   f o r   n o tify i n g   u s er s   o f   d o o r   v ib r atio n s ,   co m p le m e n ti n g   th p r ev io u s l y   d escr ib ed   n o tific atio n   s y s te m   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t     I SS N:   2089 - 4864       A n   in tern et  o f th in g s - d r iven   s ma r t k ey   s ystem  w ith   r ea l - time   a lert s :   in n o va tio n s   in   h o tel    ( P u tr a   Ja ya )   153       ( a)   ( b )     Fig u r 9.   T eleg r am   n o tif ica tio n   ( a)   f o r   th f o r ce d - o p en   d o o r   ev en t   a n d   ( b )   w it h   v ib r atio n   f o r   th d o o r   ev en t       T h A r d u i n o   Un o   an d   t h E SP 8 2 6 6   m o d u le  co n s tr u ct  t h e   elec tr o n ics  o f   t h i s   s y s te m .   T h o u tp u v o ltag w a s   m ea s u r ed   at  th A r d u i n o   Un o   I /O  p o r p in   p o s itio n s   li n k ed   to   th m o d u le  an d   s en s o r s   u ti lized   in   th is   d ev ice  d u r in g   test i n g .   T h A r d u in o   Un o   w a s   g i v en   1 2   VDC  i n p u v o ltag to   ac ti v ate  th e   m o d u le ' s   r ed   L E i n d icatio n .   T h i s   test in g   i n clu d e s   d ig i tal  p o r ts   f r o m   D0   to   D1 3   an d   an alo g   p o r ts   f r o m   A 0   to   A 5 .   T h tes t   r esu lt s   s h o w ed   t h at  t h A r d u in o   Un o ' s   o u tp u v o ltag i s   1 2   VDC an d   t h at  all  p o r ts   ar ac tiv e.   T h A r d u in o   U n o   m o d u le  w a s   test ed   u s i n g   th A r d u i n o   I DE ,   w it h   th r es u lt s   d is p la y ed   o n   th s er ial   m o n ito r .   T h o b j ec tiv o f   th i s   test   w as  to   v er if y   th a th o u tp u o f   t h SW 4 2 0   v ib r atio n   s en s o r   an d   li m i t   s w itc h   co r r esp o n d ed   to   th p r ev io u s l y   p r o g r a m m ed   co d e.   T h test   w as  s u cc es s f u i f   s tr i k in g   t h h o tel  d o o r   r esu lted   in   v ib r atio n   d is p la y   o n   th s er ial  m o n ito r .   Fu r t h er m o r e,   if   th h o tel  d o o r   w er o p en ed   w it h o u t   ap p r o v al,   th s er ial  m o n ito r   wo u ld   d is p la y   t h p h r ase  " p in tu   d ib o b o l . "   Fig u r 1 0   s h o w s   an   illu s tr ati o n   o f   th e   s er ial  m o n ito r   d is p la y .           Fig u r e   10 .   A r d u i n o   s en s o r   s y s te m   tes t r esu l ts   d is p la y ed   o n   th s er ial  m o n ito r   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4864   I n t J   R ec o n f i g u r ab le  &   E m b ed d ed   Sy s t Vo l.  1 4 No .   1 Ma r c h   2 0 2 5 :   1 4 5 - 1 5 6   154   Fu r t h er m o r e,   th E SP 8 2 6 6   W i - Fi  m o d u le  w a s   test ed   w ith   a   3 . 4   VDC  p o w er   s u p p l y   p r o v id ed   b y   a   s tep - d o w n   r e g u la to r   DC   to   D C   co n v er ter   w ith   3 . 4   VDC  o u tp u v o lta g e.   T o   estab lis h   c o n n ec tio n   f r o m   th e   E SP 8 2 6 6   m o d u le  to   th A r d u i n o ,   co n n ec p in   D2   o n   th A r d u in o   to   p in   GP I O - 1   o n   th E SP 8 2 6 6   m o d u le  an d   co n n ec p in   D3   o n   th A r d u i n o   to   p in   GP I O - 3   o n   th E SP 8 2 6 6   m o d u le.   T h is   test 's  m ai n   o b j ec tiv w a s   th e   m ea s u r e m e n p o i n o n   th VC C   p i n   o f   t h E SP 8 2 6 6   m o d u le,   w h ic h   s h o w s   t h a ctiv s tatu s   a n d   th e   co n n ec tio n   to   th W i - Fi n et w o r k .   A T   co m m a n d   in s tr u ctio n s   w er u s ed   to   co n f ig u r th e   E SP 8 2 6 6   m o d u le  as  an   ac ce s s   p o in t,   co n n ec ti n g   th e   m o d u le  to   th e   in ter n e t   n et w o r k .   T h m o d u le  w a s   also   d etec ted   u s i n g   lap to p   d u r in g   t h i s   test i n g .   T h E SP 8 2 6 6   W i - Fi  m o d u le  tes tin g   r es u lts   i n d icat th at  th m o d u le  ca n   b p r o p er ly   n o ticed   an d   co n n ec ted   to   th W i - Fi  n et w o r k ,   as s h o w n   i n   Fi g u r 1 1 .           Fig u r e   11 .   Sy s te m   test   r es u lt s   o f   th E SP 8 2 6 6   m o d u le       A   s o le n o id   lo ck   is   u s ed   in   t h s m ar k e y   s y s te m 's  o u tp u c ir cu it.  T h s o len o id   lo ck   w as   test ed   b y   in v e s ti g ati n g   th e   r esu lts   o f   t h o p er atio n ,   s p ec if icall y   w h et h er   o r   n o t h h o tel  d o o r   lo ck ed   b y   t h s o len o id   lo ck   co u ld   b o p en ed .   T h is   p r o ce d u r d ep en d s   o n   w h eth er   o r   n o t th R FID   ca r d   tag   r ea d in g   w as s u cc e s s f u l.  If   R FID   ca r d   tag   d etec tio n   i s   s u cc ess f u l,  t h s o le n o id   lo ck   is   p u s h ed   i n to   th d o o r ,   an d   th e   d o o r   o p en s .   I f   th e   R FID   ca r d   tag   r ea d in g   f a ils ,   t h s o le n o id   lo ck   w i ll  r e m a in   in   s p ec if ic  p o s i tio n ,   p r ev e n t in g   th e   h o tel  d o o r   f r o m   o p en i n g .   T h s o len o id   l o ck   o p er atio n   w as  te s ted   w it h   a   1 2   VDC  in p u v o lta g a d ap to r .   T h v o ltag m ea s u r e m e n t   p o in o f   t h s o le n o id   lo ck ,   lo ca ted   at  t h r ela y ' s   NC   p in ,   w as  t h f o cu s   o f   t h i s   test in g .   W h e n   t h e   s o len o id   lo ck   is   o p en ,   th m e asu r ed   v o ltag is   0   v o lts ,   b ased   o n   th test   r esu lts .   W h en   t h s o len o id   lo ck   is   clo s ed ,   th m ea s u r ed   v o lta g is   1 2   VDC.  B ased   o n   th r es u lts   o f   t h ese  tes ts ,   it  i s   p o s s ib le  to   d eter m i n t h at   th s o le n o id   lo ck   ac tio n   w o r k s   p r o p e r ly   a n d   w ith i n   t h r eq u ir ed   p ar am eter s .       4.   CO NCLU SI O N   Ov er all,   t h I o T - en ab led   s m a r d o o r   lo ck   s y s te m   f o r   h o tel  d ev ices  ac co m p li s h ed   s ig n i f ic an g o als,   in cl u d in g   th d ev elo p m e n o f   b o th   s o f t w ar an d   h ar d w ar f o r   s ec u r it y   n o ti f icatio n s   ca p ab le  o f   d etec tin g   s u s p icio u s   ac t iv it ies  s u c h   as  f o r ce d   u s o f   r o o m   k e y s   a n d   d o o r s   o p en in g   w it h o u v ib r atio n .   T h d ev elo p m en t   o f   t h o p er atio n al  co n f i g u r atio n   s o f t w ar f o r   th e   A t m eg a 3 2 8   an d   E SP 8 2 6 6   m o d u le s   also   i m p r o v ed   t h e   s y s te m 's  ca p ab ilit ies  r e g ar d in g   d ata  p r o ce s s i n g   a n d   n o ti f icatio n   v ia  t h I o T   n et w o r k .   Fu r t h er m o r e,   t h e   i m p le m en ta tio n   o f   th i s   s m ar t   k e y   d ev ice  ad d s   n ew   d i m en s io n   b y   ad d in g   r e m o te  r ea l - ti m m o n ito r in g   ca p ab ilit ies,  b o o s tin g   s ec u r it y   h o lis t icall y ,   a n d   allo w i n g   u s er s   to   o v er s ee   s ec u r it y   r e m o t el y .   A s   r esu lt,  an   ef f ec tiv s o lu t io n   is   e s tab lis h e d   to   p r o tect   b o th   g u est s   an d   h o tel  m a n ag e m e n t.   Evaluation Warning : The document was created with Spire.PDF for Python.