
å ã»ã©ã¹ããŒãããŒã ã®ã·ã¹ãã -NooLiteïŒ 1ã2 ïŒã«ã€ããŠè©±ããŸããããéåžžã®ãŠãŒã¶ãŒã«ãšã£ãŠã®äž»ãªæ¬ ç¹ã¯ã端æ«ãã¯ãã ããŠãã¯ã€ã€ãŒã®åæãªã©ã䜿çšããŠã€ã³ã¹ããŒã«ããå¿ èŠãããããšã§ãã è£åŽã¯ãããªãã®å¥œã¿ã«åãããŠãã¹ãŠãã«ã¹ã¿ãã€ãºããé«ãèœåã§ãããããã¯å¿ ãããå¿ èŠã§ã¯ãããŸããã ä»åã¯ãåæ§ã®æ©èœãåããã·ã¹ãã ã«ã€ããŠèª¬æããŸãããæ®éã®äººåãã«èšèšãããŠããŸããã€ã³ã¹ããŒã«ããããã«å¿ èŠãªããšã¯ãé»çãã«ãŒããªããžã«ãã蟌ãã ãã§ãã
ããã
ã·ã¹ãã å šäœã¯ãé»çèªäœããªã¢ãŒãã³ã³ãããŒã«ãã«ãŒã¿ãŒã®3ã€ã®èŠçŽ ã§æ§æããããããããåå¥ã«è³Œå ¥ã§ããŸãã

ã©ã³ã
ã©ã³ãããã¯ã¹ã¯æ¬¡ã®ããã«ãªããŸãã
å åŽã¯ãã©ã¹ããã¯è£œã®ã©ã³ãã§ãã

ãããŠããã ãã§ãïŒ å éšã«ã¯ä»ã«äœããããŸããããã¿ã³ããã®ä»ã®ã³ã³ãããŒã«ãæããªãã©ã³ãã«ã¯æ瀺ã¯å¿ èŠãªããšç解ãããŠããŸãã ã¡ãªã¿ã«ãããã±ãŒãžã¯ååã«åŒ·ãã§ã-åºãééãã1000å以äžã®ã©ã³ãã®ãã¡ã1ã€ã ããæå·ããŸãã-圌女ã®ããŒã¹ã¯å°ãæŒãã€ã¶ãããŸããã ããã¯éåžžã«äŸ¿å©ã§ãä»ã§ã¯åœŒå¥³ã®äžã«äœãããããèŠãæ©äŒããããŸããããã«ã€ããŠã®çå®ã¯ããå°ãå ã§ãã
ã©ã³ãã¯ïŒ

ããŒã¹E27-家åºçšã©ã³ãã®æšæºïŒ

ãµã€ãºãç解ããããã«ãikeevskyã©ã³ã-SPARSAMã®æšªã«çœ®ãããšãã§ããŸãã

çœç±ç¯ãšæ¯èŒãããšããã®ã§ããã家ã®äžã«äžã€ãèŠã€ãããŸããã§ããã æãããã»ãŒåããªã®ã§ãæ¯èŒããã®ã䟿å©ã§ãããikeevskayaã®æ¹ãã¯ããã«é»è²ã§ãã
ãããã®ééã¯ã»ãŒåãã§ãSPARSAMã®ééã¯185ã°ã©ã ã§ãã

ããŒã©ã€ã179ïŒ

å°ããªé»çã®ãã®ãããªééã¯ãLEDã®ã©ãžãšãŒã¿ãŒãšããŠæ©èœããåãã¢ã«ãããŠã ããŠãžã³ã°ã«ãããã®ã§ãã
2ã€ã®ã©ã³ãã®æãããæ¯èŒããããã«ãåãèšå®ïŒ1 / 100ã2.8ã400ïŒã®åãäœçœ®ã§ããããæ®åœ±ããŸããã

æ倧èšå®ã§ã®ããŒã©ã€ãã¯ããã«å°ãæãããªãããšãå€æããŸããã ããŸããŸãªæ¹æ³ã§ç §ããããŠãããšããäºå®ã«æ³šæãæã£ãŠã¯ãããŸãããããã¯ç§ããã£ãã¥ãŒã¶ãŒãåãå€ããã©ã³ãã ããã§ãïŒçç±-åŸã§æããã«ãªããŸãïŒã
ãªã¢ã³ã³
ã³ã³ãããŒã«ããã«ã¯æ¬¡ã®ããã«ãªããŸãã

ã¿ã€ãã«åçã«ããã¯ã¹ã衚瀺ãããã®ã§ãããã衚瀺ããŠãæå³ããããŸããã ãªã¢ã³ã³ã®å®å šãªã»ããã¯ãã©ã³ããããã¯ããã«è±å¯ã§ã-ããã¯å šäœã®åœä»€ã»ãããæã£ãŠããŸãïŒ

ã¡ãªã¿ã«ããªã¢ãŒãã³ã³ãããŒã«ã¯3ã€ã®AAAããããªãŒïŒå«ãŸããŠããŸããïŒã§å®è¡ãããŸãã

ãªã¢ãŒãã³ã³ãããŒã«ã§æãèå³æ·±ãã®ã¯ïŒãã¡ãããå éšã ãã§ãªãïŒã³ã³ãããŒã«ã§ãã

ã©ã®ãã¿ã³ãäœã«è²¬ä»»ãããã®ãââã«ã€ããŠè©±ããªãããã«ãç§ã¯ãã®çµµãæããŸããïŒ

