{"id":23,"date":"2011-02-01T20:23:42","date_gmt":"2011-02-01T20:23:42","guid":{"rendered":"https:\/\/gamadiyo.com\/blog\/?p=23"},"modified":"2011-02-01T20:36:48","modified_gmt":"2011-02-01T20:36:48","slug":"arduino-wiichuck-servo","status":"publish","type":"post","link":"https:\/\/gamadiyo.com\/blog\/?p=23","title":{"rendered":"Arduino: WiiChuck Servo"},"content":{"rendered":"<p>I used the code from <a title=\"todbot.com\" href=\"http:\/\/todbot.com\/blog\/2007\/10\/25\/boarduino-wii-nunchuck-servo\/\" target=\"_blank\">this<\/a> website to control a 3 wire servo. The <a title=\"TodBot Blog\" href=\"http:\/\/todbot.com\/blog\/\" target=\"_blank\">todbot blog<\/a> seems to have lot of projects. The wiring is done pretty much the same way as the WiiChuck before. The Servo pin is connected to D7.<\/p>\n<p><strong>Wii NunChuck<\/strong><br \/>\nRed &#8211; 3.3V<br \/>\nWhite &#8211; Ground<br \/>\nGreen &#8211; Analog In 4 (A4)<br \/>\nYellow &#8211; Analog In 5 (A5)<\/p>\n<p><strong>Servo<\/strong><br \/>\nRed &#8211; 5V<br \/>\nBlack &#8211; Ground<br \/>\nWhite &#8211; Digital 7 (D7)<\/p>\n<p><a href=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/wii_nunchuck_servo.txt\">wii_nunchuck_servo.pde<\/a><\/p>\n\n\t\t<style type=\"text\/css\">\n\t\t\t#gallery-1 {\n\t\t\t\tmargin: auto;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-item {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: 10px;\n\t\t\t\ttext-align: center;\n\t\t\t\twidth: 33%;\n\t\t\t}\n\t\t\t#gallery-1 img {\n\t\t\t\tborder: 2px solid #cfcfcf;\n\t\t\t}\n\t\t\t#gallery-1 .gallery-caption {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t\t\/* see gallery_shortcode() in wp-includes\/media.php *\/\n\t\t<\/style>\n\t\t<div id='gallery-1' class='gallery galleryid-23 gallery-columns-3 gallery-size-thumbnail'><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/gamadiyo.com\/blog\/?attachment_id=24'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0333-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/gamadiyo.com\/blog\/?attachment_id=25'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0334-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><dl class='gallery-item'>\n\t\t\t<dt class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/gamadiyo.com\/blog\/?attachment_id=26'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/gamadiyo.com\/blog\/wp-content\/uploads\/2011\/02\/IMG_0335-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/dt><\/dl><br style=\"clear: both\" \/>\n\t\t<\/div>\n\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\/4_B5t5XgAZM\" \/><embed type=\"application\/x-shockwave-flash\" width=\"425\" height=\"350\" src=\"http:\/\/www.youtube.com\/v\/4_B5t5XgAZM\"><\/embed><\/object><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I used the code from this website to control a 3 wire servo. The todbot blog seems to have lot of projects. The wiring is done pretty much the same way as the WiiChuck before. The Servo pin is connected to D7. Wii NunChuck Red &#8211; 3.3V White &#8211; Ground Green &#8211; Analog In 4 [&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":[33,18,36,30,29],"class_list":["post-23","post","type-post","status-publish","format-standard","hentry","category-arduino-2","tag-nunchuck","tag-servo","tag-todbot","tag-wii","tag-wiichuck"],"_links":{"self":[{"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/23","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=23"}],"version-history":[{"count":0,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/23\/revisions"}],"wp:attachment":[{"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gamadiyo.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}