{"id":20,"date":"2011-02-01T19:55:03","date_gmt":"2011-02-01T19:55:03","guid":{"rendered":"https:\/\/gamadiyo.com\/blog\/?p=20"},"modified":"2011-02-01T20:33:26","modified_gmt":"2011-02-01T20:33:26","slug":"arduino-wiichuck","status":"publish","type":"post","link":"https:\/\/gamadiyo.com\/blog\/?p=20","title":{"rendered":"Arduino: WiiChuck"},"content":{"rendered":"<p>I used the <a title=\"WiiChuck\" href=\"http:\/\/www.arduino.cc\/playground\/Main\/WiiChuckClass\" target=\"_blank\">WiiChuck.h<\/a> library and the WiiChuck example from the same page to get the data from the Wii nun chuck.<\/p>\n<p>white &#8211; ground<br \/>\nred &#8211; 3.3+v<br \/>\ngreen &#8211; data<br \/>\nyellow &#8211; clock<\/p>\n<p>Instead of cutting the wires of the nun-chuck, I used a <a title=\"Wiichuck Adapter\" href=\"http:\/\/store.fungizmos.com\/index.php?main_page=product_info&amp;cPath=69&amp;products_id=212\" target=\"_blank\">Wiichuck Adapter<\/a> from <a title=\"FunGizmos\" href=\"http:\/\/store.fungizmos.com\/\" target=\"_blank\">FunGizmos<\/a>. It makes it easy to connect the nun-chuck to the breadboard. The data collected can be seen in the serial monitor for the Arduino software or can be displayed using a <a title=\"Processing\" href=\"http:\/\/processing.org\/download\/index.html\" target=\"_blank\">Processing<\/a> software example of a RGB cube.\u00c2\u00a0All of this can be found on the <a title=\"WiiChuckClass\" href=\"http:\/\/www.arduino.cc\/playground\/Main\/WiiChuckClass\" target=\"_blank\">WiiChuckClass<\/a> section in Arduino Playground.<\/p>\n<p><a href=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/WiiChuck.h\">WiiChuck.h<\/a>, <a href=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/WiiChuck-arduino.txt\">WiiChuck.pde<\/a>, <a href=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/WiiChuck-processing.txt\">WiiChuck-RGBCube<\/a><\/p>\n<p><a href=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0340.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-21\" title=\"Arduino - WiiChuck Processing RGB Cube\" src=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0340-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0340-300x225.jpg 300w, https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0340-1024x768.jpg 1024w, https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0340.jpg 2048w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"425\" height=\"350\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/6BSN3sxDA9Y\" \/><embed type=\"application\/x-shockwave-flash\" width=\"425\" height=\"350\" src=\"http:\/\/www.youtube.com\/v\/6BSN3sxDA9Y\"><\/embed><\/object><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I used the WiiChuck.h library and the WiiChuck example from the same page to get the data from the Wii nun chuck. white &#8211; ground red &#8211; 3.3+v green &#8211; data yellow &#8211; clock Instead of cutting the wires of the nun-chuck, I used a Wiichuck Adapter from FunGizmos. It makes it easy to connect [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[35,31,33,32,34,30,29],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-arduino-2","tag-fungizmo","tag-nun-chuck","tag-nunchuck","tag-nunchuk","tag-processing","tag-wii","tag-wiichuck"],"_links":{"self":[{"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":0,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}