圌女ã¯ç§ãã¡ã®ãªãŒããŒã·ããã«å ¥ããŸããã ãããã«ä»å±ããŠããããã¥ã¢ã«ã¯è±èªã§æžãããŠããã ãã§ãªããäžå®å šã§éšåçã«ççŸããŠãããããéåžžã®ããã¥ã¢ã«ãäœæããå¿ èŠããããŸããã
ã³ã³ãœãŒã«ã®äžéšã«ã¯ããã£ã³ãã«å¶åŸ¡ãã¿ã³ããããŸãã NooLiteãšåæ§ã«ãã©ã³ãã¯ãªã¢ã³ã³ã«åãä»ããããŸããããã®éã¯ã§ããŸããã ãªã¢ãŒãã³ã³ãããŒã«ã³ãŒãã¯ãã³ãã³ããåä¿¡ããã©ã³ãïŒããæ£ç¢ºã«ã¯ããªã¢ãŒãã®ãã£ãã«ã³ãŒãïŒã«èšé²ããããšããæå³ã§ã
åã³ã³ãœãŒã«ã«ã¯4ã€ã®ãã£ã³ãã«ããããåãã£ã³ãã«ã¯2ã€ã®ãã¿ã³ã§å¶åŸ¡ãããŸã-ãªã³ãšãªããåãæ¿ããŸãã é»æºãã¿ã³ã¯ãã£ã³ãã«ã®ã¢ã¯ãã£ããŒã·ã§ã³ãã¿ã³ã§ããããŸãããã¹ãŠã®äžéšã®ã³ã³ãããŒã«ïŒè²ãæãããå ã®æž©åºŠã®å€æŽïŒã¯ãæåŸã®ã¢ã¯ãã£ããªãã£ã³ãã«ã«é©çšãããŸãã æåŸã«é»æºãã¿ã³ãæŒãããã£ã³ãã«ã«ç§»åããŸãã ã©ã³ãããªãã«ãªã£ãŠããå Žåã¯ãã©ã³ããæŒããšã以åã®èŒåºŠãšè²æž©åºŠã®èšå®ãç¶æããªããããçœè²å ãã¢ãŒãã§ãªã³ã«ãªããŸãã ã©ã³ãããã§ã«ç¹ç¯ããŠããå Žåã¯äœãèµ·ãããŸãããããªã¢ã³ã³ã¯ãã®ãã£ã³ãã«ãèšæ¶ãããã®ãã£ã³ãã«ã®äžéšãã¿ã³ã䜿çšããŠä»¥äžã®ãã¹ãŠã®ã³ãã³ããæäŸããŸãã
åãã£ãã«ã«ä»»æã®æ°ã®ã©ã³ãããã€ã³ãã§ããŸããäž»ãªããšã¯ããããããªã¢ãŒãã³ã³ãããŒã«ã®ã«ãã¬ããžãšãªã¢ã«è¡šç€ºãããããšã§ãã ããšãã°ããã®ãããªã§ã¯ãç·ã¯ããã«ã©ã³ãã®æãå¶åŸ¡ããŸãã
ãããã®ã©ã³ãïŒhelloã fundorin ïŒãæ¬åœã«å¥œãã ã£ãååã®1人ã¯ã11åãäžåºŠã«è³Œå ¥ããŠã家ã®ãã¹ãŠã®éšå±ã«å ¥ããŸããã 4ã€ã®ãªã¢ãŒãã³ã³ãããŒã«ãã£ãã«-家ã®4ã€ã®å ŽæïŒãããã³ããã€ã¬ããã€ã¬ããªãã³ã°ã«ãŒã ãå»äžã 1ã€ã®ãªã¢ã³ã³ã§ãã¢ããŒãå šäœã®ç §æãã©ãããã§ãå¶åŸ¡ã§ããããšãããããŸããã ç¹ã«ãããã«æšªããã£ãŠããéã¯æãããæ¶ãããã¹ã«æšªããã£ãŠããéã¯æãããèœãšãã®ãéåžžã«äŸ¿å©ã ãšåœŒã¯èšããŸãã
åã³ã³ãããŒã«ãŠãããã«ã¯ç°ãªããã£ãã«ã·ãªã¢ã«çªå·ãããããã2ã€ã®ã³ã³ãããŒã©ãŒã§8ã»ããã®ã©ã³ããå¶åŸ¡ã§ããå€éã«ãã€ã¬ã«è¡ããšé£äººã¯ãããã³ã©ã€ããç¹ç¯ã§ããŸããã
ã³ã³ãããŒã«ãŠããã-ã«ãŒã¿ãŒ
ãªã¢ã³ã³ã§å¶åŸ¡ãããé»çã¯ãã¡ããã¯ãŒã«ã§ããã¹ããŒãããŠã¹ãåŒã£åŒµãããšã¯ãããŸããã æãèå³æ·±ãéšåã¯ãã©ã³ããã³ã³ãã¥ãŒã¿ãŒã«æ¥ç¶ããäœããã®èªååãã»ããã¢ããã§ããããã«ãªã£ããšãã«å§ãŸããŸãã ãããè¡ãã«ã¯ããã®ããã¯ã¹ã®ã³ãã¯ã¿ã«ãŒã¿ãŒã䜿çšããŸãã

圌女ã®æ©åšã¯ãªã¢ã³ã³ãããããã«è±å¯ã§ã-ããã¥ã¢ã«ã«å ããŠã圌女ã¯ãããã«é»æºçšã®é ç·ãæã£ãŠããŸãïŒ

