æè¿ãããŒã ãªãŒãã¡ãŒã·ã§ã³ãšã¹ããŒãããŒã ã«ã€ããŠå€ãã®ããšãæžãããŠããŸãã ç§ã®çµéšãäžè¬çãªèããç¹å®ã®ãããžã§ã¯ããå
±æããããšæããŸãã ãã®èšäºã¯ãã¹ããŒãããŒã ãåºæ¬çã«ã©ã®ããã«åœ¹ç«ã€/䟿å©ã§ããããç¥ãããã ãã§ãªãããã©ãŠã¶ïŒé»è©±ãã¿ãã¬ããããªãŒããŒãHTPCãã©ãããããããã¹ã¯ãããïŒãåããä»»æã®ããã€ã¹ããå¶åŸ¡ïŒãŸãã¯åã«èŠèŽïŒããã人ã«ã圹ç«ã¡ãŸãã³ã³ãã¥ãŒã¿ãŒãªã©ïŒããŒã ãªãŒãã¡ãŒã·ã§ã³ã·ã¹ãã ã ããã«ãããã¯äžçäžã®ã©ãããã§ãå®è¡ã§ããŸãã ç§ã®çµéšãšãã®èšäºã®ç¬¬2éšã§èª¬æããäŸïŒArduinoãJQuery Mobile Webã€ã³ã¿ãŒãã§ã€ã¹ãªã©ïŒã¯ãæ¢ã«äœããã®çš®é¡ã®ããŒã ãªãŒãã¡ãŒã·ã§ã³ã·ã¹ãã ïŒX10ãªã©ïŒãæã£ãŠãã人ãããã®åä»ãªéãå§ãã人ã«ãšã£ãŠæçšã§ãã
ããŒã ãªãŒãã¡ãŒã·ã§ã³ã·ã¹ãã ããŸã ããã»ã©æ®åããŠããªãäž»ãªçç±ã¯ãç
§æãéèŠããŠããããšã§ããããã¯éåžžããããã宣äŒãããšãã«è¡ãããŸãã çµå±ã®ãšããããœãã¡ããç«ã¡äžãããã«ç¹æ»
ããå
ïŒArduinã®LEDãªã©ïŒã¯ãå®çšçãªäŸ¡å€ããªããèªå®
ãã¢ããŒãã«ããŒã ãªãŒãã¡ãŒã·ã§ã³ã·ã¹ãã ãå°å
¥ããŠäœ¿çšããããšã«ã€ããŠã®çå£ãªèããã人ã
ãé ãããŸãã 誰ãã©ã€ããç¹æ»
ãããå¿
èŠã¯ãããŸããïŒéåžžã¯90ïŒ
æ©èœããŸãïŒããããšãã°ãåéšå±ã®ææ¿ãåå¥ã«å¶åŸ¡ãããšãã«ã®ãŒ=ãéãç¯çŽãããšäŸ¿å©ã§ãã æ¢è£œã®è²©å£²ãããŠããããŒã ãªãŒãã¡ãŒã·ã§ã³ã·ã¹ãã ã®ã³ã³ããŒãã³ãèªäœã®éåžžã«é«ãäŸ¡æ ŒïŒè²»çšã¯1ãããŒïŒãšçµ±åäŸ¡æ Œã¯ãç«ã«çæãè¿œå ããã ãã§ãã æãé«äŸ¡ãªã³ã³ããŒãã³ãã¯20ãã«ã®Arduino Megaã«ãªãããšãä¿èšŒããããã«æ¥ãã§ããŸãã åé¡å
šäœãæ€èšãããšãéäžçã«èªååããã®ã«å®çšçãªæå³ãããã¿ã¹ã¯ã®ãªã¹ãã¯æ¬¡ã®ãšããã§ãã
>枩床調ç¯æž©åºŠïŒå ç±/空調ïŒããã³æ¹¿åºŠïŒå 湿åš/é€æ¹¿åšïŒã
>èªç¶å
å¶åŸ¡ïŒãã©ã€ã³ããã·ã£ãã¿ãŒãæ¥é€ãïŒ
>ãããŠã家ã®åšãã®èçãè±å£ãèçã®æ°Žããã®ç®¡çïŒããããã°ããŸã æ°Žãããå¿
èŠã§ãïŒã
åæ£ã·ã¹ãã ã®ãã¡ãããŒã«ã«ïŒäžå€®å¶åŸ¡ãªãã§ãããã¯ã©ã€ãããªã³ã«ããããšã§çŽæ¥å¶åŸ¡ãã1-2ã»ã³ãµãŒãªãïŒããã¢ãŒã·ã§ã³ã»ã³ãµãŒïŒãã¬ãŒã³ã¹ïŒã®äœé»åLEDç
§æïŒåºïŒã§äœåããããããããã³ã®ããŒãã«ã®äžéšãåãäžããã£ãããããæ£ã®ããåŸæ¥ã®å€©äºç
§æã§é ããããããšäŸ¿å©ã§ãã äžèšã®ç
§æãšçµã¿åãããåãç
§æã¯ã誰ããšããªãèªèº«ãæåã«ç®èŠããããããå¥ã®æœèšã«ã€ãŸããããããããšãªããå°æã«å
¥ãå¿
èŠããããšãïŒãããŠäœãããäœããåãåã£ãŠå
±æããªãã§é£ã¹ãïŒå€ã«äžå¯æ¬ ã§ãæ
éã«æ£ãã°ãåäŸã®ããã¡ãã«ã€ããŠã ãã£ãããããä¿ç®¡å®€ãã¬ã¬ãŒãžãã©ã³ããªãŒãªã©ãã¢ãŒã·ã§ã³ã»ã³ãµãŒãåããæè¡å®€ã§ã®ã¿ã¡ã€ã³ç
§æããªã³ã«ããããšãçã«ããªã£ãŠããŸãã ã¢ãŒã·ã§ã³ã»ã³ãµãŒãšéäžåã·ã¹ãã ã¯ãäœå®
å
ã®ã¡ã€ã³ç
§æã«äœ¿çšããã®ã¯å®çšçã§ã¯ãããŸããã èªå®
ã®å€è£
ããã³è£
食çšã®äŒæ¥ç
§æã¯ãå
ã»ã³ãµãŒããã³/ãŸãã¯ã¿ã€ããŒãåãããããŒä»äžãã®ãããã¯ããæã䟿å©ã«ç¹ç¯ããŸãã å¿çãµãŒãã¹ã«æ¥ç¶ãããå®éã®ã»ãã¥ãªãã£ã·ã¹ãã ïŒå®¶ã®åšãã«æ£ãã°ãã»ã³ãµãŒãWebã«ã¡ã©ã ãã§ãªãïŒã¯ãéåžžãå€ãã®çç±ã§ã¹ããŒãããŒã ã·ã¹ãã ãšæ··åããæå³ããããŸããã
ãããã£ãŠãæãé¢é£æ§ã®é«ããã®ããå§ããŸãã çæ³çãªãªããžã§ã¯ãã¯ãå¶åŸ¡å¯èœãªææ¿ã§ããããšãã°ãé»æ°ïŒå£ã®ã³ã³ã»ã³ãã®è»èŒªã®ããããªãŒãšå£ã«åãä»ããããããããªãŒïŒããã³æ°å®¶ã®éäžææ¿ãŸãã¯ããŸãææ¿ã§ã¯ãããŸããã ç§ã®äŸã§ã¯ãæ¢åã®ã³ã³ãããŒã«ãŠãããïŒãµãŒã¢ã¹ã¿ããïŒãšè¿œå ããã€ã¹ãžã®çŽæ¥æ¥ç¶ã«ããçææ²¹å ç±ãåããThermo Pompã·ã¹ãã ïŒåç±³ã®ããŒããã³ãïŒã®äœ¿çšãæ€èšããŸãã ã·ã¹ãã ã®æåã®ããŒãžã§ã³ã§ã¯ãX10ãããã³ã«ã®ããã€ã¹ãšãœã±ããã䜿çšããŸããã ããããæ®å¿µãªããšã«åœŒãã¯ããŸãåäœããŸããã§ãããé
ãã€ã³ã¿ãŒãã§ã€ã¹ãšç®èŠãããšãã®éåžžã«ç®ç«ã€ã¹ã€ããã®ããã«ã圌ãã¯å®¶ã®ãã¹ãŠã®äººã
ãç®èŠããããŸããã ãã®åŸãã·ã¹ãã ãç¡ç·ãœã±ããã«å€æŽããŸãããç¡ç·ãœã±ããã¯x10ããããã£ãšã·ã³ãã«ã§éãã§ããã ãããã®ã³ã³ã»ã³ãã¯ãããŸããŸãªç¡ç·åšæ³¢æ°ãšé»å§ã§å©çšã§ããŸãã ããã¯ãã¹ãŠãéåžžã«å€æ§ãªä»ã®ã·ã¹ãã ã«é©çšãããŸãã ããã¯ãã¹ãŠãç§ã®å人ãšé£äººãå¥è·¡ã®å¥è·¡-çŸä»£ç€ŸäŒã«ãããArduinoã®å·šå€§ãªåœ¹å²ã«ã€ããŠç§ã®é ã«åªãã滎ãèœã¡ããšããäºå®ãšãã¯ãã ããŠãä¿æããæ¹æ³ãç¥ã£ãŠãã人ãšããŠãç§ã¯ã§ããã ãæ©ããã®Arduinoããã¢ãæãŸããªããã°ãªããªããšããäºå®ããå§ãŸããŸããã ç§ã¯ããããæ¹æ³ã§ãããæ¯ã£ãŠã圌女ã®å®¶ã®å®éã®ïŒããããããã¡ãã§ã¯ãªãïŒäœ¿çšã®é åã¯éåžžã«çããããé段ã®ã¹ããããç
§ãã匷åãªãã€ã¯ãã³ã³ãããŒã©ãŒã«åºã¥ããŠLEDã«ãŒã©ãŒãäœãããšãèšããŸããïŒ1ã€ã®ã·ããã¬ãžã¹ã¿ãšãžã§ãã¬ãŒã¿ã®ä»£ããã«ïŒã¯ã¹ãºã¡ã®ããã®éã§ãããæ®ãã¯çããã§ãã ããã§ã圌ãã¯ãªããšãç§ã®é ã®äžã«Arduinoã®ç©ç©ã眮ãããšãã§ããæ¥ã®å°æ¥ãšå€ã®éå€ã«ãããã¹ãŠã®ç©ç©ãšåæ§ã«ãèœãçªé²ãå§ããŸããã ç§ã¯ãããžã§ã¯ãèªäœã®ããã«è¶£å³ã®ãããžã§ã¯ãã奜ãã§ã¯ãããŸããã 家æã®ããã®ãªãœãŒã¹éçŽåãããžã§ã¯ãã¯ãé«ã
WAFïŒWife Acceptance FactorïŒãç¶æããå¿
èŠãããããããŸãã¯ç§ã®ç¶ãèšãããã«ãããã¯ç°¡åã«åæ³åã§ãããããå®çšçãªåŽé¢ãååšããå¿
èŠããããŸãã
ãããŠãã€ãã®ããã«ãæ inessã¯é²æ©ã®ãšã³ãžã³ã§ããã å°ãé
ããŠååŸã«ãã©ã³ãã«åº§ã£ãŠã倪éœãå¿å°ããçŒããŠãããšåæã«ãç§ã®å°ããªæ¯åãæäžéã®å¯å®€ã§å¯ãŠããŠãäžåœã®æž©åºŠèšã§2ãã«ã§å€æããŸããïŒããªãã¯ãŸã ããªãã®æ¯åãèµ·ãããã«è¡ã£ãŠèŠãªããã°ãªããŸããã§ããïŒ
枩床ã¯26ãè¶
ããŠããã®ã§ãä»åºŠã¯ãªãã³ã°ã«ãŒã ã«è¡ããã»ã³ãã©ã«ãšã¢ã³ã³ããªã³ã«ããå¿
èŠããããŸãããã®åŸã枩床ãå°ãäžãããã³ã«ãªã³ã«ãªããªãããã«ãªã³ãšãªããåãæ¿ããå¿
èŠããããŸãã å€ã®å€ã«ãããè¡ãã®ã¯ç¹ã«äžæå¿«ã§ãã軜ãæ¯åžã®äžã§åããšã家æå
šå¡ãç®èŠããããã«ã³ã³ãœãŒã«ã«åãã£ãŠãªãã³ã°ã«ãŒã ã«èµ°ã蟌ãã§ãåäžçŽã®ãã®ææãåæžããããã«ãäœåºŠããžã£ã³ãããå¿
èŠããããŸãã ãããããç§ã¯ãã®ãããªæããæ¢ãããããªãã®èªæ
¢ã®Ardunyaã¯ã©ãã«ããã®ããä»ããã«æ¥ãŠã圌女ãã§ããããšãèŠãŠã¿ãŸãããïŒããšããèšèã§å人ãåŒã¶æã ãšæ°ã¥ããŸããã ç§ã¯ããããŸã£ããéžæãããããŸãã«ã䟡å€ããªããšã¯æããªãã£ããšããã«èšããªããã°ãªããŸããïŒããšãã°ã匊ãæ±ãå ŽåïŒãæããšç¡åããããããSTM32ã®ãããžã§ã¯ãã®éäžã§ãããç¶ããŸããã æåŸã«ã圌ã¯ãŸã 圌女ãšäžç·ã«ããŸããããæåã®ãã®ãæåã§ãã
ãã¹ãŠããã®ããã«è¡ãããçç±ãšããã³ã«é¢ããç§ã®çµéšãšãã¹ããã©ã¯ãã£ã¹ãã©ã®ããã«åºããããšãã§ããããç解ããããããããã«ãç§ãã¡ã¯ç§ã®æå
ã«äœããããã説æããŸãïŒ
1ïŒã«ããã®æ°å®¶ïŒç§ã¯ç§ã®ãã®ãšèšããããããã¡ããéè¡ã«å±ããã©ããªã«ã°ãããŠããããã«èãããããçŸåšã®æéã§å
šé¡æãããšã¯å©çãçãŸãªãïŒ 2ããã¢ã§ããããã®ååã¯ããã¢ã®ããã¢ã«å¯ŸããŠä»ã®ååã«å¯ŸããŠåçŽã«ã·ãããããŸãã
2ïŒArduino UnoïŒåŸã§ãMega X10ãšã©ãžãªã®I / Oã®æ°ãå°ãªããããå¿
èŠã§ããïŒ
3ïŒé«äŸ¡ã§ãã€ãã£ããªã€ãŒãµãããShildã ãªããšãå§ããŠENC28J60ã«é©ããã©ã€ãã©ãªãèŠã€ããããšãã§ããŸããã§ãã
4ïŒæ¬²æãæéããããŠããããã®ãéã
ããã§æ
£ç¿çã§ããããã«ãå¯å®€ã¯æäžéã«ãããç§ã«ãšã£ãŠã¯ãããã¯ãªãã³ã°ã«ãŒã ã®äžååã®åºã§ãããå·ææ¿ã·ã¹ãã ã®äžæ°å³ãªã³ã³ãããŒã«ããã«ãå£ã«ããæ¢ããããŠããããšãããããŸãã ããã§ã¯ããã®ãããªã·ã¹ãã ã¯
HVACïŒææ¿ãææ°ãããã³ç©ºèª¿ïŒãšåŒã°ããå®éã«ã¯éåžžã®å·šå€§ãªãã®ïŒæ°äžBTUãŸãã¯ãããããã³åäœã§æž¬å®ããŸãïŒã¹ããªãããšã¢ã³ã³ãè·¯äžããã³ç±äº€æåšã®å
éšã«ããå€éšç±äº€æåšããã³ã³ã³ãã¬ããµãŒãçµã¿èŸŒãŸããŠããŸã1.5ãã³ãã®ãã¡ã³ã§2ã€ã®ç±äº€æåšïŒäžæ¹ã¯ãšã¢ã³ã³ã«ãããäžæ¹ã¯çææ²¹ãŸãã¯ã¬ã¹ããŒããŒããïŒã䜿çšããŠãªãã³ã°ã«ãŒã ã®åºãã空æ°ãåžã蟌ã¿ããã¯ãã·ã¹ãã ãä»ããŠåéšå±ã«éã蟌ãäžå€®ææ°ã·ã¹ãã ã ããŒããã³ãã®äŸ¿å©ããšååã¯ããã®ããã€ã¹ãããã³ãäž¡æ¹åã«é§åããããã«å¿ããŠå®¶ã®ç©ºæ°ãå·ããã ãã§ãªãå ç±ããããšãã§ãããšããäºå®ã«ãããã®ã§ãã å€ã®ç±ã0ãŸãã¯-5ïŒã¢ãã«ãšèšèšã«å¿ããŠïŒãããååã«å€§ããå Žåã«ã®ã¿ã圌ã¯ãããããŸãå¹ççã«å ç±ã§ããªãããšã«æ³šæããå¿
èŠããããŸãã å¯ãå ŽåãããŒããã³ãã¯æ©èœããŸããããã®ããã«ã¯ãçææ²¹ãŸãã¯ã¬ã¹ãå
¥ããã¿ã³ã¯ã ããå¿
èŠã§ãã
ç§ã¯èªåã®ãããžã§ã¯ããšéå¿ãå°ããªãã®ããå§ããã®ã§ããã®
HVACãã©ã®ããã«äœæãããã©ã®ããã«ç®¡çãããããåæããŸãããã å®éãæªéã¯ããã»ã©ã²ã©ããã®ã§ã¯ãããŸããã å©äŸ¿æ§ã®1ã€ã¯ãç±³åœã§ã¯ãªãåœå
ã®ãã¹ãŠã®ãã®ã®æ¶²äœæšæºåã§ããããã«ããããªãŒãã³ã§ã·ã³ãã«ãªïŒå Žåã«ãã£ãŠã¯ïŒããç¥ãããïŒéåžžã¯å€ä»£ã®ã³ã³ãããã¢ã ïŒãããã³ã«/æšæºã«åŸã£ãŠãããªããºããšããã亀差ãããããšãã§ããŸãã ç§ãã¡ã®å Žåãã·ã¹ãã èªäœïŒããŒããŒãã¡ã³ãç±äº€æåšã¯1ã€ã®ã¡ãŒã«ãŒã2çªç®ã®ãšã¢ã³ã³ã3çªç®ã®å 湿åšã4çªç®ã®å 湿åšãã賌å
¥ã§ããŸããæ£çŽã«èšããšããã®ãããªããã€ã¹ããšãŒãããã§ãåŒã°ãã/å¶åŸ¡ããããã©ããã¯ããããŸãããããã¹ãŠãã¹ãªã ã§ãããéåžžã«äŒŒãŠãããšæããŸãç§ã®ç¥ãéãããã®ãããªã·ã¹ãã ã¯ãã§ã«ãã·ã¢ã«ååšããã©ãããã§ã/ããå®ã茞éãããŠããã®ã§ããã®ãããªã·ã¹ãã ã«åºäŒãââãã£ã³ã¹ããããŸããéå§ããåã«å
žåçãªã·ã¹ãã æ¥ç¶ã®å³ãèŠãŠã¿ãŸããã ã·ã¹ãã ã«ã¯ã©ãã·ã¥ããŸãã
ã芧ã®ããã«ãã»ãšãã©ãã¹ãŠãäžç®çç¶ã§ãã 説æããå¿
èŠãããã®ã¯ãã³ã³ãããŒã«ãŠãããã«é»æºãäŸçµŠããã24ãã«ãã®äº€æµã«ãã£ãŠç±èªäœãå¶åŸ¡ãããããšã ãã§ãã å
¥åãã©ã³ã¹Rããã³CããäŸçµŠãããŸããã©ã€ã³Cã¯å
±éã§ãããåžžã«æ¥ç¶ãããŠããŸãã ãããã£ãŠãRïŒç絡ïŒãããããYãOãWãŸãã¯Gã«é©çšãããšãã¹ã€ããããªã³ã«ãªããŸãã ãããã¯ã ããããæ§ç¯ããŸãã ããã§ãããããããå«ãŸããŠãããªããç§ãã¡ã¯ããã«æªãã®ã§ããïŒ æ°ããã·ã¹ãã ã«æ¢åã®ã·ã¹ãã ãè£å®ãããŸãããã ãããã®å¶åŸ¡ã¯ä»¥åã®ããã«å€ããªã¢ãŒãã³ã³ãããŒã«ãšã³ã³ãããŒã©ãŒããå®è¡ã§ããŸãããå¿
èŠãªå Žåã«ã®ã¿ãArduinoã¯å€ãã·ã¹ãã ãã³ã³ãããŒã«ããåæããæºãèªåã®æã«åãæ»ããŠæ»ãããšãã§ããŸãã
ãããŠãé»åãäŸçµŠããããäžè¬çã«æ¥ç¶ãåæãããŠãã以åã®èšèšãä¿æããããã«é
眮ããŸãã R-0ã¯æšæºå¶åŸ¡ã¢ãžã¥ãŒã«ãç¡å¹ã«ããArduinã«å¶åŸ¡ã転éããŸãã R-1-4ã¯é©åãªã©ã€ã³ã«ç®çã®é»å§ãäŸçµŠããŸãã ãã®å¶åŸ¡é»å§Rã¯ãç·ã®ã¯ã€ã€ã«ãã£ãŠåãªã¬ãŒã«äŸçµŠãããŸãã ãã¡ããã管çããã®ã¯è¯ãããšã§ãããã·ã¹ãã ã¯æ·±å»ã§ããã誀ã£ãŠããŸãã¯å®éã«äœãééã£ãçµã¿åãããééã£ãçµã¿åããã§é»æºãå
¥ããå Žåã§ãã ããšãã°ãç±äº€æåšã¯æãŸãããã¡ã³ã¯ç©ºæ°ãæµããŠç±ãé€å»ãããéç±ããŠç«çœãåŒãèµ·ããå¯èœæ§ããããŸããããŸã£ããå¿
èŠãããŸããã ãã®ãããªç¶æ³ãé¿ããããã«ãäžéã®é²åŸ¡ãäœããã ãããã£ãŠãæåã®èŠå¡ã¯åã©ã€ã³S1-4ã®é»å§ã»ã³ãµãŒã«ãªããŸãïŒ4pã«ããå¿
èŠããããŸãïŒã
ãããã¯ã2ã€ã®æµæïŒåå§åšïŒãšå°ããªé»è§£è³ªãåãããã€ãªãŒãã§ãã åçã®ããã«ããã³ãžåŒã¢ã»ã³ããªã«ããããšãã§ããŸãã ãã®çµæãArduinã§åå¶åŸ¡ã©ã€ã³ã«å®éã«é»å§ããããã©ãããç¥ãããšãã§ããŸãã ãããã£ãŠãå¶åŸ¡ç·ïŒYãOãWãGïŒã®çŸåšã®ç¶æ
ãæ¬æ¥ããã¹ãç¶æ
ã«å¯Ÿå¿ããŠããªãå Žåããšã©ãŒã³ãŒãã衚瀺ããŠã·ã¹ãã ããªãã«ããŸãã 次ã®èŠå¡ã¯ãªãã·ã§ã³ã®ãã¬ãã ã»ã³ãµãŒã§ãã 枩床ãé«ããããäœããããïŒ0Cã«è¿ãïŒå Žåã¯ãå床ã³ãŒããåºåããŠã·ã¹ââãã ã®é»æºãåããŸãã æããã«ãarduinoåºåãããªã¬ãŒã«çŽæ¥é»åãäŸçµŠããããšã¯äžå¯èœã§ãããããåãªã¬ãŒã®ãã©ã³ãžã¹ã¿ãç©ã¿éãããã1ã€ã®ããŒãã«è€æ°ã®ãªã¬ãŒãšãã©ã³ãžã¹ã¿ãåããæ¢è£œã®ã¢ãžã¥ãŒã«ã賌å
¥ããå¿
èŠããããŸãã ç§ã¯ibeiã§ã³ã³ããŒãã³ãã®99ïŒ
ã賌å
¥ããŸãã ããšãã°ãäºå
µè¡ã¯çŽ8ãã«ã®8ãã£ãã«ã¢ãžã¥ãŒã«ïŒ8ãã£ãã«é»åãªã¬ãŒã¢ãžã¥ãŒã«ïŒã§ãã£ã±ãã§ãã ãŸãã¯ã4 + 2ã賌å
¥ã§ããŸãïŒå®éã«ã¯5ã€ãš1ã€ã®ã¹ãã¢ããå¿
èŠãªãããïŒ
枩床ãšæ¹¿åºŠã®ã»ã³ãµãŒãšããŠãäžåœã®ããžã¿ã«
DHT22ã䜿çšã
ãŸãã 誰ãèªåèªèº«ããã蚌æããŠããŸãã å¿
èŠãªã®ã¯ã+ 5ãGNdãããã³ããŒã¿ã®3æ¬ã®ã¯ã€ã€ãŒã®ã¿ã§ãã ã¯ã€ã€ã¯ã粟床ãšä¿¡å·ãæãªãããšãªãååã«é·ãããããšãã§ããŸãã 1ã€ã®ã»ã³ãµãŒã¯ãæ¥é°ã§çŽæ¥ã®æ¹¿æ°ãããã£ãããŒã®äžã§éãã«æã蟌ãŸããŸãã 家ã®äžã®1ã€ã®ã»ã³ãµãŒã
äœå¹Žãåã«æ¢ã«å»ºãŠããã家ã§ã¯ãéåžžãæ倧ã®åé¡ã¯æ°ããé»ç·ãæ·èšããããšãªã®ã§ãçŸåšã®é
ç·ãæ倧éã«æŽ»çšããããšããŸããã DHT22ã«ã¯ããã€ãã®ã©ã€ãã©ãªããããŸãã
ãã以å€ã®äººã«ã¯åé¡ããããŸããã å£ã«åãä»ãããããªã¢ã³ã³ã®é£ã«å
éšDHT22ã眮ããŸãã HVACã³ã³ãããŒã«ã·ã¹ãã ãç§ã®å®¶ã®ããã«å®¶ã«èšçœ®ããŠããå Žåãã³ã³ãããŒã«ãŠãããããã€ã³ãžã±ãŒã¿ãŒãšãã¿ã³ãåãããªã¢ã³ã³èªäœãã¶ãäžãã£ãŠããå ŽæãŸã§6è¯ã±ãŒãã«ãæ¢ã«ããã¯ãã§ãã çŸä»£ã®ãªã¢ãŒãïŒç§ã®ãããªïŒã«å¿
èŠãªã®ã¯2æ¬ã®ã¯ã€ã€ãŒã ãã§ãã ãããã£ãŠã4æ¬ã®é
ç·æžã¿ã®ã¯ã€ã€ãèªç±ã«äœ¿çšã§ããŸãã ãããã§ã+ 5VãGNDãå
éšDHT22ããã³Arduinaããã®æåŸã®ã·ãªã¢ã«ïŒUARTïŒTxã®ããŒã¿ãå®è¡ããŠããã£ã¹ãã¬ã€ã«æ
å ±ã衚瀺ããŸãã
ãã£ã¹ãã¬ã€ãšããŠã
ã·ãªã¢ã«ã€ã³ã¿ãŒãã§ãŒã¹ãåãã
å°ããªïŒ2.5 cmïŒOLEDã¹ã¯ãªãŒã³ã䜿çšããŸãã ã
ã¯ããããã¯å°ãé«äŸ¡ã§ãããå©çšå¯èœãªãã®ãšã¯ããã€ãã®ãŠããŒã¯ãªéãããããŸãïŒã·ãªã¢ã«ïŒUARTïŒã€ã³ã¿ãŒãã§ãŒã¹ã¯ããããæ¥ç¶ããããã«1æ¬ã®ã¯ã€ã€ã®ã¿ã䜿çšããããšãå¯èœã«ããŸãæåŸã«ãã³ã³ãã¯ãããšã³ã³ãã©ã¹ãããããŠæããå
ãšå€éã®åªããèªã¿ããããå
ŒãåããŠãããå€éã«åžžæããã¯ã©ã€ããç¹ç¯ããŠããLCDã®ããã«å»äžå
šäœãç
§ãããŸããã
ãã®åŸãé
ç·ãé»æºãç¡ç·ã¢ãžã¥ãŒã«ãè¿œå ããã«ãåéšå±ã«æž©åºŠã»ã³ãµãŒãé
眮ããæ¹æ³ã®åé¡ãçºçããŸããã ã»ã³ãµãŒãšããŠãããžã¿ã«DS18B20ãéžæããŸããã
ïŒè¯å¥œãªç²ŸåºŠ+-0.5CïŒããã¯2æ¬ã®ã¯ã€ã€ïŒã°ã©ã³ããšä¿¡å·ïŒã®ã¿ãå¿
èŠãšããŸãã ãããã¯ããããã®2æ¬ã®ã¯ã€ã€ãŒã«äžŠè¡ããŠããããåãããšãã§ããŸãïŒããããã«åºæã®MACã¢ãã¬ã¹ããããŸãïŒã ãããããã¹ãŠã®éšå±ã§2æ¬ã®ã¯ã€ã€ãŒã䌞ã°ãããšãããå°çã®ãããªåŽåã§ãã ããã§ç§ã¯å€æãããŸããã çµå±ã®ãšããããã¹ãŠã®éšå±ã«é»è©±ã±ãŒãã«ãæ·ãããŠãããããã¯4è¯ã§ãããæè¯ã®å Žåãé»è©±ïŒéåžžã¯èµ€ãšç·ïŒã«2æ¬ã®ã¯ã€ã€ãŒã䜿çšãããæ®ãïŒé»è²ãšé»ïŒã¯ç§ãå¿
èŠãšãããã¹ãŠã®å Žæãééããèªç±ãªãŸãŸã§ãã ãããã£ãŠãã¯ã€ã€ãåæãããå¿
èŠãª2æ¬ã ããé²åºãããŠãDS18B20ã«åŸã£ãŠåéšå±ã§ãããã«ã¯ãã ä»ãããŸããã
ã¯ã€ã€ã®å
šé·ã¯éåžžã«é·ããæšå¥šããã4.7 kOhmã§ä¿¡å·ç·ãïŒ+ 5 Vã§ïŒæ¯ããããŠããå Žåãç§ã®å Žåãã»ã³ãµãŒã¯äºå®äžèªããããããã³ã°æµæãååã«2.3 kOhmã«åæžãããã¹ãŠæ£åžžã«æ©èœããŸããã
ããããå§åã»ã³ãµãŒã«æ··ä¹±ããé«äŸ¡ãªBMP085ã§åæ¢ããŸãã
ãã ããI2Cã€ã³ã¿ãŒãã§ã€ã¹ãåããŠãããããèãšé
ç·ã®æ°ãç¯çŽã§ããŸãã 圌ã¯ãŸã èªåã®æž©åºŠãèªã¿åãããšãã§ããã®ã§ãå°äžå®€ã«å
¥ããŸãããå°äžå®€ã§ã¯ãæ°ããã¯ã€ã€ãŒãåŒã£åŒµãã®ãç°¡åã§ããïŒ4çšåºŠïŒã ç§ã¯ãèšèšãå解ãããŠä¿®çãããããã«ãæšæºã®é»è©±ã±ãŒãã«ãšã³ãã¯ã¿ïŒRJ11ïŒãæ倧éã«æŽ»çšããããšããŸãã-é©åãªãã®ã«äº€æããŸããã
ãã®ããã¡ãŒã¿ãŒãRTCïŒäžæ®çºæ§ã¯ããã¯ã¢ãžã¥ãŒã«ïŒãšåãI2Cãã¹ã«æ¥ç¶ãããšãããã»ã©æ確ãªåé¡ã¯çºçããŸããã§ããã 圌ãã¯äºãã«å¹²æžããããã¡ãŒã¿ãŒãèªã¿åãåã«ããããªé
延ãèšå®ãããŸã§ããã¹ãŠãäžå®å®ã«åäœããŸããã çæéã®äžæçãªåé»ã¯ããã»ã©ãŸãã§ã¯ãªããããRTCã¢ãžã¥ãŒã«
ç§ã¯äžæ®çºæ§ã®æéã®ããã«ãããè¿œå ããŸããã x10ã䜿çšãããšãã«åºæ¬çã«å¿
èŠã§ãã ããã䜿çšããŠãã€ã³ã¿ãŒããããä»ããŠNTPãšèªåçã«åæããããšããèŠæããããŸããïŒæ¢ã«ããããïŒããwebduinoãµãŒããŒãšNTPã暪æããããšãã§ããŸããã§ããã ãã®çµæãWebã€ã³ã¿ãŒãã§ãŒã¹ã§èšå®ãã¢ãŒããå€æŽãããã³ã«ãNTPæéïŒUnixãšããã¯ïŒãArduinoã«éä¿¡ããïŒRTCãæŽæ°ããïŒãŸãã ããã¯ãçŸåšã®ã³ã³ãã¥ãŒã¿ãŒãŸãã¯ã¢ãã€ã«ããã€ã¹ã®æéããJavaScriptã«ãã£ãŠååŸãããåžžã«æ£ç¢ºã§æ£ããã¿ã€ã ãŸãŒã³ã§ã¯ãªããšããæ¬ ç¹ããããŸãã
ãããŒïŒ$ 2ïŒãã©ã³ã¹ããã¿ãŒã䜿çšããŠãç¡ç·ãœã±ããArduinaããªã³ãšã¢ã§ã³ãã³ããéä¿¡ããŸã
ã¢ãžã¥ãŒã«ã 圌ãã¯ãäŒå
µè¡ïŒãRFãã©ã³ã¹ããã¿ãŒ315 Mhz ..ãã§æ€çŽ¢ïŒããã³ä»»æã®åºèã§1ããŒã¹ã§ãã ããªãã®ã³ã³ã»ã³ãã«åã£ãé©åãªç¡ç·åšæ³¢æ°ãéžæããå¿
èŠãããå¯äžã®ãã®ã æ®å¿µãªãããç§ã®ãœã±ããã¯æšæºã®RCswitchã©ã€ãã©ãªã§æ£ãããµããŒããããŠããŸããã§ããã
ã©ã€ãã©ãªã®èª¬æã«ã¯ããµããŒããããŠãããããã®ãªã¹ãããããŸããããªã¹ãã«ãªãå Žåã§ãåæºããªãã§ãã ããããããŒããã£ã¹ããæåã§åæããã©ã€ãã©ãªãªãã§æ©èœããŸããã åæ§ã®ãœã±ããã«ã€ããŠå€ãã®ããšãæžãããŠãããã©ã€ãã©ãªã§åäœããŸãã ç¹ã«ãããïŒ
http :
//habrahabr.ru/post/213425 http://habrahabr.ru/post/212215 110Vãœã±ããã䜿çšããŸãã
ã ç¡ç·å¶åŸ¡ã«ã¯éæšæºã®ãœãªã¥ãŒã·ã§ã³ãå¿
èŠã§ãããšããäºå®ã«ãããããããããã¯åé¡ã«å¯ŸããæãåçŽã§è²»çšå¯Ÿå¹æã®é«ããœãªã¥ãŒã·ã§ã³ã§ãã ã€ãŸããããããªãŒãŸãã¯ãã®ä»ã®ããã€ã¹ïŒå¿
ãããæµææ§ã§ã¯ãªãïŒãé©æãŸãã¯æåã§ãªã³ããã³ãªãã«ããæã«ã¯å€éšã©ã€ãããªã³ãŸãã¯ãªãã«ããŸãã InsteonãZwaveãªã©ã«ã¯å€ãã®å Žåäžå¿
èŠãªè¿œå æ©èœããããŸããããããã¯ã¯ããã«é«äŸ¡ã§ãããã€ã³ã¿ãŒãã§ãŒã¹ã®ãªãŒãã³æ§ã«åé¡ããããããArduinoã¯ç°¡åãªã³ãã³ããããã€ã¹ã«éä¿¡ã§ããŸãã ãœã±ããx10ãInsteonãªã©ã®å¯äžã®åé¡ã¯ãåãæ¿ãäžã«éåžžã«å€§ããªé³ã§ã¯ãªãã¯ããããšã§ãã ããã¯ç¹ã«éããªå€ã«è¿·æã§ãã å¥ã®ãã¥ã¢ã³ã¹ïŒx10ã¯åç±³ã§æçããã人æ°ããã£ãããã110ãã«ãæªæºã§ããã ããã§ã¯ã誰ããèªåã§éžæããŸãã ãŸãã¯ã次ã®æéãæ¯æãïŒ
Z-Wave â , -, - , , â /. USB . ( ) OS ;
Insteon â , x10 - 110;
5-10 . 110 . , , () ( ) 1-Wire . âŠ
( ). 1 .
+5 ( 0 1) ( 5 +5). . () . . . () ( ).
( 2 ) , HVAC . : ? . ( ). . - . .
. , , . FreeBSD Mac OS, BSD. / -2-4. .
RF, RTC, Uno( ). Mega . .
html Ajax Arduino web server (webduino) JQuery Mobile. , .
, , ( ) . . . , . . , . ( AUX 10). () . ã€ãŸã 21 , 20 . , 10 , . , . . . 10 html(JS) , HTML . . . ( 1-2 ) . . . 24 (x-, - ). .
SET. /. . ,
. SET OFF . . heat_temp html(JS) , .
10 . : ON â ( ), OFF ( ), Split â . .
Apply . . . . ON â , OFF ( ), Split( )- , Day â ( ), Day&Night â . Split. Apply .
Override. . . . Overrride. OFF Override. upd_interval ( html ) . = 60 . .
(pool). -5 . RF / . . pool x10pools[17]={0,0,0,0,0,12,0,0,13,0,0,0,0,0,0,0,0}. . poolt ( html ) delta_temp * poolf ( html ). delta_temp ( html ) . +-. ( â delta_temp) ( + delta_temp). 0.5 .
. . (JS Ajax html ) (Arduino) . HTML , . ( ) ( ) . Arduino web server IP , . HTML Web . HTTPS . , Arduino ( Dinamic DNS Port Foewarding). http://myhosting.com/index.html?http://myhome.slyip.net:8081/hvac. Arduino . , . ( HTTPS ) Arduino Web Shield - . TP-LINK TL-WR703N
wifi bridged web Serial(UART) Arduine, ( ) . STM32 ( ) .
B
1.0.1, HTML GUI .