Arduino ãè²·ã£ã¦ã¾ããã£ã¦ã¿ããã£ãäºãããã¬ãã«ç»é¢ãåºåããäºã§ããæ®éã®ãã½ã³ã³ã ã¨ãããªåºåã¯ãã¼ãã®ä»äºãªã®ã§åãã¡ã«ã¯æãåºãã¾ããããArduino ã使ãã¨ãããªæã¾ã§èªåã§ãããã¾ããArduino ã®æ²ç¤ºæ¿ã«ãã£ã Arduino Pong ã¨ããã®ã試ãã¦ã¿ã¾ãããã¾ãå¿ è¦ãªé¨åã¯ãããªæãã
- Arduino
- ãã¬ãããã¼ã
- ãããªç«¯å(ã¡ã¹) ä¸è¦ãªã³ã¼ããåã£ã¦ä½¿ãã¾ãã
- ã¯ãã¯ãªãã
- ããã¯ã¢ããã¯ã¤ã¤22çª
- æµæ æ¸ãã¦ããéãã®ãç¡ãã£ãã®ã§é©å½ã«
- 82Ω(ç°èµ¤é»é) GND ã«ç¹ã
- 330Ω(æ©æ©è¶é) Digital9 ã«ç¹ã (video)
- 1KΩ(è¶é»èµ¤é) Digital8 ã«ç¹ã (sync)
ãããªç«¯åã¯ãã®ããã«ã¡ããåã£ã¦ä¸ã®ç·ãåºãã¾ãã
ã¯ãã¯ãªãããããã£ã¦ä»ãã¾ããä¸ã®ç·ã«èµ¤ããå¤ã®ç·ã«é»ãä»ãã¾ãã
Arduino Pong ã®ãã¼ã¸ãåèã«ããã¬ãããã¼ãã«åãä»ããã¨å®æã§ãããã¼ã ãã¼ã¸ã«ããã½ã¼ã¹ãã³ãããã¦è»¢éãã¾ããå¯å¤æµæã Analog In 2 ã«ä»ããã¨ã¡ããã¨éã¶äºãåºæ¥ã¾ãã
é£ããã£ãæ
å®ã¯æåãã£ã¨åç´ãã㪠Interfacing with an NTSC TV ã試ããã®ã§ããå ¨ç¶ä¸æãè¡ãã¾ããã§ãããã¿ã¤ãã³ã°ãå³ããã¿ããã§ããã¾ããç§ã®ããã«åè·¯å³ãè¦æãªäººã¯ãInterfacing with an NTSC TV ã®ãããã°ã¢ã¼ã (#define _debugMode _debugLevelSignal) ã使ã£ã¦ãããããã¹ã¿ã¼ã§åºåé»å§ã測ããªãã¨ãã¾ãé ç·æ¹æ³ãééããã¨æãã¾ããPong ãé ç·ã¯åãã§ããééããã«ä½ã£ãã 30 åãããã§åºæ¥ãã¨æãã¾ãããééããã®ã§ 8 æéããããããã¾ããã
ã§ãåç°ãè¦ããªããé¨åãå°ãªãããä¸ã®åçã®éãã«ããã°èª°ã§ãä½ããã¨æãã¾ããåç´ãªå²ã«é¢ç½ãã®ã§ã¿ããªããã£ã¦ã¿ããï¼ãããå ã«èªåã®ã²ã¼ã ãä½ã£ã¦ã¿ãããªã¼ã
åèãªã³ã¯
- Arduino Pong æ²ç¤ºæ¿è¨äº http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1187659197
- Arduino Pong ã½ã¼ã¹ http://alastair.parker.googlepages.com/arduinopong
- Interfacing with an NTSC TV http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1188261175
- AVR ç¨ NTSC çææ³ (ä¸çªåãããããã£ã) http://www.eyetap.org/ece385/lab5.htm
- ã¢ããã°ãã¬ãã«è¡¨ç¤ºãã1人ç¨PONGã²ã¼ã å°å±±æºå²(å¼å大å¦) ä»ã®åèãªã³ã¯ã沢山ããã¾ããhttp://siva.cc.hirosaki-u.ac.jp/usr/koyama/video/pong.htm