USBã³ãã¯ã¿ã«ãããããããã¯ã€ã€ã¯é»æºå°çšã§ããã«ãŒã¿ã³ãã¯ã¿ãã³ã³ãã¥ãŒã¿ã«æ¥ç¶ããããšã¯ã§ããŸããã ãããããã¡ããæ¥ç¶ããããšã¯å¯èœã§ãããé»æºãšæ¯èŒããŠéãã¯ãããŸããã ãŸãã圌ã«ã¯LANã³ãã¯ã¿ããªãããã¹ãŠã®éä¿¡ã¯ã¯ã€ã€ã¬ã¹æ¥ç¶ãä»ããŠè¡ãããŸãã ç¬èªã®WiFiãããã¯ãŒã¯ãäœæããããæ¢åã®WiFiãããã¯ãŒã¯ã«æ¥ç¶ã§ããŸãã
ã³ãã¯ã¿æ¬äœã®ã€ã³ã¿ã©ã¯ãã£ãèŠçŽ ã«ã¯ã3ã€ã®LEDããããŸãã

MicroUSBé»æºã³ãã¯ã¿ãšããªã»ãããã¿ã³ãé ããŠããç©ŽïŒ

ã«ãŒã¿ãŒãžã®æåã®æ¥ç¶ã«å¿ èŠãªãã¹ãŠã®ããŒã¿ãæžã蟌ãŸããŸãã

ãã®ãããæ瀺ãéãããšãããŸãããå¿ èŠãªãã®ããã¹ãŠãã·ã¢èªã«ç¿»èš³ãããã¡ã€ã«ã«è¿œå ããŸããã
äžèº«ã¯ïŒ
ã³ã³ãããŒã«ãŠããã-ã«ãŒã¿ãŒ
ãã¡ãããããã€ã¹ãå°ãªããšã1åå解ããªããšãå®å šãªææè ãšã¯èŠãªãããŸããã ã«ãŒã¿ãŒããå§ããŸãã ããªããä¿èšŒãæäŸããäŒç€Ÿã§ãããšãã ã-ä¿èšŒã¹ããã«ãŒã«æ³šæãæã£ãŠã¯ãããŸããã

ç°¡åã«å解ã§ããŸã-ããžãscrewsãªçãå ·ã¯ãããŸããã å¿ èŠãªã®ã¯ãã©ããããåŒãåºãããã«å¹³ãã§åŒ·åãªãã®ã§åºéšã«ããŒãããéããããšã§ãã

ã«ããŒãåãå€ããåŸãç§ãã¡ã®ç®ã¯ããŒãã®äžéšãèŠãã®ã§ãèŠãç®ã¯é¢çœããããŸããã

ããããè£é¢ã¯ãã§ã«ã¯ããã«èå³æ·±ããã®ã§ãã

ãã®äžã«ãããŒãã³ã°ã®ãªãããããåãã2.4 GHzã®åšæ³¢æ°ã®ãã©ã³ã¹ããã¿ãŒããããŸãã

ã¡ã€ã³ã³ã³ãããŒã©ãŒã®ããã«ïŒ

ãšã«ãããã¡ãŒã ãŠã§ã¢ãèªã¿åããªãå ŽåãããŒãã³ã°ãªãã§ã³ã³ãããŒã©ãŒã泚æããçç±ãããããŸããã ã©ãã«ã®æ¬ åŠã¯äœããããããŸããïŒ ããŠã倧äžå€«ãããªãã¯äžåœäººã«å°ããªããã°ãªããŸããã ããã«é²ãã§ãRTCãããïŒ DS1302ãšåŒã°ãããªã¢ã«ã¿ã€ã ã¯ããã¯ïŒã確èªããŸãã ããã¯ãæéã®ã«ãŠã³ããšãã1ã€ã®ããšã ããåŠçããç¹æ®ãªãããã§ãã 確ãã«ã圌女ã¯å®å šã«ãããè¡ããŸã-è¯ã粟床ãšéåžžã«äœãæ¶è²»é»åã§-ããã¯CR2232ããããªãŒããçŽ2幎éæç¶ããŸããããšããããåžžã«é»æºã«æ¥ç¶ãããŠããªããŠãã
æéãæ£ç¢ºã«èšç®ããããã«ããã¯ã©ãŒããã¯ã©ãŒãã¯ãèŠãã«ãã32768 Hzã®åšæ³¢æ°ïŒ2ã®15ä¹ïŒã§è¿ãã«ãããŸãã ãã®åšæ³¢æ°ãé£ç¶ããŠååã«15åæžããã ãã§ååã§ã1 Hzã®åšæ³¢æ°ãååŸããŸã-æ¯ç§å»ã¿ãŸãã

ã©ãã UARTã€ã³ã¿ãŒãã§ãŒã¹ãåããWi-Fiã¢ãžã¥ãŒã«ã®ã¿ããããŸããã

圌ã¯ãå®éã«ã«ãŒã¿ãŒã®ããŒã«ã«ãããã¯ãŒã¯ãšéä¿¡ããããç¬èªã®ã«ãŒã¿ãŒãäœæããŸãã
ã©ã³ã
次ã«ãã©ã³ãèªäœãèŠãŠã¿ãŸãããã äžè¬ã«ããªã¢ãŒãã³ã³ãããŒã«ãã«ãŒã¿ãŒãšã¯ç°ãªããå®å šã«åé¢ããããšã¯ã§ããŸããïŒãã ããæãèå³æ·±ãïŒã ããšãã°ãå解ã®æåã®æ®µéã§ã¯ãããããã€ãã§åæãããããã©ã¹ããã¯è£œã®æ¡æ£ããŒã ãåæãããããŸãã

