{"id":157,"date":"2008-03-28T08:38:18","date_gmt":"2008-03-28T07:38:18","guid":{"rendered":"http:\/\/www.robotcowboy.com\/?p=157"},"modified":"2014-08-05T09:46:10","modified_gmt":"2014-08-05T13:46:10","slug":"button_box-v2","status":"publish","type":"post","link":"https:\/\/robotcowboy.com\/cabledmadness\/peripherals\/button_box-v2\/","title":{"rendered":"button_box v2"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/robotcowboy.com\/cabledmadness\/tech\/peripherals\/button_box.jpg\" alt=\"button box\" align=\"right\" height=\"200\" width=\"118\" \/>This is a simple control box built out of a hacked gamepad.  I simply removed the logic board from the gamepad, cut off the parts I didn&#8217;t need, and soldered new buttons to the trigger pads.  The big red button lights up and is used to start\/stop songs; the smaller red button loads the next song in the playlist; the black button is for Push-To-Talk voice communication control of my microphone; and the white button currently has no use.  If you hold down the black and red buttons, the system will look for nearby wiimotes over Bluetooth.<\/p>\n<p>It is my second version of the same idea.  The first button_box was built out of a custom <a href=\"http:\/\/arduino.cc\" title=\"arduino\">Arduino<\/a> circuit and communicated over a serial connection or a Bluetooth modem.  My main problems with this approach is that serial interface requires more software handshaking and that it needs an 9V battery.  If I would forget to check the battery and the box ran out of power, I had no way of controlling the playback of my songs &#8230; that is a major design flaw!  By basing the second button box off of a gamepad, I eliminate both problems in that most operating system have low level HID drivers already and this gamepad is powered by the computer over USB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a simple control box built out of a hacked gamepad. I simply removed the logic board from the gamepad, cut off the parts I didn&#8217;t need, and soldered new buttons to the trigger pads. The big red button lights up and is used to start\/stop songs; the smaller red button loads the next [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-157","post","type-post","status-publish","format-standard","hentry","category-peripherals"],"_links":{"self":[{"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/posts\/157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/comments?post=157"}],"version-history":[{"count":1,"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/posts\/157\/revisions"}],"predecessor-version":[{"id":761,"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/posts\/157\/revisions\/761"}],"wp:attachment":[{"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/media?parent=157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/categories?post=157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robotcowboy.com\/cabledmadness\/wp-json\/wp\/v2\/tags?post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}