{"id":886,"date":"2011-06-05T15:47:52","date_gmt":"2011-06-05T19:47:52","guid":{"rendered":"http:\/\/biosrhythm.com\/?p=886"},"modified":"2013-07-29T02:01:46","modified_gmt":"2013-07-29T02:01:46","slug":"converting-standard-joysticks-to-wireless-infrared-for-amiga-cdtv-and-chameleon-64","status":"publish","type":"post","link":"https:\/\/biosrhythm.com\/?p=886","title":{"rendered":"Converting standard joysticks to wireless infrared for Amiga CDTV and Chameleon 64"},"content":{"rendered":"<p><img loading=\"lazy\" alt=\"\" src=\"http:\/\/farm3.static.flickr.com\/2541\/5777297589_5b0947bfef.jpg\" title=\"Chameleon 64 running Minimig core\" class=\"alignleft\" width=\"374\" height=\"500\" \/>The Chameleon 64 is a great cartridge. With each release of the firmware, new features are being unlocked. Recently, the Minimig core was ported to the Chameleon 64 which means you can now have a fully emulated Amiga that fits in the palm of your hand.<br \/>\n<br \/>\nTo play games using a joystick, you need a CDTV infrared (IR) remote. They are still available for purchase <a href=\"http:\/\/www.vesalia.de\/e_cdtvremote.htm\">here<\/a> and <a href=\"http:\/\/amigakit.leamancomputing.com\/catalog\/product_info.php?manufacturers_id=34&#038;products_id=296\">here<\/a> but it would take a few weeks for it to arrive.<br \/>\n<br \/>\nI wanted to see if it&#8217;s possible to convert a standard joystick to wireless IR communications. I know it can be done&#8211; <a href=\"http:\/\/biosrhythm.com\/?s=IR+interfacing+with+a+LED\">I&#8217;ve had some experience using Arduino&#8217;s to communicate over IR with a vintage LED sign I have<\/a>. I reverse engineered the original protocol by using the original remote to the sign. That project taught me a lot.<br \/>\n<br \/>\nIn this case, I don&#8217;t have the remote. So I asked on the forum and <a href=\"http:\/\/tech.groups.yahoo.com\/group\/chameleon_64\/message\/630\">got a response from the programmer of the Chameleon IR code with all the info I needed (Thanks Peter!)<\/a>.<br \/>\n<br \/>\nThis version uses an original Nintendo NES game pad for the joystick but this could be easily changed to support a standard 9-pin Commodore\/Amiga\/Atari style joystick. The gamepad is connected to the Arduino and decoded into button presses. It then transmits it via infrared signals to the Chameleon. The code uses the <a href=\"https:\/\/github.com\/shirriff\/Arduino-IRremote\">Arduino-IRremote library<\/a> with additions (included) for the CDTV remote type added.<br \/>\n<br \/>\n<a href=\"http:\/\/paulrickards.com\/wp-content\/uploads\/2011\/06\/cdtv_remote.zip\">Download CDTV IR Remote<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Chameleon 64 is a great cartridge. With each release of the firmware, new features are being unlocked. Recently, the Minimig core was ported to the Chameleon 64 which means you can now have a fully emulated Amiga that fits in the palm of your hand. To play games using a joystick, you need a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,6,15],"tags":[],"_links":{"self":[{"href":"https:\/\/biosrhythm.com\/index.php?rest_route=\/wp\/v2\/posts\/886"}],"collection":[{"href":"https:\/\/biosrhythm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biosrhythm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biosrhythm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/biosrhythm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=886"}],"version-history":[{"count":2,"href":"https:\/\/biosrhythm.com\/index.php?rest_route=\/wp\/v2\/posts\/886\/revisions"}],"predecessor-version":[{"id":1054,"href":"https:\/\/biosrhythm.com\/index.php?rest_route=\/wp\/v2\/posts\/886\/revisions\/1054"}],"wp:attachment":[{"href":"https:\/\/biosrhythm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biosrhythm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biosrhythm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}