ã¡ãªã¿ã«ãããã¯éåžžã«åã-ã»ãŒ3 mmã®åãïŒ

ãã®ãããªãã©ã¹ããã¯ã§ã©ã³ããå£ãããšã¯å°é£ã§ãã ã©ã³ãã®ç©¿ååŸãã¡ã€ã³ããŒãã«ã¢ã¯ã»ã¹ã§ããŸãã

ã芧ã®ãšããã30åã®LEDãç §æã«äœ¿çšãããŠããŸã-24åã®çœè²LEDïŒæè²ã®12åã®LEDãšå¯è²ã®12åã®LEDïŒãš6åã®RGB LEDã RGB LEDã¯ã«ã©ãŒç §æãæ åœããçœã¯ããããçœãæ åœããŸãã

ããã«ãgifã«èŠãããããã«ãåæã«2ã€ã®ã¿ã€ãã®LEDã¯ãã«ãã¯ãŒã§ã¯åäœããŸãã-ããã¯èŒåºŠãäžããŸãããããå€ãã®å·åŽãšãã匷åãªé»æºãå¿ èŠãšããŸãã ãããŠãèŒåºŠã¯æž©åºŠå¶åŸ¡äžã«å€åããŸãã
ã¡ãªã¿ã«ããã£ãã¥ãŒã¶ãŒãªãã§æ®åœ±ããããã«ã©ã³ããå解ãããšãã²ã©ãã§ããããã¯ãã®ããã«ãªããŸã ïŒã¡ãªã¿ã«ã ãµã€ã³ã¢ãã ïŒã
äžå€®ã«ã¯ç¡ç·ã¢ãžã¥ãŒã«ããããããŒã¯ãä»ããã«ãã§ã«äœ¿ãæ £ããŠããŸãã

ãã®äžã«ã¯ã³ã³ãããŒã©ãŒããããŸãã

ããã¯ãå®å šã«æ®éã®STM8ã³ã³ãããŒã©STM8S003F3-16MHz ã8 Kbã®ã¡ã¢ãªã§ãã ã³ã³ãããŒã©ã¯ãSPIãä»ããŠç¡ç·ã¢ãžã¥ãŒã«ãšéä¿¡ããŸãã
ã©ã³ãã®é»æºã«å°éããã«ã¯ãåæ§ã®æ¹æ³ã§ã©ã³ãããŒã¹ãé®æããå¿ èŠããããŸãã

ãããŠãã¯ãã ããŠã®å¥¥æ·±ãã«ç»ããé»æºç·ãã¯ãã ä»ãããŸãã

é»çããèœã¡ãã®ã¯é»æºã§ãïŒ

é»æºã¯ã·ã³ã°ã«ãããLNK606äžã«æ§ç¯ãããŠããŸãããããã¯äžåœã®ããã€ã¹ã§ã¯éåžžã«çããããšã§ãã

LNK606ã¯ãé»æºã®è£œé å°çšã«èšèšãããLinkSwitch-IIã·ãªãŒãºã®ãããã§ãã ãããããã¹ãŠã®PSUãã©ã¡ãŒã¿ãŒã«å®å šã«åŸãã®ã§ããã®åè·¯ã¯éåžžã«ç°¡åã§ãã

åæã«ãç絡ä¿è·ãè² è·ãªãã®äœãããã¯ãŒã¯æ¶è²»ãç±ä¿è·ãåªããå¹çãåŸãããŸãã
ããã§ã¯ãLEDã«æ»ããŸãã

çœè²LEDã¯åãã§ãããèå äœã®ã¿ã€ãã®ã¿ãç°ãªããŸãã ãçœãã®LEDã¯ãå®éã«ã¯å€éã«ç§ãã¡ã®ç®ã«çŽæ¥èŒãç¹å®ã®vyrviglazã·ã§ãŒãã®éãŸãã¯çŽ«å€ç·ã§ãã ãããã¯é»è²ã®ç©è³ª-èå äœã«ãã£ãŠçœè²ã«ãªããéè²ã®å ãåžåããŠç°ãªãç¯å²ã§åæŸå°ããŸãã çµæã®ç°ãªãç©è³ªãçµã¿åãããããšã§ãããã§è¡ãããããã«ãããšãã°å¯è²ãæè²ãªã©ãããŸããŸãªçœã®è²åããå®çŸã§ããŸãã èå äœLEDã®å€§ããªãã©ã¹ã¯ãRGBã¢ã»ã³ããªãšã¯å¯Ÿç §çã«æ»ãããªã¹ãã¯ãã«ã§ãã

ããã¯ãäžèŠãããšã¢ã»ã³ããªãšåãããã«èŠãããããããªããšããäºå®ã«ããããããããã®ãããªLEDã¯ããé«ãæŒè²è©äŸ¡æ°-CRIãæã€ç §æã®å質ã«ãã©ã¹ã®å¹æããããããŸã-ã»ãŒåãçœè²å ãçºããŸãã ãããã埮åŠãªéãããããŸãïŒ
ãªããžã§ã¯ãã®è²ã«ãã£ãŠããã®è¡šé¢ãåå°ããã¹ãã¯ãã«ã®éšåã決ãŸãããããªããžã§ã¯ãã«å ¥å°ããå ã®ã¹ãã¯ãã«ã«ãªããžã§ã¯ãã«ãã£ãŠåå°ãããéšåãå«ãŸããŠããªãå Žåãèå³æ·±ãç¶æ³ãçºçããå¯èœæ§ããããŸãã ããšãã°ã450 nmã®é·ãã®æ³¢ãåå°ããç¹å®ã®éããªããžã§ã¯ãããããŸãã ãã®è¢«åäœãæ¥å ã§ç §ãããšããã¹ãŠãããŸããããŸãã

