ãã¯ãããžãŒã¹ã¿ãŒãã¢ããã«ã€ããŠèãããšããšã¬ã¯ãããã¯ã¹ã®ãšãŒã¹ã§ããå¿ èŠã¯ãŸã£ãããããŸãããããŒã±ãã£ã³ã°ã®åºæ¬ãçç¥ããŠããçãå°é家ã¯è¯ãã¢ã€ãã¢ãæã£ãŠããå¯èœæ§ãé«ããªããŸãã ãã以å€ã®å Žåã¯ãäžå¯èœãèŠæ±ããããå€ãèŠçŽ ããŒã¹ã§é«äŸ¡ãªããã€ã¹ãå ¥æããããšãã§ããŸãã
ã«ããã®äžã§ã¯ãçŸä»£ã®ãã€ã¯ãã³ã³ãããŒã©ãŒã®æ©èœã«ã€ããŠããããããé ãé¢ãã人ã ã«ç°¡æœãã€ç°¡åã«è©±ãããšããè©Šã¿ã æ°ããé»åããã€ã¹ã®ã¢ã€ãã¢ãæã£ãŠãããããã€ã¯ãã³ã³ãããŒã©ãäœã§ãããããããªã人ã®ããã«ã Arduinoãã©ãããã©ãŒã ã§ã®æ¥œããå®éšããç¬èªã®ããã€ã¹ã®èšèšã«è³ããŸã§ã®ç¬¬äžæ©ãèžã¿åºããã人ã¯ããã®äžã«ã·ã³ãã«ã§äŸ¿å©ãªãã³ããèŠã€ããããšãã§ããŸãã æè¡çãªè©³çŽ°ã«
èšäºã®èŠçŽïŒ
ãã€ã¯ãã³ã³ãããŒã©ãŒãäžçãåŸæããæ¹æ³
ARMã¢ãŒããã¯ãã£-ä»æ¥ã®ãã€ã¯ãã³ã³ãããŒã©ãŒåžå Žã®ãªãŒããŒ
åŒãšã®ç«¶äº
ã¢ã¹ãã¡ã«ãã®æ·èšãç¡ç ãšãã®çš®é¡ã®å©ç¹ã«ã€ããŠ
ããã«è£œé æè¡ãšãã€ã¯ãã³ã³ãããŒã©ã·ãªãŒãºã®ç»å Žã«ã€ããŠ
åé¡ã®æãã·ã³ãã«ãªARMãã€ã¯ãã³ã³ãããŒã©ãŒã®åšèŸº
è¿œå æ©èœãååŸããæãå®äŸ¡ãªæ¹æ³
ãŸããCortex-M4ãžã®ç§»è¡ã¯ãäŸ¡æ Œãæ°åã«å ããŠäœã«è¿œå ãããã®ã§ããããïŒ
Cortex-M7-å¿ èŠãªãšãã«...
ã³ãŒãä¿è·ãã¢ããã°ã¬ãŒãå¯èœæ§ãããã³å€æ§æ§ã¯ããã€ã¯ãã³ã³ãããŒã©ãŒãäžçãåŸæããã®ã«åœ¹ç«ã¡ãŸããã
ã¹ããŒãããã€ã¹ã«ã¯å¶åŸ¡ãå¿ èŠã§ãã ã»ãšãã©ã®å Žåããã€ã¯ãã³ã³ãããŒã©ã¯ä»æ¥ãããè¡ã£ãŠããŸãããã€ã¯ãããã»ããµã³ã¢ãã¡ã¢ãªãããã³ããã€ã¹ã®ä»ã®ã³ã³ããŒãã³ããšå€éšäžçãšã®éä¿¡ãæ åœããåšèŸºã¢ãžã¥ãŒã«ãçµã¿åããããããã§ãã
ãã€ã¯ãã³ã³ãããŒã©ãŒã¯ãããããååŒã®èŠã§ãã 1ã€ã®ãã€ã¯ãã³ã³ãããŒã©ãŒã¯ããã€ã¯ãããã»ããµãŒãèšç®æ©ã®åœ¹å²ãæããå Žåã«å¿ èŠãªæ©èœãå®è¡ããããã«å¿ èŠãªæ°åã®ç¹æ®ãªãã€ã¯ãåè·¯ã眮ãæããããšãã§ããŸãã
ãã€ã¯ãã³ã³ãããŒã©ã®çŽãããªãå©ç¹ã®1ã€ã¯ããã€ã¯ãã³ãŒãéçºè ãçµã¿èŸŒã¿ã®ã¡ã«ããºã ãã¢ã¯ãã£ãã«ããããšã§ãããåŠçããå Žåãå®è¡ããããã°ã©ã ãæ¬äœïŒãããã°ã©ã ã¡ã¢ãªããšåŒã°ããã»ã¯ã·ã§ã³ïŒã«é ããããããã³ã°ããéåžžã«ããä¿è·ãããããšã§ããä¿è·ã ãããã£ãŠãä»æ¥ãå¯èœãªéãç¥ç財ç£ã®ä¿è·ãåŸãããšãã§ããŸãã
ãããã³ã°ã§ããªããã®ã¯ã³ããŒã§ããŸãã ããã°ã©ã ã®ãã€ã¯ãã³ã³ãããŒã©ã«åã蟌ãŸããã³ãŒãããé«äŸ¡ã§ç¬åµçãªããã€ã¹ã䜿çšããŠèªã¿çŽãããšããã®ã¯ããããåã³æžãããšãã§ããå°é家ãèŠã€ããã®ãããç°¡åã§å®äŸ¡ãªã®ã§ããïŒ ããããçµæã¯ããã«è¯ããªããæ©èœã¯ãããã¿ã€ãã®æ©èœãããè±ãã«ãªãã§ãããã ã¯ããããã¯ãéãããããŸãããä»æ¥ã®ãã€ã¯ãã³ã³ãããŒã©ã®ãã©ãã·ã¥ã¡ã¢ãªã®å 容ã¯éåžžã«ããä¿è·ãããŠããã®ã§ãããããã³ã°ãã倱瀌ã«ããããšãããšããã«ã³ã¹ããããããŸãã ããã«ãç¥ç財ç£ã®åé¡ã¯è§£æ±ºãããŠãããããã°ã©ã ã®ãœãŒã¹ã³ãŒããšå ±ã«ãããã€ã¹ãéçºããã³æ¹åããæ©äŒãåŸãããŸãã
ææ°ã®ãŠãããŒãµã«ãã€ã¯ãã³ã³ãããŒã©ãŒã®ããã°ã©ã ã®ã¡ã¢ãªã¯æžãæãå¯èœã§ãããæžãæãããã»ã¹ã¯1äžå以äžç¹°ãè¿ãããšãã§ããŸãã ãœãããŠã§ã¢ã§æ€åºããããšã©ãŒãæé€ããããããŸãã¯ãã§ã«åäœããŠããããã€ã¹ã®æ©èœãæ¡åŒµããããã«ããœãããŠã§ã¢ãæŽæ°ããããã«ãã®äºå®ã®äœ¿çšãé Œã¿ãŸãã ããã¯éåžžã«ç°¡åã«å®è£ ã§ããŸãããããŒãããŒããŒããšåŒã°ããã³ãŒãã®ç¹å¥ãªã»ã¯ã·ã§ã³ãããã°ã©ã ã«è¿œå ããããšã§ãããŸããŸãªæ¹æ³ã§ããã€ã¹ã®ãœãããŠã§ã¢ãæŽæ°ã§ããŸãããµãŒãã¹ãã€ã³ãïŒããã€ã¹ã®ã±ãŒã¹å ã«ç¹å¥ãªã³ãã¯ã¿ãé ããŠããå ŽåïŒã USBããããã¯ãŒã¯ãããã«ã¯ç¡ç·ã€ã³ã¿ãŒãã§ãŒã¹ãä»ããã³ã³ãã¥ãŒã¿ãŒã äž»ãªããšã¯ãããã€ã¹ã«å¿ èŠãªåšèŸºæ©åšãæäŸããããšã§ãã ãœãããŠã§ã¢ãæŽæ°ããæ©èœãæäŸããå Žåããã®ããã»ã¹ãååã«ä¿è·ãããŠããªãå Žåãæ»æè ãã³ãŒããçãã ãã§ãªããã³ãŒããå€æŽããŠç¬èªã®ç®çã«äœ¿çšããå¯èœæ§ããããããã»ãã¥ãªãã£ã«ã€ããŠåžžã«èæ ®ããå¿ èŠããããŸãã ããšãã°ããã¹ããŒãããŒã ãã管çããããèªå® ã«èšçœ®ãããWEBã«ã¡ã©ã䜿çšããŠã¹ãã€ãããããŸãã
ARMã¢ãŒããã¯ãã£-ä»æ¥ã®ãã€ã¯ãã³ã³ãããŒã©ãŒåžå Žã®ãªãŒããŒ
ãã³ã°ããŒã¹ã®æ代以æ¥ããã€ã¯ãã³ã³ãããŒã©ãŒã¯éåžžãæäœãå®è¡ããããŒã¿ã®å®¹éã«åŸã£ãŠåå²ãããŸãã ã»ãšãã©ã®å Žåãä»æ¥ã®æ°ããéçºã§ã¯ãARMã³ã¢ãåãã32ããããã€ã¯ãã³ã³ãããŒã©ãŒãéžæãã䟡å€ããããŸãã èšå€§ãªæ°ã®å€æŽããããåé¡ã®è§£æ±ºã«æé©ãªã€ã³ã¹ã¿ã³ã¹ããã€ã§ãéžæã§ããŸãã æ©èœãšããã©ãŒãã³ã¹ã®ã»ããã«å¿ããŠããããã®äŸ¡æ Œã¯æ°åã»ã³ãââããæ°åãã«ã®ç¯å²ã«ãªããŸãã
ãã€ã¯ãã³ã³ãããŒã©ïŒMCUïŒã¯ãã³ã³ãã¥ãŒãã£ã³ã°ã³ã¢ã®ã¢ãŒããã¯ãã£ã«å¿ããŠãéåžžã倧èŠæš¡ãªãã¡ããªã«åå²ãããŸãã ä»æ¥ãäžå°èŠæš¡ã®ããã€ã¹ã®éçºåãã«ãCortex-M0ããCortex-M7ãŸã§ã®ã³ã¢ãåããæã人æ°ã®ãããã€ã¯ãã³ã³ãããŒã©ãéçºãããŸããã æ°å€ã倧ããã»ã©ãã³ã³ãã¥ãŒãã£ã³ã°ïŒããã³ããã ãã§ã¯ãªãïŒæ©èœãäŸ¡æ Œãããã³æ倧æ¶è²»é»åã倧ãããªããŸãã ã¢ãŒããã¯ãã£ã®ç¶æ¿ã¯ãARMã®äººæ°ã«ãããŠéèŠãªåœ¹å²ãæãããŸããã éçºè ã¯ã以åã®éçºã®ããã°ã©ã ã³ãŒããæå°éã®ã³ã¹ãã§å€æŽã§ããããã¡ãŒã«ãŒã®ãã€ã¯ãã³ã³ãããŒã©ãŒããå¥ã®ã¡ãŒã«ãŒã®ãããã«ç§»è¡ããç°ãªãããã©ãŒãã³ã¹ã®ã³ã¢éã移è¡ã§ããŸãã
åŒãšã®ç«¶äº
ãã ããARMã¯ãæ瞊ãããŸããã§ããã 8ããããã€ã¯ãã³ã³ãããŒã©ãŒã絶察çãªããŒã±ãããªãŒããŒã§ãããå é äžãã16ãããã®ååãããããããŸãããã·ã¥ããããšããªãã£ãæ代ãããèŠããŠããŸãããç®èãªããšã«ã32ãããã®å ã ãããããè¡ãããšãã§ããŸããã ããã補é æè¡ãç»å Žããé ã«ã¯ã倧éã®ãã©ãã·ã¥ã¡ã¢ãªããããã«çµã¿èŸŒãã³ã¹ããå€§å¹ ã«åæžãããŠããŸããã æ©äŒããšã£ãŠãããã°ã©ããŒã¯ã¢ã»ã³ãã©ãŒããããé«ãã¬ãã«ã®èšèªã§ããCã«åãæ¿ãå§ããŸãããCã¯32ãããã¢ãŒããã¯ãã£ã«å®å šã«æºæ ããæ§é ã§ãã ãã®çµæã32ããããã€ã¯ãã³ã³ãããŒã©ãŒã¯ã8ãããããã³16ãããã®ååãããã¯ããã«é«éã«èšç®ãå®è¡ããŸãããã1ã€ã®åé¡ããããŸãã-æ¶è²»é»æµãé«ããªããŸããã
ãããã£ãŠãæåã¯ã倧ããªèšç®ããã©ãŒãã³ã¹ãå¿ èŠãªå Žåã«äœ¿çšãããŠããŸããã
ãã€ã¯ãã³ã³ãããŒã©ã®ã³ã³ãã¥ãŒãã£ã³ã°ã³ã¢ã®å¹³åæ¶è²»é»æµã¯ãã¯ããã¯åšæ³¢æ°ã®å¢å ãšãšãã«å€§å¹ ã«å¢å ããããšãç¥ãããŠããŸãã åœåããã€ã¯ãã³ã³ãããŒã©ãŒã®8ãããã¢ãã«ã¯ãåãåšæ³¢æ°ã§ã®æ¶è²»ãèããäœããããã«ãæ倧32 kHzã®äœãã¯ããã¯åšæ³¢æ°ã§åäœããããšãã§ããŸããã
ãã€ã¯ãã³ã³ãããŒã©ãŒã®æ¶è²»é»åã¯ãã³ã¢ãšåšèŸºæ©åšã®ã¯ããã¯åšæ³¢æ°ã«åŒ·ãäŸåãã調æŽããããã«ãç¡ç·éä¿¡ããã€ã¹ã§åºã䜿çšãããŠããPLLããŒã¹ã®ã¯ããã¯åšæ³¢æ°çæãŠãããã䜿çšãå§ããŸããã ããã«ããããã¹ã¿ãŒæ°Žæ¶æ¯ååãå€æŽããããšãªããã¯ããã¯åšæ³¢æ°ãå€§å¹ ã«å€æŽã§ããŸããã åšèŸºã¢ãžã¥ãŒã«ã¯ãã³ã³ãã¥ãŒãã£ã³ã°ã³ã¢ãšåãã¯ããã¯åšæ³¢æ°ã§ããå¿ èŠã¯ãããŸããã ãšãã«ã®ãŒæ¶è²»ãåæžããããã«ãããã°ã©ã å¶åŸ¡ã®ååšæ¯ãæã€ååšåšãä»ããŠåšæ³¢æ°ãäŸçµŠããå§ããŸããã æªäœ¿çšã®ã¢ãžã¥ãŒã«ãç¡å¹ã«ããæ©èœãå°å ¥ãããŸããã ãããã®å¯Ÿçã«ããæ¶è²»é»åã¯å€§å¹ ã«åæžãããŸããããããã§ã8ãããã®æ¶è²»é»åãå€§å¹ ã«äžåããŸããã
çæéãããªãã£ãéçºãããŸããã32ãããMCUã¯ããããšã³ãã¢ããªã±ãŒã·ã§ã³ã®ããããç²åŸãã8ãããMCUã¯äœæ¶è²»é»åãéèŠãªããã€ã¹ã§èªä¿¡ãæã£ãŠäœçœ®ãä¿æããŸããã 32ãããMCUãããã«ã¹ãã¢ãŒãã®åäœãå®å šã«ãã¹ã¿ãŒãããŸã§æç¶ããŸããã
ãããŸã§ã«ã8ãããã¯ãããè¡ãæ¹æ³ãåŠç¿ããŸããããããã©ãŒãã³ã¹ãäœããããç®ãèŠãŸãç¶ããå¿ èŠãããããã®çµæãäžã®å³ã«ç€ºãããã«ãç¹ã«èšç®ãå¿ èŠãšããã¿ã¹ã¯ã§ãšãã«ã®ãŒæ¶è²»ã倱ãå§ããŸããã
ã¢ã¹ãã¡ã«ãã®æ·èšãç¡ç ãšãã®çš®é¡ã®å©ç¹ã«ã€ããŠ
ãã®ããããã€ã¯ãã³ã³ãããŒã©ã¯éåžžã«ããä¿¡ããããšãåŠã³ãéåžžã«è¿ éã«äœæ¥ãéå§ããã»ãšãã©ã®å Žåããéãšwãæã€ãããšãäœåãªããããã¢ã€ãã«ãµã€ã¯ã«ãå®è¡ããããã«ãšãã«ã®ãŒãæ¶è²»ããŸããã èªå·±çµŠé»ããã€ã¹ã§ã¯ãããã«ããã1åã®å é»ã§ããããªå¯¿åœãŸãã¯ããããªå¯¿åœãå€§å¹ ã«ççž®ãããŸãã
ã¢ã¹ãã¡ã«ããæ·èšãã建èšäœæ¥å¡ãèŠãŠãã ããã ãã©ãã¯ãã¢ã¹ãã¡ã«ãã®æ°ããéšåãšãšãã«å°çãããšãã圌ãã¯ä»äºãæ¥æ¿ã«åŒ·åããæ·èšåŸã¯é床ãäœäžããŸãã ãããã£ãŠããã€ã¯ãã³ã³ãããŒã©ãŒã¯ã³ã¢ã¯ããã¯åšæ³¢æ°ãå¢æžã§ããŸãã ããããããã¯åŽåè ã»ã©ç°¡åã§ã¯ãããŸãã-åæã«ãå åšå šäœã®äœæ¥é »åºŠãå€åãããããç¹çŽ°ãªéšåãåæ§æããå¿ èŠããããŸãã
ç¡ç ããšãã®ã¯ç°¡åã§ããã¹ãŠã®äœæ¥ãè¿ éã«å®äºã§ããã®ã§ã¯ãªãã§ããããã å€ãã®å Žåãã¯ãã ããã«ããã€ã¯ãã³ã³ãããŒã©ãŒã®ç¡ç ã®ã¿ã€ãã¯ã人éãããããã«åçã«ç°ãªããŸãã
ããªãã¯ãã æŒå¯ãããããšãã§ããŸãã ãã®å Žåããããã¯åžžã«æºåãã§ããŠãããã¿ã€ããŒã¢ã©ãŒã ã鳎ãããŸãã¯å€éšå²ã蟌ã¿ã«ãã£ãŠåŠšå®³ããããšããã«ãã»ãŒç¬æã«èµ·åããŸãã æŒå¯äžã®äººã¯ã¹ãã¬ã¹ãåãããããšãã§ããŸããã絶ããåŒã£åŒµãããŠãããšååãªç¡ç ãåããªãããããã€ã¯ãã³ã³ãããŒã©ãŒã¯ãã®ã¢ãŒãã§ã®é»åæ¶è²»ã10åããšã«ãã®ã¿ãæžããããšãã§ããŸãããã®ã¢ãŒãã¯SLEEPãšåŒã°ããŸãã
ããç ãæåã®æ¹æ³ã¯ãæãè±ããå¯ãŠãçªã®ã«ãŒãã³ãéããŠãã¢ã©ãŒã ããªã³ã«ããããšã§ãã ãããããã®ãããªå€¢ã®åŸãããªãã¯ããã«ä»äºã«å·»ã蟌ãŸããããšã¯ãããŸããã å°ãªããšãå·ããæ°Žã§æŽãæµããæãçãå¿ èŠããããŸãã ãã€ã¯ãã³ã³ãããŒã©ãŒã¯ãå€éšåºæ¿ã®æ°ãå¶éããã¡ã€ã³ã¯ããã¯ãžã§ãã¬ãŒã¿ãŒããªãã«ãããšãã«ããã®ã¢ãŒããåããŠããŸãã ãããåæ¢ã¢ãŒãã§ãã æ¶è²»éã1000åæžããããšãã§ããŸãããããããæãåºãã«ã¯ããªãã®æéãããããŸãã
ããŠãå°±å¯åã«ãããªãã®éã®ç¡ç è¬ã飲ã¿ãã¢ã©ãŒã ãšé»è©±ãåãããã¹ãŠã®çªãšãã¢ãéãããšæ³åããŠãã ããã ããã¯ã¹ã¿ã³ãã€ã¢ãŒãã«ãªããŸãã ãã€ã¯ãã³ã³ãããŒã©ãŒã¯ãç¹å¥ãªçµè«ã®å©ããåããŠã®ã¿ãã®ã¢ãŒãããåé€ã§ãããã®ãããªå€¢ã®åã«åœŒãããããšã®ã»ãšãã©ã®èšæ¶ã¯æ°žä¹ ã«å€±ãããããªãã¯åã³ä»äºãå§ããªããã°ãªããŸããã ãããããã®ã¢ãŒãã§ã¯ãMCUã¯ããã«ååãæ¶è²»ããŸãã
åŸè ã¯éåžžã«ãšããŸããã¯ãªã¢ãŒãã§ããã§ã«èª°ããæãåºãããŸããç¹å¥ãªæ©åšãªãã§ã¯æ®ããŸããã
çé»åã¢ãŒããéžæãããšãã¯ãã¢ããªã±ãŒã·ã§ã³ã®çµæãèŠããŠããå¿ èŠããããŸã ã
- 倢ãæ·±ããã°æ·±ãã»ã©ãç®èŠãã¯é·ããªããŸã
- 倢ãæ·±ããã°æ·±ãã»ã©ããã€ã¯ãã³ã³ãããŒã©ãŒã掻çšããæ¹æ³ãå°ãªããªããŸã
- ã¹ãªãŒããæ·±ãã»ã©ããã€ã¯ãã³ã³ãããŒã©ã®ä»¥åã®ç¶æ ã«é¢ããæ å ±ãå°ãªããªããŸã
- 宣èšãããæå°å€ãéæããã«ã¯ãå€ãã®ã¢ãŒãã§è¿œå ã®å¯Ÿçãè¬ããå¿ èŠããããŸããããšãã°ãåšèŸºæ©åšã®åæ
- ããã€ã¹å šäœã®æ¶è²»é»åãæå°éã«æããã«ã¯ãããã€ã¹å šäœã®åè·¯ãæ£ããèšèšããå¿ èŠããããŸã
- ããã€ã¹å
šäœã®é»åæ¶è²»ãæå°éã«æããã«ã¯ãä»ã®ã³ã³ããŒãã³ããšåè·¯ãéã¢ã¯ãã£ãã¢ãŒãã§ãã€ã¯ããã¯ãŒãåããŠããããšã確èªããå¿
èŠããããŸãã ãã€ã¯ãã³ã³ãããŒã©ãŒã®æ¶è²»ã1ãã€ã¯ãã¢ã³ãã¢æªæºã«æããåæã«ããã€ã¹ã§100ãã€ã¯ãã¢ã³ãã¢ã®èªå·±æ¶è²»é»æµãæã€å®äŸ¡ãªå®å®åšã䜿çšããããã«å€å€§ãªåªåãããã®ã¯æã
ã§ãããããã¯éåžžã«äžè¬çã§ã - ãã£ãŒãã¹ãªãŒãã¢ãŒããæ£åžžã«äœ¿çšããã«ã¯ãããã°ã©ã ã ãã§ãªãåè·¯ãæ éã«æ€èšããå¿ èŠããããŸããããããªããšãä¿åãã代ããã«éåžžã«æ·±å»ãªåé¡ãçºçããå¯èœæ§ããããŸã-ãŸãã«çºçããŸããããããããããã€ã¹ãäžå¯è§£ãªçç±ã§ããªãŒãºããããŸãã¯é »ç¹ã«èµ·åãããªã©çµæãšããŠãæ¶è²»éã¯äºæ³ãããæ¡éãã«é«ã
åè·¯ãšã³ãžãã¢ãæã€ããã°ã©ããŒã湟æ²ãåããŠéé£ãããã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒã¿ã·ãŒãã«éçŸå®çãªæ°åãå ¬éããŠããã¡ãŒã«ãŒãšäžç·ã«ãããã€ã¹ãããããªãŒãäºæ³ãããäžæ¡éãå ¥ããŠããå Žåãããã¯å°ãªããšãç¬ç«ã«åããçç±ã§ãé«åºŠãªè³æ Œãæã€å°é家ã
ããã«è£œé æè¡ãšãã€ã¯ãã³ã³ãããŒã©ã·ãªãŒãºã®ç»å Žã«ã€ããŠ
ãã€ã¯ãã³ã³ãããŒã©ã®ç©ççã«ã¢ã¯ãã£ããªéšåãããã³ä»ã®å€§éšåã®ãã€ã¯ãåè·¯ã¯ãéåžžãã¢ãã·ãªã³ã³ãŠãšããŒäžã«åœ¢æãããŸãïŒãã®ã³ã³ããã¹ãã§ã¯ãããããšåŒã³ãŸãããïŒã ãããã¯éåžžã«å°ããªé¢ç©ãå æããŸããã倧å£åŸã®ãã¬ãŒãã補é ããããšã¯æè¡çã«æçã§ãããããéåžžã1ã€ã®æè¡çããã»ã¹ã®éçšã§ãããã«ã ãªã©ã®å€æ°ã®ãããã1ã€ã®å€§ããªãã¬ãŒãã«é 眮ãããŠåœ¢æãããŸãã ç¶ããŠããã¬ãŒãã¯åã ã®ããããåãåããã±ãŒã¹ã«é 眮ãããæçã«ã«ãããããŸãã ããããžã®éçºãšæ°ãããããã®æè¡ããã»ã¹ã®ãããã°ã¯éåžžã«é«äŸ¡ã§ããããã¬ãŒãäžã®åäžã®ããããå ããã¹ããŒã¹ã¯é垞倧ãããããŸããã ã¡ãŒã«ãŒã倧ããªãããã§ããããçç£ããããšã¯æçã§ããããŠãŒã¶ãŒã¯ããŸããŸãªå Žåã«ãã€ã¯ãã³ã³ãããŒã©ãŒãå¿ èŠãšããŸã-誰ããå°ãããŠå®äŸ¡ãªã±ãŒã¹ãæã«å ¥ããããšãéèŠã§ãããä»æ¹ã§ã¯ãLCDãŸãã¯å€éšã¡ã¢ãªããã©ã¬ã«ã€ã³ã¿ãŒãã§ãŒã¹ã§ç®¡çããã«ã¯ããå€ãã®çµè«ãå¿ èŠã§ãã 補é æ¥è ããã¹ãŠã®ããããã«ããŒããããšã¯ã顧客ãèªåã«æé©ãªã¢ãã«ãèŠã€ããã«ç«¶åä»ç€Ÿã«è¿œãä»ããªãããã«ãããšæçã§ãã
å€ãã®å Žåã1ã€ã®ãŠãããŒãµã«ãããã1ã€ã®å€§èŠæš¡ãªãããã§ãªãªãŒã¹ããããŸããŸãªã±ãŒã¹ã«é 眮ããæ¹ããæ°åçš®é¡ã®ããããçºå£²ãããããæçã§ãã ãã³ã®æ°ãå°ãªãã±ãŒã¹ã«é 眮ããããããã®å Žåãäžéšã®ããŒãïŒãã®ã³ã³ããã¹ãã§ã¯ãããŒããšã¯ãå€éšãšã®éä¿¡ã«åœ¹ç«ã€ãããã®è¡šé¢äžã®ã³ã³ã¿ã¯ãããããæå³ããŸãïŒã¯ãåã«æªæ¥ç¶ã®ãŸãŸã§ãã å€ãã®å Žåãã¡ãŒã«ãŒã¯ããã«è¶³ãèžã¿å ¥ããŸã-å€æ°ã®èãæã€ãã€ã¯ãã³ã³ãããŒã©ãŒã®éèŠãšäŸ¡æ Œãäžããããã«ãããå°ãªãèãæã€ãã€ã¯ãã³ã³ãããŒã©ãŒã®æ©èœã人çºçã«é®æããŸã-äžéšã®æ©èœãç¡å¹ã«ãã䜿çšå¯èœãªã¡ã¢ãªéãå¶éããŸãã
ãããã£ãŠã1ã€ã®ãããã«åºã¥ããŠãã¡ã¢ãªãµã€ãºãšåšèŸºã¢ãžã¥ãŒã«ã®ã»ãããå€§å¹ ã«ç°ãªãäžé£ã®ãã€ã¯ãã³ã³ãããŒã©ãŒã圢æããŸãã åæã«ããããã«ã€ã³ã¹ããŒã«ãããŠãããããã¯ãåããã¬ãŒãããåæããããšãã§ããŸãã 1ã€ã®ããããé 眮ãããé åã¯å°ãããããæçµè£œåã®ã³ã¹ããžã®å¯äžãå°ãããç ç²ã«ããããšãã§ããŸãã ããšãã°ããã¹ã段éã§ãäžåºŠããã°ã©ã å¯èœãªæ§æãããã®å©ããåããŠããŸãã¯ã¬ãŒã¶ãŒã§ãžã£ã³ããŒãçŒãä»ããããšã«ãããè¿œå ã®ã¡ã¢ãªããã³ä»ã®æ©èœãç¡å¹ã«ããããšãæçã«ãªããŸãã ã»ãšãã©ã®å€§è¡è£œåã«å¯ŸããŠã®ã¿ããã®ããã«ãããã«å€æŽãããåçãã³ãã¬ãŒããäœæããããšãçã«ããªã£ãŠããŸãã ããã«ãæªäœ¿çšã®ã¡ã¢ãªãç©ççã«ååšããå¿ èŠã¯ãããŸããããããããã³ãã¬ãŒãã®ãžã£ã³ããåé€ããããšã§ç°¡åã«ãªãã«ã§ããŸãã
ãããã£ãŠã1ã€ã®æšæºãããèšèšãããäžé£ã®ãã€ã¯ãåè·¯å šäœã圢æãããŸãã
åé¡ã®æãã·ã³ãã«ãªARMãã€ã¯ãã³ã³ãããŒã©ãŒã®åšèŸº
ããã»ããµã³ã¢ã¯è³ã§ããããç空äžã®çç¶ã®éŠ¬ãã®ããã§ã¯ãªããããæèŠãšæ足ã®ã¢ããã°ãå¿ èŠã§ãã
ãã€ã¯ãã³ã³ãããŒã©ã§ã¯ããããã®åœ¹å²ã¯ã±ãŒã¹ã«é¢ããçµè«ã«ãã£ãŠæãããããããã®ããŒãïŒã³ã³ã¿ã¯ããããïŒãã±ãŒã¹å ã§æ¥ç¶ã§ããŸãã 次ã«ãå éšã¹ã€ãããä»ããŠãããŸããŸãªåšèŸºã¢ãžã¥ãŒã«ãåãããŒãã«æ¥ç¶ã§ããŸãã
ãŸããCortex-M0ã³ã¢ã«åºã¥ããSTã®æãåçŽãªã·ãªãŒãºã®1ã€ã§ããstm32F03ã®åšèŸºãæ€èšããŸãã
ãã®ã·ãªãŒãºã«ã¯ã次ã®äžé£ã®åºæ¬æ©èœããããŸãã
ãªã¢ã«ã¿ã€ã ã¯ããã¯ïŒReal Time ClockãŸãã¯RTCïŒ ãå¥åã®åºåããé»åãäŸçµŠãããå¥åã®äœåšæ³¢å ±æ¯åšã§åäœããŸãã ãã®ã¢ãžã¥ãŒã«ã¯éåžžã«å°ãªããšãã«ã®ãŒãæ¶è²»ããŸããåé»ã®å Žåãå é»ãããã³ã³ãã³ãµã§æ°æéããŸãã¯ããã€ã¹ã«å èµãããå°ããªããããªãŒã§äœå¹ŽãåäœããŸãã ããã«ãããã¯ç®èŠãŸãæèšãšããŠãæ©èœãããã€ã¯ãã³ã³ãããŒã©ãæå®ã®æéã«æãæ·±ãç¡ç ç¶æ ããã解æŸããŸãã
WatchDogã¯ãããšãã°ãç¡éã®ãµã€ã¯ã«ã«é¥ã£ãããååšããªãã¢ãã¬ã¹ã«ç§»åããããããªã©ããã€ã¯ãã³ã³ãããŒã©ãæ°žä¹ ã«ã¹ãªãŒãç¶æ ã«ãªãã®ãé²ãçªç¬ã§ãã ãã®åäœåçã¯ç°¡åã§ãã ããã°ã©ããŒã¯ãäžå®æéãããšãã°1ç§éãåçµé²æ¢ä¿è·ã¿ã€ããŒãèšå®ãããããéå§ããŸãã 次ã«ã圌ã¯ãèªåãéžãã ããã°ã©ã ã®å Žæã«ãã¿ã€ããŒããŒãããåèµ·åããçãã³ãŒãã»ã¯ã·ã§ã³ãé 眮ããŸãã ã¿ã€ããŒã1åããªã»ãããããªãã£ãå ŽåãWatchDogã¯ããã°ã©ã ã«äœãåé¡ããããšå€æãããã€ã¯ãã³ã³ãããŒã©ãŒãåèµ·åããã®ã«é©ããŠããŸãã ããã°ã©ã ã¯æåããåäœãéå§ããWatchDogãªã»ããã®ã€ãã·ãšãŒã¿ãŒããã£ããã©ãããå€æããèµ·åæã«ãã®äºå®ãèæ ®ããããšãã§ããŸãã
æ±çšå ¥åºåGPIOã¯ãã»ãšãã©ã®ãã€ã¯ãã³ã³ãããŒã©ãŒãã³ããµããŒãããæãäžè¬çãªæ©èœã§ãã å ¥åãŸãã¯åºåãšããŠèšå®ã§ããŸãã
å ¥åãšããŠæ©èœããããšãæ€èšããŠãã ããã ãã€ã¯ãã³ã³ãããŒã©ãŒã®å ¥åã®é»å§ãç¹å®ã®ãããå€ïŒéåžžã¯é»æºã®ååã«è¿ãïŒããå°ããå Žåãããžãã¯0ãšããŠèªèãããŸãããã以å€ã®å Žåã¯1ãšããŠãããžã¿ã«å ¥åã¯éåžžéåžžã«é«ãå ¥åæµæãæã£ãŠãããããæ¥ç¶ãããŠããªãå Žåããã®ç¶æ ã¯é»ç£çã®åœ±é¿äžã§ããŒããã1ã«ãžã£ã³ãããŠæ»ããŸãã ãããé²æ¢ããããã«ããããå ã®å ¥åã20-50 KOhmã®æµæãä»ããŠãã€ã¯ãã³ã³ãããŒã©ãŒã®ãã©ã¹é»åïŒãã«ã¢ããïŒãŸãã¯ãã€ãã¹ïŒãã«ããŠã³ïŒã§æ¥ç¶ãããŠããå Žåãç¹å¥ãªã¢ãŒãããããŸãã
åºåãããžã¿ã«åºåã§æ§æãããŠããå Žåããã€ã¯ãã³ã³ãããŒã©ã®é»æºé»å§ã«çããé«ã¬ãã«ãŸãã¯äœã«ããã°ã©ã ã§å€æã§ããŸãã ãã£ãšããªãããŒãªã¢ãŒãããããŸãããé床ã®è©³çŽ°ã«ã¯è§ŠããŸããã
åå¿è
éçºè
åãã®ãã³ã
ãã€ã¯ãã³ã³ãããŒã©ãŒã®çµè«ã¯ããã¹ãŠã®ãã¬ãŒãã®ãžã£ãã¯ã§ãããããããç¡å¹ã«ããªãããã«ãåçŽãªã«ãŒã«ã«åŸãå¿
èŠããããŸãã ãããã¡ãŒã«ãŒã¯ãã¹ãŠã®äºé²æªçœ®ãè¬ããŠããŸãããéé»æ°ãéé»å§ãæããŠãããããããŒããè¶
ããã³ãã¯ã¿ã«çŽæ¥æ¥ç¶ããªãã§ãã ããã ãã®å Žåã察çãè¬ããå¿
èŠããããŸã-ç¹å¥ãªçµ±åä¿è·ã³ã³ããŒãã³ãã䜿çšããããåè·¯å
ã«ãµãã¬ããµãŒããã§ããŒãã€ãªãŒãããŸãã¯ä¿è·ãã€ãªãŒããæäŸããããã«ç«¯ååºåãšããŒãéã®ã®ã£ããã«é»æµå¶éæµæãèšçœ®ããŸãã
äžã®å³ã¯ããã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒãã®æãåçŽãªä¿è·ã®èŠçŽ ãåãããããã€ã¹ïŒè¡æã¢ãã ïŒçšã«ç§ãèšèšããåè·¯ã®äžéšã瀺ããŠããŸãã X4-å€éšéä¿¡çšã®ã³ãã¯ã¿ãŒã ãããã¯ãã¿ã³ãæ¥ç¶ãããŠããé£çµ¡å 5ã7ã«é¢å¿ããããŸãã ã¢ã©ãŒã ã¯å°çµ¡ã§ãããããéåžžã®ç¶æ ã§ã¯ããã€ã¯ãã³ã³ãããŒã©ãŒã®é»æºé»å§ãããŒãã«ååšããå¿ èŠããããŸããããã¯ãæµæå€R24ãR26ã«ãã£ãŠæäŸãããå ¬ç§°å€ã¯1 KOhmã§ãã VD4-VD6ãµãã¬ããµãŒã¯é»å§ã5ãã«ãã«å¶éããŸããããã¯èš±å®¹ç¯å²ã§ããããã¯ã䜿çšããŠãããã€ã¯ãã³ã³ãããŒã©ãŒã3.3ãã«ãã§é§åããŠããã«ããããããã5ãã«ãã«èããããŒããåããŠããããã§ãã 100ãªãŒã ã®æµæR29-R31ã
ãã®ãããªä¿è·ã«ããããã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒããå€éšéé»å§ããä¿è·ãããŸãã äžéšã®ãã€ã¯ãã³ã³ãããŒã©ã§ã¯ãåã ã®ããŒãã¯äŸçµŠé»å§ãè¶ ããé»å§ãæããŠããŸããã ãã®ãããå€ãã®STM32Fxxãã€ã¯ãã³ã³ãããŒã©ãŒã§ã¯ãããžã¿ã«ãšããŠæ§æãããŠããã»ãšãã©ãã¹ãŠã®ããŒãã 5ãã«ãã®åè·¯ã§åäœããŸãããããšãã°ADCå
¥åãšããŠã¢ããã°ã¢ãŒãã§åäœããå Žåããã®æ©èœã倱ããåè·¯ãèšèšããéã«ãããèæ
®ããå¿
èŠããããŸãã
å®å šäžã®æ³šæäºé ãå®ã£ãŠãã ããã ãã€ã¯ãã³ã³ãããŒã©ãŒã®ç©ºããŠãã空ããŠããããŒããå ¥åãšããŠèšå®ãããŸãŸã«ããªãã§ãã ãããç¹ã«æ·±ãã¹ãªãŒãç¶æ ã«ãªãããã€ã¹ã§ã¯ç¹ã«ããã§ããããã«ãããããã€ã¹ãEMCãã¹ãïŒé»ç£é©åæ§ïŒã«åæ Œããããã»ã¹ãå°ãªããšãèããè€éã«ãªããŸãã ããªãããããã«å ¥ãå£ãæ®ããå Žåããããæ¥å°ãŸãã¯é»æºã«ç絡ããããšããå§ãããŸãã ãŸãã¯ãããã°ã©ã ã§åºåãæ§æããŸãã
å¥ã®ã©ã€ãããã¯ããããŸãã å ¥åãšããŠæ®ããŠãå¥ã®åè·¯ã«ç絡ãããããšãã§ããŸãã ããã¯ãéåžžã«å¯ãªãã¬ãŒã¹ã®å Žåã«ãå°äœããã€ã¯ãã³ã³ãããŒã©ã«ãéããã®ã«åœ¹ç«ã¡ãŸããããã¯ã2å±€ããŒãã«ãšã£ãŠç¹ã«éèŠã§ãã
ãã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒããåºåãšããŠäœ¿çšããå ŽåãããŒã¿ã·ãŒãã§ç¢ºèªãã䟡å€ããããŸãã åã ã®ããŒãã¯ãæ éãæããã«ããŒãããååŸã§ããæ倧é»æµã«ç°ãªãå¶éãããå ŽåããããŸã-è² è·å®¹éã ããã«ããããèªäœã¯ãåèšã§ãã¹ãŠã®åºåã®æå€§è² è·å®¹éãè¶ ããŠã¯ãªããŸããã
æåŸã«èšåãããã®ã¯ã8ããããã€ã¯ãã³ã³ãããŒã©ãŒã®ããã«ãARMãã€ã¯ãã³ã³ãããŒã©ãŒã®åºåããŒããããã°ã©ã åœä»€ã«å³åº§ã«å¿çããªãããšã§ãã ãããã¯ãã¹ãä»ããŠå¶åŸ¡ããããã®é床ã¯å¯Ÿå¿ããããŒãã®ã¯ããã¯åšæ³¢æ°ã«äŸåããããã°ã©ã ã§å€æŽã§ããŸãã è¿ éãªåå¿ãå¿ èŠãªå Žåã¯ããã®åšæ³¢æ°ãå¢ããããã«æ³šæããŠãã ãããæ¶è²»é»åãæžããããšãããéèŠãªå Žåã¯ãäœéã¢ãŒããéžæããŠãã ããã
äžã®å³ã¯ããã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒãã®æãåçŽãªä¿è·ã®èŠçŽ ãåãããããã€ã¹ïŒè¡æã¢ãã ïŒçšã«ç§ãèšèšããåè·¯ã®äžéšã瀺ããŠããŸãã X4-å€éšéä¿¡çšã®ã³ãã¯ã¿ãŒã ãããã¯ãã¿ã³ãæ¥ç¶ãããŠããé£çµ¡å 5ã7ã«é¢å¿ããããŸãã ã¢ã©ãŒã ã¯å°çµ¡ã§ãããããéåžžã®ç¶æ ã§ã¯ããã€ã¯ãã³ã³ãããŒã©ãŒã®é»æºé»å§ãããŒãã«ååšããå¿ èŠããããŸããããã¯ãæµæå€R24ãR26ã«ãã£ãŠæäŸãããå ¬ç§°å€ã¯1 KOhmã§ãã VD4-VD6ãµãã¬ããµãŒã¯é»å§ã5ãã«ãã«å¶éããŸããããã¯èš±å®¹ç¯å²ã§ããããã¯ã䜿çšããŠãããã€ã¯ãã³ã³ãããŒã©ãŒã3.3ãã«ãã§é§åããŠããã«ããããããã5ãã«ãã«èããããŒããåããŠããããã§ãã 100ãªãŒã ã®æµæR29-R31ã
ãã®ãããªä¿è·ã«ããããã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒããå€éšéé»å§ããä¿è·ãããŸãã äžéšã®ãã€ã¯ãã³ã³ãããŒã©ã§ã¯ãåã ã®ããŒãã¯äŸçµŠé»å§ãè¶ ããé»å§ãæããŠããŸããã ãã®ãããå€ãã®STM32Fxxãã€ã¯ãã³ã³ãããŒã©ãŒã§ã¯ã
å®å šäžã®æ³šæäºé ãå®ã£ãŠãã ããã ãã€ã¯ãã³ã³ãããŒã©ãŒã®ç©ºããŠãã空ããŠããããŒããå ¥åãšããŠèšå®ãããŸãŸã«ããªãã§ãã ãããç¹ã«æ·±ãã¹ãªãŒãç¶æ ã«ãªãããã€ã¹ã§ã¯ç¹ã«ããã§ããããã«ãããããã€ã¹ãEMCãã¹ãïŒé»ç£é©åæ§ïŒã«åæ Œããããã»ã¹ãå°ãªããšãèããè€éã«ãªããŸãã ããªãããããã«å ¥ãå£ãæ®ããå Žåããããæ¥å°ãŸãã¯é»æºã«ç絡ããããšããå§ãããŸãã ãŸãã¯ãããã°ã©ã ã§åºåãæ§æããŸãã
å¥ã®ã©ã€ãããã¯ããããŸãã å ¥åãšããŠæ®ããŠãå¥ã®åè·¯ã«ç絡ãããããšãã§ããŸãã ããã¯ãéåžžã«å¯ãªãã¬ãŒã¹ã®å Žåã«ãå°äœããã€ã¯ãã³ã³ãããŒã©ã«ãéããã®ã«åœ¹ç«ã¡ãŸããããã¯ã2å±€ããŒãã«ãšã£ãŠç¹ã«éèŠã§ãã
ãã€ã¯ãã³ã³ãããŒã©ãŒã®ããŒããåºåãšããŠäœ¿çšããå ŽåãããŒã¿ã·ãŒãã§ç¢ºèªãã䟡å€ããããŸãã åã ã®ããŒãã¯ãæ éãæããã«ããŒãããååŸã§ããæ倧é»æµã«ç°ãªãå¶éãããå ŽåããããŸã-è² è·å®¹éã ããã«ããããèªäœã¯ãåèšã§ãã¹ãŠã®åºåã®æå€§è² è·å®¹éãè¶ ããŠã¯ãªããŸããã
æåŸã«èšåãããã®ã¯ã8ããããã€ã¯ãã³ã³ãããŒã©ãŒã®ããã«ãARMãã€ã¯ãã³ã³ãããŒã©ãŒã®åºåããŒããããã°ã©ã åœä»€ã«å³åº§ã«å¿çããªãããšã§ãã ãããã¯ãã¹ãä»ããŠå¶åŸ¡ããããã®é床ã¯å¯Ÿå¿ããããŒãã®ã¯ããã¯åšæ³¢æ°ã«äŸåããããã°ã©ã ã§å€æŽã§ããŸãã è¿ éãªåå¿ãå¿ èŠãªå Žåã¯ããã®åšæ³¢æ°ãå¢ããããã«æ³šæããŠãã ãããæ¶è²»é»åãæžããããšãããéèŠãªå Žåã¯ãäœéã¢ãŒããéžæããŠãã ããã
枩床ã»ã³ãµãŒãã€ã¯ãã³ã³ãããŒã©ãŒã«ã¯ç¬èªã®æž©åºŠã»ã³ãµãŒããããŸãããéåžžã«æ£ç¢ºã§ã¯ãããŸããããç¹å®ã®åææ¡ä»¶ã®äžã§ããã€ã¹å éšã®æž©åºŠã枬å®ããããã«äœ¿çšã§ããŸãã
åºæã®ã·ãªã¢ã«çªå·åãã€ã¯ãã³ã³ãããŒã©ãŒã«ã¯ãå·¥å Žã§å²ãåœãŠãããåºæã®åºæã®ã·ãªã¢ã«çªå·ããããŸãã 補åã®å€§éçç£ãæŽçããããã«äœ¿çšã§ããéåžžã«äŸ¿å©ãªæ©èœã
ããŒã¿äº€æçšã®ã€ã³ã¿ãŒãã§ã€ã¹ãã®ã·ãªãŒãºã®ããŸããŸãªãã€ã¯ãã³ã³ãããŒã©ãŒã«ã¯ãæãäžè¬çãªã€ã³ã¿ãŒãã§ã€ã¹ãããã€ããããä»ã®ããããå€éšãšã®éä¿¡ãå€§å¹ ã«ä¿é²ããŸãã
- USART-éåæã·ãªã¢ã«ããŒããã³ã³ãã¥ãŒã¿ãŒãšã®éä¿¡ã«ãã䜿çšããã
COMãŸãã¯RS232ãã¢ãã ããã®ä»ã®ããã€ã¹ãšåŒã°ããŸãã - SPI â , ,
- I2C â , . ,
ãããã®ã€ã³ã¿ãŒãã§ã€ã¹ã¯ãã¹ãŠãéåžžã®GPIOã䜿çšããŠããã°ã©ã ã§ç°¡åã«å®è£ ã§ããŸãããåäœãéåžžã«é ããªããå€ãã®ã³ã³ãã¥ãŒãã£ã³ã°ã³ã¢ãªãœãŒã¹ãæ¶è²»ããŸãããã詳现ã«èª¬æããå¿ èŠããã
ã¢ããã°ããžã¿ã«ã³ã³ããŒã¿ãŒADCãŸãã¯ADCã
ã¢ããã°ä¿¡å·ã®é»å§ã枬å®ã§ããéåžžã«äŸ¿å©ãªã¢ãžã¥ãŒã«ã圌ã¯åºæºä¿¡å·æºã®å€ã®äžéšã§ããããæšå®ããŸããç§ãã¡ã®å Žåãããã¯ãã€ã¯ãã³ã³ãããŒã©ã®ã¢ããã°ã¢ãžã¥ãŒã«ã®äŸçµŠé»å§ã§ãããããã¯ãããã®ã¡ã€ã³äŸçµŠé»å§ãšåããããããã«äœãããããšãã§ããŸãã ADCåäœã®çè«çãªç²ŸåºŠã¯ããã®å®¹éã«äŸåããŸããææ°ã®ãã€ã¯ãã³ã³ãããŒã©ãŒã§ã¯ãé次è¿äŒŒã®12ãããADCãæãé »ç¹ã«äœ¿çšãããŸããã10ã¯ããã»ã©é »ç¹ã§ã¯ãªãã16ã®ç¹æ®æ§ããããŸãã
3ãã«ãã§é§åããå Žåããã€ã¯ãã³ã³ãããŒã©ãŒã®12ãããADCã®å解èœã¯3/4096 = 0.00073ãã«ã-1ããªãã«ããããåªããŠããŸãã
ãããå®éã«ã¯ããã®çæ³ãéæããããšã¯å®¹æã§ã¯ãããŸããã
åå¿è
åãã®è©³çŽ°
å®éã«ã¯ããã¹ãŠãçŸãããšã¯ã»ã©é ãã枬å®ã®ç²ŸåºŠã¯å€ãã®çç±ã§äœäžããå¯èœæ§ããããŸãã以äžã«ãçµéšè±å¯ãªé»åæè¡è
ãªã誰ã§ãç¥ã£ãŠããåºæ¬çãªãã®ãšãADCã®æå°é»å§æºã®äžå®å®æ§ã«æ害ãªåœ±é¿ãæžããããã®ç°¡åã ãå¹æçãªæ¹æ³ããªã¹ãããŸãã
ADCã®ãã¯ãŒã®ã€ã³ãã«ã¹ãã€ãº
, , , , , .
. MEMS , . , , .
VBUT . : R5-10 , 10 0.1 , L1 L2 BLM18PG471SN1D .
. , ASIC, . â . , , . « ».
ADCã®ãã1ã€ã®éèŠãªæ©èœã§ãããã€ã¯ãã³ã³ãããŒã©ãŒã®ç¹æ§ã«ã€ããŠã¯èšåããŠããŸãããå®éããã®äžã®ADCã¢ãžã¥ãŒã«ã¯éåžž1ã€ãŸãã¯2ã€ã§ãããå€ãã®å ¥åãååšããå¯èœæ§ããããŸãã説æãããŠããã·ãªãŒãºãã¢ãžã¥ãŒã«1ãããã³å ¥åã¯æ倧16ãŸã§å¯èœã§ããéåžžã«ç°¡åã§ãå ¥åã¯ã¹ã€ãããä»ããŠæ¥ç¶ãããŸãã10åã®å ¥åããé»ââå§ã枬å®ããå Žåã¯ããµã€ã¯ã«ãç·šæããå¿ èŠããããŸããã¹ã€ããã10åã®å ¥åã®ããããã«é çªã«åãæ¿ããŠæž¬å®ãè¡ããŸããããã¯ã枬å®æéãèšç®ãããšãã«èæ ®ããå¿ èŠããããŸãããã®ã·ãªãŒãºã§ã¯ãADCã¯çè«çã«ã¯1ãã€ã¯ãç§ã§æž¬å®ãè¡ãããšãã§ããŸãã10åã®æž¬å®ã®ãã«ãµã€ã¯ã«ã«ã¯ãæ£ç¢ºã«10ãã€ã¯ãç§ä»¥äžãããããšãããããŸãã
- MCUã«é»åãäŸçµŠããããã«ãé©åãªãã©ã¡ãŒã¿ãæã€ç·åœ¢å®å®åšã䜿çšãã
- éåžžã«å®å®ããé»å§æºã䜿çšããŠãMCUã®ã¢ããã°éšåã«é»åãäŸçµŠããŸã
ADCã®ãã¯ãŒã®ã€ã³ãã«ã¹ãã€ãº
- â MCU XR7 100 , , â .
- , . NP0 , ,
- , , , ,
- ââ, â
, , , , , .
- , , ,
- ( ), . , , , . ,
. MEMS , . , , .
VBUT . : R5-10 , 10 0.1 , L1 L2 BLM18PG471SN1D .
. , ASIC, . â . , , . « ».
ADCã®ãã1ã€ã®éèŠãªæ©èœã§ãããã€ã¯ãã³ã³ãããŒã©ãŒã®ç¹æ§ã«ã€ããŠã¯èšåããŠããŸãããå®éããã®äžã®ADCã¢ãžã¥ãŒã«ã¯éåžž1ã€ãŸãã¯2ã€ã§ãããå€ãã®å ¥åãååšããå¯èœæ§ããããŸãã説æãããŠããã·ãªãŒãºãã¢ãžã¥ãŒã«1ãããã³å ¥åã¯æ倧16ãŸã§å¯èœã§ããéåžžã«ç°¡åã§ãå ¥åã¯ã¹ã€ãããä»ããŠæ¥ç¶ãããŸãã10åã®å ¥åããé»ââå§ã枬å®ããå Žåã¯ããµã€ã¯ã«ãç·šæããå¿ èŠããããŸããã¹ã€ããã10åã®å ¥åã®ããããã«é çªã«åãæ¿ããŠæž¬å®ãè¡ããŸããããã¯ã枬å®æéãèšç®ãããšãã«èæ ®ããå¿ èŠããããŸãããã®ã·ãªãŒãºã§ã¯ãADCã¯çè«çã«ã¯1ãã€ã¯ãç§ã§æž¬å®ãè¡ãããšãã§ããŸãã10åã®æž¬å®ã®ãã«ãµã€ã¯ã«ã«ã¯ãæ£ç¢ºã«10ãã€ã¯ãç§ä»¥äžãããããšãããããŸãã
DAPãŸãã¯DMAã¡ã¢ãªãžã®çŽæ¥ã¢ã¯ã»ã¹ã·ã¹ãã ãéèŠã§ãããã®ã¢ãžã¥ãŒã«ã䜿çšãããšãããŒã¿ãåšèŸºæ©åšããã¡ã¢ãªã«ããŸãã¯ãã®éã«éä¿¡ã§ããŸãã
ããšãã°ãããã䜿çšããŠãADCããã®ããŒã¿ãæ ŒçŽããããã®ã¡ã¢ãªãå²ãåœãŠããããã埪ç°ãããã¡ãäœæã§ããŸãã次ã«ãADCã¯å®æçã«ããŒã¿èªã¿åãã¢ãŒãã§èµ·åããŸãã DMAã¡ã«ããºã ã䜿çšãããšãèªã¿åãããŒã¿ã¯ãã«ãŒãã«ã®é¢äžãªãã§ããã€ãããšã«å°çšã®ãããã¡ãŒã«é 眮ãããŸãããããã¡ãå®å šã«äžæ¯ã«ãªããšãã«ãŒãã«ã¯ä¿¡å·ãåä¿¡ããŠââããã°ã©ã ã§åŠçãéå§ããDMAã·ã¹ãã ã¯æåããããŒãããã»ã¹ãéå§ããŸãã DMAã«ã¯è€æ°ã®ãã£ãã«ãããããããã®ã±ãŒã¹ã§ã¯ããããã¡ãŒããUSARTããŒã¿ãžã®èªååºåãå®è£ ããå¿ èŠã¯ãããŸããããã®çµæãADCããã«ãŒãã«ã䜿çšããã«åäœããUSARTã«èªã¿åãã転éããããã»ã¹ãåŸãããDMAæ§æã«é¢ããããã°ã©ããŒã®åçŽãªäœæ¥ã¯èŠäºã«å ±ãããŸããã
PWMãŸãã¯PWMãã«ã¹å¹ å€èª¿ã¢ãžã¥ãŒã«ããã®èšäºã®å¶éã®ããã詳现ã«ã¯è§ŠããŸããããLEDã®æããããšã³ãžã³é床ãã¹ãã¢ãªã³ã°ãã·ã³ãã€ã³ããªãžã§ã³ãDCã®èšèšãå¯èœã«ããéåžžã«äŸ¿å©ã§åºã䜿çšãããŠããæ©èœã§ããããšã«æ³šæããŠãã ãã-DCã³ã³ããŒã¿ãŒãããã«ã¯é³å£°åæã
30ã»ã³ããè¿œå ãããšäœãåŸãããŸããïŒ
Cortex-M0 +ã«åãæ¿ããŸããè¿œå æ©èœãååŸããæãå®äŸ¡ãªæ¹æ³
ãŸããææ°ã·ãªãŒãºã®ãã€ã¯ãã³ã³ãããŒã©ãŒã¯ãCortex-M0 +ãããå°ãææ°ã®ã³ã¢ã§ãã±ãŒã¹ãåºåã®ç¹ã§äžèšã®ã·ãªãŒãºã®ã¢ããã°ããã20ã50ã»ã³ãé«äŸ¡ãªè¿œå ã®ãã³ãæäŸããŠããŸããïŒ
ã·ãªãŒãºéã®éãã®è¡š
- æ倧ã¯ããã¯åšæ³¢æ°ã2åã«
- 2 1.7
- 12 - . , 1 ,
- â ,
- USB , . USB type3-C .
- 256ãããæå·å/埩å·åæé çšã®AESã¢ã¯ã»ã©ã¬ãŒã¿ãç»å Ž
- UARTã¯ãLINãããã³ã«ïŒèªåè»æ¥çã§åºã䜿çšãããŠããåçŽãªãããã¯ãŒã¯ïŒãIRDAïŒèµ€å€ç·LEDçµç±ã®ããŒã¿è»¢éãããã³ã«ããã¬ãã®ãªã¢ã³ã³ãèšæ¶ïŒãSIMcardã®ã¹ãªãŒãã¢ãŒããšããŒããŠã§ã¢ãµããŒãã§åäœããæ©äŒãåŸãŸãã...
- æ¡åŒµã¿ã€ããŒãšPWMã¢ãžã¥ãŒã«
- åäœæž©åºŠç¯å²ã®äžéã125床ã«äžæããŸãã
- é»æºã«åé¡ãçºçããå Žåã®åèµ·åã¢ãŒãã®æ¡åŒµã«ããä¿¡é Œæ§ã®åäž
- ãæ£çŽãªãããŒããŠã§ã¢ã©ã³ãã å€ãžã§ãã¬ãŒã¿ãŒãè¿œå -æå·åã®äŸ¿å©ãªæ©èœ
ããŠãå€ãã®ã¢ããªã±ãŒã·ã§ã³ã§ã¯ãäŸ¡æ Œã®ããããªè¿œå ãããèªäœã®ä»£äŸ¡ãæã£ãŠããŸããå€ãã¢ãã«ã·ãªãŒãºã®ããé«äŸ¡ãªãã€ã¯ãã³ã³ãããŒã©ãŒãžã®åãæ¿ããæåŠã§ããããã§ãã
Cortex-M4, ?
- 80
- ,
- 100
- USB HOST
- CAN . . 20 RS-485 .
- SDcard. â 50 ! SPI,
- . , , M4 M0+. MEMS SD
- HASH .
- ,
Cortex-M7-å¿ èŠãªãšãã«...
å§åçãªæ°ã®ãããžã§ã¯ãã§ã¯ãäžèšã®ã«ãŒãã«ã«ãã£ãŠæäŸãããå¯èœæ§ã¯ååã§ãããäŸå€ãçºçããŸããå人çã«ã¯ãããã¯ã»ãã®æ°åã§ããããæ¬åœã«æ£åœãªçç±ã§1åã ãã§ãã-ASICãã€ãŒãµãããã³ã³ãããŒã©ãŒãããã³äº€æã¬ãŒããé«ããCAN-FDãã¹ã®ããŒã¿ãæºåããããã«é«æ§èœãå¿ èŠã§ããã
ç§ã®äž»èŠ³çãªæèŠã§ã¯ãCortex 4ã³ã¢ä»¥äžã®ãŠãããŒãµã«ãã€ã¯ãã³ã³ãããŒã©ãŒã®ã¬ãã«ã§ãSTãäŸ¡æ Œ/æ©èœã®é¢ã§ãªãŒããŒã«ãªã£ãå Žåãé«æ§èœãããã®åéã§ã¯ããããæè¿åžåãããATMELã®ãªãŒããŒã·ããããŸãã¯MICROCHIPã«å£ããŸãããã®ããã6ãã«ããATSAMV71ã·ãªãŒãºãéžæããŸããã
äžèšïŒã€ãŒãµãããã³ã³ãããŒã©ãŒãšCAN-FDãã¹ïŒã«å ããŠãæŠããŠãæ倧300 MHzã®ã¯ããã¯åšæ³¢æ°ã§åäœãããããªãããªãã¯ã¹ãæ¥ç¶ããããã®ã€ã³ã¿ãŒãã§ã€ã¹ãšãã€ãããã¯ã¡ã¢ãªã®ãµããŒããåãããçç£æ§ãå€§å¹ ã«åäžãããæäœã®ã¢ã¯ã»ã©ã¬ãŒã¿ãŒãåããã«ãŒãã«ãååŸããŸãã
çµè«ãšããŠããã€ã¯ãã³ã³ãããŒã©ãŒãšã®éä¿¡çµéšã®ãã人ã«è³ªåããŸãã質åã«å¯Ÿããé©åãªçããéžæããããã«ãé¡ãããŸãã