{"id":80,"date":"2011-01-05T23:49:35","date_gmt":"2011-01-05T23:49:35","guid":{"rendered":"http:\/\/paulsarduino.co.uk\/?p=80"},"modified":"2011-01-08T00:10:26","modified_gmt":"2011-01-08T00:10:26","slug":"nunchuck-controlled-3d-cube-on-tv","status":"publish","type":"post","link":"https:\/\/paulsarduino.co.uk\/?p=80","title":{"rendered":"Nunchuck Controlled 3D cube on TV"},"content":{"rendered":"<p>This is pretty cool &#8211; I took the TVout library, the Wiichuck library and wrote a 3D library. Put them all together and got a nunchuck controlled 3D shape on TV. Movement in the nunchuck is detected by the arduino, then the cube is redrawn according to new angle of the controller.<\/p>\n<p><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"640\" height=\"385\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/4yoQ7S992z4?fs=1&amp;hl=en_GB\" \/><param name=\"allowfullscreen\" value=\"true\" \/><embed type=\"application\/x-shockwave-flash\" width=\"640\" height=\"385\" src=\"http:\/\/www.youtube.com\/v\/4yoQ7S992z4?fs=1&amp;hl=en_GB\" allowscriptaccess=\"always\" allowfullscreen=\"true\"><\/embed><\/object><br \/>\nAt this point I ran out of memory but it wouldn&#8217;t be too hard to set up the shapes in FLASH instead of RAM. The hardware isn&#8217;t too complicated, just a few resistors and a pot for the speaker.<\/p>\n<figure id=\"attachment_71\" aria-describedby=\"caption-attachment-71\" style=\"width: 150px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/paulsarduino.co.uk\/wp-content\/uploads\/2011\/01\/IMG_1873.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-71\" title=\"Nunchuck TV\" src=\"http:\/\/paulsarduino.co.uk\/wp-content\/uploads\/2011\/01\/IMG_1873-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><figcaption id=\"caption-attachment-71\" class=\"wp-caption-text\">Driving a TV and speaker and reading a nunchuck <\/figcaption><\/figure>\n<figure id=\"attachment_115\" aria-describedby=\"caption-attachment-115\" style=\"width: 150px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/paulsarduino.co.uk\/wp-content\/uploads\/2011\/01\/Nunchuck-TV-Schematic.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-115\" title=\"Circuit Schematic\" src=\"http:\/\/paulsarduino.co.uk\/wp-content\/uploads\/2011\/01\/Nunchuck-TV-Schematic-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><figcaption id=\"caption-attachment-115\" class=\"wp-caption-text\">The circuit - just a few resistors<\/figcaption><\/figure>\n<p>3d wireframe library <a href=\"http:\/\/paulsarduino.co.uk\/?page_id=95\">header<\/a> and <a href=\"http:\/\/paulsarduino.co.uk\/?page_id=98\">source<\/a><\/p>\n<p>Code to <a href=\"http:\/\/paulsarduino.co.uk\/?page_id=92\">tie everything together<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is pretty cool &#8211; I took the TVout library, the Wiichuck library and wrote a 3D library. Put them all together and got a nunchuck controlled 3D shape on TV. Movement in the nunchuck is detected by the arduino, then the cube is redrawn according to new angle of the controller. At this point [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-arduino","category-arproject"],"_links":{"self":[{"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":10,"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paulsarduino.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}