ã¹ãã¯ãã«ã«ã¯ãã®é·ãã®æ³¢ãå«ãŸããŠããããªããžã§ã¯ãã«ãã£ãŠæ£åžžã«åå°ãããŸãã ãããŠããã®ãªããžã§ã¯ããå æºã§ç §æãããšãã¹ãã¯ãã«ã¯å€ªéœå ã®ã¹ãã¯ãã«ã®ããã«ã¯èŠããŸãããïŒ ããã¯æ¬¡ã®ãšããã§ãã

確ãã«ãããã¯èå ç¯ã«é¢ãããã®ã§ããããã€ã³ãã§ã¯ãããŸããã ã¹ãã¯ãã«å ã®ã©ã³ãã«ã¯ããã®é·ãã®æ³¢ã®äžéšãå«ãŸããŠããŸãããã倪éœå ã®ããã«çœãèŠããŸãã ã¹ãã¯ãã«ã«ã¯æ³¢ããªãããããªããžã§ã¯ããåå°ãããã®ã¯äœããªããããæãèŠããŸãã
ãã¡ããããã¹ãŠãç掻ã®äžã§ããè€éã§ã- ã»ãšãã©ãã¹ãŠã®è¡šé¢ã¯ç¹å®ã®æ³¢é·ã ãã§ãªããã»ãšãã©åžžã«èµ€å€ç·ãšçŽ«å€ç·ã®ç¯å²ããã£ããã£ããããããã®ãããªç §æã®äžã§ã¯éãç©äœã¯ã»ãšãã©é»ãèŠããŸããã ããããè²ã®ç¥èŠã«é¢ããããããçš®é¡ã®åé¡ã¯ç°¡åã«åŸãããŸãã ãã®ãããããªã³ã¿ã¯ã¯ãŒã¯ã·ã§ããã§ã¯ã©ã€ã¢ã³ãã«çµæã衚瀺ããããšã¯ãªãããªãã£ã¹ã§ã®ã¿ãããã²ã³ãŸãã¯çœç±ç¯ã®äžã§ã®ã¿è¡šç€ºããŸãã
èŠããã«ãèå äœLEDã¯åªããŠãããäœæ¥å Žãç §ããããã«ã®ã¿äœ¿çšãããã¹ãã§ãã 誰ãç¥ããªãã£ãïŒ
äžè¬ã«ããã¹ãŠã®éåžžã®çœè²LEDã©ã³ãã¯èå äœLEDã䜿çšããŸãããæããã«æºè¶³ããŠããå Žåã¯Marlightã䜿çšããŠè·å Žãç §ããããšãã§ããŸãã
ãã ããã©ã³ãã«ã¯ãŸã RGBã¢ã»ã³ããªããããŸãããä»ã®ãã¹ãŠã®è²ã衚瀺ããããã«äœ¿çšãããŸãã 3è²ã®LEDã®1ã€ãè¿ãã«ãããŸãã3ã€ã®ç°ãªãçµæ¶ãšããããžã®é ç·ãæ€èšã§ããŸãã

確ãã«ãç§ã®æèŠã§ã¯ãè²ã¯éåžžã«æ¿çž®ãããŠãããçŽç²ã§ãããçœãšæ··ããŠç°ãªãè²åããäœæã§ããã°ãã£ãšå¥œãã ã£ãã§ãããã
LEDç §æã®ããäžã€ã®çœé£ã¯ã¡ãã€ãã§ãã çœç±ç¯ãšã¯ç°ãªããLEDã«ã¯ç±æ £æ§ããããŸãããå®äŸ¡ãªã³ãŒã³ã©ã³ãã®ããã«LEDããããã¯ãŒã¯ã«çŽæ¥æ¥ç¶ãããšãLEDã¯æ¯ç§100åç¹æ» ããŸãããããã¯ç®ãç©äœã®éãåãã§éåžžã«é¡èã§ã- éçãã¹ã ã ã¢ãã¿ãŒã«ã€ããŠã§ãããç §æã«ã¯æå¹ã§ãã ç§ã®å®¶ã®ã©ã³ãã®1ã€ã§ãé»æºããã©ã®ããã«èŠãããã®äŸã次ã«ç€ºããŸãã

ãã¡ãããäœå® ã®ç §æã«äœ¿çšããããšã¯äžå¯èœã§ãã ãã€ã¬ã«ãããŸãã
ç¹°ãè¿ããŸãããéåžžã®ã©ã³ãã«ã¯ãã®ãããªåé¡ã¯ãããŸãããããŒã©ã€ãã®ããã«ãé»æºé»å§ãå¿ èŠãªïŒäžå®ã®ïŒLEDã«å€æããŠãã¡ãã€ããå®å šã«ãªããé»æºãŠãããããããŸãã ããæ£ç¢ºã«ã¯ãæ倧èŒåºŠã§ã®ã¡ãã€ããé€å»ããŸããããã¯ãéåžžã¯äœåšæ³¢ã§ããPWMã«ãã£ãŠèŒåºŠãäœäžããããã§ãã é»çãå解ããã®ã§ããªã·ãã¹ã³ãŒããããã«æ¥ç¶ããããã§æããã®å€åãã©ã®ããã«æ©èœããããèŠãŠãã ããã

ããã§ãé»çããªã³ã«ããŠããªã·ãã¹ã³ãŒãã®ãããŒãã§äœãèµ·ãã£ãŠããã®ãã確èªã§ããŸãã

