è»ã¯é転ããŸããããã¹ãŠã¯åé¡ãããŸãããã以åã®è»ã«å®æçã«ãã£ãããã³ãã®ããã€ãã¯ãäœããã®çç±ã§çŸåšã®ãã®ã«ã¯ãããŸããã§ããã
ãããã®äŸ¿å©ãªæ©èœã®1ã€ã¯ãããŒãã³ã°ã»ã³ãµãŒã§ãã é§è»ã»ã³ãµãŒã®èšçœ®ã¯åé¡ã§ã¯ãããŸãããããã£ãã³å ã®é§è»ã»ã³ãµãŒã®ã段éçãªã衚瀺ã¯ã©ããããããç§ã«ã¯åããŠããŸããã§ããã å ãªãå®ç§äž»çŸ©è ã¯ããšã€ãªã¢ã³ã®äœãã«ã²ã©ãå察ããŠããŸããã
ãã°ããã°ãŒã°ã«ã§èª¿ã¹ããšãããæ°å¹Žåã«ãµã³ã¯ãããã«ãã«ã¯ã®å人ãç¹å¥ãªãã¢ããªã³ããäœæããäžæ¹ã§ã¯é§è»ã»ã³ãµãŒã«ãããäžæ¹ã«ã¯è»ã«æ¥ç¶ãããŠããããšãããããŸããã ãŸããé§è»ã»ã³ãµãŒããã®æ å ±ã¯æšæºãã£ã¹ãã¬ã€ã«è¡šç€ºãããŠããŸããã
ãããªããèŠã€ãã£ã
è²·ã£ãŠã眮ããŠããªã©ãã¯ã¹ããå¿ èŠãããããã«èŠããŸããããã®ãããžã§ã¯ãã¯ãæ»ãã ãã®ã§ãèè ã¯é£çµ¡ãåããŸãããè²·ããŸããã
ããããããã¯ç§ãã¡ã®æ¹æ³ã§ã¯ãããŸãã...è³Œå ¥ã§ããªãå Žåã¯ããåçºæãã§ããŸãïŒãããŠããã€ã¯ãã³ã³ãããŒã©ãŒã®ããã°ã©ãã³ã°ã®ã¹ãã«ãã¢ããã°ã¬ãŒãã§ããŸãïŒã
ããŒã1ïŒããŒã¯ããããã¯
æåã¯é§è»ã»ã³ãµãŒãéžæããå¿ èŠããããŸããã å ã®ãããžã§ã¯ãã§ã¯ãParkmasterïŒæ¢ã«å®å šã«ã¢ã¯ã»ã¹ã§ããªãã¢ãã«-å»æ¢ïŒã䜿çšããŸããã èªç±ã«è³Œå ¥ã§ãããã®ããéžæããå¿ èŠããããŸããã éžæã¯Parkmaster 4-DJ-06ïŒåããã©ã³ã-ã誰ãããã§ã«ãããæã«å ¥ããŠããã®ã§ãç§ãã§ããããšæåŸ ãããŠããŸããããå ã®ã¢ãã«ãšæ¯èŒããŠ-ãé害ç©ã®æ€åºé床ã®åäžãå®å®æ§ã®åäžãã»ã³ãµãŒå¹ççãªææ°Žãªã©ãåããæ°ãããã¶ã€ã³ ''ïŒã
æåã«è¡ãããã®ã¯ãå解ããããã£ã¹ãã¬ã€ã§ãã±ãŒãã«ã®æ¥ç¶ã調ã¹ãŸããã ãã£ã¹ãã¬ã€ã¯ãGNDã+ 5VãDATAãCSãCLKã®5æ¬ã®ã¯ã€ã€ã§æ¥ç¶ãããŠããããšãããããŸããã SPIãã¹ã«ç²ŸéããŠãã人ã¯ãããã€ãã®é¡äŒŒç¹ã«ããã«æ°ä»ãã§ãããïŒããŒãã³ã°ã»ã³ãµãŒDATA = MOSIïŒã ãã£ã¹ãã¬ã€ãšã¡ã€ã³ãŠãããã®æ¥ç¶ã¯äžæ¹åïŒã¡ã€ã³ãŠãããããã¹ã¿ãŒããã£ã¹ãã¬ã€ãã¹ã¬ãŒãïŒã§ããããã1ã€ã®å°äœïŒMISOïŒã§ã¯ããã«ãSPIã«å°éããã«ã¯äžååã§ãã
ãªã·ãã¹ã³ãŒããæ¥ç¶ãããšããã®ä»®èª¬ãå®å šã«ç¢ºèªãããŸããã
ãã£ãã«A-CSãB-CLKãD-ããŒã¿ã
ããã«ãæè¡çãªåé¡ïŒãã¹ãŠã®ã³ãŒãã¡ãã»ãŒãžããåé€ãããŠããã«éä¿¡ããããã®ããã³ãŒãããæ¹æ³ãèŠã€ããå¿ èŠããããŸããã
å¥ã®é§è»ã»ã³ãµãŒã®ãããã³ã«ã®ãªããŒã¹ãšã³ãžãã¢ãªã³ã°ã«ã€ããŠã¯æ¢ã«è©±ããŸããã®ã§ããã®ããã«èª¬æããã®ã§ã¯ãªããç¹å®ã®ã±ãŒã¹ã®ãçå®ãçãŸããã ãã©ãŒã©ã ã¹ã¬ãããžã®ãªã³ã¯ãæäŸããŸãïŒã³ãŒãã¡ãã»ãŒãžãããã£ããã£ããããå©ããåããã³ãŒãããããŸãïŒãã®ãã©ãŒã©ã ã®ç§ã®ããã¯ããŒã ã¯ustasã§ãïŒã
ä»äºã¯ããªãæ¥åžžçã§ãããããã¹ãŠããçŸããé¢çœããããããã«ã2ã€ã®äžæã䜿çšããŸããã æåã®å²ã蟌ã¿ã¯CSã«ç¶ãã2çªç®ã®å²ã蟌ã¿ã¯CLKã«ç¶ããŸããã ãã®éšåã«ã¯ç¹ã«èå³æ·±ããã®ã¯ãããŸããã§ããã
æ°æ¥äŒã¿ãæ°æ©ããã¬ããããŒãäžã«æ¢è£œã®ãããã¿ã€ãïŒarduino-nanoä»ãïŒãçšæããŸãããããã¯ãããŒãã³ã°ã»ã³ãµãŒã®ã¡ã€ã³ãŠãããããããŒã¿ãèªä¿¡ãæã£ãŠåä¿¡ãããã³ãŒãããŸããã é§è»ã»ã³ãµãŒã®éžæã¯æ£åœåãããŸãã-ã¬ãã«ã調æŽããå¿ èŠã¯ãããŸããã§ããã
ãã®åŸãé§è»ã»ã³ãµãŒãè»ã«åãä»ããããã¡ã€ã³ã®éçºãµã€ããããã«ç§»åããŸããã
ããŒã2ïŒèã
åæã«ãã»ãšãã©ãã¹ãŠã®ææ°ã®ãã·ã³ãè»èŒªã®äžã®ãã³ã³ãã¥ãŒã¿ãŒãã§ããããã³ã³ãã¥ãŒã¿ãŒã®ãããã¯ãŒã¯ãã§ãããããšããäºå®ã«ã€ããŠå€ãã®ããšãåŠã³ãŸãããã»ãŒãã¹ãŠã®ãã¹ããŒãããŠããããåäžã®CANãã¹ã«æ¥ç¶ããããããšãéä¿¡ãããããã§ãäºãã®éãã
äžè¬ã«ãèªåè»ã«ã¯éåžžãHS-CANãšMS-CANïŒããããé«éãã¹ãšäžéãã¹ïŒã®2ã€ã®ãã¹ããããŸãã 1ã€ç®ã¯äž»ã«ãšã³ãžã³ãšé¢é£ã·ã¹ãã ã®åäœã«é¢ãããã®ã§ã2ã€ç®ã¯ãã³ã³ãã©ãŒãã¿ã€ã€ããšãåŒã°ããããŸããŸãªãµãŒãã¹æ©èœïŒé³æ¥œã·ã¹ãã ããæŽé ããç §æãæ°åããã¢ãªã©ïŒãæããŸãã
ç§ã®è»ã§ã¯ããã£ã¹ãã¬ã€ã¯MSãã¹ã«æ¥ç¶ãããŠããã ãã§ãããã®ãã¹ã¯ç§ã®ãããžã§ã¯ãã®ãã¿ãŒã²ãããã«ãªããŸããã ãã¡ãããè¿œå æ å ±ãå¿ èŠã§ãã ãã¡ãããã¡ãŒã«ãŒã¯å¿ èŠãªæ å ±ããã¹ãŠæã£ãŠããŸãããæ¥ãã§ãããå ±æããããšã¯ãããŸããïŒç¶æ³ã¯å€ããå§ããŠããŸãããç§ã®å Žåã¯ããã§ã¯ãããŸããïŒã
åºçºç¹ã¯ãã®ããŒãžã§ããã ãã®ããŒãžã§ã¯ãããã€ãã®ã¡ãã»ãŒãžèå¥åã衚瀺ããããããã®ã¡ãã»ãŒãžã§ãšã³ã³ãŒããããããŒã¿ã瀺ãããŸãã ãã®æçš¿ã«å¯Ÿããã³ã¡ã³ããæçšãªã¡ã¢ãèŠã€ããŸããã
ãã¹ã«äœããéãåã«ããŸãèªåã®è»ã«ãè³ãåŸãããæ瀺ãããæ å ±ãçå®ã§ããããšã確èªããå¿ èŠããããšæ±ºããŸããã
æå ã«CANã€ã³ã¿ãŒãã§ãŒã¹ãåããé©åãªã·ãŒã«ãããªãã£ãããããã¢ã«ãã¥ã€ã³ããæŸæ£ããªããã°ãªããŸããã§ããïŒãšã«ããè»ã«èšçœ®ããé©åãªããã€ã¹ãäœæããããšã«ããŸããïŒ-MKïŒatmega328pïŒãCANãã¹ã³ã³ãããŒã©ãŒãå«ãã·ã³ãã«ãªããŒããåºããŸããïŒMCP2515 / MCP2551ïŒããã€ãŒã¿ãŒ...ããã³...ã¯ããã¯ã¢ãžã¥ãŒã«ã
avrã«åéãããªããã®ããæçµçã«ã¯ãŸã æèšãååŸããŸã
ã¢ããã¥ã¢ãã©ãŒã©ã ãã
ããŠããã®ãã¬ãã¢ã ã§çç£ãããæ©æ¢°ã«ã¯æèšã¯ããããã«ã¬ã³ããŒããªããšèª°ãèããã§ããããïŒ ç§ã¯ãŸã 硬åããŠããã®ã§ãã«ã¬ã³ããŒãééããªãç§ãå·ã€ããããšã¯ãªããšæ±ºããã®ã§ãDS1307ãããã€ã¹ã®ããŒãã«ãç»é²ããããŸããã
ããã€ã¹ã¹ããŒã ã¯ãç¬åµæ§ãåããŠãŸã£ããèŒããŸããããã¹ãŠã®ã³ã³ããŒãã³ãïŒããŒã¿ã·ãŒãããïŒãå«ããããã®äžè¬çãªã¹ããŒã ã䜿çšãããŸãã 念ã®ããã䜿çšå¯èœãªã»ãšãã©ãã¹ãŠã®I / OããŒããè¿œå ã®ã³ãã¯ã¿ã«æ¥ç¶ããŸããïŒå®è£ äžã«çªç¶ä»ã®äœããæãæµ®ãã³ãŸããïŒïŒã åœç¶ãããã°ã©ããŒã®ããã«ãICSPãåºããŸããã
USBå é»ããé»åãäŸçµŠããããšã決å®ããããããããŒãã«ã¯miniUSBã³ãã¯ã¿ããããŸãã ParktronicãŠãããããè¿œå ã±ãŒãã«ãæ·èšãïŒèšçœ®äžïŒããã£ã¹ãã¬ã€ãšParktronicéã®ã¡ã€ã³ã±ãŒãã«ããè€è£œãããŸãïŒæšæºã®Parktronicãã£ã¹ãã¬ã€ãšã補åãã®äž¡æ¹ãåæã«æ¥ç¶ã§ããããã«ïŒã ã±ãŒãã«ãæåã®ãã®ãåããŸãã...ãããé·ããããã³ãŒãã§ããããšãå€æããããšãç¥ã£ãŠããããªãã¯ããã»ã©é©ããŠããŸãããïŒ ãã®ãããããŒãã«ã¯å¯Ÿå¿ããã³ãã¯ã¿ããããŸãïŒé»ãå·ŠïŒã ããŒãã®åœ¢åŒã¯ãæ¢åã®ã±ãŒã¹ã«ãã£ãŠæ±ºå®ãããŸããã
ã€ãŒã°ã«ãLUTãå¡©å第äºéããã³ãã®ä»ã®ãªã¹ã...
æåã®æ®µéã§ãMSãã¹ãååšããããã蚺æã³ãã¯ã¿ã«æ¥ç¶ããããšãïŒç°¡åã«ããããã«ïŒæ±ºå®ããŸããã ã³ãã¯ã¿å ã®æ£ç¢ºãªå Žæãæ¢ãå¿ èŠããããŸã ã
ããŒããŠã§ã¢ã«ã€ããŠã¯ããã¹ãŠãæ確ã§ããããšãé¡ã£ãŠããŸã...ãœãããŠã§ã¢ã«ç§»ããŸãã æ¢è£œã®ã©ã€ãã©ãªã䜿çšããŠCANãã¹ãæäœããŸããã ãã¹ãã±ãŒã¹ã¯å€§ãã«åœ¹ç«ã¡ãŸãã-圌ãã¯ã»ãšãã©ããã«ãèããããšãå§ããŸããã ä¿®æ£ããå¿ èŠãããã®ã¯ãã¹ã±ããã§æ£ããMSãã¹é床ïŒCAN_125KBPSïŒã瀺ãããšã ãã§ããã
衚瀺ã¡ãã»ãŒãžãæ¢ãå Žæã«é¢ããããŒã¿ã¯å®å šã«ç¢ºèªãããŸããïŒæ€èšŒã®ããã«ãç¡ç·ã¢ãŒãã§ããããŠãããããªã³ã«ããRDSãä»ããŠãã®ååã®ã¿ã衚瀺ããç¡ç·å±ãéžæãã察å¿ããããã±ãŒãžãèŠã€ããŸããïŒã ãã®ååããšã³ã³ãŒããããããã±ãŒãžã2ã€ãããŸããïŒæåã®ããã±ãŒãž-æåã®7æåã2çªç®ã®ããã±ãŒãž-æ®ãã®5æåïŒã
ããŒã3ïŒè©±ã
ãã£ã¹ãã¬ã€ã«ã¡ãã»ãŒãžãéä¿¡ããæåã®è©Šã¿ã¯å€±æããŸããã æšæºçãªè»ã®ãã£ã¹ãã¬ã€ã¯ç§ã®æ·å°ãåã«ç¡èŠããŸããã
ãã®åé¡ã«å¯ŸåŠããããã«ïŒããã³äŸ¿å®äžïŒ-ãå解ãã§Mazda3ãããã£ã¹ãã¬ã€ãè³Œå ¥ããŸããïŒMazda5ã®é¡äŒŒéšåãããã¯ããã«äžè¬çãªã¹ãã¢ããŒãïŒã ãã£ã¹ãã¬ã€éã®æãé¡èãªéãã¯ãããã¯ã©ã€ãã®è²ã§ãïŒMazda5ã¯ç·ãMazda3ã¯èµ€ïŒã æ®ãã¯ã»ãšãã©åãã§ãããéãã¯ãå粧åãã ãã§ããããšãæã¿ãŸããïŒãããŠãç§ã¯æ£ããããšãå€æããŸããïŒã
ç§ã¯èªåã®ããã€ã¹ãšãã®ãã£ã¹ãã¬ã€ã§æ§æãããå°ããªãã¹ããã³ããèªå® ã§çµã¿ç«ãŠãŸããã ã¹ã¿ã³ãã§ã®ã¯ãŒã¯ã¢ãŠãã¯ãå¬ã®å±å€ã®è»ãããã¯ããã«å¿«é©ã§ãã
䞊è¡ããŠãçŽ æŽãããã³ã¡ã³ããèŠã€ããŸããã
次ã®IDãæã€3ã€ã®ãã¬ãŒã ãéä¿¡ã§ããŸãã
0x28FïŒLCDèšå®ããã³ããããä»ã®ããã€ãã®èšå®ïŒéåžžã®0x28fãã¬ãŒã ã§åä¿¡ããã®ãšåãããŒã¿ãéä¿¡ããã ãã§ãïŒã
0Ã290ïŒ0xC0ïŒæåã®ãã€ãïŒã®åŸã«æåã®5ã€ã®alfanumèšå·ãç¶ããŸã
0Ã291ïŒ0Ã85ïŒæåã®ãã€ãïŒã«ç¶ã次ã®7ã€ã®alfanumèšå·
ãããã¯ãã¹ãŠãHUããéä¿¡ããã0Ã291ãã¬ãŒã IDãåãåã£ãçŽåŸã§ãã ããã«ãããã»ãšãã©ã¡ãã€ãã®ãªãããã¹ãã衚瀺ãããŸãã
0x28Fãéä¿¡ããçç±ã¯ã0Ã290ããã³0Ã291ããã¹ãã衚瀺ããããã«å¿ èŠã ããã§ããããããªããšãLCDã¯0Ã290ãš0Ã291ãåã«ç¡èŠããŠããããã«èŠããŸãã
ãã1ã€ã®æ¹æ³ã¯ãã¿ã€ããŒã150ããªç§ã®å²ã蟌ã¿ã§èšå®ããäžèšã®3ã€ã®ãã¬ãŒã ãéä¿¡ããããšã§ãã
...
ç§ã䜿çšãã0x28Fãã¬ãŒã ã³ã³ãã³ãïŒ
hexïŒD1 00 00 00 80 00 00 01
ãããã£ãŠããã£ã¹ãã¬ã€ã«éä¿¡ãããããã¹ãã衚瀺ããã«ã¯ã 3ã€ã®ã¡ãã»ãŒãžãéä¿¡ããå¿ èŠããããŸãïŒæåã®ãã¹ãã§ã¯2ã€ããéä¿¡ããªãã£ãããããã£ã¹ãã¬ã€ã¯ããã¹ãã®è¡šç€ºãæåŠããŸããïŒã
ããããäœããã®çç±ã§ãèªå® ã®ã¹ã¿ã³ãã§æ£ããã·ãŒã±ã³ã¹ãããŸããããªãã£ã-ãã£ã¹ãã¬ã€ã¯ç©ºã®ãŸãŸã§ããã ç§ã¯è»ã«ä¹ã蟌ã¿ãŸããïŒåãã³ãŒã-å®å šã«æ©èœããŸããã 圌ã¯ããã¹ããã³ãã®ãã¹ïŒCAN-HãšCAN-Lã®éïŒã«ååãª120ãªãŒã ã®æµæåšããªãããšãç解ãå§ããŸããã ãã®æµæåšã眮ããšããã«ããã£ã¹ãã¬ã€ãåãåºããŸããã
ããŒã4ïŒããžãã¯
ç§ã¯ããŸããŸãªçš®é¡ã®ããã¥ãŒãã³ã°ãã«éåžžã«æ³šæããŠããããããè¡ããšãããã«ã¿ã€ã ã®æ©èœãã®ããã«èŠããããã«ãªãã ãã ãšæããŸãã
æšæºãã£ã¹ãã¬ã€ã®åäœã芳å¯ãããšãå®è£ ãããããžãã¯ãææ¡ãããŸããïŒãã£ã¹ãã¬ã€ã5ç§ä»¥äžå€åããªããšããã«ããèªåã®ãæ å ±ïŒæ¥ä»ãªã©ïŒã衚瀺ã§ããŸãããããã·ã³ãäœããèšããããïŒæ°ããæ å ±ïŒ-ãç°åžžãã¡ãã»ãŒãžãããã«åé€ãããã·ã³ããæ å ±ã衚瀺ããŸãã
åœç¶ãé§è»æã«ãã®ãããªããžãã¯ã«åŸãããšã¯äžå¯èœã§ãããã®å Žåãé§è»ã»ã³ãµãŒããã®æ å ±ã®ã¿ã衚瀺ããå¿ èŠããããŸãã
èªå® ã§ãç§ã¯ã³ãŒãã®å€§éšåãæžããŸãããããã¹ãç»é¢ã§ã¯ãã¹ãŠãå€å°ãŸãšãã«èŠããŸããã ããããè»ã蚪åããåŸãæ·±å»ãªåºãŠè¡ã£ã...
ããŒã5ïŒã¬ãŒã
åé¡ã¯ãããããŠãããã150msããšã«çŽ1åã®åšæã§ãã£ã¹ãã¬ã€ãžã®ã¡ãã»ãŒãžã§ãã¹ããããµãããããããšã§ããïŒãã£ã¹ãã¬ã€äžã®æ å ±ãå€æŽãããªãã£ãå Žåã§ãïŒã ããã¯ããç°åžžãªãã¡ãã»ãŒãžãã»ãŒããã«å®æçã«ãã»ã€ããããšããäºå®ã«ã€ãªãããŸããã
ãã®åŸããã³ãã¥ãã±ãŒã·ã§ã³ã®
ãã®ã¢ãããŒãã¯ããããããé«éãªMKã§åäœããŸãããatmegaã®é床ã¯ååã§ã¯ãããŸããã§ãã-éåžžã®ã¡ãã»ãŒãžã¯å®æçã«ãã¹ãããããããããã«ããç®ã«äžå¿«ãªã¡ãã»ãŒãžã®ãæ··ä¹±ããçããŸããïŒç¹ã«ãããã¹ãã2ã€ã®éšåã§éä¿¡ãããããšãèæ ®ããŠïŒã¡ãã»ãŒãžã®æåã®éšåã¯è»ããã®ãã®ã§ããã2çªç®ã®éšåã¯ç§ã®ã¢ãžã¥ãŒã«ããã®ãã®ã§ããïŒã
äžè¬çã«ã¯åäœããŸãããåžæã©ããã«ã¯åäœããŸããã
ãã®åé¡ã解決ããããã«ããã¹ããããããã¹ãããªã©ãžãªãã©ãã«ããåŒãè£ããå¿ èŠããããŸããã
ç°åžžãªæ å ±ã®è¡šç€ºæã«CANãã¹ããç¡ç·ãåæããããªã¬ãŒããèšå®ããããšã¯å¯èœã§ãããããã¯ããžãã¯ã«éåããŸãïŒããšãã°ã察å¿ããã¡ãã»ãŒãžãšãšãã«ãVOL 7ãã¬ãã«ãšãã®ã¡ãã»ãŒãžã¯ã¹ããããããŸãïŒã
ã€ãŸã CANãã¹ãèããã¡ãã»ãŒãžãåæããå¿ èŠãªã¡ãã»ãŒãžããã£ã¹ãã¬ã€ã«éä¿¡ãããšããåé¡ã解決ããå¿ èŠããããŸããã
ãæ£ãã質åã¯çãã®ååã§ããã 2ã€ç®ã®CANã€ã³ã¿ãŒãã§ãŒã¹ãè¿œå ããå¿ èŠãããããšãæãã€ããŸããã åæã«ããã·ã³ãšãã£ã¹ãã¬ã€ã®éã®CANãã¹ã®ãã«ãããã§ããã€ã¹ããªã³ã«ãªããŸãã ããã€ã¹ã¯ããã·ã³ãå ±åããå 容ãããªãã¹ã³ããïŒéåžžããã¹ããå¿ èŠãªãã®ãã¹ãŠãååŸããŸãïŒãããŒã¿åæãå®è¡ãããå¿ èŠãªæ å ±ã®ã¿ããã£ã¹ãã¬ã€ã«éä¿¡ãããŸãã
ããŒããå®å šã«ããçŽããªãããã«ãCANãã¹ã³ã³ãããŒã©ãŒãSPIãã¹çµç±ã§MKã«æ¥ç¶ãããŠããããããã·ãŒã«ãããè¡ããŸããïŒåžéãããè¿œå ã®I / Oããã³ICSPããŒãã圹ç«ã¡ãŸããïŒã
çµæã¯ãã®ãããªããã€ã¹ã§ãïŒ
䟿å®äžãICSPã¯ããšã³ãããŒãšã³ããã«ããããããã¡ãŒã ãŠã§ã¢ãæŽæ°ããããã«æ¯åããµã³ãã€ããããå解ããå¿ èŠã¯ãããŸããã§ããã
ããŒã6ïŒãã¹ã
èªå® ã§ã¯ãç§ã®ãããã¿ã€ãã¯PDRããããŒã¿ããååŸãããã ãã§ããããçµæããèŠèŠåãããããã«äœãããŸããã§ããã ããã€ã¹ã®äž»ãªåé¡ãä¿®æ£ãããæ¥ç¶å³ãæ¢ã«ãä¿®æ£ããããçŽåŸã«ãæšæºãã£ã¹ãã¬ã€ã®é§è»ã»ã³ãµãŒè¡šç€ºã®åäœãåçŸããŸããã 次ã®ããã«ãªããŸããã
ãããªã¯ãåºåãã»ãŒåäžã§ããããšã瀺ããŠãããå Žåã«ãã£ãŠã¯ããããã®ãã£ã¹ãã¬ã€ã«1ç§åã«æ å ±ã衚瀺ãããŸãïŒããã¯ãŸã£ããæªãããšã§ã¯ãããŸããïŒã
ãã¡ãŒã ãŠã§ã¢ã®äž»èŠéšåããããã°ãããåŸãç§ã¯æ·±å»ãªãã¹ãæäœãæé ããããã«ãã·ã³ã«éçºãã€ã³ã¹ããŒã«ããããšã«ããŸããã
ãããŠã次ã®åé¡ãçºèŠãããŸããã
枩床調ç¯ãŠãããã®æ å ±ããããŸããïŒãã£ã¹ãã¬ã€ã®å³åŽïŒã å€æããããã«ããããå¯äžã®æ倱ã§ã¯ãããŸãã-æ è¡ã³ã³ãã¥ãŒã¿ãŒããã®æ å ±ã®è¡šç€ºãæåŠããŸããã
ããã¯å€§ããªé©ãã§ã¯ãããŸããã§ããããã¡ãŒã ãŠã§ã¢ã§ã¯ããã£ã¹ãã¬ã€ã®äžå€®éšåã®ã¡ãã»ãŒãžã®ã¿ãããã©ããŒããïŒåä¿¡ãåæããå¿ èŠã«å¿ããŠãã£ã¹ãã¬ã€ã«è¡šç€ºïŒãä»ã®ãã¹ãŠã®ã¡ãã»ãŒãžã¯åã«ç¡èŠãããŸããã
æããã«ããæ¬ èœãæ å ±ãå«ãã¡ãã»ãŒãžèå¥åãèŠã€ããå¿ èŠããããŸããã ããã»ã©æéã¯ããããŸããã§ããã
次ã®èå¥åãèŠã€ãããŸãã
- 0x38A匷å¶éä¿¡ããããªãã§ã¯ãããã¹ã¯æ©èœããŸãã
- 0x400ã«ãŒãããŒã¿
- 0x3BAæ°å
- 0x201çŸåšã®ãã©ã¡ãŒã¿ãŒïŒé床ãå転ïŒ
ãããã®èå¥åãæã€ãã£ã¹ãã¬ã€ãžã®ãã€ã¬ã¯ããããŒããã£ã¹ãã¡ãã»ãŒãžã®ã«ãŒã«ããã¡ãŒã ãŠã§ã¢ã³ãŒãã«è¿œå ãããåŸããã¹ãŠãæ£åžžã«æ©èœããŸããã
ããŒã7ïŒ "... and gallopedïŒ"
ããŸããŸãªæ å ±ãæ€çŽ¢ããéçšã§ãç§ã¯Mazda5ãªãŒããŒãã©ãŒã©ã ã«ç»é²ããŸãã-ç§ã®ãã¹ããã©ã¯ãã£ã¹ãå ±æãããããã©ããªããã瀺ããŸããã ãã®ãããžã§ã¯ãã¯ç§ã ãã§ãªãèå³æ·±ããã®ã§ããããšãããããŸããã äŒè°ã§ã圌ãã¯å¿ èŠãªæ å ±ã®æ€çŽ¢ãæ¯æŽããå¯èœãªæ©èœãææ¡ããŸããã
è°è«ã®äžã§ããã¹ãŠã®ããªã ã¬ãã«ã«ããªããã³ã³ãã¥ãŒã¿ãŒãããããã§ã¯ãªãããšãããããŸãããããã£ã¹ãã¬ã€ãå¥ã®ãã®ã«çœ®ãæãããšããã®æ©èœãè¿œå ãããŸãã ããã¯ãããŒã¿ããã¹äžã«ããã衚瀺æ©èœãäžéšã®ã¢ãã«ã§ã¯å®è£ ãããŠããããä»ã®ã¢ãã«ã§ã¯å®è£ ãããŠããªãããšã瀺ããŠããŸãïŒããã«ãããã¯ãã£ã¹ãã¬ã€ãã¡ãŒã ãŠã§ã¢ã§å®è£ ãããŠããŸãïŒã
ãã®ä»®èª¬ããã¹ãããæ£ããããšã確èªããŸããã 次ã®ããŒã¿ãåé¢ããã®ã¯éåžžã«ç°¡åã§ããïŒ
- å¹³åé床
- ã€ã³ã¹ã¿ã³ãçææ¶è²»
- å¹³åçè²»
- æ®ãã®çæã®ãã¯ãŒãªã¶ãŒãã
ãDugãã¯ããå°ãæ·±ããçŸåšã®ããŒã¿ãèŠã€ãããŸããïŒé床ããšã³ãžã³é床ã
äžè¬ã«ãããŒã¿æ€çŽ¢ããã»ã¹ã¯ãã詳现ã«èª¬æããå¿
èŠããããŸã-ããã¯èå³æ·±ãæãããããããŸããïŒãããŠããã®ãããªãªããŒã¹ãšã³ãžãã¢ãªã³ã°ã«åœ¹ç«ã¡ãŸãïŒã
ãã®åé¡ã®æåã®èŠæ¹ã¯æãããããšã§ãããã¹ã«ã¯ããŸããŸãªèå¥åãæã€å€ãã®ã¡ãã»ãŒãžããããã©ã®ã¡ãã»ãŒãžãå€æŽããããã远跡ããããšã¯éåžžã«å°é£ã§ãã ããããé©åãªã¢ãããŒãã䜿çšãããšãã¿ã¹ã¯ã倧å¹
ã«ç°¡çŽ åã§ããããšãããããŸããã ç§ã¯æ¬¡ã®ããã«è¡åããŸããïŒããšãã°ãããŒãã³ã°ãã¬ãŒãã®ç¶æ
ã«é¢ããããŒã¿ãæ€çŽ¢ãããšãïŒã
ãã®ãããªã¡ãã»ãŒãžã®èª¿æ»ã®éçšã§ãã¿ã€ã€ã«ã¯è»ã®ãã¹ãŠã®ãã¢ã®ç¶æ ãé§è»ãã¬ãŒããæ¹åæ瀺åšãªã©ã«é¢ããæ å ±ãããããšãããããŸããã
- ãã¹ãŠã®ã¡ãã»ãŒãžã®ãã°èšé²ãå«ãŸããããïŒåæã®ããã®ããŒã¿éã倧ãããªããããªãããã«-æéééã5ã10ç§ã«å¶éããŸããïŒã
- ãã¹ãã«å²ãåœãŠãããæéã«ããã³ããã¬ãŒããäžäžãã
- åä¿¡ããããŒã¿ã¯Excelã«ã¢ããããŒãããã
- ããªãŒããã£ã«ã¿ãŒããå«ãã
- ããŒã¿ãå€æŽãããã¡ãã»ãŒãžã®èå¥åãèŠã€ããŸããïŒãã®ãããªãã¢ãããã¯ãã¢ã¯ã·ã§ã³äžã«ãéåžž1ããããå€æŽãããŸããïŒã
- ãã®ãããªã¡ãã»ãŒãžèå¥åãå²ãåœãŠãŸããïŒéåžžããã®ãããªèå¥åã¯1ã€ã§ããïŒã
- ãã¡ãŒã ãŠã§ã¢ã«ããã£ã«ã¿ãªã³ã°ããå«ããïŒãèå³æ·±ããã¡ãã»ãŒãžã®ã¿ãèšé²ãããããã«ïŒ
- ãã£ã«ã¿ãŒåŠçãããããŒã¿ã§ç¹°ãè¿ãåæã
ãã®ãããªã¡ãã»ãŒãžã®èª¿æ»ã®éçšã§ãã¿ã€ã€ã«ã¯è»ã®ãã¹ãŠã®ãã¢ã®ç¶æ ãé§è»ãã¬ãŒããæ¹åæ瀺åšãªã©ã«é¢ããæ å ±ãããããšãããããŸããã
ããŒã¿ãä¿åãããããäœããã®æ¹æ³ã§äœ¿çšããå¿ èŠããããŸãã
ããã«ã10 km / hãè¶ ããé床ã§ãã¢ãéãããšãèŠåããæ©èœãã¢ãžã¥ãŒã«ã«è¿œå ããŸããã
ã¯ããããã·ã¥ããŒãã«ã¯éããŠãããã¢ã®ãã«ã¿ã€ã ã€ã³ãžã±ãŒã¿ãŒããããŸããããã®äºå®ãç¥ãããã ãã§ãéããããŠããªããã¢ã¯æå®ããŸããã
ãã®åŸãããžã§ãŒã«ã¯ããã¢ãé«éã§èªåçã«ããã¯ããæšæºæ©èœãããããšãæãåºããŸããã æããã«ãããã§ãåãæ©èœãè¿œå ããå¿ èŠããããŸã...ãããããããã¿ã€ãã«ã¯ãããŸããïŒæ®å¿µãªããããããã®äžå€®ããã¯ã®å¶åŸ¡ã¯CANãã¹çµç±ã§ã¯äžå¯èœã§ãããä»ã®ãã·ã³ã§ã¯éåžžã«çŸå®çã§ãïŒã
ãããã£ãŠãé¢æ°ã®ãªã¹ãã¯ããã¶ãæ¡åŒµãããŠããŸãã
- é§è»ã»ã³ãµãŒã
- ã«ã¬ã³ããŒ
- ããªããã³ã³ãã¥ãŒã¿ãŒããŒã¿ã®åºåã
- ãªãŒãã³ãã¢ã³ã³ãããŒã«
- é床ã§ã®ãã¢ã®èªåããã¯ã
- é§è»æã«é³æ¥œãèªåãã¥ãŒãããïŒãããã¿ãé§è»ã»ã³ãµãŒãããããèãããïŒ
- ãªã³ããŒããããã¯ãŒã¯ã®é»å§å¶åŸ¡ã
ç§ã®ä»äºã®çµæã¯èåè·äººã«ãšã£ãŠèå³æ·±ããã®ã ã£ãã®ã§ãããã€ã¹åè·¯ãå®å šã«ããçŽãããšã«ããŸããïŒãã·ã³ã°ã«ããŒãããšãèªçµŠèªè¶³ãïŒãå¿ èŠãªãã¹ãŠã®ã€ã³ã¿ãŒãã§ã€ã¹ã匷åãªãã©ã³ãžã¹ã¿ã¹ã€ãããDC / DCé»åå€æåšããªã³ã«ããŸããã åæã«ã圌ã¯å ã®ãµã€ãºã®ããŒããäœããŸããã
åœç¶ãåŸãããç¥èã¯ãã¹ãŠããããã¿ã€ãïŒãã£ã¹ãã¬ã€ãæ©èœããããã®CANãã¹ã®åã120ãªãŒã ã®æµæåšïŒã®äœæãšæäœã®ããã»ã¹ã§åœ¹ç«ã¡ãŸããã
ãã·ã³ã®é ç·ãžã®ãã¹ãŠã®æ¥ç¶ã¯ããã£ã¹ãã¬ã€ã®ããåŸãã§è¡ãããšãã§ããŸããïŒéåžžã«å€§ããªç©ºã®ééããããå¿ èŠãªãã¹ãŠã®ä¿¡å·ç·ãååšããŸãïŒã
ãä¿è·ããšããŠãã代æ¿ãããã¯ã¢ããããããªãŒãæèšã¢ãžã¥ãŒã«ã«æ¥ç¶ããããã®è¿œå ã®ãã©ãããã©ãŒã ãäœæããŸããïŒçªç¶ãCR1225ããã¯ã¢ããããããªãŒã¯å¬ã«ãåçµãããæèšãå€ããŸãïŒããã³å€éšã®ããã€ãŒã¿ãŒãã
ããŒã8ïŒãããã¯ã·ã§ã³
ãã®ããŒãã¯ãæšæºãµã€ãº0603ïŒãããã¿ã€ãã§ã¯0805ïŒã«åãæ¿ãããããããéåžžã«ã³ã³ãã¯ãã§ããããšãããããŸããïŒãã¬ãŒã¹ãäœåºŠãæé©åããŸãããïŒããã©ãã¯/ã¯ãªã¢ã©ã³ã¹-0.2mmã ååãšããŠãèªå® ã§LUTãäœæããããšã¯å¯èœã§ãããããããžã§ã¯ãã«ã¯ãã§ã«æéãããããããŠãããããé©åãªéé¡ã§ããŒããäœãããã³ã³ããŒãã³ããã¯ãã ä»ããããªãããã«ã誰ããæ¯æãã®ãã¯ããã«ç°¡åã«ãªããšå€æããŸããïŒèå³ã®ãã9ã€ã®èåãããããããã¿ã€ãã®ä»£ããã«ç§ã®è»ïŒã
ç§ã¯ãã§ã«ã倩åœãã§æ³šæã®åæ§ã®çµéšããããŸãã-ç§ã¯ããããç§ã®ãè«è² æ¥è ã«ä»»ããŸããã æ¯èŒçäºç®ãå®ãããšãããããŸããïŒã¢ã¹ã¯ã¯ã®åºèã§ã¢ã¯ã»ãµãªãŒãè³Œå ¥ãããããå®ãïŒããå€ãããŸããïŒå°ããªãããïŒã 圌ã¯ãåžæè ããéããè³éã§å¶äœã®æ¯æããããŸããïŒããã€ã¯ãã¯ã©ãŠããã¡ã³ãã£ã³ã°ãïŒã
ããã€ã¹ã¯ããã«ã¯çç£ãããŸããã§ãã-ã»ãŒ3é±éããããŸããã ããããéµäŸ¿å±ã¯åŸ æ©æéããã1ãæ延é·ããŸããã ããããæ²ããããšã«ã€ããŠã¯è©±ããªãã§ãã ããã
ããŒãã®è£åŽã«ã¯äœãããããããã®ããããŸãããæ¥ç¶ããããã®ãã€ã¯ãåœä»€ã§ãã
ãããã¿ã€ãããå·¥å Žã補åã«çœ®ãæããã®ã«çŽ30åããããŸããïŒãŠãŒã¶ãŒã«ãšã£ãŠãç°¡åã«ãªãããã«ããã»ã¹ãåçã«åããŸããïŒã ãããããã¹ãŠãé 調ã«é²ãã ããã§ã¯ãããŸãããç¹å®ã®ã©ãžãªã®é³æ¥œã®èªåãã¥ãŒãæ©èœã¯åäœããŸããã§ããïŒæ®å¿µãªãããè³ªçŽ ãªæ¥æ¬äººã¯ã·ã¹ãã ãã¥ãŒãåè·¯ããã³ãä»ãããŸããã§ããïŒã ãããããã¢ããã¯ã®ç®¡çã¯ããã«æ©èœããŸããïŒãã ããè»ã®é ç·å³ãããªã培åºçã«èª¿æ»ããããã¯ãæ åœãããåããã¯ã€ã€ãæ€çŽ¢ããåŸïŒã
ããŒã9ïŒèšå®
ããã€ã¹ã¯ããŸããŸãªæ§æã®ãã·ã³ïŒããã³ããŸããŸãªãŠãŒã¶ãŒïŒã«ã€ã³ã¹ããŒã«ããå¿ èŠããããããæ§æã¢ãŒãã®å®è£ æ¹æ³ïŒå¿ èŠãªã¡ãã»ãŒãžãæ©èœã®æå¹å/ç¡å¹åãæ¥ä»/æå»ã®èšå®ïŒãææ¡ããå¿ èŠããããŸããã ãã¡ããããèªåã®ããã«ãããã®ã¿ã¹ã¯ã«ã€ããŠã¯ãŸã£ããèããŠããŸãããããã°ã©ããŒãæ¥ç¶ããããšã»ã©ç°¡åãªããšã¯ãããŸãããããã®å Žåã¯ããã§ã¯ãããŸããã ããã€ã¹ã®ãæ¶è²»è ãã«ã€ããŠèããå¿ èŠããããŸãã
åæã«ããããžãã¯ãããŒãã«ãããšããã¹ãŠãå¯èœãªéãæšæºã§ããã£ãã³ã«è¿œå ã®ãã¿ã³ãè¿œå ããããšãªãïŒé衚瀺ã®ã€ã³ã¹ããŒã«ã§ãã£ãŠãïŒèŠããã¯ãã§ãã ãããŠããã¢ã®ç¶æ ãããŒãã³ã°ãã¬ãŒããããŠã€ã³ã«ãŒãã«é¢ããããŒã¿ãç°¡åã«ååŸã§ããããšããããŠãã¹å ã®ã¹ããŒã¿ã¹ãã©ã³ãã®ç¶æ ãå®å šã«ç¹°ãè¿ããŠããããšãæãåºããŸããïŒããã±ãŒãžã®å¯Ÿå¿ãããããããç¹æ» ãïŒã
圌ã¯ãã·ã£ãŒãããã¯ãã·ãŒã±ã³ã¹ã«åŸã£ãŠèšå®ã¢ãŒãã«å ¥ããŸããïŒç«ã£ãŠããè»ïŒçŸåšã®é床ããŒãïŒã§ã¯ããã©ã€ããŒã®ãã¢ãéããïŒãã®ç¶æ ãç£èŠããïŒå¿ èŠãããããã¢ãéããç¬éãã15ç§ä»¥å ã«ãã³ããã¬ãŒãã3åäžãäžãããŸãã ãã®åŸããSETUPïŒããšããã¡ãã»ãŒãžããã£ã¹ãã¬ã€ã«è¡šç€ºããã確èªã®ããã«-ãã©ã€ããŒã®ãã¢ãéããŸãã ã€ãŸã ãã©ã³ãã ã§ã¯ãªããäžé£ã®ã¢ã¯ã·ã§ã³ïŒéåžžã®æäœã§èª°ãã誀ã£ãŠè»ãåçŸããå¯èœæ§ã¯äœãïŒã
æ¹åæ瀺åšã®ã¹ãã¢ãªã³ã°ã³ã©ã ã¹ã€ããã䜿çšããŠããèšå®ã¡ãã¥ãŒããããã²ãŒãããŸãïŒå·Š-äžãå³-äžã æ©èœ/ã¡ãã»ãŒãžã®ãªã³/ãªã-ãã³ããã¬ãŒãã
èšèã«ãã説æã¯éåžžã«è€éã«èŠããŸãããå®éã®äœ¿çšã§ã¯ãã¹ãŠãã¯ããã«åçŽã§ãïŒè»ã®å察åŽ-ããªã«ãŒãããŒããã§ã³ã¹ãåå°ã«æ³šæããŠãã ãã-ãã¿ãŒã³ã·ã°ãã«ãã䜿çšãããŠããå Žåã«ç¢ºèªã§ããŸãïŒã
äžè¬ã«ã1è¡è¡šç€ºã§12æåãã䜿çšã§ããªãå Žåã«ããã®ãããªã¡ãã¥ãŒã®å®è£ ãæãä»ãã®ã¯ããªãé£ãããé¢çœãã£ãã§ãã
ç§ã¯è»ã®äžã§æ°æ¥é補åããã¹ãããŸãã-èŠæ ã¯ãªãããã¹ãŠãããŸããããŸãã
ããŒã10ïŒç¶ç¶ïŒ
çŸåšããã¹ãŠã®ããŒãã¯æ°ããææè ã«éãããŠããŸãã ããããã€ã³ã¹ããŒã«ããããšããã«ãè¿œå ã®ã¬ãã¥ãŒãåãåããããšæããŸãã
éä¿¡ããåã«ãããŒãã®1ã€ããããCX-7ã«æ¥ç¶ããŸãã-ã»ãšãã©ãã¹ãŠãããã«æ©èœããŸããïŒããªããã³ã³ãã¥ãŒã¿ãŒã®ããŒã¿ã®äžéšã¯å°ãç°ãªã£ãŠãšã³ã³ãŒããããŠããŸããïŒããäžè¬ã«æ¥ç¶ã¯æåããŸããã
ããã§ãããã€ã¹ïŒçŸåšã®ãã¡ãŒã ãŠã§ã¢ã䜿çšïŒãMazda3ã5ã6ã§ãã¹ããããŸãïŒãã£ã¹ãã¬ã€ã¯ãéçºããã»ã¹ã§äœ¿çšãããã£ã¹ãã¬ã€ãšåæ§ã§ãïŒã
ãã¡ãŒã ãŠã§ã¢ãé©å¿ãããåŸããã£ã¹ãã¬ã€ïŒãŸãã¯ããã·ã¥ããŒãïŒãžã®åºåãMS-CANçµç±ã§ããã»ãšãã©ãã¹ãŠã®çŸä»£ã®è»ã§ãã®ããã€ã¹ã圹ç«ã€ãšæããŸãã
ããŒã1ïŒArduinoïŒ
ãã®ãããªé·ãã¬ã³ãŒããèªãã åŸïŒãããèªãã 人ã«è¬çœªããŸãïŒãçåãçãããããããŸããïŒãArduinoã¯ãããšäœã®é¢ä¿ãããã®ã§ããïŒãã
çãã¯éåžžã«ç°¡åã§ãããã¹ãŠã®ããã°ã©ãã³ã°ãArduinoç°å¢ã§è¡ããŸããã
ãã®åŸããç§ã«ããããæãã€ããã人ãåºãŠãããããããŸããããç§ã®å人çãªæèŠã§ã¯ãå ¥æå¯èœã§äœ¿ãæ £ããããŒã«ã䜿çšããæ¹ãè¯ããšèããŠããŸãã
Arduinoã¯ãäžæ¹ã§ãåå¿è ãããã°ã©ãã³ã°ãã€ã¯ãã³ã³ãããŒã©ãŒãªã©ã®èå³æ·±ãåéã«è¿ éãã€æ¯èŒçç°¡åã«åå ã§ããããã«ããããŒã«ã®1ã€ã§ããããã»ãããããã³ãã·ãŒã«ããããããžã§ã¯ãã®ãéãã®ç¯å²ãå€§å¹ ã«æ¡å€§ã§ããŸãïŒå®ãã¯ãããŸãããïŒã
ïŒç§ã®ç解ã§ã¯ïŒArduinoã¯ããã¯ã€ãã¯ã¹ã¿ãŒããã®ããã®äžçš®ã®ãã¬ãŒã ã¯ãŒã¯ã§ãã
ãã¡ãããããã®ããŒã«ã䜿çšãããšãå¿ èŠãªæ©èœãããéã/ããè¯ã/ããæé©ã«å®è£ ããã®ã«åœ¹ç«ã¡ãŸãïŒå¿ èŠãªãã®ã«äžç·ãåŒãïŒãããé±æ«ãããžã§ã¯ããã§ã¯ããã¯åé·ãªå ŽåããããŸãã
ããã°ãïŒ
ãããŠåã³ããã¹ãŠãå§ãŸã£ãããã«ïŒ
ãã£ã¹ãã¬ã€ã¯ãæçšãªïŒããã§ã¯ãªãïŒæ å ±ã衚瀺ããæ©èœãå€§å¹ ã«æ¡åŒµãããã£ãã³ã«ã¯ããšã€ãªã¢ã³ãã¯è¿œå ãããŠããŸãããããã¹ãŠã®æšæºæ©èœã¯å®å šã«ä¿åãããŠããŸãã
PSåžæãã人ãããã°ãåè·¯ãããŒããBOMãã¬ã€ã¢ãŠãããŸãïŒããªãŒãã³ããŒããŠã§ã¢ãããµããŒãããŸãïŒã ãã¡ãããããŠã³ããŒãããŠãã ãã ã
PPSãªãŒãã³ã¢ã¯ã»ã¹çšã®ãã¡ãŒã ãŠã§ã¢ãã¢ããããŒãããŸããã