I ndo ne s i a n J o ur na l  o f  E l e c t r i c a l  E ng i ne e r i ng  a nd C o m p u t e r  Sc i e nc e   V o l.   10 ,  N o.   1 Ap r i l   2 01 8 , p p 361 ~ 370   I S S N :  2502 - 4752,  D O I :  10. 11 591/ i j e e c s . v 10. i 1. pp 361 - 3 70          361       Jou r n al  h om e p age h ttp : //ia e s c or e . c om / j our nal s / i nde x . php/ i j e e c s   Dev elo p m e nt  o f  D et ect io n  a nd F lo o d M o nit o ring     V ia   B ly nk Apps       M ah an i j ah  M d   K am al N ur   A nu m   Z ur a i m i  M d N o a r ,  A qi l  M uha m m a Sa br i   F acu l t y  o f  E l ect r i cal  E n g i n eer i n g U n iv e r s iti T e k n o lo g i   M AR A 40 450  S ha h A l a m  S e l a ng or  M a l a y s i a       A rt i cl e I n f o     AB S T RAC T   A r tic le  h is to r y :   R ecei v ed   J an   4 ,  201 8   Re v i se d   M ar   7 ,  2 01 8   A ccep t ed   M ar   23 ,  2 01 8       F l a s h f l ood  i s  a  c om m on di s a s t e r  e v e nt  oc c ur e d a t  J a l a n  I l m u 1/ 1,   U ni v e r s i t i   T e k nol og i  M A R A  S ha h A l a m   C a m pus  w he n t he r e  i s  a  he a v i l y  r a i ndr ops .   T hi s  pa pe r  de s c r i be s  t he   de v e l opm e nt  of  pr ot ot y pe  us e d f or  de t e c t i on a n d   m oni t or i ng  pur pos e s .  F l a s h f l oo d s  c a n l e a d t o de s t r uc t i on  of  pr op e r t i e s  a nd  i nf r a s t r uc t ur e s . T hi s  s y s t e m  i s  ba s e d on  t w o N ode M C U  ba s e t e c hno l o gy  i nt e g r a t e d us i ng  B l y nk a ppl i c a t i on ( I O S  or  a n dr oi d) .   T h e w i r el es s  s en s o r   n et w o r k  s y s t e m s  c an  h el p  t h e ci t i zen s  b y  d et ect i n g  t h e w at er  l ev el s  an d  g i v e   an  ear l y   w ar n i n g   w h en  a  f l o o d   o ccu r s  f as t er  an d  eas y .  B a s i cal l y ,  t h er e ar e   t w o pa r t  of  t he  s y s t e m   w hi c h a r e  t he  s e ns or  node  a nd t he  ba s e  s t a t i on.  T he   se n so r   n o d e d et ect s  t h e w at er  l e v el  u s i n g  an  u l t r as o n i c s en s o r  an d  d i s p l ay s   t h e cu r r en t  w at er  l e v el . T he   f i r s t   N ode M C U  i s  pl a c e d a t  t he  i de nt i f i e f l ood   ar ea,   w h i l s t  t h e s eco n d  N o d eM C U  act s  as  t h e co n t r o l   u n i t.  D a t a d et ect ed   f r o m t h e   u ltr a s o n ic   s e ns or s   ar e s en t  t o  t h e B l y n k  ap p l i cat i o n  v i a w i r el es s   co n n ect i o n . T w o  t es t  h av e b e en  co n d u ct ed  t o  t es t  t h e ef f e ct i v en es s  o f  t h e   pr o pos e  s y s t e m .  I t  c a n be  f ound  t ha t  t hi s  p r ot ot y pe  a bl e  t de t e c t ,  m oni t or   an d  g i v e al ar m   t o  t h e af f e ct ed  ar e a i f  t h e f l as h   f l o o d   h ap p en s  in  th e   f u tu r e .   Ke y wo rd s :   N o d eM C U   B l yn k   U ltr a s o n ic   W i r e l e s S e ns or   N e t wo r k   C opy r i g ht   ©  201 8   I ns t i t ut e  o f  A d v anc e d E ngi ne e r i ng  an Sc i e nc e   A l l  ri g h t s re se rv e d .   Co rre sp o n d i n g  Au t h o r :   M ah an i j ah  Md  K a m al   F acu l t y  o f  E l ect r i cal  E n g i n eer i n g   U ni ve r s i t i  T e kno l o gi  M A R A   4045 0 S h a h   A l a m  S e l a ng or  M a l a y s i a .   E m a il:  m a ha ni 7 2 4 @ s a l a m . ui t m . e d u. m y       1.   I NT RO D UCT I O N   F l ood s  a r e  o ne   o f  t he  c o m m o n na t ur a l  di s a s t e r s  t ha t  oc c ur  a l l  a r o und  t he  gl o be .  N a t ur a l  f l o od s   d i s a s t e r  i s  s a i d t o  be  a s s o c i a t e d  w i h c o nt i nuo us  do w np o ur   o f  he a vy  r a i ns  f o r   a   p e r i o d   o f  t i m e .  M a l a y s i a ,  w hi c i s  l o c at ed  a t  t h e t r o p i cal   r eg i o n   r e cei v es  av e r ag e   a nnua l   r a i nf a l l   o f  2 500  m m  f o r   t he  P e ni ns ul a  a r e a  w hi l e   S ab ah  an d  S ar aw ak  r ec ei v 3 5 0 0  m m  [ 1 ] .  F l as h  f l o o d s  h a p p e n ed  w h en  t h er e  i s  a h eav i l y  r ai n f al l   o ccu r r e d  i n  a   s h o r t   o f  p e r i o d  an d  c an  cau s e d   m as s i v e t r af f i j am  i n  t h e af f e ct e d  a r ea .   T h u s ,  i t  i s  i m p o r t an t  t o  b e a b l e t o   w ar n   t h e p e o p l e w h o  ar e m o s t  at  r i s k ,  s o   t h at   t h e ef f e ct s   o f  t h es d i s as t e r s  c an  b r e d u c ed .   S o m e cas es  i n   S el an g o r ,   t h e l e v el  o f   f l o o d  r i s es  r ap i d l y  a n d  t h e p eo p l e o n l y   h av e  l i m i t ed  t i m e t o  p r ep ar e f o r  t h e i r  ev acu at i o n .  T h er a l so  s o m e  p la c e  th a t h a s  t h e  f lo o d  a le r t  s y s te m   f o r  e a r l y   w a r n in g  to  c itiz e n ,  b u m o s t o f  it,  u s u a l l y  i n te n d e d   f o r  t h e r es p ect i v e o r g an i zat i o n s ,  p l u s  l i m i t ed  d i s t an ce t h a t  t h e s y s t e m  ca n  co v er  [ 2 ] .   T h er ef o r e,   w h e n  t h er e i s   f l o o d i n g  ca s es   h ap p en ,  i t  t ak e s  t i m e t o  r eac h  t h e p eo p l e l i v i n g   n ear b y ,  an d  t h e p eo p l e can n o t  s a v m o s t  o f   t h ei r  b el o n g i n g  as   w a t er  r i s es  q u i ck l y .  T h w o r s e ca s ha p p e ns   f r o m  t he   f l o o d   w he n b ui l d i ng s ,  ho us e s ,   t he   s c h ool   an d  b r i d g es  al s o  a f f ect ed   by   th e  f lo o d   a nd  f a c e d  t he  i ns t a nt  d a m a ge s .  G e ne r a l l y,   f l oodi n g  c a nn ot  be   s t oppe d   a nd   una vo i d a b l e ,  b ut   ear l y  d et ect i o n  o r   w ar n i n g  s y s t e m  can  b e u s ed  t o  r ed u ce l o s s es  f aced  b y  t h e   c i t i z e n a nd  go ve r n m e nt .   R ecen t l y ,  t h er e i s  a n  i s s u es  o f   f l as h   f l o o d  al l  o v er  Mal a y s i a i n cl u d i n g  S h ah   A l a m  ( S el an g o r ) ,  M an ek   U ra i  (K el an t an ) ,  P en a m p a n g  ( S ab ah ) ,  G eo g et o w n  ( P en an g )  an d  S i b u  ( S ar a w a k ) .  H o w e v er ,  t h w a y  p eo p l e   r eact   d u r i n g   t h f l o o d   o ccu r a n ce  i s   n o t   i m m ed i at el y   d u t o   d et ect i o n   an d   i n f o r m at i o n  g at h er ed   r eact i o n  i s   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SSN :   25 02 - 4752   I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i ,   V o l.   10 , N o .   1 A pr i l  20 18   :   36 1     3 70   362   s l o w .  I n  t h i s  a dv a n c e  t e c h n ol o gy ,   s o m e  pr oj e c t  of  f l ood  m o ni t or i n g  a l r e a d y  e xi s t e d i n  or de r  t o i nf or m  pe opl e   w he n  f l ood h a ppe n .  A   p r o j ect   a bou t   f lo o d  le v e l  in d ic a to r  a n d  r is k   w a r n i n g  s y s te m   f o r  r e m o te  lo c a tio n   m o n i t or i n g   u s i ng   f l ood  obs e r v a t or y   s y s t e m   w a s   s t u di e [ 2 ]   v i a   G S M   m ode m   i n   or de r   t s e n i n f or m a t i o ab o ut   f l o o d  l ev el  an d  r ecei v e co m m a n d s  f r o m  t h m o n i t o r i n g  s t at i o n .   A  s m ar t p h o n e i s   d ef i n ed  as  a p h o n e   e n a b le d  f o r  e m a il a n d  in te r n e t u s e .  A p p lic a tio n s  ( a p p s )  a r e  d o w n lo a d a b le  ite m s  o f  s o f t w a r e  w h ic h  f u ll f il a   s p e c if ic  r o le  [ 3 ] .  F lo o d   w a r n i n g   s y s te m   w i th  W i - F i  n et w o r k  b as ed  o n   s m ar t p h o n e o  acc es s  d at a o f  r ai n f al l ,   w a t e r  l e v e l  a n f l ood s t a t us  i n P a l e m ba n g c i t y  a n d K u dus  di s t r i c t   w a s  de s i gn e d [ 4] , [ 5 ] .  T o d a y   w i r e l e s se n so r   ne t w o r k ( W S N )  t e c h no l o g ha s  b e c o m e  a n i nt e gr a l  p a r t  o f  a n y  d e ve l o p i ng c o unt r a s  i t  i s  b e i ng  us e n o w ad a y s  as  t h e p r i m ar y   m o n i t o r i n g  s y s t e m  i n  v ar i o u s  ap p l i cat i o n s .   A  r eal - t i m e   f l ood m o n i t or i ng   w hi c h  c a m o n i t o r  t h e r eal - t i m e d at a o f   w at er  co n d i t i o n  r e m o t el y   u s i n g  W S N   w as   s t u d i ed  [ 6 ] .   W S N  el i m i n at e t h e   h azar d s  as s o ci at ed   w i t h  t h w i r i n g  s y s t e m s  an d   m a k e d at a m eas u r e m e n t  an d   m o n i t o r i n g   p r o ces s  m u c h  eas i er   an d  co s t  ef f ect i v e [ 7 ] .  T he  I nt e r ne t  o f  T hi ng s  ( I o T )  i s  d e ve l o p i ng t r e m e nd o u s l y d a y  b y d a y  b e c a us e  o f  t he   c on t i nu ous  e f f e c t s  of  a   w i de  c om m uni t y .  T h e  I oT   t en d s  t o  h av e u n l i m i t ed  ap p l i cat i o n s ,  as   t h er e ar e s ee m i n g l y   unl i m i t e d   ne e d s  i n e ve r y s p he r e  o f  l i f e  [ 8 ] .  T h e I o T  i s  n et w o r k  o f   n at i v e d e v i ces  co m m u n i cat i n g   w i t h  eac h   ot h e r  ov e r  t h e  i n t e r n e t  t o pe r f or m  a  un i f i e d t a s k i n a  s m a r t e r   w a y .  N ode M C U  E S P 8266 h a s   b e e us e d  a s  t he   b as i s   d ev i ce  w h i ch  i n t e g r at ed   an d   co m m u n i cat w i t h  t h e i n t er n et   f o r   m o n i t o r i n g  o f   h ea r t  r at e,  h ear t   p u l s s e ns or  a s   w e l l   f or  a m bi e n t  e n v i r o nm e n t  p u r pos e s  [ 9 ] , [ 10 ] .  T h e  I o T  pl a t f or m   f or  r e m o t e   m oni t or i ng  a n s en s i n g  d at a t h at  p r o v i d es  a v er y  b a s i c  a nd  e a s y  s e t up  us i n g  B l ynk  s e r ve r  [ 1 1 ] .   B a s e d on  t h i s ,  t h e  pu r pos e  of   t h i s  r e s e a r c h  i s  t o de v e l op a  l o w  c os t  W S N   f or  f l ood m o n i t or i n g  a n w a r n i ng  s y s t e m  i n U i T M  S h a h   A l a m   ba s e d on  B l y nk  a ppl i c a t i on s  ( a pps ) .   T h e  N ode M C U - b a s e d  t e c hno l o g y a nd  i ne xp e ns i ve  u l t r a s oni c  s e ns or   n e t w or k  c o m pon e n t s  v i a  B l yn k  a pps   i s   de s i gn e d t de t e c t   f l ood a n s e n d a n  a l e r t  t t h e   us e r   s m a r t ph on e   t hr o u gh t he  W I F i .       2.   R ES EA R C H  M ETH O D   2. 1.   C a s e   St udy   F l a s h f l o o d  o c c ur s  i n t he  K l a n g V a l l e w h e n  t he r e  i s  u n us ua l l y  i nt e ns e  r a i nf a l l  o ve r   a  s h or t  pe r i od of   t i m e.  H o w e v er ,  i n t e n s e r ai n f a l l s  co n s p i r es   w i t h  o t h er  f act o r s  s u c h  as  d r ai n ag e c h ar act er i s t i cs ,   w h i c h  i n v o l v e   r o ck ,  s o i l  t y p es ,  v e g et at i o n  a n d  l an d  u s e,  al l  o f   w h i c h  co n t r i b u t e t o  t h e o ccu r r en ce,  l o cat i o n  an d  i n t e n s i t y  o f   f l a s h   f l oods .  F l o o d s  can   h a v e eco n o m i c,   s o ci al  an d  e n v i r o n m e n t  i m p act s .   H o w e v er ,  i n  t h e cas e o f   f l as h   f l oods ,  da m a g e  a n d l os s e s   f r om  t h e s e  e v e n t s  a r e  s o m e t i m e s   h i gh e r  t h a n   f r o m  ot h e r  or di n a r y   f l oods  [ 1 2 ] F ir s h i s t o r y   o f  f l o o d  h ap p en ed   i n   S el an g o r   w as  at  T T D I   J ay a,   S h a h   A l a m .   T h D a m a n s ar R i v er   w h i ch   f l o w s   t h r oug h  T T D I   J a y a   i s   21  km   l on g   a n T T D I   J a y a   f a l l s   w i t h i n   S h a h   A l a m   C oun c i l   boun da r i e s .   T w y e a r s   af t er  t h e f i r s t  r es i d en t s   m o v ed  i n t o  T T D I   J ay a,  i n  Mar ch  2 0 0 6 ,  t h ey   w er e s h o c k ed   w h en  t h e f i r s t   f l as h  f l o o d   h it th e   a r ea  af t er  an  h o u r   o f  h eav y   r ai n .   B et w ee n   1 9 9 4   an d  2 0 0 5 ,   t w el v f l as h   f l o o d s ,   s i x   h a v e i n f i l t r at ed   p eo p l e’ s  h o m es .  T h e f l as h  f l o o d s  t h at  h ap p en ed  i n  1 9 9 6  an d  2 0 0 0   w as  t h w o r s t :  9 0  p er   cen t  o f  t h e ar ea  w as   co v er ed  w i t h  w at er .     F i g ur e  1   s ho w s   t he   p i c t ur e  t a ke n   f i ve   ho ur s  a f t e r  t he   D a m a ns a r a   R i ve r  o ve r f l o w e d   i t s   b a nks .  T o v er co m e t h i s  cr i s i s  o f  f l as h  f l o o d ,  t h e D ep ar t m e n t  o f  I r r i g at i o n  a n d  D r ai n a g e ( D I D )  h ad  i n t r o d u ced  a  m ech a n i c m  i n  T T D I   J ay a ar ea.   T h e m ec h a n i s m  i n t r o d u ced  s u ch   a s  r e s e i vo ur ,  t he  i ns t a l l a t i o n s ys t e m   c o n s is tin g  o f  u l tr a s o n ic   s e n s o r  a s   w e ll a s  d ig i ta l c a m e r a  in   th e   m id d le  o f  D a m a n s a r a   R i v e r  a s  s h o w n  i n   F ig u r e   2  s u p p o r te d  b y  S C A D A  s y s te m  to  d e liv e r  th e   s ta t u s  o f  t h e  r i v e r  to  th e  r e s p e c tiv e  a u t h o r it y .           F i g ur e  1 .   T he   F la s h  F lo o d  S itu a tio n   o n S und a M o r ni ng , 2 6 th   F e br u a r y  2006 i n  T T D I  J a y a   Evaluation Warning : The document was created with Spire.PDF for Python.
I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i     I SSN :   2502 - 4752       D e v e l opm e nt  of  D e t e c t i on a nd  F l ood M oni t or i ng V i a B l y nk   A pps  ( M ahani j ah M d K am al )   363       F i g ur e  2 .   T he   M ech an i s m  T ak en   b y  DI D t o   O v er co m e F l o o d   i s s u e i n  T T D I   J ay       F l o o d i n g  i s  a co m m o n  p r o b l e m  t h at  U n i v er s i t i  T ek n o l o g i  M A R A  o r  U i T M  f aced   ev er y   y ear   es p eci al l y  al o n g  J al an  I l m u   1 / 1  as  s h o w n  i n   F i g u r e 3 .  D r ai n ag w h i c h  l i es  b et w een   O f f i ce I n t er n at i o n al   A f f ai r   B u i l d i n g   a n d   U i T M   H eal t h   C en t r e ca n n o t  acco m m o d at s u d d en   h ea v y   r ai n f al l s ,  cau s i n g   t h ar ea   ar o u n d  f l o o d ed  q u i ck l y .  T h er e ar e a l o t  o f  d am a g es  cau s ed  b y  t h e s e  f l o o d s  s uc h a s  s i n ki n c a r s  a t  t he  p a r ki ng   ar ea an d  a t r af f i c j a m .  T h i s  ar ea h as  b ee n  ex p er i e n ci n g   s ev e r e f l as h   f l o o d  s i n ce  D ece m b er  2 0 1 1  u n t i l   n o w  i f   h e a vy  r a i n  doe s  n ot  s t op f or  t h r e e  h ou r s .   U ni ve r s i t i  T e kno l o gi  M A R A  o r  U i T M  S ha A l a m  s uf f e r e d  a  s e ve r e   f l o o d i ng a f t e r  t hr e e  ho ur s .             F i g ur e  3 .   F l ood  Ar e a  Al o n g   J al an  I l m u  1 / 1  at  U i T M S h ah   A l a m  C a m p u s         T h i s  l o cat i o n  ex p er i en ced  a f l as h   f l o o d  ev er y  t i m w h e n  t h e r ai n  i s  h ea v i l y  i n  t w o  t o  t h r ee h o u r s  o f   d u r at i o n .  T h e ar t i cl es  r eg ar d i n g  t h e e v en t s  o f   f l a s h   f l oods  c a n  be  r e f e r r e d t o F i gu r e  4  w hi c h   h a ppe n e d i n 2014   a n d 2015 i n  t h e  a r e a  of  J a l a n  I l m u  1/ 1.     Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SSN :   25 02 - 4752   I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i ,   V o l.   10 , N o .   1 A pr i l  20 18   :   36 1     3 70   364       ( a)   F l a s h  F l ood  i n  2014   (b )   F l a s F l ood  i n  2015     F i g ur e  4 .   F l a s F l o o d  HA P P E NE a t  J a l a n  I l m u  1/ 1 i n   y e a r   2014 a n 201       W i r e l e s s  S e ns or  N e t w or k  ( W S N )  F l ood M on i t or i n g  i s   de v e l ope d t obs e r v e  t h e  s t a t u s   f l oodi n w h i c h  co u l d  a l er t  p eo p l w h o   w er e i n  t h e ar ea  f r eq u e n t l y  a f f ect ed  b y  f l o o d s  i n   U i T M S h a h  A l a m .  T h e s y s t e m   co n s i s t s  o f  a  t r an s m i t t er  a n d  r ecei v er ,  k n o w n  as  s e n s o r   n o d e an d  b as e  s t at i o n .  T h s en s o r  n o d w i l l  d et ect  t h e   w at er  l e v el   u s i n g  a n   u l t r as o n i c s en s o r  an d  d i s p l a y s   t h e  cu r r en t  v al u e o n  t h L C D .  W h en  t h w at er  l e v el   r each es  a cer t ai n  l e v el  t h at  r ef l ect s  t h e h azar d s ,  b o t h  d e v i ce s   w i l l   g e n er at e an  al ar m  s y s t e m  t o  n o t i f y  pe opl e   t h at  t h w at er  l ev el  i s  i n cr ea s i n g  a n d  co u l d  en d an g er  l i f e.   F i gu r e  5  s h o ws   t he   o v er al l   b lo c k   d ia g r a m   o f  th e  s y s te m .  I n itia ll y ,   f ir s t N o d e M C U   a tta c h e d  w it h   u ltr a s o n ic  s e n s o r   w ill d e te c t t h e  f lo o d  le v e l.  T h e n ,  it  w il l d is p la y   th e  d a ta   on   t h e   L CD  sc r e e n .  T h e  d a ta   w ill  be   s e n d  to  B l y n k  a p p lic a tio n  v ia   w ir e le s s  c o nne c t i o n .  T h e  d a ta  a ls o   w ill   be   d is p la y  in  t h e   B l yn a p p lic a tio n .  A t h e s a m e t i m e,  t h e d at a i s  s t o r ed  i n  a C S V  d at ab as e ,  t h r o u g h  em a i l  t h i s  d at a can  b e co n v er t ed  i n t o  ex cel  f o r m ,   as   w el l  as  b e i n g  tr a n s m itte d  to  th e   s eco n d  N o d eM C U   v i a B l y n k  B r i d g e.   T h is  d a ta   w il l a le r t   th e  lo c a l   au t h o r i t y   f o r  f u r t h er  act i o n  o n ce t h e l ev e l  r each es   w ar n i n g  an d  cr i t i cal  l ev el   w h i c h  t r i g g er s   t h e b u zzer  an d   L E D .   T h e  c on c e pt  of  t h e  pr opos e w or k  a r e  ba s e d on  t h e  e x i s t i n g s ys t e m  i ns t a l l e d  i D a m a ns a r a  R i ve r ,   T T D I  J ay a.       L a p t o p B a s e  S t a t i o n   ( R x ) B a s e  S t a t i o n   ( R x ) L CD L ED B uz z e r W a t e r U l t r a s on i c  s e n s or     F i g ur e  5 .   B l o c D i a g r a of  t he   S ys t e m       2. 2.   B ly n k  A p p lic a t io n   B l yn k i s  a   p la t f o r m  w i th   I O S  a n d A n dr oi a pp lic a tio n   t o c on t r ol   A r du i n o,  R a s pbe r r y  P i  a n d t h e  l i ke s   o ve r  t he   i n t e rn e t  [1 ].   I t 's   a d i g i t al  d as h b o ar d   w h er e   it  can  b u i l d  a g r ap h i c i n t er f ace  f o r   t he   u s e r   b s i m p l y d r a g   Evaluation Warning : The document was created with Spire.PDF for Python.
I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i     I SSN :   2502 - 4752       D e v e l opm e nt  of  D e t e c t i on a nd  F l ood M oni t or i ng V i a B l y nk   A pps  ( M ahani j ah M d K am al )   365   a n d dr op   t he   w id g e ts .   B l ynk   i s  a no t he r  s up p o r t i ng   d e vi c e   w hi c i s   l i n ke d   t o  t he  i nt e r ne t  o ve r  W i - F i  a nd   E SP 826 m odu l e s .  B l y nk   w as  d es i g n ed  t o  co n t r o l   h ar d w ar r e m o t el y   w h er e  i t  ca n  d i p l a y s   d at a,  s t o r e t h e  d at a   a nd   m o t o r  t he  d a t a .  T he r e  a r e  t hr e e   m a j o r  s t a ge s  i n t he  B l y nk p l a t f o r m ;  B l yn k c l o ud ,  B l yn k a p p s  a nd  B l yn d at ab as e as  s h o w n   i n  F i g u r e 6 .           F i g ur e  6 .   T he   F l o o D at ab as vi a  B l ynk  A p p lic a tio n       F i r s t ,   d es i g n i n g  t h e ap p l i cat i o n   w h er e t h e d es i g n er  can  s e l ect  t h w i d g e t  f o r  t h ei r  ap p s .  T h r o u g h   th e s e   a p p s   th e   f lo o d s   le v e l a ls o   w il b e   d is p la y .   T h e r e   w il b e   L C D   to  d is p la y   th e   le v e l  in d ic a to r   ( s a f e t y ,   w a r n in g  a n d  c r itic a l le v e l) .  N e x t,  th e  v a l u e  d is p la y   w ill d is p la y  t h e  f lo o d s  le v e l s e n s e  b y   u ltr a s o n ic  s e n s o r .   B e s id e s   th a t,   th e   L E D   w ill  li g h t s   u p   a c c o r d in g   to   th e   c u r r e n le v e l.   L a s t l y   t h e   h i s to r y   g r a p h   w ill  tr a c k   th e   f l ood’ s  l e v e l  a n d s a v e  i t  i n t o da t a ba s e .  F i gu r e  7 s h o w s  t h e  l a y o ut  d e s i g n o f  B l ynk  us e d  i n t hi s   w o r k.           F i g ur e  7 .   S te p  to   B u ild   W S N  F l ood  M o ni t o r i ng  o f  B l yn A p p lic a tio n     Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SSN :   25 02 - 4752   I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i ,   V o l.   10 , N o .   1 A pr i l  20 18   :   36 1     3 70   366   I n  F i gu r e  7 i t  i l l u s t r a t e s  t h e   s t e p by  s t e p  pr oc e du r e s  i n bu i l di n g t h e  B l y nk  a pps  us i n g a  s m a r t ph on e .     F ir s tl y ,  in s ta ll o r   dow n l oa B l yn k   a pps  f or  a n dr oi d o r  i O S   at  G o o g l e p l ay s  s t o r e o r  a p p   s t o r e.   T o  i n t er f ace  w it h   A r d u in o ,   u s e r  n e e d s   t o  in s ta ll B l y n k  l ib r a r y  a t li b r a r y   f o ld e r  o f   A r d u in o  I D E .  A f te r  f in i s h  th e   i n s t a l l at i o n ,  o p en  t h e ap p s  o n  t h e s m ar t p h o n e a n d  cr eat e a n e w  acco u n t  t o  l o g i n  f or  a  n e w  pr oj e c t .  F or  t h i s   p r o j ect ,  t h e h ar d w ar s el ect e d  i s  N o d eM C U  an d   t h e  co m m u n i cat i o n  t y p e i s  W i F i  E S P 8 2 6 6 .   T o  b u i l d  a  p r o j ect ,  t h e au t h t o k en   n eed s  t o  b e o b t ai n ed  f i r s t .  O n ce t h u s er  o b t ai n i n g  t h e au t h t o k en ,   u s er  can  p r o ceed  t o   de s i gn  t h e  B l y nk  a pps .   O nc e   c o nf i r m e d ,  t he   us e r  c a n s e t up  t he  b ut t o w i d ge t  a s   s ho w n   i n F i g ur e  7   w he r e   e a c h o f  t he   w i d ge t s  ha s  i t s  o w n s e t t i n gs .     F i g u r 8  s h o w s   t h r ead i n g   o f   d at a s e n s e   f r o m  t h u l t r as o n i s e n s o r   f r o m   t h f i r s t   N o d eM C U   i n   B l y n k  ap p l i cat i o n  p l at f o r m .  T h er e ar t h r ee  m o d e d i s p l a y s  o n  t h e s cr ee n  o f  t h e L C D   w h i ch  al s o  r ef l ect s  o n   t h e s cr ee n  o f  t h e s m ar t  p h o n e u s i n g  B l y n k  ap p l i cat i o n .  O n  t h s cr een ,  i t  d i s p l a y ed  l ev el  o f   w a t er  ei t h er  i n   s af et y ,   w ar n i n g  o r  cr i t i cal  l ev el  t o  al er t  t h e p er s o n  i n  ch ar g e.  T h e d i s t an ce o f   th e   w a te r  is  a ls o  d is p la y s  o n  t h e   w i d g et s   w h i c h  u s ed   L E D  as  t h e i n d i cat o r  ( g r een   f o r   s af et y ,   o r an g f o r   w ar n i n g   a n d  r ed   f o r   cr i t i cal ) .   T h i s   h i s t o r y   g r ap h  can  b e u s ed  t o  t r ack  t h e f l o o d  l ev el  o v er  t h e t i m e.  T h er w i l l  b e t h r ee  s ta te s   w h i c h  ar e l ev el  1 ,   le v e 2  a n d   le v e 3   to   g iv e  a l a r m   to   th e   p e o p le .   A f ir s N o d e M C U ,   th e   d a ta   s e n s e d   b y   th e   s e n s o r   w ill  be   d is p la y  a t he  L C D   r ef l ect i n g  t h le v e l i n d ic a to r   as   w el l  as  t h e   d i s t an ce.   O n ce t h e d at a b ei n g  r ecei v ed  b y  t h e   s eco n d  N o d eMC U ,   w h e n  l ev el  1  d et ect ed  t h er e   w e r e  no t h i ng  ha p p e n,  l e ve l  2   L E D   w i l l  b l i nk   a n d  b u zzer   tr ig g e r e d ,  la s tl y ,   at   l ev el  3   L E D  t u r n  O N ,  as   w el l  as   t he   b u z zer .  T ab l e 1  t ab u l at es  t h e r a n g e o f  l e v el  i n d i cat o r   t h at  i n d i cat es  t h e d i s t a n ce o f  s en s o r  f o r  s a f et y  p u r p o s es .           F i g ur e  8 .   F l ood  S ta tu s   D is p la y   vi a  B l ynk  A pps       T ab l e 1 .   D i s t an ce v s   L e v e l     D i s t an c e ( c m )   L ev el  I n d i cat o r   W a r n i n g s i gn a g e                    < 1 0   1   S a f et y   6     1 0   2   W a r n i n g   > 5   3   C r it i c a l       T h e d at ab as e i s  u s ed  t o  s t o r e t h e d at a t r ack ed  b y  t h e h i s t o r y   g r ap h .   T he   d a t a  w hi c h i n a   f o r m  o f  C S V   w il l b e   co n v er t ed   in   e x c e l   f or m a t  a s  s h o w n i n  F i gu r e  9.   A l l  t h e   i nf or m a t i on  i s   n e e de d i n   or de r  t o m oni t or  t he   f l o o d  l e ve l  a nd  f o r  f ut ur e  i m p r o ve m e nt  o f  t he  s ys t e m .     Evaluation Warning : The document was created with Spire.PDF for Python.
I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i     I SSN :   2502 - 4752       D e v e l opm e nt  of  D e t e c t i on a nd  F l ood M oni t or i ng V i a B l y nk   A pps  ( M ahani j ah M d K am al )   367       F i g ur e  9 .   T he   E x a mp l e   o H i s t o r gr a p h i n B l yn A p p lic a tio n       2. 3.   H a rd w a re S et - Up   I n  h ar d w ar e ci r cu i t ,  t h er e ar e t w o  N o d eMC U   u s ed .  F i g u r e 1 0  ( a)  act s  as  a t r an s m i t t er   w h i l e i n  F i g u r e   1 0  ( b )  act s  as  t h e r ecei v er .  T h e d at a i s  d i s p l a y ed o n   t h e l ab t o p  t o  m o n i t o r  t h e  s at u s  o f   w at e r  l ev el  at  t h e t e s t ed   lo c a tio n .           ( a)   H ar d w ar S e t up   a R ecei v er   (b )   H ar d w ar S e t up   a T r a n s m itte r     F i g u r e 1 0 :  H ar d w ar e f o r   F la s h  F lo o d  D e te c tio n   a nd   M o ni t o r i ng  vi a  B l yn A p p s       3.   R ES U LT S   A ND AN AL Y S I S   3. 1.   Te s t  R i g   3. 1. 1.   I ndo o r   W a t er L ev el  D et ect i o n     T h i s  i n door  e x pe r i m e n t   w a s  c on du c t e at   R o b o t i c L ab o r at o r y  l o cat ed  at   L e v el  4 ,   F acu l t y  o f   E l e c t r i c a l  E ngi ne e r i ng,  U i T M  S ha A l a m   C a m p u s .   T o  t es t   w h et h er  t h e p r o t o t y p w o r k s  acco r d i n g l y ,  an   ex p er i m e n t al   w a s  co n d u ct ed  t o  t es t  t h e s i g n al i n g  a n d   m e as u r e m en t  o f   w at er  d et ect ed   b y   t r an s m i t t er  an d   re c e i v e r .  F r om   F i gu r e   11  a n F i gu r e  12 ,  i t   can   b e s een  t h at   as  t h w at er   i n cr eas e s   o v e r   t i m e t h e d i s t a n ce   b et w ee n  t h e s e n s o r  a n d  t h s u r f ace o f  t h w a t er  d ecr eas es .   T h e d i s t an ce d et ect ed  b y  t h s en s o r  n o d e i s  t h e n   tr a n s m itte d  to  th e  b a s e   s ta tio n .  T h is   m e a n s   t h at   t h e  b as e s t a t i o n   m a n ag e s  t o  r ecei v e t h e d at a f r o m  t h s en s o r   n ode .          Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SSN :   25 02 - 4752   I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i ,   V o l.   10 , N o .   1 A pr i l  20 18   :   36 1     3 70   368       F i gu r e  11 .   W at er   L ev el  R ead i n g s  f o r  T r an s m i t t er           F i gu r e  12 .   G r a p o f  W at er  L ev el  f o r  R ecei v er       3. 1. 2.   O ut do o r   W a t er L ev el  D et ect i o n   R eal - ti m e   m o n ito r in g   o f   w a te r   le v e w as   co n d u ct ed   at   J al an  I l m u   1 / 1 ,   U i T M   S h ah   al a m   C a m p u s .   T h h ar d w ar e f o r   f i r s t  N o d eM C U  w a s   ha n gi ng   at  t h e d r ai n ag s y s t e m   w h i l e t h h a r d w ar e f o r  s eco n d   N o d eM C U   w as  p l aced   at   t he   b r i d g e n ear b y F i g u r e 1 3  s h o w s  t h e d at a r eco r d ed  t ak e n  o n  t h e 3 rd , 6 th   a nd  7 th   J u n e  2016.    T h e  a v e r a g e  di s t a n c e   f or  t h e   f i r s t  da y  i s  165 c m ,  f or  t h e   s e c on d da y   i s  168 c m  a n d t h e  l a s t  da y  i s   1 6 7   cm .   T h d i s t an ce  i n cr eas es   o n   t h s eco n d   d a y   w h en   c o m p ar ed   t o   t h f i r s t   t es t   an d   o n   t h t h i r d   d ay   i t   d ecr eas es   w h e n  co m p ar i n g  t o  t h e s eco n d   d a y.       Evaluation Warning : The document was created with Spire.PDF for Python.
I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i     I SSN :   2502 - 4752       D e v e l opm e nt  of  D e t e c t i on a nd  F l ood M oni t or i ng V i a B l y nk   A pps  ( M ahani j ah M d K am al )   369       F i gu r e  13 .   D r a i W at er  L ev el   Meas u r e m en t   a t  J a l a n I l m u 1 / 1  U i T M  S ha h A l a m   C a m p us       4.   CO NCL U S I O N   T h i s  pr oj e c t   b a s e d   o n t he   de ve l op m e nt  o f  a  s m a r t  f l o od  m o ni t o r i ng s y s t e m  us i ng  ul t r a s oni c  s e ns or   w i t h N o d e M C U  a nd   B l y nk   a p p li c a t io n  w h ic h  u s e d  th e  W S N  c o n c e p t .   T h e   r e s u lt is  a  s in g le  c o n tr o l s y s te m  th a p r o v i d e s  f l e x i b ili ty ,  lo w  c o s a n d  e a s y  a c c e s s .   W S N   b a s e d   o n  B ly n k  p la tf o r m  is  a n  id e a p la tf o r m  to  m o n ito r   f l a s h f l o od s   a nd   a l s o  a s  e a r l y   w a r ni ngs .  T hr o ugh t he  e x p e r i m e nt   c o n d u c t e d ,  it s h o w s  th a t th is  s y s te m  c a n  b e   us e d  f or   d e t e c t i ng,  m o ni t or i ng  a nd a l e r t i ng t he  c o m m uni t y  i n U i T M  S ha h A l a m  i c a s e   o f  f l a s h f l ood .            ACK NO W L E D G E M E NT   T h e  a u th o r   w o u ld  li k e  to  e x p r e s s  h e r  g r a titu d e  to  th e  U n iv e r s iti  T e kno l o gi  M A R A ,   w h i c h ha s   p r o vi d e d  f und i ng  f o r  t he  r e s e a r c h t hr o u g 600 - I R M I / D A N A  5/ 3/ L E S T A R I  ( 35/ 2015) .       R EF ER EN C ES   [ 1]   N o r B.   B . e t a l. ,   D e v e lo p m e n t o f  R a in f a ll R a te  M o n ito r i n g  S y s t e m   f o r  M a la y s ia ,”   I ndi a n J our na l  of  Sc i e nc e  an d   T e c hnol ogy ,  v o l/is s u e 9( 2 8) ,  p p.   1 - 9 20 16   [ 2]   S ubr a m a ni a m  S .   K . e t a l. ,   F l ood l e v e l  i ndi c a t or  a nd r i s k  w a r ni ng  s y s t e m   f or  r e m ot e  l oc a t i on  m oni t or i ng  us i ng   f l ood o bs e r v a t or y  s y s t e m ,”   W SE A S T r a ns .   Sy s t .  C o nt r ol ,   v o l/is s u e 5( 3) , p p .   1 53 - 16 3 20 10 .     [ 3]   Na so n  G .   J . e t a l. ,   T he  us e  of  s m a r t phone  a p pl i c a t i ons   by  ur ol o gy  t r a i ne e s ,”   T he  Sur ge o n J o ur n al  o f  t he   R oy a l   C ol l e ge s  of  S ur ge o ns  of  E di nb ur g h a nd  I r e l an d ,   v o l.   13 ,  p p.   26 3 - 2 66 20 15   [ 4]   A h ya r  S . e t a l. ,   D e s i g n of  F l oo d E a r l y   W a r ni ng  S y s t e m   w i t h W i F i  N e t w or k  ba s e d on S m a r t pho ne ,”   P r o ceed i n g s   o th e  3 rd   I nt e r nat i on al  C onf e r e nc e  on C ons t r uc t i on  a nd  B ui l di ng  E ngi ne e r i ng ( I C O N B U I L D ) ,   20 17 .   [ 5]   R.   F ia ti   a nd A .   L at u b es s y ,   M a p pi ng  of  F l oo de d A r e a s  i n t he  K udus  D i s t r i c t ,   I nd on e s i an  J ou r na l  of  E l e c t r i c al   E ngi ne e r i ng  an d C om p ut e r  Sc i e n c e v o l/is s u e 4( 3) ,   pp.   67 0 - 6 77 20 1 6.   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SSN :   25 02 - 4752   I nd o ne s i a n J  E l e c  E ng  &  C o m p  S c i ,   V o l.   10 , N o .   1 A pr i l  20 18   :   36 1     3 70   370   [ 6]   K he do K .   K. ,   R e a l  t i m e  F l oo d M oni t or i ng   us i ng  W i r e l e s s  S e ns or   N e t w or ks ,”   pp.   59 - 69 20 13 .   [ 7]   H e m l at a T .   K.   M. , “ S t udy  a nd  D e v e l opm e nt  of   T e m p e r a t ur e  &  H um i di t y   m oni t or i ng  s y s t e m  t hr oug h W i r e l e s s   S e ns or  N e t w or k  ( W S N ) us i ng   Z i g be e   m odul e ,”   H e m l at a T om e r  I nt .  J our na l  of  E n gi ne e r i ng  R e s e ar c h an d   A ppl i c at i on ,   v o l/is s u e 5( 7) , p p 11 5 - 1 20 201 5 .   [ 8]   Ki r a n  J.   S .  A nd  D i v n eet  S .   K. ,   C r e a t e  Y ou O w n I nt e r ne t  of  T hi ng s ,”   I E E E  C o ns um e r  E l e c t r oni c s  M agaz i ne ,   p p 57 - 68 2 017   [ 9]   A ndr e j  S . e t a l. ,   P r ot ot y pe   of   G r ou p H e a r t  R a t e  M oni t or i ng  w i t h N O D E M C U  E S P 8 26 6 ,”   P r oc e e di n gs  of  t he  6t h   M e di t e r r ane an C onf e r e nc e  o n E m be dde d C om p ut i ng ( M E C O ) .  M ont e ne gr o ,   2 01 7.     [ 1 0]   L a mi r  S . e t a l. ,   D e v e l opm e nt   of   A m bi e nt  E nv i r onm e nt  M oni t or i ng  S y s t e m  t hr oug h W i r e l e s s   S e ns or  N e t w or k   ( W S N )  us i ng  N ode M C U  a nd W S N  M o ni t or i ng ,”   P r oc e e di ngs   of   t he  6t h M e di t e r r ane an C on f e r e nc e  on E m be d de d   C om put i n g ( M E C O ) .  M ont e ne gr o ,   2 01 7;     [ 1 1]   H ir a l S .   D . e t a l. ,   I nt e r ne t  of   T h in g s  ( I o T ) : I n te g r a tio n  o f  B l y n k  f o r  D o m e s tic  U s a b ility . T itle   o f  M a n u s c r ip t ,”   Na m e o f   J o ur n al V J E R ,   v o l/is s u e 1 ( 4 ) , p p .   1 49 - 15 7 20 17 .   [ 1 2]   M ar i n ey  M .   Y. ,   P la n s ,   P e o p le   &  F lo o d s : T h e  p r o b le m s  o f  u r b a n iz a tio n  in  th e  K la n g  V a lle y ,  M a la y s ia ,”   Th e s i s   D oc t or   of  P hi l os op hy ,  T he  U ni v e r s i t y  o f  L e e ds ,   20 07.   Evaluation Warning : The document was created with Spire.PDF for Python.