å®å šãªæããã§ãªã³ã«ãããšãäºæ³ããããªããã«ã¯ãããŸããã
ãªã·ãã¹ã³ãŒãã®2ã€ã®ãã£ã³ãã«ã¯ããŠã©ãŒã LEDãšã³ãŒã«ãLEDã®ãã£ã³ãã«ã«æ¥ç¶ãããŠããŸãã ãã®å ŽåãããŠã©ãŒã ãLEDã¯ãã«ãã¯ãŒã§ç¹ç¯ãããã³ãŒã«ããLEDã¯å®å šã«ãªãã«ãªããŸãïŒå³ãåç §ïŒã
ãããŠããªã¢ã³ã³ãŸãã¯ã¢ããªã±ãŒã·ã§ã³ã®ãã¿ã³ã§æãããæžãããŸãã

çŸåšãLEDã®äžå®ã®ã°ããŒã¯å®æçã«åæ¢ãã人éã®ç®ã¯ãã®æ £æ§ã«ããããããç §æã®æžå°ãšããŠèªèããŸãã 240ãã«ã-åšæ³¢æ°ã¯ããã»ã©å€§ãããããŸããããåªãããã£ãã¥ãŒã¶ãŒãšçµã¿åããããšãäžçšåºŠã®æããã®ç®ã¯ç¹ã«å¹²æžããŸããã
ãã€ããã¯ã¹ã®æããã®å€åã¯æ¬¡ã®ãšããã§ãã

次ã«ãæããã§ã¯ãªããè²æž©åºŠãå€æŽããŸãã

ã³ã³ãããŒã©ãŒã®è žå ãä¿è·ããå å¡«ãã¬ãŒãã«åŸã£ãŠããå·ãããLEDã20ïŒ ã®æããã§çœãšãšãã«ç¹ç¯ããå ã®æž©åºŠãããå·ãã枩床ã«ã·ããããŸããã ããããåæã«ãæããã®å€æŽãé¿ããããã«ïŒäž¡æ¹ã®LEDããµã€ã¯ã«ã®äžéšã§äžç·ã«åäœããŸãïŒããµã€ã¯ã«ã®æåŸã®ããŠã©ãŒã ãã¯ãã³ãŒã«ããããªã³ã«ãªã£ãæç¹ã§æ£ç¢ºã«ãªãã«ãªãããããã£ãŠãã©ã³ãå šäœã®åèšèŒåºŠã¯å€æŽãããŸããã§ããã ãäžãã¢ãŒãã§æž©åºŠããªã³ã«ãããšãäž¡æ¹ã®LEDãåæã«åäœãã次ã®ããã«ãªããŸãã

ãããŠãããã¯ã¢ãã¡ãŒã·ã§ã³ã®åœ¢ã§ã©ã®ããã«èŠãããã§ããããã§ã¯ãæåã®ãã¬ãŒã ã®é»çã¯ããŠã©ãŒã ã®ã¿ãã¢ãŒãã§åäœããããŠã©ãŒã 10ïŒ ãã³ãŒã«ã90ïŒ ãã¢ãŒãã«åŸã ã«åãæ¿ããããã®åŸæ»ããŸãã

ã©ã³ãã®æ®ãã®éšåãå解ããã«ã¯ã2æ¬ã®ããžãå€ãïŒéãç¢å°ïŒãããã»ããµããŒãã®æ¥ç¶ãã€ã³ããLEDããŒãã«ã¯ãã ä»ãããå¿ èŠããããŸãïŒèµ€ãç¢å°ïŒã

ããŒãã¯ãµã³ãã€ããã§æ¥ç¶ãããŠããŸããäžã®ããŒãã¯ã¢ã«ãããŠã ã§ãäžã®ããŒãã¯PCBã§ãã ããã¯ãLEDããç±ãé€å»ããããã«è¡ãããŸãããåæã«ã¢ã«ãããŠã åºæ¿ãžã®åæ¹åã®åãä»ãã§åé¡ãçºçããªãããã«ããããã§ãã ãšããã§ããã®åãã¯1.5mmã§ãã

ããŠãäœããæ²ããŠåŒã£åŒµã£ãŠã¢ã«ãæ¿ãããéãããšãç°¡åã«ã§ããŸãããã©ãžãšãŒã¿ãŒããåé¢ããŸãã

ãµãŒãã«ã€ã³ã¿ãŒãã§ã€ã¹ã®å±€ããããã ããŒããšããŒãã·ã³ã¯ã®éã«é©çšãããŸã-ããã»ããµã®ããŒãã·ã³ã¯ã§äœ¿çšããããã®ãšåãã§ãã
æã®äžã«ã¯ãã©ã³ãã®ééã®å€§éšåãå ãããã®ãããªé äžãªã¢ã«ã補ã®ç©ºã®ã©ãžãšãŒã¿ãŒãæ®ã£ãŠããŸãã

ãªã¢ã³ã³
æ²ãã¿ïŒãããæåŸã«ã§ããããšã ããïŒã§ããªã¢ãŒãã³ã³ãããŒã«ãéããŸãã

äžéšã¯ã»ã³ãµãŒãªã³ã°ã§ãã

STã®Appnoteãšåæ§ïŒ

äžéš-ãã¿ã³ããã£ãã«ã®ãªã³/ãªããåãæ¿ããããã®èããã®ä»ã®ãã¹ãŠã®æ©èœã®ã¿ããïŒ

è£é¢ã¯ãã§ã«èå³æ·±ããã®ã§ãã

ããŒãã³ã°ãªãã®2ã€ã®ãããããããŸãã

