æã
ãã©ã®åºèã«ããªãããã€ã¹ãå¿
æ»ã«å¿
èŠã«ãªãããšããããŸãã ããªãã¯ããã€ãã¡ãŒã«ãŒãããªãããããªã«äžè¶³ããŠãããã®ããªãªãŒã¹ããããšãæåŸ
ããŠåŸ
ã€ããšãã§ããŸãã ã¬ã¬ãŒãžã«éã蟌ããŠããã¶ãšããŒã«ãçšæããããšãã§ããŸã-æ°åãŸãã¯2ãæåŸãã¢ããã«ã空é£ã¶è»ãŸãã¯ã¹ãŒããŒãµãŒããšã³ãžã³ãäžçã«å
¬éããŸãã ãããŠãArduinoã䜿çšããŠæ°é±éã®é±æ«ã«ããã€ã¹ãäœæã§ããŸãã å人çã«ã¯ãéå»6ãæéãã¯ã€ã€ãŒã®ãªãè±èŒªã®ãªãã³ã³ãã¥ãŒã¿ãŒã«æ¥ç¶ãããããããŠã³ããã£ã¹ãã¬ã€ãæåºãšããŠæ¬ ããŠããŸããã ãããŠãç§ã¯ArduinoãæŸããŸãã...
ãªããã®ãããªãšããŸããã¯ãªããã€ã¹ãå¿
èŠãªã®ã§ããïŒ ç§ã¯èªåã®ãã«ããŠã§ã¢ã©ãã«ã³ã³ãã¥ãŒã¿ãŒãæ°å¹Žé䜿çšããŠããŸãã ç§ã«ãšã£ãŠãããã¯èªå®
ãšãªãã£ã¹ã®éã®éã®ãã䜿ã£ãŠèªåã®ãããžã§ã¯ãã«åãçµãæ©äŒãäžããäœæ¥ããŒã«ã§ãã ãããŠãé±ã«5åã2åŽåæéãããã¯2 * 5 * 52 = 520åŽåæé/幎ãŸãã¯520/40 / 4.5 =ã»ãŒ3åŽåæã§ãã 3ãæéã家æãšé¢å©ããããäŒæ¥ãç¡ç ããšãããšã¯ãããŸããã§ãããããã©ããããšããªããçŸããŸããã ã©ãã·ã¥ã¢ã¯ãŒãå°äžéãããªãã£ã¹ãžã®ç§»åäžãçå€äžã®ãã¹åã§ãç§ã¯ã©ããªç¶æ³ã§ãéè·¯ã§åãããšãã§ãããšããäºå®ã®ããã ãã§ãã ã©ãããããã䜿çšã§ããªãç¶æ³ã
åœç¶ãäœæ¥ããŒã«ã«å ããŠãç§ã®NKïŒãŠã§ã¢ã©ãã«ã³ã³ãã¥ãŒã¿ãŒïŒã¯ãé³æ¥œåçãVoIPãã¬ãã©ããŒãªã©ã®å¯æ¬¡çãªæ©èœã«åŸã
ã«æé·ãå§ããŸããã ãããããŠã³ããã£ã¹ãã¬ã€ãç»å ŽããŸããã ãã ããå±å€ã§äœ¿çšã§ããã®ã¯ãä»ã®äººã®è¡æã ãã§ãã ãããã®ã¢ããããã°ã«æšªããã£ãŠããã³ã³ãã¥ãŒã¿ãŒãŸã§äŒžã³ãŠããé·ããã®ã§ãã¢ããã¿ãŒ/ããããªãŒ/ã³ã³ãããŒã«ããã«ãä»ããŠãããã¹ãŠã®ã¯ã€ã€ãŒã«ããã¿ã€ããŠããŸã...ãããè·¯äžã§äœ¿çšããããšã¯ã§ããŸãããã¯ã€ã€ã¬ã¹ãœãªã¥ãŒã·ã§ã³ãå¿
èŠã§ãã WiFiãããªãã³ã³ãã¥ãŒã¿ãŒãããã¬ãã«éãããšãã§ãããããªã¢ããã¿ãŒã«ã€ããŠã¯ãå°ãåãŸã§ç¥ã£ãŠããŸãïŒhttp://habrahabr.ru/blogs/hardware/80314/ãferralabs.ru/index.php?news=2989ïŒã ããããç§èªèº«ã®å¯ºé¢ã§WiFiã¢ãžã¥ãŒã«ããã¹ãããèŠèŸŒã¿ã¯ç¹ã«ãããŸããã äžæ¹ãä»ã§ã¯å€ãã®äººãè³ã«ãã«ãŒãã¥ãŒã¹ã®ã€ã€ãªã³ã°ãã€ããŠããŸã-ãããŠäœãçããŠããŸããã ãã¡ãããBluetoothçµç±ã§ãããªãèŠèŽããããšã¯ã§ããŸããããããã¹ãã³ã³ãœãŒã«ã§ã®äœæ¥ã¯éåžžã«çŸå®çã§ãã ç§ã¯äž»ã«Linuxã§åããŠãããç§èªèº«ã®ãããžã§ã¯ãã®äž»ãªãã®ã¯ãNKçšã®ãµãŒããŒãœãããŠã§ã¢ãã®éçºã§ãããããäœæ¥çšã«ååãªã³ã³ãœãŒã«ããããŸãã
ããã€ã¹ã®ã¢ã«ãã¡çïŒä»¥äžã§èª¬æããŸãïŒã§ã¯ãã¿ã¹ã¯ãããããåçŽåããããšã«ããŸããã
-Bluetoothã¢ãžã¥ãŒã«ãäžæçã«æŸæ£ããŸãïŒåŸã§åæ¥ç¶ããããšã¯é£ãããããŸãããèªåŸé»æºã®äœæã¯ãåŸã§ã延æãããŸãïŒã
-ãã€ã¯ãã³ã³ãããŒã©ãŒããŒããšããŠããããã¥ã¢ã®Freeduino NanoãArduino Miniã§ã¯ãªãããã«ãµã€ãºã§éåžžã«åŒ·åãªSeeeduino Megaã䜿çšããŸãã
ãéã®éšåãã«ããããã¹ãŠãé©ãã»ã©ã·ã³ãã«ã«ãªããŸããã TellyMateæ¡åŒµããŒãã賌å
¥ããŸããã TellyMateãSeeeduino Megaã«æ¥ç¶ããã®ã«æ°ç§ããããŸããã ããã ãã§ãïŒ ééšåã®æºåãã§ããŸããïŒ
ãããã®åãSeeeduino MegaãšTellyMateãäœã§ãããã«ã€ããŠç°¡åã«è©±ãæãæ¥ãŸããã
ã·ãŒãã¥ã€ãŒãã¡ã¬
Seeeduino Megaã¯Arduinoäºæã®ããŒãã§ãã ç§ã¯Arduinoãäœã§ãããã«ã€ããŠã¯è§ŠããŸãã-ç§ã¯ãã§ã«ããã«ã€ããŠæžããŸããã ãã®ãããžã§ã¯ãã§ã¯åé·ãªArduino Megaãšæ¯èŒããŠãSeeeduino Megaã®ç¹åŸŽã®ã¿ã瀺ããŸãã
ããªãŒã¡ã€ã
TellyMateã¯ã è±åœã®è·äººã«ãã£ãŠéçºãããArduinoçšã®æ¡åŒµããŒãã§ãã éåžžã®è€ååºåïŒããã¥ãŒãªãããïŒã®ãã¬ãç»é¢ã«ããã¹ãã衚瀺ã§ããŸãã TellyMateã¯VT-52端æ«ã³ãã³ãã®ãµãã»ããããµããŒãããçœé»ç»åãæäŸããŸããç»é¢ãµã€ãºã¯38 * 25æåã§ãã ïŒããŒãã®ã¢ãã«ã«å¿ããŠïŒ1ã11åã®ãã©ã³ãã»ãããã¡ã¢ãªã«ä¿åã§ããŸãã åãã©ã³ãã»ããã«ã¯ã8 * 9ãããªãã¯ã¹ã®256æåãå«ãŸããŠããŸãã ãã©ã³ãã®ã»ããã¯ãããã°ã©ã ã§åå®çŸ©ã§ããŸãã ãã®å Žåãåå®çŸ©ããããã©ã³ãã¯ãªãã«ãããåŸã§ãããŒãã®ã¡ã¢ãªã«ä¿åãããŸãã ãã®ãããããã¹ãã«å ããŠããªãŒããŒã©ã€ããããæåã䜿çšããŠã°ã©ãã£ãã¯ã衚瀺ããããšãã§ããŸãã
ãã¡ããã38 * 25ã®çœé»ã¹ã¯ãªãŒã³ã¯ç§ãåãåããããã®ã§ã¯ãããŸããããæåã®ããŒãžã§ã³ã§ã¯ããã§ååã§ãã ãã®ããŒãã¯ATmega8ãã€ã¯ãã³ã³ãããŒã©ãŒäžã«æ§ç¯ãããŠããããªãŒãã³ãœãŒã¹ã§ãïŒã€ã³ã¿ãŒãããäžã«ããã¹ããŒã ã䜿çšããŠãåæ§ã®ããã€ã¹ãèªåã§ã¯ãã ä»ãã§ããŸãïŒã ããã¹ãã¯ãæšæºã³ãã³ãSerial.printïŒïŒãSerial.printlnïŒïŒã䜿çšããŠãã¬ãç»é¢ã«è¡šç€ºãããŸãã TellyMateã¯ãæšæºã®COMããŒããä»ããŠArduinoãšéä¿¡ããŸã-Arduinoãã³ã³ãã¥ãŒã¿ãŒãšéä¿¡ããã®ãšåãããŒãã ãããã£ãŠãããã°ã©ã ãããã€ã¹ã«ããŠã³ããŒãããããšããã£ã©ã¯ã¿ãŒããã¬ãç»é¢ã§å®è¡ãéå§ããŸãã
ã³ã³ãã¥ãŒã¿ãŒãšTellyMateã®äž¡æ¹ã§Arduinãšéä¿¡ããããã«COMããŒãããã®ããã«å
±å䜿çšãããããæåã¯ããã®ãããªèšèšæ©èœãã¿ãŒããã«äœæã®ä¹ãè¶ããããªãé害ã«ãªããã©ããçåã«æããŸããã çµéšã¯ãææãç¡é§ã«ãªã£ãŠããããšã瀺ããããã¯åãã:)
ãéãéšåã®çµã¿ç«ãŠã«å¿
èŠãªæéãéåžžã«çãå ŽåããœãããŠã§ã¢ã³ã³ããŒãã³ãã«2ã3é±æ«ãè²»ããå¿
èŠããããŸããã ASUS EeePC 901ãããããã¯ã«Eeebuntu 3.0ãã€ã³ã¹ããŒã«ãããŠããŸãã ãã®ãããæ¬äŒŒç«¯æ«ã§ã®äœæ¥ã«ã¯æšæºã®Linuxãã¯ããã¯ã䜿çšããŸããïŒ å€ãã® LJãŠãŒã¶ãŒtzirechnoyã«æè¬ããŸãïŒïŒã ã©ãããããã§å®è¡ãããèªäœã®ãã¿ãŒããã«ãµãŒããŒãã¯ãæ¬äŒŒã¿ãŒããã«ãéãããã®äžã§bashãå®è¡ããŸãã ãã®åŸãæ¬äŒŒç«¯æ«ã®æ¬äŒŒç»é¢ã«è¡šç€ºãããæåã®éä¿¡ããä»®æ³COMããŒãçµç±ã§ããã€ã¹ã«éä¿¡ãå§ããŸãã ãããŸã§ã®ãšãããããã€ã¹ã¯æç·USBæ¥ç¶ãä»ããŠã³ã³ãã¥ãŒã¿ãŒãšéä¿¡ããŸãã ã¯ã€ã€ã¬ã¹ãã«ãŒãã¥ãŒã¹ã«äº€æããå Žåãããã°ã©ã ã«ããã€ãã®å€æŽãå ããå¿
èŠããããŸãããããã¯ã¢ãŒããã¯ãã£ã«å€§ããªåœ±é¿ãäžããŸããã
MS Windowsã«ã¯ãLinuxæ¬äŒŒç«¯æ«ã«äŒŒãã¡ã«ããºã ã¯ãªããããWindowsçšã®ç§»æ€ãœãããŠã§ã¢ã§é ãçããªããã°ãªããŸããã ç§ã¯Windowsçšã®ã¢ããªã±ãŒã·ã§ã³ã®ããã°ã©ãã³ã°ã®çµéšããªãã®ã§ãWindowsçšã®åæ§ã®ããã°ã©ã ãäœæããããã®ãã³ããšãããŒã«ïŒç¡æã®éçºããŒã«ã«èå³ãããïŒãéžæããããã®ãã³ãã«æè¬ããŸãã
ãœãŒã¹ãã¿ãŒããã«ãµãŒããŒãïŒ ardu-term.c
ããã€ã¹äžã§å®è¡ããããã°ã©ã ãæžãã®ã¯ãã£ãšç°¡åã§ããã ãããããŸããããªã«æåãããã€ã¹ã«ããŠã³ããŒããã䟡å€ããããŸã-æšæºã®Tellimeytãã¡ãŒã ãŠã§ã¢ã«ã¯ãããŸããã åºç€ãšããŠãç¹å®ã®ãŠãŒã¶ãŒãCodeman38ãšããããã¯ããŒã ã§èªç±ã«äœ¿çšã§ããããã«ãã©ã³ãPress StartãäœæããŠã¬ã€ã¢ãŠãããŸããã KOI8-Rã«é©åãããã©ã³ãã®ç§ã®ããŒãžã§ã³ã¯æ¬¡ã®ãšããã§ãã
æåã¯CP-1251ã«åŸã£ãŠãã©ã³ããäœæããŸãããããã®ã¬ã€ã¢ãŠãã«æ¬äŒŒã°ã©ãã£ãã¯ããªãããšãçºèŠããåŸãKOI-8Rã®ãã©ã³ããåç·šéããŸããã
次ã®åé¡ã¯ãäœæããããã©ã³ããã·ãŒã«ãã«ããŒãããããšã§ããã TellyMateéçºè
ãµã€ãã§ã¯ãããã€ã¹ã®ã¡ã¢ãªã«ãã©ã³ããããŠã³ããŒãããããã°ã©ã ãããŠã³ããŒãã§ããŸãã ãŸããç¬èªã®ãã©ã³ããäœæã§ããGoogleã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ããããŸãã æ£çŽãªãšãããã°ã©ãã£ãã¯ãšãã£ã¿ãŒã§ãã©ã³ããæç»ããã®ã§ãGoogleå²åŠã®Googleã®æåããã€ã³ãåäœã§åå
¥åããã®ãé¢åã ã£ãã®ã§ããã©ã³ãããŠã³ããŒãã¢ããªã±ãŒã·ã§ã³ãåæããŠãã©ã³ãããŒã¿åœ¢åŒãåæããå¿
èŠããããŸããã ãã©ã³ãããŒã¿ã®æåã®256ãã€ãã¯ã256æåãã¹ãŠã®äžäœ8ãã¯ã»ã«ã§ãã 次ã®256ãã€ã-å256æåã®å
é ãã2è¡ç®-ãªã©ãæåŸãã9è¡ç®ãŸã§ã ãã©ã³ããæã€ç»åãããã©ã³ãã®ããŒã¿ã®é
åãäœæããç°¡åãªåŠçããã°ã©ã ãäœæããŸããïŒ tv_img2font.pde ã åŠçããçç± ç§ã¯Arduino IDEã§Arduinoåãã«æžããŠããã®ã§ãã³ã³ãã¥ãŒã¿ãŒã§ã®éçºã«å¯æ¥ã«é¢é£ããããã±ãŒãžã䜿çšããã®ã¯è«ççã§ãã ãã©ã³ããããŠã³ããŒãããããã®ããŒã¿ãäœæããã«ã¯ãããã¹ãtv_img2font.pdeã«ãã©ã³ãã€ã¡ãŒãžãå«ããã¡ã€ã«ã®ååãèšè¿°ããProcessingç°å¢ã§ããã°ã©ã ãå®è¡ããå¿
èŠããããŸãã ãã©ã³ããæå®ããã³ãŒãïŒ0x00ã0xABã0xC3ã...ïŒãåºåãŠã£ã³ããŠã«è¡šç€ºãããŸãã ãã©ã³ããããŠã³ããŒãããã«ã¯ããã®ã³ãŒããã³ããŒããŠããã°ã©ã ã«è²Œãä»ããå¿
èŠããããŸãã
Arduinoäžã®KOI-8Pã«ãã©ã³ããããŒãããããã°ã©ã ïŒ tv_font_upload.pde ãã®ããŒãžã§ã³ã®ããã°ã©ã ã§ã¯ãå¿
èŠãªããªã«ãã©ã³ããæ¢ã«ç»é²ãããŠããŸãã Arduinoã¿ãŒããã«ãã³ã³ãã¥ãŒã¿ãŒã«æ¥ç¶ããArduino IDEãå®è¡ãããã®ããã°ã©ã ãã³ã³ãã€ã«ããŠãã¿ãŒããã«ã«ã¢ããããŒãããŸãã
ãã©ã³ããããŠã³ããŒãããåŸãããã€ã¹ã«ãœãããŠã§ã¢ãããŠã³ããŒãããããã«æ®ããæçµçã«Seeeduino + TellyMateã端æ«ã«å€æŽããŸãïŒ tv_terminal.pde ïŒArduino IDEã«ã³ã³ãã€ã«ããŠã端æ«ã«ã¢ããããŒãããŸãïŒã
åºæ¥äžããïŒ ããã§ããã¬ããŸãã¯ãããããŠã³ããã£ã¹ãã¬ã€ãããã¹ãã³ã³ãœãŒã«ãšããŠäœ¿çšã§ããŸãã ãããŠãã©ãããããã«ãŸã£ãã觊ããªãããã«ãããã¹ããå
¥åããããã«ã Nokia SU-8Wãªã©ã®BluetoothããŒããŒãã䜿çšããŸãã
æ°ã¥ããã·ã¹ãã ã®æ¬ é¥ïŒ
-ããããã€ãã³ãã³ããŒã®èµ·åæã«ãã¡ã³ã¯ã·ã§ã³ããŒãšç¢å°ãæ©èœããªãã
-ãããã©ã«ããã³ãã³ãã©ã€ã³ããã³ãããé·ãããŸãã ç§ã¯bashãèµ·åããçŽåŸã«ããšã¯ã¹ããŒãPS1 = "\ u \ $"ãå®è¡ããããã«åŒ·å¶ããæ¹æ³ãç¥ã£ãŠããŸã...
ãŸã å®äºããŠããŸããã
-USBçµç±ã®ããã€ã¹ã®ãããããã¯ãžã®æ¥ç¶ãBluetoothæ¥ç¶ã«çœ®ãæããŸãã
-ããã€ã¹ã«èªåŸçãªé»åãäŸçµŠããŸãã
-Seeeduino MegaãFreeduino Nanoã«çœ®ãæããŸãã