I n d on e s i an   Jo u r n al   o El e c t r i c al   En gi n e e r i n g   an d   C o m p u te r   S c i e n c e   V o l .   1 5 ,   N o .   1 Ju ly   201 9 ,   pp .   17 8 ~1 8 2   IS S N :   2502 - 4752 ,   D O I :   10. 1 1591 / i j e e c s . v 1 5 .i 1 . pp17 8 - 1 8 2             178       Jou r n al   h o m e pa ge ht t p: / / i ae s c or e . c om / j our na l s / i nde x . php/ i j e e c s   R e a l - t i m e   w a t e r   q u a l i t y   m o n i t o r i n g   sy st e m :   a n   I o T   a p p l i c a t i o n       Zu l k h ai r i   M o h d   Y u s o f,   M d   M as u m   B i l l ah ,   K u s h s ai r K a d i r   U n i v e r s i t i   K u a l a   L um pu r   B r i t i s M a l a y s i a I n s t i t u t e   (U n i K L   B M I),   M a l a y s i a       A r ti c l e   I n fo     A B S TR A C T   Ar t i c l e   h i s t or y :   R e c e i v e A ug   2 1,   201 8   R e v i s e N o v   18 ,   2018   A c c e pt e M a r   10 ,   201 9       T he r e   i s   hug e   num be r   o f   di s e a s e s   w hi c i s   c a us e t h r o ug w a t e r   dr i nki ng  t ha t   b e i ng   po l l u t e d   w a s   s up pl i e d   t o   t he   c o ns um e r .   T hi s   i s   s o m e t hi ng   t ha t   c a nno t   be   unde r e s t i m a t e   be c a us e   i t   c a c a us e   hi g c o s t   o f   t r e a t m e n t   o r   de a t h .   I t s   no t   o nl y   c a us e s   t r o ubl e s   t o   t he   c o ns um e r   w hi c i s   hum a n ,   i t   i s   a l s o   i nc l ud e a l l   a qua t i c   l i f e   a n s ur r o undi ng   e c o s y s t e m .   T he r e   i s   w a y   t o v e r c o m e   t hi s   p r o bl e m   t ha t   c r e a t e b e f o r e   w hi c i s   t a ke   t he   s a m p l e   o f   w a t e r   t o   t he   l a b .   T h e   r e s u l t   o f   w a t e r   b e i ng   po l l ut e o r   no t   w i l l   be   r e l e a s e by   t he   l a b .   B u t   t h i s   s y s t e m   g o i ng   t o   t a ke   l o t   o f   t i m e s   b e c a us e   t h e r e   a r e   f e w   pr o c e s s e s   t ha t   s ho ul b e   f o l l o w e d .   T h i s   s y s t e m   i s   no t   s u i t a b l e   a ny m o r e   be c a us e   i t   i s   no t   po r t a bl e ,   e a s y   a nd  f a s t e s t .   I t   s ho ul be   u pg r a de t o   t he   I o T   s y s t e m   be c a us e   i t   c a c ut   t i m e s ,   i n t e r ne t   ba s e   a nd  p e o pl e   w i l l   be   m o r e   a l e r t   t o   t he   qu a l i t y   o f   w a t e r .   T he r e f o r e ,   a   r e a l - t i m e   w a t e r   qua l i t y   m o ni t o r i ng   s y s t e m   i s   pr o po s e i t h i s   r e s e a r c t o   r e duc e   n um be r   o f   f a t a l i t i e s   ha ppe ne d     f r o m   w a t e r .   Ke y w or ds :   Io T   R e a l - time   W a t e qu a l i t y   C opy r i gh t   ©   201 9   I n s t i t ut e   o f   A dv anc e E ng i ne e r i ng   and   S c i e nc e .     A l l   r i gh t s   r e s e r v e d .   Cor r e s pon di n g   Au t h or :   M M a s u m   B i l l a h,     U n i v e r s i t i   K u a l a   L um pu r   B r i t i s M a l a y s i a I n s t i t u t e   (U n i K L   B M I),     K ua l a   L um pu r ,   M a l a y s i a .   E m a i l :   d r m dm a s um @ u ni kl . e du. m y       1.   I N TR O D U C TI O N   Int e rn e t   o f   T hi n gs   i s   n o t   s o m e t hi n n e w   i n   t e c hn o l o g y   a r e a .   T h e   t e rm   I n t e rn e t   o f   T h i n gs (Io T i t s e l f   w a s   f i r s t   us e 1999  by   B r i t i s h   t e c hn o l o g y   pi o n e e r   K e vi n   A s h t o n   t o   de s c r i b e   a   s y s t e m   i n   w h i c h   o bj e c t s   i n   t h e   p h y s i c a l   w o r l c o ul b e   c o nn e c t e t o   t h e   I n t e r n e t   b y   s e n s o r s   [1] .   I t   a l s o   c a b e   m a r ke a s   m e di u m   o c o m m uni c a t i o n   b e t w e e n   pe o pl e   w i t h   t h i ngs   a n t hi n gs   w i t h   t h i n gs .   It   i s   de v e l o w i de l y   due   t o   t h e   a dv a n c e W i r e l e s s   T e c hn o l o g y .   Io T   w a s   c r e a t e t o   f ul f i l l   t h e   o bj e c t i v e   w h i c i s   a n y   t i m e ,   a n y o n e   a n a n y   pl a c e .     T h e r e   a r e   l o t s   of   a ppl i c a t i o n   t h a t   us e Io T   o n   de f i n e a r e a s   s uc h   a s   B ui l di n a n h o m e   a ut o m a t i o n ,   S m a r t   c i t i e s ,   S m a rt   m a nuf a c t uri n g ,   A u t o m o t i v e ,   W e a ra b l e s   a n h e a l t c a r e .   A l l   o f   t h e s e   a r e a s   a r e   t rus t e t o   ha v e   hi g po t e n t i a l   f o r   e xpo n e nt i a l   g r o w t h .     T h e   Io T   m e a n s   t h e   I n t e rn e t   e n v i r o n m e n t   o f   ge n e r a t i n g ,   m ut u a l l y   c o l l e c t i n g ,   s h a ri n g ,   a n us i ng  i n f o r m a t i o n   b y   a l l ow i n a l l   t h e   t hi n gs ,   s uc h   a s   pe o pl e ,   a r o un t h i ngs ,   d a t a ,   e t c ,   t o   b e   c o n n e c t e t o   w i r e a n d   w i r e l e s s   n e t w o r ks   [2].   W i t h   t hi s ,   c o n s um e r s   h a v e   e xt e n de t h e   s c o pe   of   c o n n e c t i o n   t o   t h e   v i r t ua l   w o r l by   c o m m uni c a t i n w i t h   e a c h   o t h e r   w i de l y   a n ga i n   k n o w l e dge   a bo ut   h o w   t h e   t h i n gs   n e t w o r ke d.   T h e n ,   t h e   r e c e n t   a dv a n c e   i h i g h - s pe e w i r e l e s s   t e c hn o l o gi e s   h a s   a c c e l e r a t e a l o n w i t t h e   s up pl y   of   c o n n e c t e de v i c e s   b a s e o n   n e t w o r ks   s uc h   a s   s m a rt p h o n e s ,   t a b l e t   P Cs ,   e - boo de v i c e s ,   e t c   [ 3 ].   T h e   W H O   ( w o r l h e a l t h   o r g a n i z a t i o n e s t i m a t e d ,   i n   I ndi a   a m o n 77  m i l l i o n   pe o pl e   i s   s uff e r i n due   t o   n o t   h a v i n s a f e   w a t e r.   W H O   a l s o   e s t i m a t e s   t ha t   21 o f   di s e a s e s   a r e   r e l a t e t o   u n s a f e   w a t e r   i n   I n di a .     A l s o ,   m o r e   t ha n   160 de a t h s   a l o n e   c a us e   due   t o   di a rrh e a   i n   I n d i a   d a i l y   [4].   T h e r e f o r e ,   w a t e r   qua l i t y   m o n i t o ri n i s   e s s e nt i a l   f o r   e v e r y da y   l i f e .   Curr e n t l y   i n t e rn e t   o f   t h i ng  (Io T t e c hn o l o g y   i s   ve r y   p o pul a r   f o r   r e a l - t i m e   s y s t e m s .   T h e   i n t e rn e t   o f   t hi n i s   c o m put i n c o n c e pt   t ha t   de s c ri b e s   a   f ut ur e   w h e r e   e v e r y   da y   ph y s i c a l   ob j e c t   w i l l   b e   c o n n e c t e t o   t h e   i nt e rn e t   a n b e   a b l e   t o   i de nt i fy   t h e m s e l v e s   t o   o t h e de v i c e s   [5].   Io T   o f t e n   r e f e r s   t o   a   l a r ge   n e t w o r o f   s e n s o r - e n a b l e de v i c e s   de s i gn e t o   c o l l e c t   da t a   a b o ut   t h e i e n v i r o nm e n t ,     w h i c h   f r e que n t l y   i n c l ude s   da t a   r e l a t e t o   pe o pl e .   T hi s   da t a   pr e s um a b l y   pr o v i de s   a   be n e f i t   t o   t h e   de v i c e s   Evaluation Warning : The document was created with Spire.PDF for Python.
In do n e s i a J   E l e c   E ng  &   Co m S c i     IS S N :   2502 - 4752       R e a l - t i m e   w at e r   qual i t y   m on i t or i ng   s y s t e m a IoT   app l i c at i on   ( Z ul k ha i r i   Mohd   Y us of )   179   ow n e r ,   b ut   f r e que nt l y   t o   t h e   de v i c e ’s   m a nuf a c t ur e r   o r   s upp l i e r   a s   w e l l   [6] .   I a dd i t i o n,   s o m e   o t h e t e c hn o l o g y   i s   a l s o   us e f o r   w a t e qua l i t y   m o n i t o r i n g   s y s t e m   [7 - 16].   In  m a n y   c o un t ri e s ,   t h e y   s t i l l   us e   o l a nd  t ra d i t i o n a l   t e c hni qu e s ,   w h e r e   t h e   f a rm e r   o h e a l t h y   s oc i e t y   w h i c h   r e s po n s i b l e   o n   w a t e r   qua l i t y   w i l l   v i s i t s   t h e   fo n o r   t he   s pe c i f i c   a r e a s   t o   m o n i t o r   a n c o n t r o l   t h e   w a t e r   qua l i t y   m a n ua l l y .   T h e y   t a ke   t h e   w a t e r   s a m pl e   t o   t h e   l a b   i o r de r   t o   kn o w   t h e   v a l ue s   o f   t h e   w a t e r   qua l i t y   pa r a m e t e r s   a nd  t h e t a ke   a pp r o p r i a t e   c o nt r o l l i n g   m e a s u r e s .   T hi s   e nt i r e   p r o c e s s   i s   t i r e s o m e ,   l e n g t h y   a n d   c o s t l y   due   t o   m a n y   pr o c e s s   i n v o l v e d.   In   o r de r   t o   i m p r o v e   t h e   m e t h o d,   t h e y   s h o ul c o n t i n uo us l y   m o n i t o r   f o r   s o m e   c r i t i c a l   p a r a m e t e r s   a nd  m a i n t a i n   t h e   r e c o r ds .   T h i s   r e qui r e s   t he   s y s t e m   t o   b e   a ut o m a t e a n n e w   w h i c h   i s   m o r e   i nn o v a t i v e   t e c h n o l o g y   h a s   t o   b e   us e t o   s i m pl i fy   t h e   m a i nt e na n c e   c o m pl e xi t y ,   f a s t e n   t h e   p r o c e s s   a n f i n a l l y   e a rn  go o pr o f i t .     T h e   a i m   o f   t h i s   p a pe i s   t o   di s c us s   t h e   de v e l o pm e n t   a ppl i c a t i o n   o f   I o T   i n   t h e   a r e a   o f   h e a l t h y   m o n i t o r   s pe c i a l t y   o n   w a t e r   qua l i t y .   T h e   de v i c e   n o t   o n l y   di s pl a y s   t h e   r e s ul t   o f   w a t e r   qua l i t y   b ut   w i l l   de t e c t   t h e   t e m pe ra t u r e   a s   w e l l .   T h i s   de v i c e   w a s   s t a r t e w i t h   de t e c t   t h e   s urr o u n d i n t e m pe r a t u r e   a n di s pl a y   t h e   t e m pe ra t u r e   r e a d i n o n   t h e   L CD .   W h e n   t h e   t e m pe ra t u r e   pa r t   w a s   s u c c e s s ,   t h e   n e xt   s e n s o r   w a s   a t t a c h e t o   t h e   pr o j e c t   w h i c h   i s   w a t e r   q u a l i t y   s e n s o r   w i l l   o pe r a t e .   T h i s   s e n s o r   w i l l   gi v e   r e s ul t   o n   qua l i t y   o w a t e r   e i t h e r   i t   i s   c l e a o n o t .   W h e i t   i s   s t a t e c l e a n,   m e a n s   t h e   w a t e r   u n po l l ut e a nd  s a v e   t o   c o n s um e   by   t h e   c o n s u m e r.       2.   M A TER I A LS   A N D   M E TH O D S     T h i s   p a pe r   w i l l   p r e s e n t   t h e   qua l i t y   of   w a t e r   a t   c e r t a i n   p l a c e .   T h e   r e s ul t   o f   w a t e r   qu a l i t y   w i l l   b e   pr e s e nt e i n   m o n t h   ra n ge .   T h i s   c h a p t e r   w i l l   s h o w   t h e   pr o p o s e s y s t e m   us e i n   o r de r   t o   ob t a i n   t h e   r e s ul t s .     It   a l s o   w i l l   e xpl a i n   i n   de t a i l s   o n   h o w   t h e   s y s t e m   o r   pr o c e s s   i n v o l ve i n   t h e   p r o j e c t .   i n   t hi s   p r o j e c t ,   t h e r e   a r e   t w o   pa r t s   t ha t   i n c l ude w h i c i s   h a r dw a r e   a n d   s o f t w a r e .       2. 1 .       H a r d w ar e   an d   S o ftw ar e   D e s i gn   T h e   c o m p o n e nt s   t h a t   us e i n   t h e   p r o j e c t   a r e   L a u n c h p a d ,   L CD   a n S e n s o r.   L a u n c h pa CC 3200   c o n s i s t   of   a ppl i c a t i o n   M i c r o c o n t r o l l e r,   W i - F i   N e t w o r P r oc e s s o r   a n P o w e r   M a n a ge m e n t   S ub s y s t e m .   It   i s   t h e   l a t e s t   A R M   Co t e x - M 80M H z   pr o c e s s o r   w i t h   b ui l t - i n   W i - F i .   S i n c e   t h e   p r o j e c t   w a s   i n t e rn e t   b a s e d,   i t   i s   s ui t a b l e   t o   us e   t hi s   de v i c e   due   t o   i t s   s pe c i a l t y .   L CD   430B O O S T   S H A R P 96  w a s   us e t o   di s pl a y   t h e   r e s ul t   t h a t   ob t a i n e f r o m   t h e   s e n s o r.   T h e   s e n s o r   t h a t   us e w i l l   de t e c t   t h e   w a t e r   qua l i t y   a n t h e   r e s ul t   w i l l   b e   di s pl a y   o n   t h e   L CD .   T h e   L CD   a nd  s e n s o r   w i l l   a t t a c h   t o   t h e   L a u n c h p a d   a c c o r di n g   t o   t h e   p i n   o t h e   L a u n c hpa d   t ha t   c a n   b e   r e fe rr e f r o m   t h e   da t a s h e e t   a n t h e   de v i c e s   w i l l   be   c o nn e c t e t t h e   l a pt o by   us i n c a b l e .   L a s t l y ,     P h   s e n s o r   w a s   us e t o   de t e c t   t h e   p h   v a l ue   o f   t h e   w a t e r   w h i c w i l l   di s pl a y   t h e   da t a   o n   t h e   s e ri a l   m o n i t o r   o f   t h e   E n e rgi a   s o f t w a r e .   T h e   da t a   w i l l   di r e c t l y   s e n t o   t h e   M Q T T l e n s   i n   o r de r   t o   s ub c r i b e   a n d   pub l i s h   t h e   da t a .     T h e   f l ow   of   t h e   p r o j e c t   w i l l   b e   c r e a t e   i n   t h e   n o de . r e i n   o r de r   t o   m a ke   pe o pl e   s urr o u n di ng  a b l e   t o   ge t   t h e   da t a   t hr o ugh  t h e i r   s m a rt   p h o n e .   M Q T T l e n s   a n d   n o de . r e w i l l   b e   e xpl a i n   o n   t h e   s o f t w a r e   de s i g n.   E n e rgi a   s o f t w a r e   w a s   us e t o   w r i t e   t h e   c o di n a n g i v e   t h e   i n s t r uc t i o n   t o   t h e   s pe c i f i c   de v i c e   o r   c o m po n e n t s .   W h e t h e   de v i c e s   c o n n e c t e t o   t h e   l a p t o p,   c o di n g   w i l l   b e   t y pe o n   t h e   E n e r gi a   s o f t w a r e   i o r de t o   di s pl a y   t h e   r e s ul t s   o n   t h e   L CD .   T h e   o t h e r   pa r t   s o f t w a r e   i n   t hi s   pr o j e c t   i s   Cl o ud  s e r v e r .   H uge   n um b e r s   of  s y s t e m s   a r e   c o n n e c t e i n   pub l i c   o r   p ri v a t e   n e t w o r ks ,   t o   pr o v i de   e n e r ge t i c a l l y   s c a l a b l e   i n f ra s t r uc t u r e   f o r   a ppl i c a t i o n ,   da t a   a n f i l e   s t o r a ge .   W i t b ui l t - i n   W i f i   o n   C C3200,   i t   s e n d   o ut   da t a   t o   t h e   c l o ud  a n a l s s ub s c r i b e   t o   t h e   da t a   f r o m   t h e   c l o ud.   It   a l s o   qui c upg r a d e   t o   t h e   di s pl a y   s o   t h a t   t h e   da t a   w i l l   b e   b e t t e r   r e p r e s e n t e d .   A f t e r   t h a t ,   M Q T T   l e n s   s e r v e r   w i l l   b e   us e t o   pub l i s a n d   s ub s c r i b e   t h e   d a t a .   T h e   d a t a   c a n   b e   ob t a i n e by   t h e   o t h e r s   e a s i l y .   In   s h o rt ,   E n e r gi a   (f o r   p r o g r a m m i n g   CC320 0),   M Q T T   L e n s   ( t o   c h e c t h e   c l o ud   s e t up),   n o de . j s   (t o   s e t up  w e bs e r v e r   fo r   n o de - r e d),   n o de - r e ( fo r   p r o gra m m i ng  t h e   us e r   i nt e r f a c e   i n   w e b s e r v e r   a s   w e l l   a s   s m a rt   p h o n e ) .   T h e   a ppl i c a t i o n   c a n   b e   dow n l o a de t h e   s m a rt   p h o n e   a n us e r   c a n   s t o r e   t h e   m e s s a ge   o n   t h e   p h o n e   a n y t i m e   a nd  a n y w h e r e .   F i gu r e   de s c r i b e s   o n   h o w   t h e   f l ow   o f   s e n di n a n r e c e i v i n g   da t a   f r o m   c l o ud.   T hi s   s t e w a s   c o n t i n ue f r o m   pr e v i o us   s t e p.   M Q T T   (pi c t u r e   3. 7)  i s   a   m e di um   t ha t   w i l l   a l l o w   u s   t s u b s c r i b e   t o   t h e   e c l i ps e   s e r v e r   s e pa r a t e l y .   It   w a s   us e t o   s e e   w h a t   t h e   d a t a   i s   o n   t h e   M Q T T   s e r v e r   t ha t ’s   a rri v i n g   t h e r e   a nd  t o   b e   a b l e   t o   s e n a   p ub l i c a t i o n   t o   i t   f o r   t h e   h i g a nd  l o w   s e t p o i n t   t o   s e e   i f   t h e   CC3200  i s   go i n t o   r e c e i ve   i t .   M Q T T   a l s o   p r o v i de s   m e s s a gi n q ua l i t i e s   o f   s e r v i c e   w i t t hr e e   d i f fe re n t   l e v e l   a s   i n   t a b l e   b e l ow .   N e xt ,   N o de   R e w h i c h   i s   a n   a pp l i c a t i o t ha t   r u n s   u nde W i ndow s   t o   s u b s c r i b e   t h e   da t a   a nd  g i v e   us   a   ni c e   l i t t l e   U di s pl a y   t ha t   w e   c a us e   o n   s m a rt   de v i c e .   I n   s ho r t ,   E n e r g i a   (f o r   p r o gra m m i ng  C C3200) ,   M Q T T   L e n s   (t o   c h e c t h e   c l o ud  s e t up),   n o de . j s   (t o   s e t up  w e b s e r v e r   f o r   n o de - r e d),   n o de - r e (f o r   pr o gra m m i ng  t h e   us e r   i nt e r f a c e   i w e b s e r v e r   a s   w e l l   a s   s m a rt   p h o n e ).   T h e   a pp l i c a t i o c a n   b e   do w n l o a de t h e   s m a r t   p h o n e   a n d   us e r   c a s t o r e   t h e   m e s s a ge   o t h e   p h o n e   a n y t i m e   a n d   a n y w h e r e .       Evaluation Warning : The document was created with Spire.PDF for Python.
                                IS S N :   2502 - 4752   In do n e s i a J   E l e c   E ng  &   Co m S c i ,   V o l .   1 5 ,   N o .   1 Ju ly   201 9   :     17 8   -   1 8 2   180       F i gu r e   1 .   T h e   p r o c e s s   de s c r i b i n g   s e n d i n g   a nd  r e c e i v i n g   da t a   f r o m   t h e   c l o ud       2. 2 .       P r o c e d u r e   T h e   qua l i t y   o w a t e r   i n   t h e   s pe c i f i c   r i v e r   w i l l   b e   t a ki n f o r   a   m o n t h   b y   us i n t h e   de v i c e .   T h e   Cl o ud  s e r v e r   a nd  M Q T T l e n s   w e r e   us e d   a s   a   m e di um   t o   s t o r e ,   pub l i s h   a nd  s ub s c r i b e   t h e   da t a   a s   s h o w n   i n   F i gu r e   2.   A f t e r   dra w   t h e   f l ow   of   t h e   p r o j e c t ,   t h e   da t a   w i l l   b e   di s p l a y   ni c e l y   o n   t h e   l a pt o p.   P e o pl e   s urr o u n di n a l s o   c a n   ge t   t h e   d a t a   t hr o ug t h e i s m a r t   p h o n e   s a m e   a s   t h e   d a t a   di s p l a y   o n   t h e   l a p t o p.   T h i s   i s   t o   m o n i t o r   t h e   qu a l i t y   o w a t e r   a t   t ha t   s pe c i f i c   a r e a .           F i gu r e   2 .   B l o c di a g r a m   o f   t h e   p r o c e s s   t o   c o l l e c t   da t a       3.   R ES U LTS   A N D   D I S C U S S I O N   3. 1 .       P r o je c I m p l e m e n tat i o n   T h e   ph   s e n s o r   t ha t   ha b e e n   c o n n e c t e t o   t h e   L a u n c h p a c c 3200  w h i c h   c o nn e c t e by   t h e   c o n n e c t o r   w i l l   b e   s ub m e r ge o n   t h e   s o l ut i o n   w i t h   s pe c i f i c   ph  l e v e l .   T h e   b a s i c   p r i n c i pl e   o f   ph   m e t e i s   t o   m e a s u r e   t h e   c o n c e n t r a t i o n   o f   h y dr o ge n   i o n s .   A c i di s s o l v e i n   w a t e r   f orm i n po s i t i v e l y   c h a r ge h y dr o ge n   i o n   (H + a s   s h o w n   i n   F i g u r e   3.   I n   s h o r t ,   t h e   g r e a t e r   t h e   c o n c e n t ra t i o n   o f   h y dr o ge n   i o n,   t h e   s t r o n ge r   t h e   a c i l e v e l .   S i m i l a rl y   a l ka l i   o b a s e s   di s s o l ve   i n   w a t e r   f o r m i n n e g a t i v e l y   c h a r ge   h y dr o ge n   i o (O H - ).   T h e   s t r o n g e r   a   b a s e   i s   t h e   h i g h e r   c o n c e nt r a t i o n   o f   n e ga t i v e l y   c h a r ge   o f   h y dr o ge n   i o n.   It   w i l l   de t e r m i n e   t h e   p h .   P h   m e t e r   m a de   up  o f   pr o be   w h i c h   i t s e l f   m a de   up  o f   e l e c t r o de s .   T h i s   pr o b e   pa s s e s   t h e   e l e c t r i c a l   s i g na l .   A t   t h e   e n o t h e   pr o b e ,   t h e r e   a r e   b ul b   t ha t   s h o u l b e   s u b m e r ge o n   t h e   s o l ut i o n   w h i c h   w i l l   de t e c t   t h e   p h   l e v e l .   If   t h e   b ul w a s   b r o k e   o r   di n o t   s ub m e r ge o n   t h e   s o l ut i o n ,   t h e   p h   l e v e l   w i l l   n o t   de t e c t e d.   A s   p r i n c i p l e   s t a t e a b ov e ,     t h e   ph   m e t e r   w i l l   b e   de t e c t e a n t h e   p h   l e v e l   w i l l   b e   di s pl a y   o n   t h e   s e r i a l   m o ni t o r.   It   i s   b e c a us e ,   t h e   c o di n g   t h a t   w r o t e   w a s   ga ve   a n   i n s t r uc t i o n   t o   di s pl a y   t h e   da t a   o n   t h e   s e r i a l   m o ni t o r .   H e r e   i s   t h e   n o rm a l   ra n ge   o f   t h e   ph  l e v e l   a n d   t h e   v o l t a ge   t ha t   de t e c t e d.     Evaluation Warning : The document was created with Spire.PDF for Python.
In do n e s i a J   E l e c   E ng  &   Co m S c i     IS S N :   2502 - 4752       R e a l - t i m e   w at e r   qual i t y   m on i t or i ng   s y s t e m a IoT   app l i c at i on   ( Z ul k ha i r i   Mohd   Y us of )   181       F i gu r e   3 .   M o de l   o f   t h e   p r o j e c t       T h e   p r o c e s s   f l ow   i n   s h o w n   i n   F i gu r e   4 .   A f t e c o nn e c t e t o   t h e   M Q T T l e n s ,   i t   w i l l   c o m e   o ut   t h e   s ub s c r i b e   a n pub l i s h   p a ge .   W i t t ha t ,   w e   n e e t o   f i l l   up   t h e   s ub s c r i b e   a n pub l i s h   t o pi c   j us t   l i ke   w r o t e   o n   t h e   c o di n g.   A f t e r   f i l l   up  t h e   t o pi c s ,   t h e   d a t a   w i l l   di s p l a y   s a m e   a s   o n   t h e   s e ri a l   m o n i t o r.   T h e   f l ow   of   t h e   p r o j e c t   w i l l   b e   dr a w   o n   t h e   n o de . r e d.   T h e   r e s ul t s   o f   t h e   r e a l - t i m e   m o n i t o ri n s y s t e m   w e r e   v i e w e o n   t h e   M Q T T l e n s   da s h b o a r t ha t   w a s   i n s t a l l e o n   t h e   go o gl e   c hr o m e   a s   s h o w n   i n   F i gu r e   5.   A f t e r   c l i c t h e   s a v e   c h a n ge s   b ut t o n ,   i t   w i l l   c o nn e c t   t h e   p r o j e c t   a n w i l l   di s pl a y   t h e   t o pi c   t pub l i s h   a nd  s ub s c r i b e   i n   o r de r   t o   m o ni t o r   t h e   da t a   s a m e   a s   di s p l a y   o n   t h e   s e ri a l   m o n i t o r .   A f t e r   d r a w   t h e   f l ow ,   t h e   da t a   w i l l   di s pl a y   n i c e l y   a s   i n   F i gu r e   5.     W i t h   t h a t ,   pe o pl e   s u rr o un d i n g   c a ge t   t h e   d a t a   t hr o ug h   t h e i r   s m a r t p h o n e   s a m e   a s   s h o w n   o F i gu r e   5.           F i gu r e   4 .   T h e   f l o w   of   t h e   p r o g r a m     Evaluation Warning : The document was created with Spire.PDF for Python.
                                IS S N :   2502 - 4752   In do n e s i a J   E l e c   E ng  &   Co m S c i ,   V o l .   1 5 ,   N o .   1 Ju ly   201 9   :     17 8   -   1 8 2   182         F i gu r e   5 .   D a s h b o a r d i s pl a y   o n   l a pt o a nd  s m a rt   p h o n e       4.   C O N C LU S I O N S   A s   a   c o n c l us i o n,   i t   c a n   c o n c l ude   a s   t hi s   p r o j e c t   m e e t   t h e   ob j e c t i ve   t ha t   b e i n p r o po s e fo r   t hi s   s y s t e m .   O n e   of   t h e   a i m s   i s   t o   m a ke   pe o pl e   s ur r o u n di ng  m o r e   a l e rt   w i t h   t h e   w a t e r   qua l i t y   be c a us e   i t   s uppo s e d   t o   be   i n t e rn e t - b a s e pr o j e c t   a n i n f o r m a l l y   m a ke   pe o pl e   e a s i e r   t o   ge t   t h e   da t a   a n y t i m e   a n a n y w h e r e .     T h i s   r e s e a r c h   ha s   c ov e r e m o r e   o n   h o w   t de v e l o t h e   In t e rn e t   o T hi n w h i c h   i s   t e c hn o l o g y   o r   s y s t e m   t h a t   hi g h l y   de ve l o pi n i t h e   w o r l d.   T h e r e   a r e   f e w   s t a ge s   t ha t   i n v o l ve i t h e   I nt e rn e t   o f   T h i ng  (Io T f o r   r e a l - t i m e   o pe r a t i o n .   It   c a n   m a ke   i t   e a s i e r   t o   pe o pl e   t h a t   r e s po n s i b l e   o n   t h e   qu a l i t y   of   w a t e r   t h a t   w i l l   m a ke   e v e r y o n e   m o r e   a l e r t   w i t h   t h e   qua l i t y   of  w a t e r   t ha t   t h e y   t o o e v e r y   da y .   T h i s   s y s t e m   a l s di n o t   us e h i g h   c o s t   i c o m pa r e   w i t h   t h e   c u rr e n t   s y s t e m   us e d.   It   c a b e   c o n s i de r e a s   l o w - c os t   s y s t e m   t ha t   g i v e   a dv a nt a ge     t o   e ve r y o n e .       R EF ER EN C ES   [ 1]     Y o ung - M o   K a ng ,   M i - R a H a n,   K y e o ng - S e o H a n,   J o ng - B a e   K i m ,   A   S t udy   o t he   I nt e r n e t   o f   T hi ng s   ( I o T )   A ppl i c a t i o ns I J SE I A V o l   9,   20 15 .   [ 2]     M e e na k s hi ,   I .   K . ,   a nd  S u dha   G e o r g e .   " C l o ud  s e r v e r   s t o r a g e   s e c ur i t y   us i ng   T P A . "   I nt .   J .   A dv .   R e s .   C om put .   S c i .   T e c hnol   2 . 1   ( 2 014 ) :   295 - 299.   [ 3]     B e e na . V ,   M r .   K ha j a M o i nu ddi n,   W a t e r   Q ua l i t y   M e a s ur e m e n t   a n C o nt r o l   f r o m   R e m o t e   S t a t i o f o r   P i s i c ul t ur e   U s i ng   N I   m y R I O ,   V o l   2 ,   2 015 .   [ 4]     J a y t i   B ha t t ,   J i g ne s h   P a t o l i y a ,   I o t   B a s e d   W a t e r   Q ua l i t y   M o ni t o r i ng   S y s t e m ,   2 016 .   [ 5]     P o o na m   J .   C ha v a n,   M a no j   A .   M e c hku l ,   I o T   B a s e d   W a t e r   Q ua l i t y   M o ni t o r i ng ,   20 16 .   [ 6]     A O v e r v i e w     U nde r s t a n di ng   t h e   I s s ue s   a nd   C ha l l e ng e s   o f   a   M o r e   C o nne c t e W o r l d” ,   2 015 .   [ 7]     P a nd i a D   R ,   D r .   M a l a   K ,   S m a r t   D e v i c e   t o   m o ni t o r   w a t e r   qu a l i t y   t o   a vo i po l l u t i o i I o T   e nv i r o nm e nt ,     V o l   12 ,   2 015 .   [ 8]     M r . K i r a P a t i l ,   M r . S a c hi P a t i l ,   M r .   S a nj a y   P a t i l   a nd  M r . V i ka s   P a t i l ,     M o ni t o r i ng   o f   T ur bi d i t y ,   ph  &   T e m p e r a t ur e   o f   W a t e r   B a s e o n   G S M ,   V o l   2,   20 15 .   [ 9]     P e ng   J i a ng ,   H o ng bo  X i a ,   Z hi y e   H e ,   Z he m i ng   W a ng ,   D e s i g of   a   W a t e r   E nv i r o nm e nt   M o n i t o r i ng   S y s t e m   B a s e o W i r e l e s s   S e n s o r   N e t w o r ks ,   20 09 .   [ 10]     A ka nks ha   P ur o hi t ,   U l h a s kum a r   G o kha l e ,   R e a l   T i m e   W a t e r   Q ua l i t y   M e a s ur e m e n t   S y s t e m   ba s e o G S M ,     V o l   9,   20 14 .   [ 11]     T e xa s   I ns t r um e n t s   S ha r p   L C D   B o o s t e r P a c k   ( 4 30B O O S T - S H A R P 96)   f o r   t he   L a unc hpa j o ur na l ,   2 014 .   [ 12]     S ha i l a j a . M . G u nda   N i kka m ,   P r o f .   D r .   V .   R .   P a w a r ,   A nal y z i ng  W at e r   Q ual i t y   F or   I ndu s t r i a l   A p pl i c a t i on  U nde r   I ot   E nv i r onm e nt ,   V o l   3,   20 16 .   [ 13]     T i t o   Y uw o no ,   L uqm a H a ki m ,   I r f a A r di ,   U m a r ,   T h e   A ppl i c a t i o of   I nt e r ne t   o f   T hi ng s   S y s t e m   f o r   W a t e r   Q ua l i t y   M o ni t o r i ng ,   V o l   8 ,   201 6 .   [ 14]     A t l a s   S c i e n t i f i c   E nv i r o nm e n t a l   R o bo t i c s ,   V o l   2. 6,   20 17 .   [ 15]     M a n pr e e t   K a ur   K hu r a na ,   R a j e s S i ng h,   A ns hum a P r a ka s h,   R o hi t   C hha br a ,   A I o T   B a s e W a t e r   H e a l t h   M o ni t o r i ng ,   20 16 .   [ 16]     T e xa s   I ns t r um e n t s   C C 320 S i m p l e L i nk   W i F i   a nd   I nt e r n e t - of - T hi ng s   S o l u t i o n ,   a   S i ng l e - C h i p   W i r e l e s s   M C U ,   20 15 .   Evaluation Warning : The document was created with Spire.PDF for Python.