ãããŠããã§ã«ããªãã¿ã®éä¿¡æ©ã¢ãžã¥ãŒã«ïŒ

éå¶ç®¡ç
ãªã¢ã³ã³ããã©ã³ããå¶åŸ¡ããæ¹æ³ã«ã€ããŠã¯ããã§ã«äžèšã§èª¬æããŸããã ããã§ã¯ãã¢ããªã±ãŒã·ã§ã³ã§ã§ããããšã«ã€ããŠè©±ããŸãããã ãŸããã«ãŒã¿ãŒã®Webããã«ã衚瀺ããŸããããã¯éåžžã«ç°¡åã§ãã ãããã¯ãŒã¯ãæ§æã§ããŸããããã¯ãã³ãã¯ã¿ãæå·åãªãã§ç¬èªã®wifi-socketãããã¯ãŒã¯ãäœæãããšãã®èšå®ã®å€èŠ³ã§ãã

ãããã£ãŠãã³ãã¯ã¿ã¯ã¯ã©ã€ã¢ã³ããšããŠãããã¯ãŒã¯ã«æ¥ç¶ããŸãã

ããã«å ¥åããããã®ãã¹ã¯ãŒããå€æŽããããšãã§ããŸãã

ãããŠãªããŒãããŸãïŒ

ãªã»ããããåã«ã«ãŒã¿ãŒã®æ©èœã倱ãããããããŠãŒã¶ãŒã¯æ®ãã®èšå®ãå¿ èŠãšããã觊ããå¿ èŠããããŸãã-ãããã¯ã³ã³ãããŒã©ãŒãžã®TCP <-> UARTéä¿¡ã®èšå®ã«é¢é£ããç¡ç·ã¢ãžã¥ãŒã«ã®ã³ãã³ãã«å€æãããŸãã
é»è©±ã¢ããª
é»çã管çããããã®ã¢ããªã±ãŒã·ã§ã³ã¯ã iOSããã³Androidã§å©çšã§ããŸãã æ©èœã¯éåžžã«ã·ã³ãã«ã§ãã³ã³ãããŒã«ããã«ã®ãã¿ã³ãæ¬è³ªçã«è€è£œããŸãã iOSã¢ããªã¯æ¬¡ã®ãšããã§ãã

ã¿ãã¬ããçšã®ã¢ããªã±ãŒã·ã§ã³ã¯ãŸã ãããŸãããç§ã¯æã£ãŠããªãããã衚瀺ã§ããŸããã ç°ãªããã©ãããã©ãŒã ã§ãã£ãŠãã¢ããªã±ãŒã·ã§ã³ã®åäžæ§ããå€æãããšãéãã¯ãããŸããã
ç§ãèšã£ãããã«ãAndroidã®å Žåãã¢ããªã±ãŒã·ã§ã³ã¯ãŸã£ããåãã§ãããå°ãæªãèŠããŸã-ãã¿ã³ã¯ã©ããã«è¡ããŸããã

éå§ããã«ã¯ãIPã¢ãã¬ã¹ãšããŒããæå®ããå¿ èŠããããŸãã ããŒããæ§æãããªãã·ã§ã³ãæ®ãããçç±ã¯ããããŸããã§ããããWebã€ã³ã¿ãŒãã§ãŒã¹ã§å€æŽã§ããŸããããªããããå¿ èŠãªã®ãã¯æ確ã§ã¯ãããŸããã ãŸããããŠãŒã¶ãŒåããšããããã³ããã«ããããããããååããã£ãŒã«ãã«ã¯ãã³ãã¯ã¿ã«èšèŒãããŠãããadminãã§ã¯ãªããã«ãŒã¿ãŒã®ååãå ¥åããå¿ èŠããããŸãã ãã ããããã«adminãå ¥åããããšãã§ããŸããadminããã°ã©ã ã«ååã®ä»ããã³ãã¯ã¿ãããã ãã§ãã
ãã§ã«è¿°ã¹ãããã«ãã¢ããªã±ãŒã·ã§ã³ã®æ©èœã®å€§éšåã¯ãæåŸã®ç»é¢ãé€ããŠãªã¢ãŒãã³ã³ãããŒã«ãè€è£œããŸãã åå²ãåœãŠã§ããªãããªã»ãããããã³ã¿ã€ããŒãç®èŠãŸãæèšãªã©ã®ãã®ä»ã®æ©èœãå«ãŸããŠããŸãã

ãããã£ãŠãé»çãè³Œå ¥ããEfimomaxãäºæããã«äœæããã¢ãã€ã«ããã°ã©ã ãšã³ãã¯ã¿ã®éä¿¡ãããã³ã«ã®ãªããŒã¹ãšã³ãžãã¢ãªã³ã°ãå®è¡ãïŒéåžžã«è€éã§ã¯ãªãããšãå€æïŒãPHPããã³CïŒã©ã€ãã©ãªãšã·ã³ãã«ãªã¢ããªã±ãŒã·ã§ã³ã
ã³ã³ãã¥ãŒã¿ãŒå¿çš
Efimomaxã¯ç°¡åãªã¢ããªã±ãŒã·ã§ã³ãäœæããŸããããSkypeã®äžè¬çãªãã£ããã«ãããå ¥ããŠãããŠãå¿ããŠããŸããŸããã ãããããã®ã¡ãã»ãŒãžã¯ãã³ãã®åºã§å£²ãæã«ãã£ãŠèŠããããã€ã€ãŒãåŸ ã£ãŠããéã«éå±ããŸãããç§ã¯ãã®ãããªçŸããã¢ããªã±ãŒã·ã§ã³ãèŠãŸãã

