I nd o ne s ia n J o urna l o f   E lect rica l En g ineering   a nd   Co m p u t er   Science   Vo l.   10 ,   No .   2 ,  Ma y   201 8 ,   p p .   498 ~ 5 0 5   I SS N:  2502 - 4752 ,  DOI : 1 0 . 1 1 5 9 1 / i j ee cs . v 1 0 .i 2 . p p 498 - 5 0 5           498       J o ur na l ho m ep a g e :  h ttp : //ia e s co r e. co m/jo u r n a ls /in d ex . p h p / ijeec s   Dev elo p m e nt  o f  S m a rt  Chic ken  Poultry  F a r m           H a s m a h M a ns o r * 1 ,   A m m a r  No r  Azlin 2 ,   T ed dy   Su ry a   G u na w a n 3 ,   M a ha nija h  M d K a m a l 4 ,   A h m a d  Z a w a w i H a s hi m 5   1 ,2 ,3 De p a rtm e n t  o f   El e c tri c a l  a n d   Co m p u ter E n g in e e rin g ,   K u ll iy y a h   o f   En g in e e rin g ,   4 In tern a ti o n a l  Isla m ic Un iv e rsit y   M a la y sia   ,   F a c u lt y   o f   El e c tri c a l  En g in e e rin g ,   5 Un iv e rsit y   Tec h n o lo g y   M a ra ,   4 0 4 5 0   S h a h   A la m ,   S e lan g o r ,   M y ra   F a rm   &   S e r v ice s S d n   Bh d ,   P T 3 1 1 ,   M u k im   S u n g a i  G u m u t,   4 4 1 0 0   Ka lu m p a n g ,   T a n ju n g   M a li m ,   P e ra k       Art icle  I nfo     AB ST RAC T   A r ticle  his to r y:   R ec eiv ed   N ov   26 ,   2 0 1 7   R ev i s ed   J an   2 9 ,   2 0 1 8   A cc ep ted   F eb   2 1 ,   2 0 1 8       In   M a lay sia ,   m o st  a g ricu lt u re   in d u stries   a re   stil l  u sin g   c o n v e n ti o n a l  m e th o d   to   o p e ra te.  A ll   ro u ti n e s  in   m o n it o rin g   a n d   c o n tro l  o f   c h ick e n   p o u lt ry   f a r m ,   f o r  e x a m p le,  u ti li se   m a n   p o we r  wh e re   th e   so u rc e   a n d   e n e rg y   a re   v e ry   li m it e d .   Ho w e v e r,   th e   d e m a n d   f ro m   c o n su m e rs   to wa rd s  th e   a g ricu lt u ra l  o u tp u t  is   in c re a sin g   d a y   b y   d a y   a n d   re q u i re s  m o re   a d v a n c e d   fa r m in g   tec h n o l o g y   in   o rd e r  t o   o b tain   m a x i m u m   e fficie n c y .   T h is  p a p e r  is   f o c u se d   o n   th e   d e v e lo p m e n t  o f   s m a rt  c h ic k e n   p o u lt ry   fa r m   to   p ro v id e   m o n i to rin g   a n d   c o n tro l  o f   th e   fa r m   c o n d it io n .   T h e   e l e c tro n ics ,   e m b e d d e d   sy ste m s  a n d   w irele ss   te c h n o l o g y   a re   in teg ra te d   w it h   f a r m   m o n it o ri n g .   Us in g   M a ste r - S lav e   c o n c e p t,   se n so rs  a re   u se d   to   m e a su re   th e   a m b ien t  te m p e ra tu re ,   a m m o n ia  a n d   h u m id it y   o f   th e   h a ll   o f  c h ick e n   p o u lt ry   f o r  e a c h   sla v e .   T h e   s e n so rs’  re a d in g s  a re   th e n   tran sm it ted   w irele ss l y   o v e r  ra d io   f re q u e n c y   b y   se rial  c o m m u n ica ti o n   u sin g   HC - 1 2   RF   m o d u le  to   m a s ter  f o r  f u rth e r  d a ta  p ro c e ss in g .   T h e   d e sig n   p ro c e ss   o f   b o t h   m a ste r  a n d   sla v e   in v o lv e d   t h e   in terf a c in g   o f   m icro p ro c e ss o r,   AT M EL   AT M e g a 3 2 8   w it h   se v e ra l  a n a lo g u e   se n so rs,  L CD,  b u z z e r,   re la y   o u t p u t ,   m o n e tar y   p u sh   b u tt o n   a n d   li g h t  in d ica to r.   Ba se d   o n   t h e   re a d in g s  f ro m   th e   se n so rs,  th e   m icro c o n tro l ler  p ro d u c e d   th e   o u tp u t  w h ich   is  c o n n e c ted   to   th e   f a n   f o r  b e tt e r  a ir  v e n ti latio n   in   th e   c h ick e n   p o u lt ry   f a r m .   F u rth e rm o re ,   P ID  c o n tr o ll e r  h a s  b e e n   i n teg ra ted   to   o p t im ize   th e   o u tp u t  c o n tr o l  m e th o d ,   h e n c e   o p ti m izin g   h a ll   c o n d it i o n   w h ich   re su lt s  to   b e tt e r  o u tp u t  f o r   th e   f a r m .   T h e   s y ste m   h a s  b e e n   su c c e ss f u ll y   i m p le m e n ted   a n d   tes ted   a t   M y ra   F a r m   &   S e rv ice s,  lo c a ted   a t  Ka lu m p a n g ,   T a n ju n g   M a li m ,   P e ra k ,   M a lay sia .   K ey w o r d s :   Ag r icu ltu r e   A T Me g a3 2 8   C h ic k e n   Far m   P I D  co n tr o ller .   W ir eless   R F   Co p y rig h t  ©   2 0 1 8   In stit u te o f  A d v a n c e d   E n g i n e e rin g   a n d   S c ien c e .    Al l  rig h ts re se rv e d .   C o r r e s p o nd ing   A uth o r :   Has m a h   Ma n s o r     De p a rtme n t  o f   El e c tri c a l  a n d   Co m p u ter E n g in e e rin g ,   Ku ll iy y a h   o f   En g in e e rin g ,   In tern a ti o n a l  Isla m ic Un iv e rsit y   M a la y sia   (IIUM ),     Ja lan   G o m b a k ,   5 3 1 0 0   Ku a la L u m p u r,   (+ 6 0 3 )  6 1 9 6   4 5 2 5   E - m a il :  h a s m a h m @iiu m . e d u . m y         1.   I NT RO D UCT I O N   T h er e  is   a  n ee d   to   i m p r o v is e  th e  m o n ito r i n g   s y s te m   i n   f ar m i n g ,   e s p ec iall y   in   p o u ltrie s .   T h er e  ar e  s o m e   v ar iab les  t h at  ca n   b e  co n tr o lle d   an d   m an ip u lated   to   p r o d u ce   a  p r o p e r   ca g in g   co n d itio n   i n   w h ic h   th e  s li g h test   d if f er e n ce   w ill  af f ec t  t h e  o u tp u t  o f   th e  f ar m ,   h en ce   t h e  i m p o r tan ce   o f   h av i n g   th e  s y s te m .   Desig n i n g   p r o ce s s   in v o l v es  m a n y   a s p ec ts   a n d   th eo r ies  to   b e  p u t  in to   co n s id er a tio n .   On e  o f   th e  m ai n   co n ce r n   in   an i m a l  f ar m i n g   is   to   i n cr ea s e  t h e  p r o d u ctio n   w it h   m i n i m u m   n e g ati v e  i m p a ct  to   th e  e n v ir o n m en t.  T h er e f o r e,   co m b in a tio n   o f   cr o p s   an d   liv esto ck   w as  s u g g ested   b y   t h e  Min is tr y   o f   Fo o d   A g r ic u lt u r e  an d   L i v esto c k   o f   T u r k e y   to   r ed u ce   en v ir o n m e n tal  f lu x e s   w h ile  m ain tai n i n g   a  b etter   r eg u latio n   o f   s to ck s   [ 1 ] .   T h e  g en er al  id ea   w as  to   p r o p o s e  a   s et  o f   alg o r it h m s   to   co n tr o l  an d   m an ip u late  e n v ir o n m en tal  v ar iab les   li k e  liq u id   lev e l,  te m p er atu r e  a n d   h u m id it y   b y   f u zz if ica tio n ,   d ef u zz i f icatio n   a n d   P I D  co n tr o ller   [ 2 ] .   Evaluation Warning : The document was created with Spire.PDF for Python.
I n d o n esia n   J   E lec  E n g   &   C o m p   Sci     I SS N:  2502 - 4752       Dev elo p men t O f S MAR T C h icke n   P o u ltr y  F a r m   ( Ha s ma h   Ma n s o r )   499   I t  is   v er y   es s en t ial  i f   a  s e n s in g   s y s te m   ca n   b e  d ev e lo p ed   to   d etec t  a m m o n ia   at  p p m   le v els  w it h   m i n i m u m   co s t  o f   p r o d u ctio n   [ 3 ]   s in ce   th e  r is k   o f   h az ar d   is   th e  s a m e  f o r   b o th   h u m a n   b ein g s   an d   f ar m   an i m al.   Fu r t h er m o r e,   te m p er at u r e  s e n s o r s   f o r   f ar m s   ar e  p u r p o s el y   b ein g   lo ca ted   in   th e  m id d le  i n   t h e  air   to   o b tain   t h e   s u r r o u n d in g   te m p er at u r e  o f   t h e  h all.   An o th er   k e y   ele m e n t  o f   f ar m   m o n ito r in g   is   t h e  h u m id it y   s e n s in g   s y s te m .   Hu m id it y   co n tr o l  an d   m ea s u r e m en t  ar e  co m m o n   in   a g r icu lt u r al  p r o d u ctio n ,   m ed ici n e  p r o ce s s i n g ,   an d   tex tile   in d u s tr ies  an d   m eteo r o lo g ical   s er v ices  b y   m ea n s   o f   o p tical  f ib er .   T h e y   also   d is co v er ed   th at  R H  p o s s e s s es  a   lo w   te m p er at u r e  cr o s s - s e n s it iv it y ,   b ased   o n   s t u d ies [ 4 ] .   C o n tr o ller s   ar e   th e   co r e  o f   al m o s t   all  h ar d w ar e  an d   s o f t w ar e  s y s te m s   i n   t h e  w o r ld .   O v er   t h e  p ast   d ec ad es,   in d u s tr ial  m a k er s   h a v e  m o v e d   to w ar d s   a   s i m p ler   co n tr o ller ,   m o s tl y   b y   i m p le m en tin g   p r o g r a m m ab le   lo g i c   co n tr o ller   ( P L C ) .   W h ile  P L C s   ar e  a  v er y   g o o d   s o lu t io n ,   R id a  ( 2 0 1 4 )   s u g g ested   to   d ev elo p   a  m i n i  P L C   b ased   o n   th e   i m p le m e n tat io n   o f   A T ME L   A T Me g a2 5 6   [ 5 ] .   T h e  u s ag e  o f   m icr o co n tr o ller s   i n   r e al  li f e  ap p licatio n s   h av e  b ee n   t h e  tr en d   o f   elec tr o n ic  en t h u s ia s t  t h at  m i g h t  co n s is t  o f   f lo w   a n d   co n tr o l,  r ea d in g s ,   ca lib r atio n s   a n d   ev en   co n tr o llin g   s y s te m .   He n ce ,   it  is   co n c lu d ed   th a t  t h is   p r o j ec t  w ill  b e  i m p le m en t in g   a  m icr o co n tr o ller - b ased   s y s te m   w it h   th e   ab ilit y   to   co m m u n icate   w ir eles s l y   w i th   t h e  s elec ted   ar r a y s   o f   s e n s o r s   av ailab le  in   th e   cu r r en t  m ar k et.   T h e  d esi g n   an d   s p ec if icatio n s   o f   th e  p r o j ec t  is   b ased   o n   t h e  u s er   r eq u ir e m e n ts   g i v en   b y   M y r a   Far m   &   Ser v ice s   w h er e  th e   m ain   i n d u s tr y   is   c h ic k en   p o u ltr y   f ar m .   T h e  m ai n   r eq u ir e m e n t  i s   to   o b tain   o p ti m a l   t e m p er atu r e,   h u m id it y ,   co n ce n tr atio n   o f   a m m o n ia,   an d   ai r   f lo w   o f   th e  c h ic k en   ca g e  f o r   th e  m ax i m u m   th r o u g h p u t o f   t h e  ch ic k e n   f ar m .         2.   M AST E R - SL A VE   M O DULE   DE SI G N  O F   CH I CK E N  P O UL T R Y  F ARM   T h is   s ec tio n   d escr ib es  th e  m et h o d o lo g y   u s ed   in   t h e  p r o p o s e d   s m ar t  c h ick e n   f ar m .   T h e  d et ails   o f   Ma s ter - Slav e  m o d u le  co n Fi g u r e u r atio n   h a s   b ee n   p r ese n ted   i n   [ 6 ] .   T h e  p r o to ty p e  h as  b ee n   i n s talle d   an d   test ed   in   th e   M y r a  Far m   &   Ser v ices,  lo ca te d   at  Kalu m p a n g ,   T an j u n g   Ma l i m ,   P er ak ,   Ma la y s ia.     2 . 1 .   M a s t er   M o du le  Desig n   T h e  o v er all  la y o u t  o f   t h e  s y s te m   t h at  h ad   b ee n   f ab r icate d   ca n   b e  d iv id ed   i n to   f o u r   m ai n   p ar ts ;  p o w er   s u p p l y ,   i n p u t  co m p o n e n ts ,   o u tp u t  co m p o n en ts   a n d   co m m u n icat io n   m o d u les  f o r   b o th   m a s ter   an d   s lav e   m o d u les,  a s   s h o w n   i n   Fi g u r e .   1   an d   Fig u r e .   2 .             Fig u r e   1 .   P o w er   S u p p l y   L a y o u t  f o r   Ma s ter     Fig u r e   2 .   C o m m u n icatio n   Mo d u les  f o r   Ma s ter       2 . 2   Sla v e  M o du le  Desig n   Fo r   ea ch   s lav e  m o d u les,  1 2   VDC  w er e  s u p p lied   to   th e  DC   s tep   d o w n   co n v er ter   to   s tep   d o w n   th e  v o ltag e   to   5   VDC,  s in ce   t h at  i s   th e  s u p p l y   li m i t  an d   t h e  o p er atin g   v o lta g e  o f   A T Me g a3 2 8   m i cr o co n tr o ller .   E ac h   m o d u le  i s   co n n ec ted   w it h   H C - 1 2   R F  m o d u le,   DI P   s w i tch ,   s en s o r s   an d   s e v er al  o t h er   elec tr o n ic  co m p o n e n ts   s u c h   as  cr y s tal  o s cillato r ,   s witch es  a n d   L E D s .   E ac h   s la v e   m o d u le  is   co n n ec ted   to   2   t e m p er atu r e  s e n s o r   p r o b es,  a   DHT 2 2   h u m id it y   s en s o r   an d   MQ - 1 3 5   g as  s e n s o r   to   d etec t  am m o n ia  lev e ls .   T h ese  ar e  th e  th r ee   in p u t  p ar a m eter s   co n s id er ed   in   th i s   p r o j ec t.   T h e  d etail  o p e r atio n   o f   a m m o n ia  d etec tio n ,   w ir ele s s   te m p er at u r e   s en s o r   an d   h u m id it y   s e n s o r   ca n   b e  f o u n d   o n     [ 7 - 1 1 ] .   T h e  R F  m o d u le  f o r   ea ch   s lav e  m o d u les  ar e  s et  in to   d if f er e n t c h a n n el  r elati v e  to   its   p air   in   th e  m a s te r   m o d u le,   to   av o id   d ata  clash i n g ,   as  s h o w n   in   Fi g u r e .   3 .       Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 5 0 2 - 4752   I n d o n esia n   J   E lec  E n g   &   C o m p   Sci,   Vo l .  10 ,   No .   2 ,  May   201 8   :   49 8   –   5 0 5   500       Fig u r e   3 .   C o m p o n e n ts   L a y o u t  f o r   Slav e       2 . 3   Da t a   Co nv er s io n a nd   Ca lib ra t io n   T h e  p u r p o s e  o f   co n v er s io n   i s   to   co n v er t  an alo g u e  v alu e s   r an g i n g   f r o m   0   to   1 0 2 3   i n to   th e  ac t u al  te m p er atu r e,   h u m id it y   a n d   a m m o n ia  v al u es.     = 1023                       ( 1 )     w h er e    is   th e  ca l ib r ati o n   v alu e .   F r o m   ( 1 ) ,   i t  c an   b e  c o n clu d e d   th a t  th e   v alu e   o f     w ill  b e  a d ju s ted   to   p r o d u ce   th e  d es ir e d   o u t p u t.  T o   r e d u c e  to l er an ce   v a lu es,  all  r ea d in g s   w er e  tak en   5   tim es  an d   th e  av er ag e  is   ca lcu l ate d .   T h e  f l o w   o f   al l s en s o r   test s   c an   b e  r e p r es en te d   in   Fig u r e .   4 .           Fig u r e   4 .   F lo w ch ar t   o f   Sen s o r   T est       3.   RE SU L T S AN D  AN AL Y SI S   T h is   s ec tio n   p r esen ts   t h e  r esu l ts   an d   an al y s i s   o f   th e  s m ar t  ch ick en   p o u ltr y   f ar m .   T h e  test   w as  s tar ted   w it h   ca lib r atio n   o f   th e  s en s o r s .     3 . 1 .   Ca lib ra t io n Va lues       T o   d o   ca lib r atio n ,   th e  r ef er en ce   p o in t  m u s t  b e  co n s id er ed .   First,  ac tu al  te m p er atu r e  o f   t h e  p o u ltry   f ar m   w a s   tak e n   a n d   th e  v al u e  w as  2 7 . 5   °C .   Fro m   t h e  r ea d in g ,   t h e  an alo g u e  v alu e  s h o w ed   1 1 5 .   Fro m   E q .   ( 1 ) ,   th e   ca lib r atio n   v al u e  f o r   te m p er at u r e,     is   2 2 4 . 6 3 .   Seco n d ,   th e  ac t u al  h u m id it y   o f   t h e  p o u ltr y   f ar m   w as ta k e n   an d   th e  v al u e  w as   5 5 %.  Fro m   th e   r ea d in g ,   t h e  a n alo g u e  v al u e  s h o w ed   4 3 5 .   A g a in ,   f r o m   E q .   ( 1 ) ,   th e  ca lib r atio n   v alu e  f o r   h u m id it y ,     is   1 2 9 . 3 4 .   Fo r   am m o n ia,   it  w as  m ea s u r e d   th e  ac tu al  r ea d in g   a t  th e  p o u ltr y   f ar m   w as  1 0   P P M   an d   th e  an alo g u e  r ea d in g   s h o w ed   1 9 3 .   Fro m   E q .   ( 1 ) ,   th e  ca lib r atio n   v al u e  f o r   a m m o n ia,     is   5 3 . 0 1 .   T h e  ca lib r atio n   w a s   s u cc e s s f u ll y   p er f o r m ed ,   h o w e v er   th e  ef f ec t  o f   d is t u r b an ce s   s u ch   as  c h an g e  i n   en v ir o n m e n tal  co n d itio n s   ar e   n o t c o n s id er ed   in   t h e  test .         3 . 2   T esting   o f   Sens o rs   T ab le  1   an d   T ab le  2   s h o w s   r ea d in g   te s ts   f o r   te m p er atu r e  a n d   h u m id it y   s en s o r s   th at  w er e  u s ed   in   t h i s   p r o j ec t.  T ests   w er e  co n d u cted   at  th e  in d o o r   an d   o u td o o r   ca m p u s   en v ir o n m e n t,  b ef o r e  it  w a s   ap p lied   at  th e   ac tu al  ch ic k e n   f ar m .   T h e  test s   w er e  co n d u cted   at  la b o r ato r y ,   m o s q u e  an d   co m p o u n d s   at  I I UM .   T h e  test s   f o r   b o th   te m p er at u r e  a n d   h u m id it y   s en s o r s   w er e  co n d u cted   s i m u lta n eo u s l y   u n d er   t h e  s a m e   en v ir o n m en t.  Fo r   t h e   Evaluation Warning : The document was created with Spire.PDF for Python.
I n d o n esia n   J   E lec  E n g   &   C o m p   Sci     I SS N:  2502 - 4752       Dev elo p men t O f S MAR T C h icke n   P o u ltr y  F a r m   ( Ha s ma h   Ma n s o r )   501   p u r p o s e  o f   co m p ar is o n s ,   t h r e e  r ea d in g s   w er e  ta k e n   b y   u s i n g   d i f f er e n t  te m p er atu r e  m ea s u r e m en t   s e n s o r s   i.e .   L M3 5 ,   p r o b e  an d   A cc u W ea th er .   DHT 1 1   an d   DH T 1 2   w er e  u s ed   to   m ea s u r e  h u m id it y .       T ab le  1 .   T a b u lated   R es u lts   o f   T em p er atu r e  Se n s o r   T est   En v i r o n me n t   S e n so r   /   R e f e r e n c e   A n a l o g   R e a d i n g   T e mp e r a t u r e   V a l u e   A f t e r   C o n v e r si o n   R o b o t   D e si g n   L a b     ( I n d o o r )   L M 3 5   1 1 9   2 8 . 4 6   P r o b e   1 1 9   2 8 . 4 6   I - B r o w n ,   K I C T     ( I n d o o r )   L M 3 5   1 1 5   2 7 . 5 0   P r o b e   1 1 5   2 7 . 5 1   E2   –   1   S q u a r e     ( O u t d o o r )   L M 3 5   1 3 5   3 2 . 2 8   P r o b e   1 3 6   3 2 . 5 2   A c c u W e a t h e r   -   3 2 . 0 0   K I C T   R o u n d a b o u t   ( O u t d o o r )   L M 3 5   1 4 0   3 3 . 4 8   P r o b e   1 4 2   3 3 . 9 6   A c c u W e a t h e r   -   3 4 . 0 0   S H A S   M o sq u e   C o mp o u n d   ( O u t d o o r )   L M 3 5   1 3 1   3 1 . 3 3   P r o b e   1 3 1   3 1 . 3 4   A c c u W e a t h e r   -   3 1 . 0 0       T ab le  2 .   T a b u lated   R es u lts   o f   Hu m id it y   Sen s o r   T est   En v i r o n me n t   S e n so r   /   R e f e r e n c e   A n a l o g   R e a d i n g   H u mi d i t y   V a l u e   A f t e r   C o n v e r si o n   R o b o t   D e si g n   L a b     ( I n d o o r )   D H T 1 1   3 9 3   4 9 . 5 9   D H T 2 2   3 9 3   4 9 . 6 3   I - B r o w n ,   K I C T     ( I n d o o r )   D H T 1 1   4 0 6   5 1 . 3 0   D H T 2 2   4 0 6   5 1 . 2 3   E2   –   1   S q u a r e     ( O u t d o o r )   D H T 1 1   4 3 6   5 5 . 0 3   D H T 2 2   4 3 6   5 5 . 1 3   K I C T   R o u n d a b o u t     ( O u t d o o r )   D H T 1 1   4 3 5   5 5 . 0 0   D H T 2 2   4 3 5   5 5 . 0 0   S H A S   M o sq u e   C o mp o u n d   ( O u t d o o r )   D H T 1 1   4 4 3   5 5 . 9 3   D H T 2 2   4 4 3   5 5 . 9 7       R es u lts   i n   T ab le  1   an d   2   s h o w ed   t h at  th er e  ar e  co n s i s ten c i es  i n   t h e  m ea s u r e m e n t  r ea d i n g   o f   te m p er at u r e  an d   h u m id it y ,   at  th e  i n d o o r   a n d   o u td o o r   m ea s u r e m en t s .   T e m p er at u r e  an d   h u m id it y   f o r   in d o o r   en v ir o n m en t s   ar e  lo w er   t h a n   o u td o o r   en v ir o n m e n t s .   Ga s   s e n s o r   w a s   te s te d   at  I I UM   co m p o u n d   a n d   als o   at  th e   ac t u al  f ar m .   T h e  g as  s en s o r   d etec ts   th e  p r esen ce   o f   a m m o n ia  in   th e  air .   Fig u r e .   5   s h o w s   th e  r ea d in g s   o f   th e  g as  s e n s o r   o v er   ti m e  ( i n   m i n u te s ) .   T h e  m ea s u r e m en t   w as   m ad e  i n   1 5   m in u tes.  Sin ce   t h er e  w er e  n o   a m m o n ia   p r esen ce   in   I I UM ,   th e  r ea d in g   is   co n s i s te n t  ( at  2 0 0 )   co m p ar ed   to   th e  m ea s u r e m e n t  m ad e  at  t h e  ac t u al  f ar m .   At  ac tu a l   f ar m ,   t h er e  w as  d r asti c  i n cr ea s e  in   r ea d in g s   s in ce   th e  a m m o n ia  g as  at  th at  t i m e  w a s   at  t h e  p ea k .   R ea d i n g s   tak en   w er e  j u s t  a f ter   h ar v esti n g   p er io d ,   w h er e  tr ac es  o f   am m o n ia  p r o d u ce d   b y   t h e  li v e  s to ck s   w er e  s ti ll   p r esen t.           Fig u r e   5 .   Gr ap h   o f   An alo g u e  Valu e  v er s u s   T im e  fo r  Gas Se n s o r     100 300 500 0 5 10 15 20 Analog  V alu e  ( Gas   Sen so r)  vs   Tim e  F ar m IIUM Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 5 0 2 - 4752   I n d o n esia n   J   E lec  E n g   &   C o m p   Sci,   Vo l .  10 ,   No .   2 ,  May   201 8   :   49 8   –   5 0 5   502   3 . 3 .     O u t pu t   P a r a m et er   A ll  in p u ts   f r o m   s en s o r s   w er e  p r o ce s s e d   t o   d ef in e  th e  c o n d iti o n s   f o r   o u t p u t  m ec h an is m s .   Fo r   th is   p r o jec t ,   th e  m aster   m o d u le  o u tp u ts   p u ls e  w id th   m o d u lat io n   ( P W M)   s ig n als  to   co n t r o l  a  f ew   s er ies   o f   f an   s p ee d .   T h e   s y s te m   n ee d s   to   c o n s id er   th e  r e ad in g s   f r o m   all   4   s lav e  m o d u les  t o   p r o d u c e  an   o u tp u t .   F r o m   Fig u r e .   6 ,   th e   r e ad in g s   f r o m   s la v e  1   ( S1 )   w i ll  b e  d if f er e n t  f r o m   o t h er   s la v e  m o d u les   d u e  to   t h eir   lo ca tio n   i n   r elativ e   to   th e   f an   zo n e.   T h e  a m m o n ia  le v el  o n   S1   zo n e  w ill  b e  lo w er   if   c o m p ar ed   to   S4   zo n e  s i n ce   S1   z o n e  is   m u c h   clo s er   to   th e  f a n ,   h o w e v er ,   th e  te m p er atu r e  at  S1   zo n e  w ill  b e  h ig h er   d u e  to   h ea t  e m itted   f r o m   t h e  f an   its el f .   Ho w e v er ,   th is   p r o j ec t  w ill  b e   co n s id er in g   t h e  av er ag e  r ea d in g   f o r   all  s lav e  m o d u le s   s i n ce   th is   ap p r o ac h   is   s tr aig h t  f o r w ar d ,   an d   at  t h e  s a m e  ti m e  th i s   p r o j ec t  is   ass u m ed   to   b e   in   id ea l  co n d itio n   w i th o u t  d is t u r b an ce s .   T h er e  is   a  to tal  o f   1 4   f a n s   ar r an g ed   f o r   ea ch   h all,   a n d   th er e   ar e  7   p h ases   o f   tr ig g er in g   t h e   f an s   d ep en d in g   o n   th e  ag e  o f   th e  c h ick e n s .   Fo r   ex a m p le,   p h a s e  o n e  s h all  o n l y   b e   tr ig g er ed   w h e n   th e  c h ic k en s   ar e  at  6   d ay s   an d   less .   T h e  f u n ctio n   o f   th e  f a n   i s   to   p u ll   o u t  a m m o n ia   g a s s e s   f r o m   i n s id e  th e   h all   w h ile  p r o d u cin g   a  w i n d   f lo w  th at  w i ll  d ec r ea s e  t h e  te m p er atu r e  o f   th e  h all.   T h e  h i g h er   t h e  s p ee d   o f   t h e  f a n ,   t h e  le s s er   t i m e  it   to o k   to   co o l   d o w n   t h e  h all.   T h er ef o r e,   th e  i n p u t r esp o n s e  ca n   b e  co n s id er ed   as r a m p   in p u t a s   i n   Fi g u r e .   7 .   W h er e  th e  s p ee d   o f   th e  m o to r   is   d ir ec tl y   p r o p o r tio n al  to   th e  s e n s o r   v a lu e s .               Fig u r e   6 .   Fan   L a y o u t  o f   t h e  H all     Fig u r e   7 .   Gr ap h   o f   Sen s o r   Valu e  ( I n p u t )   v s   Sp ee d   o f   Mo to r   ( Ou tp u t )         I n   r ea l  li f e  s i tu at io n ,   d ir ec t  m a p p in g   o f   in p u t  to   t h e  o u tp u t  d o es  n o t  p r o d u ce   th e   b est  o u tp u t,  b ec au s e  t h er e  w il l  h av e   ten d e n cies   f o r   f au lt r ea d in g s   o n   ce r tain   zo n es,  m o s t   o f   w h ic h   t h er e  ar e  le f to v er s   o f   a m m o n ia  g a s s es .   T h er ef o r e,   th e  o u tp u t  ca n   b e  o p ti m ized   b y   u s in g   a  co n tr o l  m et h o d ,   k n o w n   a s   p r o p o r tio n al,   i n teg r al   an d   d er iv ativ e  ( P I D) .   C o n s id er in g   a  r am p   i n p u t,  t h e  tr an s f er   f u n c tio n   o f   t h e    o f   th e  n eg a tiv e  f ee d b ac k   s y s te m   w i th   P I D  co n tr o ller   is ;     ( ) = 2 +   +   ( 1 +   ) 2 +     +                 ( 2 )     Fro m   E q .   ( 2 ) ,   th e  v alu es  f o r   = 10 ,  = 3   an d   = 3 ,   th e  tr an s f er   f u n ctio n   w o u ld   b e     ( ) = 3 2   +   10   +   3 4 2   +   10   +   3       Evaluation Warning : The document was created with Spire.PDF for Python.
I n d o n esia n   J   E lec  E n g   &   C o m p   Sci     I SS N:  2502 - 4752       Dev elo p men t O f S MAR T C h icke n   P o u ltr y  F a r m   ( Ha s ma h   Ma n s o r )   503         Fig u r e   8 .   Step   R esp o n s e  o f   t h e     T r an s f er   Fu n ctio n       Fig u r e   9 .   Ou tp u t  Sp ee d   f r o m   Mic r o co n tr o ller         Fig u r e .   9   r ep r esen ts   t h e  P W M  o u tp u t  o f   DC   m o to r   f r o m   th e  m icr o co n tr o ller ,   w h ic h   r an g e s   f r o m   0   ( m in i m u m )   to   2 5 5   ( m a x i m u m ) .   T h e  s p ee d   r e d u ce s   as  t h e  r e ad in g   o f   t h e  s e n s o r s   d ec r ea s es ,   w h ic h   ev e n t u all y   s ta y s   at  r est  th en   t h e  s y s te m   ac h iev e s   its   s et  p o in t.  T h e  p ea k   a m p lit u d e  o f   th e  s y s te m   in   Fig u r e .   8   is   at  1 . 0 2 ,   th e  r is e  ti m e  is   0 . 6 8 4   s ec o n d s ,   s ettli n g   t i m e  i s   6 . 5 1   s ec o n d s   an d   th e  f in al  v al u e  is   1 .   F r o m   t h e  g r ap h ,   t h e   p er ce n tag e  o v er s h o o t is 2 %.     3 . 4   Ra dio   F re qu ency   M o du le   T h is   p r o j ec t  h ad   test ed   th e  cr itical  p ar a m eter   o f   t h e  ca s e,   w h ic h   is   t h e  d is ta n ce   a n d   b au d - r ate  o f   t h e   m o d u les.  T h e  r esu l t o f   t h e  test   is   as f o llo w s ;       T ab le  3 .   T a b u lated   R es u lts   o f   Mo d u le  T est   D i st a n c e   ( M e t e r s)   B a u d - Rate   P a r t i t i o n e d   O p e n   A i r   2   9 6 0 0   √   √   1 1 5 2 0 0   √   √   10   9 6 0 0   √   √   1 1 5 2 0 0   X   √   30   9 6 0 0   √   √   1 1 5 2 0 0   X   √   1 0 0   9 6 0 0   X   √   1 1 5 2 0 0   X   √   2 0 0   9 6 0 0   X   √   1 1 5 2 0 0   X   √       T ab le  3   s h o w s   t h e  tab u lated   r esu lt s   o f   R F  m o d u le  te s t  t h at  w a s   d o n e  o n   b o th   p ar titi o n ed   an d   o p en   air   en v ir o n m e n t.  T h e  b au d   r ate  f o r   m icr o co n tr o ller ,   tr an s m itte r   an d   r ec eiv er   w as  s et  to   b e  a t  9 6 0 0   an d   1 1 5 2 0 0 .   Fe w   s er ie s   i f   p i n g   w as   d o n e  t o   s ee   i f   t h e  atte m p t  is   s u cc e s s f u l  ( √ ) ,   w h ic h   ca n   b e  k n o w n   w h e n   m aster   m o d u l e   s u cc e s s f u ll y   g r ab b ed   th e  d ata  an d   d is p la y ed   it  o n   s er ial  m o n ito r .   Oth er w i s e,   it  w as  co n s id er ed   er r o r   ( X) .   T h is   ca n   b e  co n clu d ed   th at  t h e  b a u d   r ate  d o es  h av e  an   i m p ac t  o n   th e  tr an s m is s io n   f o r   p ar titi o n ed   w all s ,   m o s tl y   b ec au s e  t h e  s p ee d   is   to o   f a s t  f o r   th e  m icr o co n tr o ller   to   d is p l a y   i n   s er ial  m o n i to r .   On   th e   o th er   h an d ,   o p en   air   test s   s h o w   f u l l y   s u cc e s s f u l r es u lts   s i n ce   th er e  ar e  n o   d is t u r b an ce s   f o r   th e  r ad io   f r eq u en c y   wav es.     3 . 5   P o w er   C o ns u m ptio n    On e  o f   t h e  m ai n   co n ce r n s   o f   t h is   s y s te m   is   t h e  p o w er   c o n s u m p tio n .   T h er ef o r e,   co m p o n en ts   w er e   s elec ted   b ased   o n   its   s u p p ly   p o w er   a n d   o p er a tin g   p o wer   s o   th at  it   ca n   r e m ai n   as   lo w   a s   p o s s ib le.   T h eo r etica lly ,   t h e  p o w er   co n s u m p tio n   w as  m ea s u r ed   b y   as s u m in g   t h e  o p er atin g   p o w er   o f   th e  w h o le  s y s te m   w il l n o t e x ce ed   t h e  p o w er   t h at   is   s u p p lied .     =                     ( 3 )     I S   =  1   A   an d   V S   =  1 2   VDC.  T h er ef o r e,   f r o m   ( 3 ) ,   P T   =  1 2   W atts .     Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 5 0 2 - 4752   I n d o n esia n   J   E lec  E n g   &   C o m p   Sci,   Vo l .  10 ,   No .   2 ,  May   201 8   :   49 8   –   5 0 5   504   T h e  cu r r en t  o f   t h e  w o r k i n g   s y s te m   w as  m ea s u r ed   at  th e  o u t p u t  o f   t h e  v o lta g e  r eg u lato r ,   an d   u s in g   p o w er   E q .   ( 3 ) ,   th e  r esu lt o b tain ed   is   as  f o llo w s ;     Me asu r ed   cu r r en t,  I E   =  0 . 0 5 7 8   A   a n d   V E  =1 2   VDC.  T h er ef o r e,   P E   =   6 . 9 3 6   W atts .     T h e  ef f icie n c y   f r o m   t h eo r etica l p o w er ,   P T   in   r elativ e  to   ex p er i m e n tal  p o w er ,   P E   is   ca lc u late d   as f o llo w s :        = 12 − 6 . 936 12     100 = 42 . 20%     T h er ef o r e,   it  ca n   b e  co n clu d ed   th at  th e  o p er atin g   p o w er   o f   th e  s y s te m   is   le s s er   th a n   th e   s u p p lied   p o w er ,   h en ce   m a k i n g   it  4 2 . 2 0   %  ef f i cien t.  T o   p u t  it  i n   a  p er s p ec ti v e,   i f   a  b atter y   th at   h a s   t h e  c ap ac it y   o f   1 2   W att - Ho u r   ca n   b e  ab le   to   p o w er   u p   a  s y s te m   o f   1 2   W atts   f o r   an   h o u r ,   th e n   t h e  s a m e   b atter y   co u ld   b e  ab le  to   p o w er   u p   th is   s y s te m   f o r   ± 1 . 5   h o u r s ,   h e n ce   t h e  s y s te m   ca n   b e  co n s id er ed   as  ef f icie n t.  Ho w ev er ,   s in ce   th i s   p r o j ec t  is   u s i n g   a  co n s ta n t  p o w er   s u p p l y   f r o m   DC   ad ap ter ,   th e n   th e  o p er atin g   p o w er   ca n   b e  s aid   to   b e  at  co n s tan t  1 2   W atts ,   w h ic h   is   r elati v el y   s m a ll f o r   an   ev er y d a y   li f e  i n s tr u m en ts .       4.   F I E L D  T E S T I N G   ARR AN G E M E NT   T h e  f ield   test i n g   o f   t h e  ac tu a l   p o u ltr y   f ar m   i s   lo ca ted   ap p r o x i m atel y   1 0 0   KM   n o r th   o f   K u ala  L u m p u r   to   th e  d is tr ict  o f   Kal u m p an g ,   T an j u n g   Ma li m .   T h e  ch ick e n s   wer e  3 2   d ay s   o ld ,   2   d ay s   p r io r   t o   h ar v esti n g   b y   th e   ti m e  t h e  ca li b r atio n   p r o ce s s   was  d o n e,   w h ich   i s   th e  t i m e  w h en   th e  c h ick e n s   p r o d u ce d   th e  h ig h e s t  a m o u n t  o f   a m m o n ia.   T h e  p ictu r es o f   t h e  f ar m   ar e   s h o w n   i n   Fi g u r e .   1 0 - 13.             Fig u r e .   1 0   T h e  P o u ltry   C h ick e n   Far m   at  Ka lu m p an g       Fig u r e .   1 1   W o r k s p ac e  Set - Up   Du r in g   Fie ld   T est           Fig u r e .   1 2   C C T V  Feed s   f o r   4   Halls  o f   t h e  Far m     Fig u r e .   1 3   Hall  1 ,   th e  T est  h all  f o r   Sen s o r   R ea d i n g s       5.   CO NCLU SI O N   T h e  o b j ec tiv e  o f   th is   p r o j ec t,  to   d e v elo p   s m ar t  c h ick e n   p o u ltr y   f ar m   h a s   b ee n   ac h ie v ed .   T h e  s m ar t   ch ick e n   p o u ltr y   f ar m   h a s   b ee n   in s talled   a n d   test ed   at  M y r a  Far m   &   Ser v ice s   in   Kal u m p a n g ,   T an j u n g   Ma li m ,   Selan g o r .   T h e  s y s te m   w a s   tes ted   in   t h e  u n iv er s it y   ar ea   b ef o r e  f u ll y   i n s talled   a n d   i m p le m en ted   at  t h e  ac t u a l   f ar m .   T h e  s y s te m   p r o v id es  m o n ito r in g   an d   co n tr o l  o f   th e  f ar m   co n d itio n   i n   m o d u lar   f o r m .   Fro m   t h e  s en s o r s   r ea d in g s ,   th e  o u tp u t   p ar a m ete r s   ( s er ies  o f   f a n   s p ee d )   h av e  b ee n   s u cc es s f u l l y   o p ti m ized   u s in g   P I D  co n tr o ller .   T h e  s en s o r s   ( s lav e)   i n s t alled   at  th e  f ar m   ar e  co n n ec ted   w ir eless l y   to   t h e  m aster   a n d   at  t h e  s a m e  ti m e  v er y   ea s y   to   in s tall  w it h   m i n i m al  c o s t.    T h e  p r o d u ctio n   co s t  to   d ev elo p   s m ar t  ch ic k e n   p o u ltr y   f ar m   i s   b elo w   R M   1 , 2 0 0 ,   as  w e ll  as  k ee p i n g   t h e  o p er atin g   p o w er   at  6 . 9 3 6   W at ts .   W ith   th e  s u cc e s s   o f   t h e  d ev elo p m e n t  o f   s m ar t   Evaluation Warning : The document was created with Spire.PDF for Python.
I n d o n esia n   J   E lec  E n g   &   C o m p   Sci     I SS N:  2502 - 4752       Dev elo p men t O f S MAR T C h icke n   P o u ltr y  F a r m   ( Ha s ma h   Ma n s o r )   505   ch ick e n   p o u ltr y   f ar m   a t  M y r a  Far m   &   Ser v ices,   it  i s   e x p ec ted   th at   th e   f ar m   co u ld   p r o d u ce   m o r e  h ea lt h y   ch ick e n ,   r ed u ce   t h e  n u m b er   m o r talit y   an d   i n   co n s eq u e n ce ,   c o u ld   f u lf i l th e  d e m an d   o f   f r o m   th e  co n s u m er s .       ACK NO WL E D G E M E NT   T h is   r esear ch   is   f u n d ed   b y   I n ter n at io n al  I s la m ic  U n i v er s it y   Ma la y s ia  ( I I UM )   an d   M in i s tr y   o f   H ig h er   E d u ca tio n   Ma la y s ia  u n d er   t h e  r esear ch   g r an t  R I GS1 6 - 066 - 0 2 3 0 .   Sp ec ial  th an k s   to   M y r a  Far m   &   Ser v ice s   Sd n .   B h d .   f o r   th e  co llab o r atio n   o f   w o r k .       RE F E RE NCES   [1 ]   Ha k a n   ERDEN,   “ L i v e sto c k   M o n it o ri n g   S y ste m , ”   in   M in istry   o f  Fo o d   a n d   L ive sto c k ,   A n k a ra ,   Tu rk e y ,   p p .   1 – 4 ,   2 0 1 4 .   [2 ]   Zo h a i b   M u sh ta q ,   A k b a re   Ya q u b ,   M u h a m m a d   Ja b b a r,   A d n a n   Kh a li d ,   S a a n ia  Iq b a l,   Ka m ra n   Zeb   a n d   A b id   A . Na q v i,   “ En v iro n me n t  C o n tr o l  S y ste m  fo r  L ive sto c k   S h e d s  Us in g   Fu zz y   L o g ic  T e c h n iq u e , ”   in   2 0 1 6   3 rd   In tern a ti o n a l   Co n f e re n c e   o n   In f o rm a ti o n   S c ien c e   a n d   Co n tro l   En g i n e e rin g ,   p p .   1 - 2 ,   2 0 1 6 .   [3 ]   G .   S c a n d u rra ,   A .   A re n a ,   C.   C io f i  a n d   G .   S a it ta,  “ De t e c ti o n   o f  Ammo n i a   a t  PP M   L e v e ls  U sin g   T it a n i u m   Dio x id e /P o lya n i li n e   Fi lms  De p o sited   o n   Pl a stic  S h e e ts , ”   P r o c e e d in g s  o f   IEE E  In tern a ti o n a l  In st ru m e n tatio n   a n d   M e a su re m e n t  T e c h n o lo g y   Co n f e r e n c e ,   p p .   1 - 2 ,   2 0 1 2 .   [4 ]   Ha iwe i  F u ,   Yo u h u a   Jia n g ,   Jiju n   Din g ,   Jin g le  Zh a n g ,   “ L o w  T e mp e ra tu re   Cro ss - S e n siti v it y   Hu mi d it y   S e n so r  Ba se d   o n   a   U - S h a p e d   M icr o fi b e r In ter fe ro me ter , ”   IEE E  S e n so rs J o u r n a l,   V o l .   1 7 ( 3 ),   p p .   6 4 4 - 6 4 9 ,   2 0 1 6 .   [5 ]   M o h a m e d   Er  Rid a ,   F u q ian g   L iu   ,   Ya ss in e     Ja d i,   “ De sig n   M in i - P L C  b a se d   o n   A Tx m e g a 2 5 6 A 3 U - AU   M icro c o n tro ll e r, ”   Pro c e e d i n g s  o f  In ter n a t io n a l  Co n fer e n c e   o n   I n fo rm a t io n   S c ien c e ,   El e c tro n ics   a n d   El e c trica l   En g i n e e rin g ,   p p .   1 0 3 4 - 1 0 3 7 ,   2 0 1 4 .   [6 ]     A .   A   No r  A z li n ,   H.  M a n so r,   A .   Z.   Ha sh im   a n d   T . S .   G u n a w a n ,   " De v e lo p me n t  o f  M o d u l a r  S ma rt  Fa rm   S y ste m , "   in   P r o c .   o f   th e   4 t h   IEE E  In ter n a ti o n a l  C o n f e re n c e   o n   S m a rt  In stru m e n tatio n ,   M e a su re m e n t  a n d   A p p li c a ti o n s   (ICS IM A )  2 0 1 7 ,   P u traja y a ,   p p .   1 - 6 ,   2 0 1 7 .   [7 ]   G .   S c a n d u rra ,   A .   A re n a ,   C.   C io f i  a n d   G .   S a it ta,  “ De t e c ti o n   o f  Ammo n i a   a t  PP M   L e v e ls  U sin g   T it a n i u m   Dio x id e /P o lya n i li n e   Fi lms  De p o sited   o n   Pl a stic  S h e e ts , ”   P r o c e e d in g s  o f   IEE E  In tern a ti o n a l  In st ru m e n tatio n   a n d   M e a su re m e n t  T e c h n o lo g y   Co n f e r e n c e ,   p p .   1 2 1 0 - 1 2 1 2 ,   2 0 1 2 .   [8 ]   P y o u n g w o n   P a rk   a n d   K.A . A . M a k in w a ,   “ A  Re sisto r - Ba se d   T e mp e ra tu re   S e n so r  f o r  a   Rea l  T ime   Clo c k   wit h   2 p p m   Fre q u e n c y   S t a b il it y , ”   P r o c e e d in g s  o f   th e   4 0 t h   E u ro p e a n   S o li d   S tat e   Circu it s  C o n f e re n c e   (ES S CIRC ),   p p .   3 9 1 - 3 9 4 ,   2 0 1 4   [9 ]   S tep h a n   W il d e rm u th ,   A n d re a s  De c k e r,   Jö rg   Ge b h a rd t  a n d   P a u l   S z a sz ,   “ No n - In v a siv e ,   En e rg y - Au to n o m o u s  a n d   W ire les s  T e mp e ra tu re   S e n so r  f o r  T h e   Pr o c e ss   In d u stry , ”   P ro c e e d in g s  o f   2 1 st  In tern a ti o n a l  Co n f e re n c e   o n   Em e r g in g   Tec h n o lo g ies   a n d   F a c to ry   A u to m a ti o n   (ET F A ),   1 - 4 ,   2 0 1 6 .   [1 0 ]   X in p e n g   Ch e n ,   X ia n g d o n g   Ch e n ,   Nin g   L i,   X i n g   Din g ,   Xu a n   Zh a o ,   “ A  QCM   Hu mid it y   S e n so rs   Ba se d   O n   GO /Na fi o n   Co mp o site  Fi lms  W it h   En h a n c e d   S e n siti v it y , ”   2 0 1 6   IE EE   S e n so r  Jo u rn a l,   Vo l.   1 6 (2 4 ),   p p .   8 8 7 3 - 8 8 8 3 ,   2 0 1 6 .   [1 1 ]   T . S .   G u n a w a n ,   I. R. H.  Ya ld i,   M .   Ka rti w i,   a n d   H.  M a n so r.   P e rf o r m a n c e   Ev a lu a ti o n   o f   S m a rt  Ho m e   S y ste m   u sin g   In tern e t  o f   T h in g s.  In ter n a ti o n a l   J o u rn a l  o f  El e c trica l  a n d   Co m p u ter   En g in e e rin g   ( IJ ECE ) ,   8 (1 ),   p p .   4 0 0 - 41 1 ,   2 0 1 8 .     Evaluation Warning : The document was created with Spire.PDF for Python.