In te r n ation a l Jou rn al  o f Po we Elec tron ic s an d   D r ive S y stem  (IJ PED S V o l.  10, N o.  2, June  2 01 9, pp.  753~ 7 6 7   IS S N : 2088- 86 94,  D O I :   10.11 59 1 /ij ped s . v10 . i 2.pp 7 53- 76 7           753     Jou rn a l  h o me pa ge :  ht tp: //i a e score . com / j o u r na l s / i n d e x . p hp/IJ PED S   Development of an ine x pensiv e da ta logger fo r solar water  heating system regul ators       Ait  A h med W a ssi m a ,  Ag gou r Mo ha mmed, Ouha mmou   Ba dr  Dep a rtm e nt of  Phys ics ,  Ib n  T o f ail   Univ ers i ty, M o ro cco       Art i cl e In fo     ABSTRACT  A r tic le hist o r y :   R e c e i v e d  Oct  1 6 ,  2 018  Re vise d N ov  1 9 ,   201 8   Ac ce p t ed  M ar 1 , 2 0 19      Each   s o l ar  t herm al  p lant  can   p r o vi de  d if f e rent   p aram et ers   t o   b e   t reated   a nd   eval uat e d ,   m o s tly  t em perat u re  m easu r emen ts p r essu re  s p ecif i cat io ns ,   heat  tran s f er  v al ues .   T his  d a ta  c ol lect ion   can  b q u it expen s i v e   ta king   i n t accou n t   the  i m port a nt   n u m b e of   s enso rs  a n d   d at lo gg ers   and   th eir   specifi c a t i on s.  H ence  to  a ssure  f l exibi lity  i the  data  c oll ect i o n   a t  a  l o w  c o s t ,   m a ny   h ardware  and   s o f t w a re  s pe cifi catio n s   can   b ad opt ed.  Here   we   b uil t   a ine x pe n s iv e   da ta   l og ge b a se on  th e   Ard u in b o a r d   a n IDE  to   c o l l ect  a nd   st ore  in comin g   d ata  f r om   R es o l   D elt a S o l   reg u lators   i n t egrat e i di ffe r e n t   sola wa te h e a t i n sys t e m s.  T he   o bje c t iv e   o f   t hi s t ud i s   t o   allow  m a ssive   sy nch r oni zed m eas urem ent s  wit h hig h   r es o l utio to  b e s t ored   i n t o   an  S D card  th rou gh  t h Ardu in pl a t f o rm.  T h meas uremen ts  a re  g iv en  b y   m u l tipl e   sen s o r (t em perat u re,  pum p   s p eed,   relay   s t at es)  co nn e c ted  to   t h regul ato r Th resu lt f r om   t he  t es t s   o f   t h pl a n con n ected   t t h dat a   l og ge a r e   pro v i d ed  l at er  on,   a l ong si de  t h e   c o m m e rci a aspec t o f   t h e   b uil t   data  l o ggi ng  dev i ce.  A f t er  a   m ont h   of   d a i l y   m eas urem ent s the  d a t a   l o g g e s h owe d   a ou tstan d in pe rf orm a n ce  wi th   a n   ext r em lo cos t   c o m pared  to  i n d u st r i al   d a t al og g e r . K eyw ord s :   A r dui n o   D a ta  l o ggi ng   Mi cro S Solar   wat e r system   Tem p era t ure  sens ors  VBu s   Co pyri gh t © 2 019 In stit u t of Advanced  En gi neeri n g  an d  S c ien ce.   All  rights   res e rv ed.  Corres pon d i n g  Au th or:   A it A h m e d Wa ssima   Lab o rato ry  o f   Renew a bl En erg i es   a nd   E n v i r on me n t   ,   D e pa rtment o p hysic s,   Fa cult y   o f   s c i e n ce s,  I bn Tofa il U n ive r sity  K eni t ra,   Morocc o.  Em ail:  aita hme d w @ gm ail . co m       1.   I N TR OD U C TI O N   Re ne w a b l en ergy  t oda is  by  far  t h e   first   stu d i ed,  eva l u a te a nd  promote d   s c i ence   a ll  a r ou n d   t h e   w o rld  due   t ma ny  fac t ors,  i n c lu d i ng  su st a i n a bl e   de ve l opm e n t ,   t he  d ec rea s of  f ossil  e n e r gy  re se rves  b e c a u se   of  t he  e xce ssi ve  i nd us tria a nd  dome s tic  u se   f or   p ow er  e xtrac t i o n ,   as  w e l l   as  t he  i n c r ease   in  t he  e nerg y   dem a nd  [1].   S olar  e ner gy,   w i nd,   h ydra u lic   a nd  b i om ass  e n ergy  so urce are   c o min g   h a n d   i n   h an wi t h   f uel  t o   overc ome   t h chal le ng of  g oo d   func t i on   t hro u g h   a   l o n g   t im [2] .   N e ve rthe less,  s ol a r   e nerg i s   c o n s i de r e d   the  m o s t   e ffi cien in  t er ms  o c l e a n   e xp loi t a t ion  an c o n v ersi o p r o c e sse s,  i n c lud i ng   pho to vol t a i c ph o t oc hem i c a l and  p h o t t h e r m a c o n v ersi o n con v ert i ng  s un  ra d i a tio to   e lectr i ci t y ch em ical  a n d   t he rm al  ene r g y   r espec t i v e l y.   N ev er the l e s s,   t he   e n e rgy  c o n v e r s i on  e f fic i en c y   r e m a i n s   l o w   i n   p hot ovol ta i c   a n d   che m ica l   a pp l i cati o ns com par e d to t he  t herm al  c on versi o n a ppr oa ch[1,  2].   The   t h erm a con v e r si on  proc ess  is  c o n s i der e t h tra d i t i o nal  c o nv e r si on  me t h od   t ra nsfo rmi n g   sol a radia t i o in to  h eat th is  t ype   o e n e r g y   e x t rac tio proces is  q u it appl i cabl e   o n   Moro c c a n   s o i l .   A a n   e x a m p l e ,  t h e  c o n c e n t r a t e d  s o l a r  p o w e r  p l a n t  b u i l t   i n  O u a r z a z a t ,   t hi s   kind   o f   re n e wabl e n e r g y   ex t r act i o n   syste m he lps   r e duce   the  ver y   h i g h   ener gy  depe n d enc y   o M o rocc o   ( de pen d ma in ly  on  im p o rte d   s our ces   (96%) )   [ 3]  a n d   a l s o  pro hi bit   furt her  p o l l ut i o prob lem s   i n   the   f u t u r e The   Inte gra tio n of em b edde d sy s t em in   di ffe re nt  e l e c t ric  pl a n t s   [ 4],  espec i al ly  m e g a   e n erg y   f urnac e and  heating  sys t em [5],   i crucial  in  o r d er  t rea l i z differ e n tas k w i t h o u t   i nvo lv i n a n h u ma c ontro [6] .   Mo n itor i n g   v a r ia ble s   can  p rov i de   e arly  w a r n i n gs  o m a l f unc t i on,   t he refore  m in imiz in re le va nt   c os ts  a n fi na ll he l p ob serv in th eir  l o ng- term  Evaluation Warning : The document was created with Spire.PDF for Python.
                         I SSN: 2088- 8694   I nt   J  P ow  Elec   & Dr i   S y st, Vol. 10,  N o.  2, June  2 019  :  75 3     7 67  75 4 beha v i or,   e s pe cia l l y   t e m pe ra ture   s pe ci fica t i on  si nce   t h e y   a r e   c onsi d ere d   t he  m ain  s t ud ie para me te rs  t o   assure  b ett e efficienc y   o f   sol a ther mal   s y stem [ 7 ].   T hese  m o ni tor i ng  a p p lica tio ns  a r e   m ainl ba se o n   mi cro c on t r oll e rs  a n d   el e c t r o n i ci rcui t s M i c r o c on t r oll e bas e d  s y s t e m s  a r e   w i l d l y   u s e d  f o r  g e n e r a l  p h y s i c a l   para me ters  m oni tor i ng,   i pa rtic ular   s ol a r   e nerg a p p l ic a t i o ns,   a ss uri ng  si gn i f ica n i m provem e n t   i th e   ene r g y   e ff ic ien c a n l e ss  e x pen s es  [ 8].  H o w e ver,   e ve ry  p ar t i c u la re se arc h   w ork  ha it ow spec ific atio ns   st a r t i n g   from   the  ty pe  o t h m i croc on trol ler   use d   i n   the  ap p l i cat i on  a nd  t h e   a ppr opria te  e l e ctro nic   c o mp on en ts.  M .   F u e nt e s   a nd   a l l   [ 9 ]   d e v el op ed   a   d at al og g e f o a   p h o to vo l t ai sys t em   acc ordi ng  to   t h e   st a ndard   o I n t e rnat io na E l e c tro t ec hn ica l   C om mission   I EC  6 17 2 4 :1 99 8,   u s i ng   a n   A r du i n o   U n bo a r d,  b y   impro v i n its  A D C   from   na ti ve   1 0-b it  res o l u t i on  t o   a up g r a d ed  ver s io of  18-b i t   re sol u t i on.  W h ile  G ad  a n d   all  [10]  d eve l o p e d   a   d a t ac q u isi t i o n   s ys t e for  s o lar  s y s t e m   m on itor i n g ,   u s in bo th  a   P IC  m icr o con t ro ll e r   and  a n   A T M E L   m i c roco n t rol l er  a ssem b le on   a A r d u i n o   Me ga   b oar d   t assur e   d ata  stora g e.   T hus,  u s i ng  em bedde tec h no l o g y  i n so lar  therm a l pla n can  b bot effic i e n t   an cost  e ffec t i ve  [ 7].   A   qu it e   s i m ilar   proje c t  is  b u i lt on th e p h y s i c s   depa rtme nt of f a c ul t y  o f   s c i e n c es     K en it ra i n   o rd er t u s e   t h h e at   e x t ra c t ed   f ro t h so l a co ll ect o r   t h eat   a   b io di g e st er.  Th sy st e m   i auto ma t i c a l ly   r egu l a t e d u s i n g   th e   R e so l   De lt a S ol   r eg ul at o r In   o u r   c as t h re gu la t o h as  i t s   o w n   c omm unic a ti o n   p r o toc o l   (V Bus)  com p at i b l e   w i t t h c o mpa ny  m a nu fa ct ur ed  d a t a c q ui si ti o n   s yst e ms   onl y,   s ys t e ms  t ha t   can  b e   qu i t e   expe ns i v a nd  inca pa bl o f   f u r t h e r   d e v e l o p m e nt.  A l s o t h data   e x t r ac t e from   t h e   r e gu l a tor  is  unr ea da bl e   to   our  c omp u ters   a n d   n ei t h er  c a n   b e   s t ore d   o n   t h e x ist i ng  regu la t o r th e r efo r e   man y   p a r a m et er  v al u e are  l o st  a n d   t h s y st ems  sp ec i f i c atio n s   r e m a i n   unk no wn Th so lut i on   w a s   t o   deve lop  person a l   d a t l o g g in an d   stor i n pr oto t y p t o   v isua liz e   and   st ore   the   differ e n para me t e rs  on  m e m o ry  c a r ds,  u s i ng  s i m p le  y e t   c ost  effec t i v e   de vic e ava i lab l o n   t h m a rke t .   In   o ur  w ork   we   p rese nt   a   n ew  d a t acq ui si tio n   sy st e m   s p ecif i c a l l y   ma de  f or Res o l   d e lta   s ol  r eg u l ators us i n a n  A rdui n o   p la tfo r m   a ce n t ral   un i t ,   a   V Bu s-se ri al   a d a p t er,  a n a n   S D   c a r for  da ta  s t o ra ge.  T h i s   p a p e r   s he ds  t he   l i g h t   o t h e   use f u e x p l oita tio of   m icroco ntro l l e r and  A r dui n o  boar d in spec i f i c ,   i n   upgra d i n g e n e r gy  sys t em s w ith l o w e s t  c osts  possi b l e.      2.   MATE R I A L   AND  M E T HO DS     A   s o l a r   c o l l e c t o r  w a s  i n s t a l l e d  o n   t h e   r o o f  o f   t h e   S o l a r   e n e r g y   l a bora t or y,   p hys ics   de par t m e nt,   Fac u l t y   o f   S c i en ce s,  I B N   T OFAIL   Un iv ersi t y   K e n it ra  M o r o cco   L a t i t ude : 3 4 ° 15′ 39″   nort h Lo ng itu de 6°3 4 48″   w e s t,  13  a bove  s ea   l e v el.  T h c o lle c t or  i c o n n e c te t o   a   1 9 5   L   t a nk  (E lb BS V - 20 0)  t o   s t o re   t he   h eat ed  w a t e r   a n d   t ran s fe th h eat   t t h e   bio d ig es t e r.   T he   t ota l   s y s tem   i s   m o n i t o re d   a n r e gu late d   us i n Reso l   D e ltaS o C / 4   re gu l a tor ,   c ontr o l l i n the  pum p s ,   el ec t r o   va ns  a n d   d is pla y in the   d i ffere n t   t e mp e r at u r e s   o f   th e   sy st e m   [ Fi g u r 1 ] Sy st em  d at a   i s   c ol l ect ed   a nd  s t o r e d   i a   mic r o   S D   c a r e v ery  1 0   minutes.     2.1.   So la r hea t ing   sy st em  The  sol a heati n system   u s e in   t hi st udy   i t ypi c a l   sol a w a t e he ater,   cons iste d   of  a   s o l ar   col l ec t o r,  storing ta n k s,  a nd  p u m p   r egu l at or  a s de sc ribe in   F i gure  1.          F i gur e 1.  S ol a r  w ater  h ea t i n g  sys tem   c o mpo n en ts   Evaluation Warning : The document was created with Spire.PDF for Python.
Int J  P o w   E l e c  &  D ri S yst  IS S N :   2088- 86 94       D eve lopm en t o f  an  ine x p en siv e   dat a l o g g er f o r so lar  wa te hea t ing  system   re gu l a t o rs (Ai t  Ahm e d Wa ssi m a 75 5 2.1. 1.S o lar   co l l ec to r   The   c o l l ec tor   use d   i thi s   p a p er  i SisTE M   T ab u l ar   h ea t   p i p e   I n t e grat ed  P re ssurized   s ola r   w a t er   h e at er,  o f   2 .7 m 2  s u p e r f i c i e s ,  f a c i n g  s o u t h  a n d  i n c l i n e d   a t   3 7 ° .   T h e   s y s t e m  i s   c o m p o sed  o f   24  gla s hea t   p i p es  e a c h   p i p i s   1 . 9   m   l on a n d   0 . 5 5   m   i n t eri o d i amet e r con n e ct ed   t th e r mo sip hon   t a n a n d   bu i l d   o v e fra m e   supp ort show i n   F i gur 2.          Figure   2.  A  sistem   tabu lar   so l a w a ter hea t e r       a.   G l ass he a t   pi pe  e v acua te tu be G l a s he a t   p ip e   evac ua te t u be  c o n s i s t o f   t w o   1 9 30  m m   Boros i l i ca t e   l a y ers  3. w i t h   9 6%  l i ght   a b so rp tio n   co e f fi c i ent ,   s e p arat e d  by   a v a cuu m t h e   ou t e tub e  i s 4 7  m m   large   w h i l t h e   i nner   tu be is 37  mm.  It  is  q u i te  s imi l ar   t c o nv e n tio n a s o lar  va c u u m   t ube s,   how e v e r   t h e   di ff ere n ce   b et wee n   t h e   t wo   t ec hno log i e s   i gi ve by   t he   c lo sed   spe c i a l   g e o me t r (d o m sha p e d at   t he  e nd   o th tube T h is  s pe cia l   f e a t ure ,   h e l p s   incre a s i ng  re sista n to  a x i a l   l oad s   i pr ess u rized  s t o ri ng  s y st em s.   T hi e n c l o s e d   a rea     i n s i de   t he   i nner   tu be    is  v a c u ume d   a nd  injec t e d   w ith  a   h ea t   tra n sfer  f l u i d The  surfac e   c o at i ng  m a ter i a l   o t h i n ner  tu bes   ou t e surfa ce  is  a Al-Cu- Ss  s elect i v e,   it  cha n ge t h so lar  ra di a t io ns  i n t hea t ,   t h e   abs o rbe d   s o l a r   r a d i a ti on  is  t he n   trans f e rre t o   t he   h ea t   t r ans f er   f l u i d   w i t hin   t h tu be t h l i q ui hea t u p ,   cha nges   i n to  g as,  a n ris e u p   rea c hi ng  the  d o me   s ha pe co nde nse r   i the   usa g w a t e ta nk,  t he   h e a t   t ra nsfe flu i pr im ar i l i n   t he  f orm   of  gas  co n d ense on  the  i n ne sur f ac of  t he  c o nde nse r   d ue  t o   the  co n t ac w i th  t he   c ol d   w a te alre ady  i n s i de  t he   tan k H e nc the   co nde ns in g   c h e m ic a l   r et urn s   i its  liq u i d   f o rm  bac k   t th e   su ex p o se base  o t h tu b e Thi s   circ u l a t i on a s p ect i s va l i a s  l on g   as the   s y s t e m   is  h e a t ed b su r a d i a t i o n s .   In com par i s on w i t h  vacu u m   t ube s   there   is  n w a t e circula tio i n si de  t h e   t ube t hus  t he  c las s if ica t i o pr ob le due  t w a t e is  p re ve nte d :   n o   w a ter   c i r c ula t i o m eans  no  risk of  fre e z i n g   o r bre a ki ng t h e   t u b e in  col d   t e mp era t u r es.   b.   T h erm o   sip h o n  stor age t a nk   The   hea t e r   i pr o v i d e d   w i t 1 6 7   L iter   ca paci t y   t a nk.   T he  i nne ta nk   i ma de  o m m   E nam e le d   shee t,   s tha t   t he  t a n resis t t o   c orros i on This  s ys tem   pr o v i d e s   qu it e   di ff e r e n t e chno l o g y   i wat e rese rvoirs,  t h class i me tho d s   u s i ng  d o u b l e   w a ll ,   se rpe n t i n o hea t   e xc h a ngers  i nsi d t h ta nk  are   n o   l on g e app l icab le.   The r efore,   a   s pe c i al l y   d e s i g ned  sea lin ri n g   h a s   b e en   d ev e l o p e d   t o   r e s i st   a gainst  p ressure The  col d   w ater  e n t e r i n t h w a ter  t a nk,   i he ate d  by  c o n v e c t i on tha n k t o   h ea te t ube s,  t h u b e c o me re ady  to  u se  as  h ot   w ater The   pressure   r educ er  i p l ac e d   i n   t h in le t   of  t h sys t em wor k i n a t   a   m aximum   4 b a r s   t o   pro v i d a   q u i t e   u se ful  w a t e use,   a nd   h e l pro t ec ti ng   i from   p ress ure  fluctuations Th c ont rol   v a lve  (tem pera ture  a nd pr ess u re)   help s pre v en t i n g   t he s ystem s  o v e r h ea in  s um m e r.  c.   Fr a m e su ppo rt The   new   fr am ha m o dern  a nd  e r go n o mic   des i g n sa fe  a gai n s t   e nv iro n m ental   e f fe cts   (w ind ;   r ai n,  snow  …),   it is e asy t o  assem b le  a nd c o mpa t i b le  w ith an y  ki n d   o f   g round or  platfor m .   I t   c a n  be i n sta l le d in   t he   garde n t op  flo o rs of  t h e a p art m ents an d   e ve fa rms.    2.1. 2.S t orage  t an F o r   h o t  w a t e r  s t o r i n g  w e   u s e d  E L B I S   h i g h  e f f i c i e n c y   h o t   w a t e r   cyl i nde rs,   offerin g   a   r em ar kable   stor age ca paci t y , and   sa t i s f y i n g  in   h e a t in g t i me   p er form anc e   dur i n g the   p i ck h ours. The  ELBI   BS V   cyl i n d er  use d  in  th is st u dy i s  a  195 L  ta nk,  easy  to  i n s ta ll i n  t he  s o l a r he ati ng sy st e m The   hea t   e xch a nge i s   a   c o i l e p i pe   w i t h e ated  w a t er  p a s si ng  t h r o ugh Th B S se ri es  i vit r e o u s   ena m e l:  t h i n ner   ena m e l   c o a ti n g   h el ps  p rotec t in t h c y li nder   from   c or rosio n   t ha nks  t t h M a g n e si u m   a n od e   a n d   Te st e r si n c e   t h g a lv an i c   c o rrosio n   at t ack   t h e   s ac ri f i c i a l   a re a   a n d   in st ead   o f   co rro di ng   t h e   l ess  ano d i me t a ls  i n the  cy l i n d e r  di s p l a y ed  on  Fig u re  4.  Evaluation Warning : The document was created with Spire.PDF for Python.
                          I S S N: 2 0 8 8 - 86 94    I nt  J   P o w   E l e c   &   D r i   S yst ,  Vol.   10,   N o.   2 Ju ne   2 0 19    7 5 3     7 67  75 6     F i gur 4.   ELB I   stor age   ta nk  [ 13]       W a te r pum   The  Cir c ula t i o pum p   c o nne cti n th c o lle c tin sys t em   a nd   t he  s t o r a g e  t a n k   i s   a   2 2 0  V  V e r c o   S h i e ldi n g   C i rcu l ati o n   pu mp co nt r o l l ed   by  a   d i ffe rent i a l   c o nt ro ll e r   p r o to t ype  t he lp   c ircula t e   t he  h e a te d   w a ter   t o   t he  E LBI   st or i n t a n k .     2. 1. 3. R e sol  D e l t aS o l   R e g u l at ors   R e s o l   pr o v i d es   e ner gy  c o mm un i t w i t h   m any  r e g u l at i o pr o t o t ypes   i t h i s   w or w e   w or ked  w i t h   thr e di ff er e n t   r e gu lat o r s   c o nne cte d   t tw dif f er e n s o l a r   w a t er  h e a t i ng  syste m to  h e l ass u re  t he   u ltim at e   f u n c tio of   t h e   d a t al o gger   de ve lo ped.   T he  r egu l a t or a r t h e   R e so Delt a S o l   C / 4 De lt aSo l   B a n d   Del t aSol   E.   a.   Reso l D e ltaS o l  C/ 4 regu l a t o r   Th e   R e s ol   D e l t a   S ol   C / 4   i s   a   reg u l a t ion   and  con t r o uni us ed   f or  s ys tem   m oni tori n g   d isp l ay,   it  c a n   sup p o r t   u t o   4   p t 1 0 00  tem p er atur se ns o r s,   a   s pe ed  c ontr o l   un i f o r   c i r c ula t io p u mp  a nd  t w o   elec tr o   va ns,   so lar   oper a t i n g   hour co un ter   a n d   t h er m o sta t   f unc tio [ F ig u r 5 ].           F i gur 5.   Reso l   D e l ta S o C 4   R egu l a t or   a n d   c ompo ne nts     Evaluation Warning : The document was created with Spire.PDF for Python.
I n t   P o w   Elec  &  D r i   S y st   I S S N 2088- 86 94       D e v e lo pm en t of an  i n ex pe n s i v dat a log g e r  f o r so l a w a ter he a tin g sy st e m   re gula t ors  ( A i t   Ahm e Wa ssi m a)   75 7 b.   Reso l D e ltaS o l  BS  The  Res ol  D e l t a Sol  BS  c o n t rol l er  p ro v i des  qu i t c l e a o p er at i ng   c o n c ep t   and   i s   e qui pp ed   w i t h   th il l u m i n a te co m b in e d   d is p l a y   w it sy stem   m oni t o r i n g .   F l a s hin g   s y m b o l s   f or   s ens o r s ,   pum ps  a n d   v al ues   e n ab le  a i m m e diat a l loc a t i on  of   t em per a t u r e s,   t e m pe r a tur e   d if f e re nces  a nd   a c t i v a c t u a t o r s ;   t hi mak e s   a d jus t in an moni t o r i ng  t h e   solar   system   q uic k   a n d   e asy.   c.   Reso l D e ltaS o l  E  The  Res ol  D el taS o is  d e s igne f o r   so l a r   and  hea tin sy st e m s,   i is  a lr e a dy  p r e- pr ogr am me for   7   ba sic   so l a r   sy s t e m a n u p   t o   30  var i a t io ns  u se t o   c on tr o l   l ar g e   s y s t e ms.  M u lti pl ad just a b l e   f un cti ons  a nd  op t i o n a r p o ssi bl e   u s in r e lay  o u tp uts,   1 3   se nsor   i np u t fo pt 100 t e mp era t u r senso r s,  C S10   so la ce l l ,   V40  flowm e te and   DIN  dig ita e n t r y.  D ue   t i t in te ll ige n t ,   e a s y   c o n f i gur at io a n i n t e gr ate d   c a l or i m eter the   c o n t ro ller   a l s o   o ffe r the   c o n t ro of   c omp l ex   s yst e ms  u p   to   4  w e a t h e r  c o m p o s t e d  h e a t i n g   s y s t e m s .  A l l   t h e   Res ol  c o n tr o l le r s   a r e   e qui pp ed  w i t t h e   Re sol  V B u s   f or   b o t da t tr a n sf er   a n d   e ner gy  s u pp l y   t e x t e r n al   m odu les.   T he  c onne c t i o is  c a r r i ed  o u t   b y   t h b i as  o V B us  m ar k e d   t e r m i n a l s  [ F i g u r e  6 ] .  R e s o l   p r o v i d e s   di ff er e n t mod u l es  t h a t   c a n   be  c onne c t ed   t o   t h e d a ta b us,   f o r   e x am pl e   D a t a log g e r D L 2/D L 3,   w he r e   t he  da t a   is  bo t h   r ece i v e d   a nd  s t or ed.   A l so,   t h e   K M c o m m unica ti on  m odu le.   T he  r e gula t or   c a n   a lso  be  c o nne cte d   t he   user ’s  c omp u t er   u si ng  V B u s /US B   a nd   V Bus / LAN  ada p t o rs  from   Res o l .   T h e s fe a t ur es  a r e   n o t   i nc l ude i n   the  r e g u l at or s   s pec i f i ca t i ons  a nd  nee d   t be   boug h t   s epa r a t el y .   These  m o du l e ca be   r ea lly  e x p e n s i v e that   he lpe d   i mm erge   t he  n e e d   t o   de vel o o u r   ow n   low - cost  d ata   l o gger   u si ng   s i m pl d e v i c e al re a d p r e s e n t     in  th e  lab   2. 1. 4. V B u s   p r ot ocol   V B us  p r o t o c o is  a   h alf- du ple x   bus  s yst e m   used  b Res ol  c on tr o l ler s   f or   c om munica ti on  pur p o se s.     The  VB u s   p h y sica l in t e rfa c e   com e i n   t wo fla vor s:    w i r e   c onnec t io t o   p r o vi de  t he  b u s   s ig na and  pa r t i a p o w e r   s upp ly   [ F i g u r e   6]     w i r e   c onnec t io t o   p r o vi de  s epar ate  w i r e   p air s   f or   t he  b us   s i g n a l   a n d   p o w er   s upply          F i gur e   6. R e s o D e ltaS o C S /4  r e gula t or   c on n e ctio boar d         The  d a ta  p r ovi ded  b y   t he  R e s o l   r e g u l a t or ,   is  r ece ive d   u s i n g   t he   a sync hr o n o u ser i a l   por t   o f   U se r s   c o mpu t er s ( C O M )   w i th  t he   f oll o w i ng pa r a m e ter s :   9 6 0 0   b a u d   r a t e ,   s t ar t ,   8  da t a an d 1 st op bi t,  w i t h n o   p a r it y   a nd  no  ha n d s h ake.   T he   V Bu is  a   s in gle  ma st e r   s ys tem   since   t h er i s   n p o ssi b ili t y   t r ecog n iz e   or  r e p air  c o ll is i o ns in   ca se  t w o   m od u l e s   s end the i r   r e spec t i ve   d a t a   a t  th sam e   tim e.   T he   m aster   in  t hi c a se  i t h e so l a c o n t r o ller .   The  V B u s   u ses   f our   d if fer e nt   p r o toc o ver s i o ns  ( V 1 . 0 ,   V 2 . 0 ,   V 3 . 0,   V 3 . 1) ,   e ach  o n e   c om b i ne w i t h   a   mo d e l   cl ass   t h at   i nh erit s   i t sp e c i f i c a tio ns   f ro t h bu s’s  co m m on  s t r u c t u r e   ( h e a der   spe c if i c a t i ons)   de t a ile o n   Figu re  7 .         Fi g u re  7 .   V B u d a t a   f r a me  s p e c i f i c a t i o n s   Evaluation Warning : The document was created with Spire.PDF for Python.
                         I SSN: 2088- 8694   I nt   J  P ow  Elec   & Dr i   S y st, Vol. 10,  N o.  2, June  2 019  :  75 3     7 67  75 8 To  a cc ess  t h data   d el ive r ed  by  t h e   R e sol  r e gu la tors,  Res o pro vid e di ffe ren t   m od ul e s   t o   f a c i l i t a te  data  e x t rac t ion ,  re a din g  a nd  stor age :     K M com m un i c a t i o n m o d u le     D L 2/D L data l o g g ers     V B us / U S conver t e r s     VBu s / L AN con v er t e rs  The s mo d u le c a be  q u i te   e xpe ns i v s i n c the   V B us  p ro toc o is   s p ecifica lly  m a d for  R e so l   regu la tors  s h o w i n   T a b le   1 thu s   n or ma l   da t a log g e r ca n’ t   he lp   i n   o u case .   I th is  p a p er  w e   pres ent  a n   alter n a t i v so lut i o n :   b u ild  our   o w n   V Bus  c o m m unica ti on  a nd  da ta   s tor i n g   d e v i ce  us i n g   A r dui no  boar d   a n d   ID sp e c ifica t ions.        Table  1. Resol m odules  m a r k et prices in US  R e s o co m p o n en ts   P r i ce ( U S   $ )   DL d a ta   l ogge r   480  DL d a ta   l ogge r   592, 86 $   KM 1 c o m m uni ca ti on  m odul e   400  VB us/   U S B   a d a p t e 120  VB us/   LA N   a d a p t e r   300      2.2.   B i d i gest in g u n it  The   s o lar  hea tin sy s t em   u se in   t h i s t u d y   he a t a n   U flow   A n a e ro bic   S l u dge   B l a n k e ( U A S B)  bi odi ges t er   i w h ic w e   a dd ed  p a p er   m il efflue nts  an t r e a ted  u s i ng  m e sop h i lic   a n a erob ic  d ig e s ti on  to  extra c t  m ethan e  gas  u se ful for   fur t he r p o we r app l i c a t i on  afte c ogener a t i o n   [ 1 0 ].   Wh ile  b u i l d ing   the  bi o d i g es te r,   m a ny  para me t e rs  h a d   t be   t ake n   i nt o   a cco unt ma i n ly   t e m p e ra t u re.  A c c o rdi n g   t o   r esea rch  c a rrie d   o u t   i t h fie l of  a nae r o b ic  d ig est i o n   t h op ti mu t e mp erat u r e   f o me so phi li bac t e r ia  i at 3 C, w h e rea s  it is 5 C for   th erm oph ilic  b ac t e r ia  [ 11].   To  h ea t   t h 1.50  l o n g   b i odi ges t er   w e   im me rsed  a   60c m   c o il  exc h a ng e r   l i m i t e d   by  a n   i n l e t   a nd  ou tle t   for   h o t   w ater  c i r cula t i o n.   T he  e xc ha nger  i s   p lac e d   10  c m   a b ove   t he   d iges ter’ bo t t om  s urfa ce .   Thi s   surfa ce  c o n t a i ns  a i n le of  t he  e fflue n t   a w e l l how e v e r ,   t h e   i n l e t   o th e   d i ges t er  i ma de  o a   p i pe   w hic h   c o nt ai ns  hol es  o f   1 c e a c h t o   h e l p   fe ed   a nd   a git a t e   t h e   e ff lu e nts  i n side   d d i ges t er  c o n ti nu o u s l dur in the   expe r i me n t .   T h e   bi o d i g es ter  is  h ea ted   v i a   t h s o l a wat e r   he at i ng  sys t e m   a n d   t he  t e m pe rature   i ns ide   is   ma int a ine d   a t   37 ° C   t ass u re  t he  a c t i v it of  t he  m ic roor gan i sm s   f or  t h e   m esop hi l i c   a n a e ro bic   d i ge st i o n   proce ss [12].       2.3.   D a ta  l og gin g   Wh ile  d e v e l o p i n t h da ta   a c quis i t i on  sys t em m a ny  pos si b i l i tie were  p resent .   however,   t he  A r dui n o   p rot o t ypi ng   e n v i r o n m ent  se em ed   m ore  eff i cie n due   t i t d i ve rsit in   b o t h a rdw a re  a nd  s o ftw a r e   aspec t [1 3].  It  p r o v i de seve ral  de vel opm en c i r c u i t   b o ar ds  u s i n g   A t m e l o w   pow er   C MO S   8b it   mic r oco n tro l le rs  ( AVR  enha nc ed  R I S a r c h i t ec t u r e ),   capa b l e   o c omp u t i n a l mos t   300  0 00  c o de  l i n es.  defi ni te ly  s u f f i c i en a m o u n t   f or  d ata  c o llec t i on  a n st orage .   A rdui no  b o a r ds  c ome   a l o ng  w i t h   a ope s ource ,   fre e   i n t egr a ted   de v e lopm en t   e n v i r o nme n t   (ID E)  t o   hel p   r unn i ng  m ost   ope rat i ng  s y s t e m usi n C / C + pro g ra mm ing  l a ng ua ge   [ 13] The  A r du i n c o m m uni t y   i c onsi d er ed  one   o the  l a rges c o mm uni ties  o n   t he   w e b,  provi d i n g   sol u t i ons t o ha rdw a r e  a nd softw a r e  issues  t dev e l oper s   a l l  a rou nd t h w o rld [1 4].  Ma ny  se nsor and  de vice a l rea dy  ha ve  c os tum e   l i b rar i e s ot hers   i process,  h ence  assur i ng  m os t l succe ssfu l   d a t co llec t i on  pro t o t yp e s T a ki n g   f or  e xa m p le  i n d o o env i ro nm en data   c o l lec t i o [ 1 5 ] tem p era t ur an h u m i dit y   m on itor i n g   i nsi d bui ld i ngs  [ 1 6 ],  hum a n’s  a c ti v i t y   m o n it orin usi ng  WIF I   a nd   Zi gbee   [ 1 7 ] a l so  b a l anc i ng   e nve l ope   a n d   h ea tin s y s t em   p ara m e t e r for   r e trofi t   a nal y s i u s in b u il di ng   d a t a   [1 8].   A l o n g   w i t h   t hese   s t u die s     a n d   o t h e r –  it   i show t h at   t h e   Ard u i no   p l a tf o r ca c o me   h a ndy   a n d   e a s to u se  i most  d i f f i c u lt  ap p l i c ati ons,   e s pe cia l ly d i ffe ren t  da t a co l l e c ti o n   [19 –21 ].  To da y,  t her e   a re  m a n A r dui no  b o ard  ty pe avai la ble  i n   t he   m a r k e t  f o r  c h e a p   p r i c e s .   T h e  A r d u i n o   Me ga  2 5 6 0   i w ildl y   u se a n d o c u m e n t e d   a mong  deve l o per s   [ 1 3 ] .   Its  e l e c trica l   a n d   c o m m u nic a tio fe atures   ma de  i a d e q u a te  t o   our  a pp li c a t ion   d e ta il e d   o n   Ta ble   3.   T he   m e ga  2 5 6 0   i s   s pec i a l l y   d es i gne f o m o re   com p le x pr o j e c ts. It has 5 4  d i g ita l Inp u t / O ut pu ts -w h i c h   15  c an  be   u s ed as   P W M o u tp ut s -  16 ana l og  pin s , an d   hardw a re   s eria por ts  ( U A R T s ) ,   a   16  MH c r ysta osc i l l a t or   a   U S ca ble   for   c o m p ut e r /b oard   c o n n ect io as   w e ll  a s   p ow e r   [ F i g u re   7 ].   T he   boa r d   i a l s o   p rov i de w i th  p ow er   j ac t o   a s s ur au to n o mo us  p ow e r   s upp l y   f or  the   b o ar d .   A rd ui n o   M e g 25 60   i c o m p at i b l e   w i t h   a   l a rge  num ber   of  s h i e l ds  i ni t i a l l y   d es ig ne to   e a r lier   A r dui n o   boar d   v ersio n s,  e a s t o   m ani p u l a t e   usi ng  the  A r du i no  ID 1.8 . 5,  a nd  assure - t he   m e g 25 60-  a   large r  spac e   f o r   p rogram ing s k etc h e s  [14].   Evaluation Warning : The document was created with Spire.PDF for Python.
Int J  P o w   E l e c  &  D ri S yst  IS S N :   2088- 86 94       D eve lopm en t o f  an  ine x p en siv e   dat a l o g g er f o r so lar  wa te hea t ing  system   re gu l a t o rs (Ai t  Ahm e d Wa ssi m a 75 9     F i gure  7.  A rduin o  Me g a   b o ar d   [1 3]      Ta b l e   3.  Ardui no M e ga  2 5 60  ha rdw a r e  spe cs [14]   Spe c i fi c a t i o n s   A rduin o   M e g a   2560   Proce ssor   A T m e g a   2560  ( A V R )   Proce ssor spee d   16 MHz   A r c h it e c t ure  8bi t   Fla s h Mem o ry  256  K B   o whi c 8   KB   u s e by   bootloa d e r   SR AM  8 K B   EE P R O M   4 KB   Prog r a m i ng  l a nguage   C   v a r i a nt    D i gita l   pins  54  (1 PW M )   A n a l og  pins  16  (0 -5V )   C l o c sp ee 16  M H z       2.3. 1.V B u s  lib r a ry    A s   m any  fea t u r es,  the  V B us  p ro toc o ha a l so  its  o w n   l i b ra ry  o n   A rd ui no i n   o rd e r   t he l p   d i s c r e t i ze  the d a ta  r ec ei v e from   t he   R e s o l   D e l ta So r e gu la tors.  The  li bra ry  s ho u l d be   i nc l u de d   t o   t he  A rdui n o   s k e t c to  gi ve  t he   p ro gr am mer  se nse  of  t he   d i f f e re nt   r e a d i ng  s t ru cture s The  V B us  l ibr a ry  c o n ta i n m a ny  fe atures   inc l ud ing :     tem p era t ure   readi n gs     Water  p u mp  s ta tus  and spe e d     O p e r ati o n time     A l e r ts,   sc hem e s a nd t i m e O n c e   t he  da t a   i s  re ceive d re ad  a nd un der s t o o d i t   s hou l d  be   st o red  f o f u rther   use.    2.3. 2.D a ta  s tora ge    To  s tor e   t he  d ata  c o m i ng   f ro m   the   R e so D e ltaSo l   C / re gu l a t o r   w e   c o n n e c te a   V . s h ie l d   t the   A r d u i n o  M e g a ,  i n   w h i c h   w e  i n s e r t e d   a n  S D   c a r d  a n d  a   3   v o l t s   l i t hi um  c oi ce ll  ba tte ry  f or   t he  R T C   p ow er   con s um pt io n.  a.   Micr oSD car d     G e nera lly,   i n   t his  k i nd  of  a p p l i ca t i o n s,  t he  d ata  is  s t o re d   on  M i c r oS D   ca rds,  f orm a tte d   in  F at 1 6   o r   Fat 3 fo rma t Mi c r o S c a r d s   p rovi d e   unl i m i t e d   s to rag e   s pac e ,   s i n c e   ti me   a nd   s e n so rs  d at are   st o r e d   a p l ain  tex t   i c o m m a - d elimi t ed   f o r ma t,  e ach  o n e   o the s e   data   p o i n t s   p re se nt o n ly  a   f e w   b yte s We   u se in  o ur   rese arc h   a 8   G B   M icr o S D   car w h ic h   cos t a l m o st   6 $,  c hea p   b ut  c a pa b l of   s tor i ng   b i lli o n of  me asure m e n t s .   The  da ta  c an   b re trie ve b y   i n sert in the   S D   a da ptor   f or  M i c roS D   i a ny  t o day’ c o mputer Ma ny  libr a ries   i th e   A r d u i n com m un i t can  b e   use d   i pro t ot y p in M i croS D based  a p p l ic a t io ns.  F o in sta n c e ,   the  S D   l i b r a ry  b Spar kfu n   E lec t ron i cs  o r   Wi llia G r e im an’s  S F a A r duino  l ibrary  [ 15]….  We  ca progra m   t he   A rdu i no   M ega   to   s ave   da ta  i ma ny   f ile   f orm a ts  in c l ud in g   .tx t   o .c sv bu it   t h i c a se   w cho o se  t s t or them   i an  E xce l   f il e ,   t fa cil ita te   t he  e x t ra c ti on   a nd   g ra p h i c a l   e x p l o re  o ou res u lts.  Th e   V B us e xtra c t e d  da t a can a lso   be   s t o red us in g EEP RO MS  o S P I   fl a sh  m em ories, how ev e r   due   t o the i r   limi t e d   me mor y   c apa c ity  a n d   a ddi ti o n al  p r o gram ming  nec e ss ity,   w e   d i s re g arde t h e i r   use  i n   our  a p p l i c a t i ons,   b u t   the y  c an he l as  b a c u p  stor i ng  de v i ce i n  ca s e of ele c t rici t y  or  com m unic a t i o n fai l u res [15].    b.   Real  t i me clock (RTC)  To  k e e p   t r a c k   o t h da t e   a nd  t i m e   d uri n the   w a ter  he atin sys tem   o p e r at io n,  t he  D S 130 Rea l   Time   C loc k   o n   the  V . st ori n sh i e ld   c am ha nd t o   a ss ure   th is  s p eci fica tio n.   D S 1307  i s   a   r ea l   tim chi p   o Evaluation Warning : The document was created with Spire.PDF for Python.
                          I S S N: 2 0 8 8 - 86 94    I nt  J   P o w   E l e c   &   D r i   S yst ,  Vol.   10,   N o.   2 Ju ne   2 0 19    7 5 3     7 67  76 0 Da ll a s  e le c t ron i cs de s i g ned  fo r ti m e  kee p i ng,  the  t im e is  q uite   a ccu r a t w i th  a  1  min  tim e drift pe r m ont h ,  it is   c o mm onl bac k ed  u w ith  t he   CR12 2 0   b at te r y   c oi ce ll   f o r   pow er   consu m pti o [ F ig ur 8] .     2. 3. 3. A d ap t a t i on   p rot o c o l   I n   t h i pr ojec t,   t he  d ata  r e t r ie ved  fr om   t he   Res ol  D e lta S o C / 4   r e g ul at o r   i un re ad ab l e   i n   c a se   w c o n n ec ted   t h r e gu l a t o r   to  t h e   A r duin o   b oa r d   e ve i f   w use d   t h li br ar sinc the   V B us  p r o t o c o i n   n o t   sup p o rte d   b t h UAR for m at  o t h Ardui n o   e n t ry  p ins .   H e n ce,   we  h ad  t re al i z a n   a dap t a t i o cir c uit  to   c h an ge  t he  V Bus  f o r m at  g i v en  by  t h r e gul a t or   t S e r i a l   f or ma t   un der s ta nda b l e   b y   t he   A r d u i n o   [ 2 2 ] [ 2 4] .   Th us,   usin t h RS 4 8 5   e le c t r i c a l   i nter f a c e   i th is  c ase   w a he l p f u l  f o r  i t s  s i m i l a r i t y   w i t h  t h e   V B u s   c o mm unic a t i o si gna [ 25] .           F i gur e   9.   R S 4 8 5   c omm uni cat i on  pr ot oc ol  i n t er fac e   f or   d a t tr a n s miss ion  a nd  r e c e p tio       The  R S   4 85  s e r i al  p or c o m m unica ti on,   i s   qu it e   p o p u l ar   i m o nit or in g   a nd  co n t r o ll ing  s y ste m s   a p p lica tio ns,  it   c an  b q u ite   a dva n t a g e o us  f o r   l on d i sta n ce   c o m m uni c a t ion  a nd  an ti- jam m i ng  [2 6]   [ F i gur 9]   ,   si nc i t   a do p t ha l f   d up le x   c o mm unica t i ons  w hic h   p r o vi des  lo t   l ess  con n ec tio c a b le t h an  o the r   s e r ial  c o mm unic a t i o ns  s uc as  R S 4 22A   d e t a ile o n   F i g ur 10,   a n d   a   h igh e r   c om munica ti on  d i s t anc e   - u p   t 1 2 00  [25 ] Th R S 48 5   h a th e   f o rm  o f   b a l a n c e   di ffe ren c c onne ct ing ,   i . e. the   se nder   ha on end  of   r e ceiv i n g   a s   w e ll   a o n en of   s e n d i ng  w h ile   t he   r ec eiv e r   has  the  sam e   e nds   o f   se ndi ng   a nd   r ec ei vin g .   T h e   s a m e   ca b l es  a r used  t e i the r   e nd  deta ile o n   F i g ur e   1 0 .   We   s h o u l no te  t h a t   t he   R S 4 4 2 A   an RS 48 have  n ear ly   t he  sa me   e lectr i ca l   pr o p ert i es,  t h RS4 2 2 ca n   c o mm un ica t e   i n   f u l du pl ex  b u t   h a s   t wi ce  th e   co mmu n ic at ion  c a ble s   a the  RS 485  de p i cte d   on  F i gur 1 0   [ 25,   26] .         (a )   (b )     F i gur e   1 0 .   Co mm unica ti o n   p r i nc ipa l   ( a)   R S48 5   ( b)   R S 4 2 2 A   [ 25]       The  s i g n a l   V B u pr od uc es  i si m i lar   to  R S 4 85  i n   i ts  dua p o lar i t y   a spe c bu t   no q u i te  t he   s a m e .   T he   c i r c u it  use d   i F i gur 11 he lp pr ocess the   s i gna a nd  t h en t ur it to  a   s ig n a l   o f  96 0 0   b a ud  ra t e with 5V  serial   da t a   s u i ta ble f o r   i n te r f a c i n g   a n   A r dui n o   M e g a   256 0.   O ur   a da pt in g   cir c uit i s  m ainly base d o n   c ompa r a t o r s   a n d   r e si s t o r a s  i l l us t r at e   in   t he Fi g u r e 11 .       Evaluation Warning : The document was created with Spire.PDF for Python.
Int J  P o w   E l e c  &  D ri S yst  IS S N :   2088- 86 94       D eve lopm en t o f  an  ine x p en siv e   dat a l o g g er f o r so lar  wa te hea t ing  system   re gu l a t o rs (Ai t  Ahm e d Wa ssi m a 76 1   F i gure  11. V B u s to U AR adap ta tion circuit      The   ada p ti o n   c ircu it  i s   b ui lt  u s i ng  a   L M 39 c o mpa r at or,   a   dio d e   b ri dge pul u p   p u ll  do w n   r esist o r s   and  rec tific a tio resistor s.  a.   L M 393   The   ST  M icr o ele c t ro n i cs  L M39 3   d e v ic con s ists  o tw inde pen d e n t   l o w   vo lta ge   c ompa rat o r s   (oper a t i ona a m p l i f ier s )   desi gne to  o p e ra t e   f rom   s i n g le  s u p p ly  o v e r   wide  r an ge  o v o l t age s .   The   com p ara t o r i n te grate d   i ns id t h LM 3 93,   h a v a   u n i qu e   cha r ac t e ri st ic   a wel l :   th co mmo n   m o d inp u vo lta ge  r an ge   i nc l ude gro u n d   e ve i f   it  i s   opera ted  fr om   a   s in gle  pow er   s up ply  v o l t a g e .   The   LM3 9 3   ca n   com e   h and y  i n m a ny  elec t r on ic  base d  sys t e ms  u se d t o  up g ra de  m a j or  pla nt s.  b.   Bri dge re c tif ie r   b r id g e   r ec ti fi e r   i a   ki nd   o f u ll   w a v re cti f i e t h at   u ses  f our  d i o des  ( o r   m o re)  in  a   b ridge  circuit  to  c o nv e r t   AC  c urre n t   i nt DC Th e   di od b r i d g e   r e c t i f i e u s e d   i thi s   c i r cui t   h el p e d   m i n i miz e   th e   co st   a n d   s i ze  of  t he  re c ti fier  ( w e  w on’t use   an  e xpe ns i v cente r ta ppe d tr ans for m er) .         3.   RESULT S   A N D   DISCU SSIO N    I n   t he   r esu lt  s ecti o n,  w e   pre s en the  bu i l d i ng  proc ess  o f   t he  V B u s   d a t a  l o g g e r ,  s t a r t i n g   w i t h  t h e   pro g ra a l gor ithm ,   c od in g   la ng ua ge,   impl em enta t i o n ad apt i ng  c i rc u it  a nd  fina for m   o the  de vic e .   T he   resul t s of  t he  d a t a   lo g g in are   give in  t he  resu l ts  s e c t i on.     3.1.   Pr og ra m alg o r i th The   a l g o ri thm  use d   w hile  c od ing  t h e   A r d u i n spec i f ica t i o n s   i m ade  o f   t wo  m a i s i g n i fican pa rts:   re ad in g   th e   VBu s   d at a   co min g   fro t h Re sol   De lt a S o l   r eg ul a t o r ,   a nd  t h en  s t o ri ng   t he   m ea ning fu l   va lue s   o n   a n   S ca rd   t o   b e   r e t ri ev e d   l ate r   w h e n   n eed ed Th e   VB u s   A rd ui no   l i b rar y   h e l pe de c i phe tem p era t ure  val u e s   gi ve b y   t he   P T1 00 se ns ors  a n d   late de liv e r ed  b the   r e g u la t o r,  w hi le  t h e   S D   l i bra r prepa r es  t he   M ic r o S D   to re cei ve  a nd  st ore   the  dat a   i *csv fi l e.  F i g ur e 12  the r ef o re,   gives  the   p r ogra m   a lgori t hm.          F i gur e 1 2 .   Ar duin o   p ro gram  algor it hm   Evaluation Warning : The document was created with Spire.PDF for Python.
                          I S S N: 2 0 8 8 - 86 94    I nt  J   P o w   E l e c   &   D r i   S yst ,  Vol.   10,   N o.   2 Ju ne   2 0 19    7 5 3     7 67  76 2 3. 2.   A d aptor  circu it   The  ada p t i n g   c ir cu it  bu i lt  us i ng  s i m p le   e l e c t r o n i com p one nt s,   i n c l ud in r e sis t or d i ode s   con n ec t i o n   c a ble s   a n d   h e a d er s.   W first   tes t ed  t he   c i r cui t   o br ead boa r d   t veri fy  t he   u t ili ty  o f   t h de v i ce o n ce  the   va lue s   d isp l a y e d   o the  ser i al  m o n itor ,   w e   re alized  t he   P CB  ve r s i on  o f   t he  c ir cui t   t m a i n ta in  e a c h   co mp on en t   i n  it s  ri g h t fu l   pl ace  t o   p r ev en t   ci r c u i t   di s c o n n e cti o [F i gur 14] .       3. 3.   D a ta  l ogg i n g   d e v i c e   O n ce   t he  c ir c u it  is  m ade ,   w con n ec te t h e   G N D   a nd  5V   p i n of   t he  A r d u i n o   boar d   t t h pow e r   he ader   o f t h e c i r c u it,  t he  R X 1  pin o f the   A r duin o  me g a to t he R out put   o f   t h e   ci rcui t ,   w h i l e   t h e   V B u ca b l es  from  the  Re g u la t o are   inse rte d   i ns ide   the   i n p u he a d er   o the   ci rcu i t   d i s p l a y e d   as   F i g u r 14 On ce  t h pr ogr am   i im pl e m e n te on   t he   A r dui no   boa r d ,   w e   p ow er ed  t he   d e v ic e   us i ng  a   v o l ta ge  a dap t or   ( p h o n e   c h ar ge r   9V ) ,   i n s tea d   o f   t h com pute r   U S B   c able  i or der   to  g i v e   a   m on ot o n o u as pe ct   t t h da ta  l o ggi n g   sy s t em.         F i gur e   1 4 .   V B us  d a t st or i n dev i ce       3. 3. 1. P r oj e c t   cost A s   m enti one d   bef o r e   t he   d a t al o g g i ng   s yst e m   is  m ade   u s ing  sim p l e   c om po ne nt av a i l a b l e   i n   t he   m a r k et  a n d   a t   l o w   p r ices  a we l l ,   c o mpa r ed  t t h da tal o gg er  p r ovide b y   the   Re so Co m p any,   i cam qu i t e   ch e a p  [ T a bl e 4].  Tab l lis t s   t he  p r i c e of  e a c com p o n e n t s   i m p lem e n t ed  o t h d a t a l o g g e r  d e v i c e ;  c o s t s  a r e   pr ovi de in   U S   do lla r s   c ur r e nt  a o f   2 0 1 7 ,   bo u g h t   f r o m   d i f f e r e n t   r e t a ile r s .   The  da tal o gge r   has   a n   e xp e c te d   c o st  s av in o f   a r ound  80%  t o   90%  c om par e t o   Res o l   d a t a l o g g i ng  m o d u l e s.   T his  fea t ur alo ng  w i th  t h e   f act   tha t   t he  d a t log g e r   i a n   o p e s o urce   p la tfor tha t   a l l ows  fur t h er  d ev elo p m e n t   in   h a r d w are   a n d   so ftwa re   a s p e c t an prov i d es  a   r e liab l pe rform anc e   com p ar ed  t o   i n d u s t r i a da taloggers,  shows  the  ut ilit of  A r duino  ba se da t a log g e r s   i e n er gy  ind u s t r y .         Tab l 4.   D atalog ger   bu i l d i ng  e xpe nses   Ma te ria l Pri c A r dui no  Me g a   20  $   V . SD  Shie l d   G B   M i c r o S D  c a r Ada p t e r   C i rc uit ( c om pa r a tor, re s ist o rs, c a b l e s …)   5  $  Tota 31$       3. 3. 2. A p p l icat i o n   r e su lt   I n   t hi p a per   w e   p r e se n t   t he   r esul ts  o f   the   pla t for m   i nt e g r a ti o in   t hr e e   d if fer e nt   R e s o l   r e g u l a t or s,   e ach  r e g u l a t or   p r e sen t di ffer e n tem p era t ur char acte r i s t i c s .   The   f i r s da t a   l og ger   w a c o n n ec ted   t o   t he   Res o l   De lt a   So C/4   Re gu la tor,  c o n tr oll i ng  the   b i o   d i ges t er  p r e se nte d   i n   t h meth od se ct io n ,   w h i l e   t h e   s ec on a nd  th ir d   da ta lo g g e r w e r e   c onne c t e d   t t h Res o l   D el ta  S o l   B S   a n R e s o de lt S o E   respec t i ve ly  c on t r o lli ng   a   b i gg er  b io  d ig esti ng   p l a nt.   a.   Resol   delta sol C/ The fir s te sts   of   t he  d ata l o g g in s y st em   w er e   c o n duc te d bef o r tur n in g on  t h s o la r   he ati n s y s t em tak i ng   i n t o   a c c ou n t   one   s en sor   at  f ir st  t he t w …. ,   t o   v er if th e   q u a li ty   o t h d a t a   c o m in in   f rom  t h e   Evaluation Warning : The document was created with Spire.PDF for Python.