ããã¯æ©èœçã§ãããããªãããŸãæ©èœããŸãã ããã§ãœãŒã¹ã䜿çšããŠã¢ããªã±ãŒã·ã§ã³ãååŸã§ããŸã ã ãã©ãŒã¯ãšpushrequestsã¯å€§æè¿ã§ã:)
ãµãŒããŒã¢ããªã±ãŒã·ã§ã³
PHPã§èšè¿°ãããHTMLã¯æ¬¡ã®ããã«ãªããŸãã

ããããããã¯æãéèŠãªããšã§ã¯ãããŸããã æãéèŠãªããšã¯ãã¹ã¯ãªããã«WebããŒãžãŸãã¯ã³ã³ãœãŒã«ãããã©ã¡ãŒã¿ãŒãæž¡ãããšãã§ããããšã§ãã
ã¹ã¯ãªããèªäœã¯éåžžã«ã·ã³ãã«ã§ãäž»ãªéšåã¯æ¬¡ã®é¢æ°ã§ãã
function sendMessage($udp_message) { $message = vsprintf(str_repeat('%c', count($udp_message)), $udp_message); global $server_ip, $server_port, $delay, $debug, $error_value, $ok_value; if ($socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP)) { socket_sendto($socket, $message, strlen($message), 0, $server_ip, $server_port); sleep ($delay); socket_close($socket); echo $ok_value; } else { echo $error_value; } }
æ®ãã¯ããŒã ããšã©ãŒåŠçãªã©ã§ãã
Github ãforkãpushrequestsã§ãã€ãã®ããã«èŠã€ããããšãã§ããŸããããããïŒ
ã¢ãã¬ã¹ããŒãä»ããŠãã©ã¡ãŒã¿ãŒãæž¡ããéåžžã©ãã䜿çšã§ããŸãã
http://192.168.12.1/marlight.php?command=RGB_MODE_SET_COLOR&r=255&g=10&b=0
ãããã£ãŠãã·ã¹ãã å ã®ã¹ã¯ãªããããçŽæ¥åŒã³åºãïŒ
MBP-Zaytsev:~ vvzvlad$ php marlight.php command=RGB_MODE_SET_COLOR&r=255&g=10&b=0
ãŸãšã
ãšã³ããªãŒã¬ãã«ã®ã¹ããŒãããŒã ã«éåžžã«é©ããéåžžã«èå³æ·±ãããã€ã¹ã§ãã ãã¡ãããæ¬ é¥ããªãããã§ã¯ãªããããã«ã«ïŒãã©ã€ãã£ã³ã°ç®¡çãœãããŠã§ã¢ããèªãã§ãã ããïŒãå¿ èŠãšããŸãããããã¯éåžžã«å®è¡å¯èœã§ãããäœãããŠããŠã楜ãããã®ã§ãã
åç §è³æ
PHPããã³CïŒã®ãœãŒã¹ã³ãŒãã䜿çšããgithubã®ãªããžã㪠ã
ã©ãã§è³Œå ¥ã§ããŸããïŒ
ãã¡ãããç§ãã¡ã®åºã§ã¯ïŒ
åºå ã®ã©ã³ã ïŒ990ã«ãŒãã«
åºå ã®ã«ãŒã¿ãŒ ïŒ990ã«ãŒãã«
ã¹ãã¢å ã®ãªã¢ãŒãã³ã³ãããŒã« ïŒ690ã«ãŒãã«
ãŸããã¶ããŠã¯ãžã©ã®ãªãã©ã€ã³ã¹ãã¢ã«ã¢ã¯ã»ã¹ããŠãã©ã€ããã¿ãããåããæã®ã²ãããèŠãŠãã©ãããäŸé Œããããšãã§ããŸãã
ãæ°ã«å ¥ãã®ãã©ãããã©ãŒã çšã®ã¢ããªãäœæ-Marlightããããå ¥æ
ã¹ããŒããã©ã³çšã®ã¢ããªã±ãŒã·ã§ã³ã¯èŠãç®ãæªããæäœã䟿å©ã§ããããã5ã€ã®Marlightã©ã³ãããªã¢ã³ã³ãããã³ã³ãã¯ã¿ããæ°ã«å ¥ãã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãŸãã¯ã¢ãã€ã«ãã©ãããã©ãŒã çšã®ã¢ããªã±ãŒã·ã§ã³ã«å€æŽããŸãïŒ

æ¡ä»¶ïŒ
- 次ã®ãã©ãããã©ãŒã ã®ã¢ããªã±ãŒã·ã§ã³ãããã¢ãŒã·ã§ã³ã«åå ããŸãïŒ
AndroidãiOSãWindows PhoneãBlackBerryãWindowsãLinux / OpenWRT / DD-WRTãMacOSçšã®ã³ã³ãœãŒã«ã - ã¢ããªã±ãŒã·ã§ã³ãšãã®ãœãŒã¹ã³ãŒãã¯ãBSDã©ã€ã»ã³ã¹ã®äžã§å ¬éããå¿ èŠããããŸãã
- ãããã¯ãèšèšã§ã¢ããªã±ãŒã·ã§ã³ã®æåã®ããŒãžã§ã³ããã¢ã³ã¹ãã¬ãŒã·ã§ã³ããåŸãåå è ã«è»¢éãããŸãã
- èšèšãšè¿œå æ©èœ-éçºè ã®è£éã§ã
åå ããã«ã¯ããMarlight Promotionããšãã件åã§vz@madrobots.ruå®ã«ã¡ãŒã«ããã ããã




