{"id":237,"date":"2013-07-13T21:56:53","date_gmt":"2013-07-14T01:56:53","guid":{"rendered":"http:\/\/projectsofdan.com\/?p=237"},"modified":"2013-07-25T20:04:09","modified_gmt":"2013-07-26T00:04:09","slug":"raspberry-pi-hardware-integration","status":"publish","type":"post","link":"https:\/\/projectsofdan.com\/?p=237","title":{"rendered":"Raspberry Pi Hardware Integration"},"content":{"rendered":"<p>A few weeks ago I got a Raspberry Pi to run in B.E.T.H. I had been running it all strewn around on the desk, but yesterday I finally got it all packed inside the chassis. Here&#8217;s a run down of what I did.<\/p>\n<p>Parts:<\/p>\n<ul>\n<li><span style=\"line-height: 14px;\"><a title=\"Raspberry Pi\" href=\"http:\/\/www.raspberrypi.org\" target=\"_blank\">Raspberry Pi<\/a> Model B with yellow composite video connector removed<\/span><\/li>\n<li><a title=\"Pi Proto Plate\" href=\"http:\/\/www.adafruit.com\/products\/801\" target=\"_blank\">Adafruit Pi Proto Plate<\/a><\/li>\n<li><a title=\"Xbee Breakout\" href=\"https:\/\/www.sparkfun.com\/products\/8276\" target=\"_blank\">Sparkfun Xbee Breakout Board<\/a><\/li>\n<li><a title=\"Reg Breakout\" href=\"http:\/\/www.trossenrobotics.com\/store\/p\/5257-Voltage-Regulator-Breakout-Board.aspx\" target=\"_blank\">Trossen Voltage Regulator Breakout Board<\/a><\/li>\n<li><a title=\"5V Regulator\" href=\"http:\/\/www.murata-ps.com\/data\/power\/oki-78sr.pdf\" target=\"_blank\">Murata OKI-78SR-5\/1.5-W36H-C 5V Switching Regulator<\/a><\/li>\n<li><a title=\"Dynamixel hub\" href=\"http:\/\/www.trossenrobotics.com\/p\/Bioloid-6-Port-Cable-Hub.aspx\" target=\"_blank\">Dynamixel Hub<\/a><\/li>\n<li><a title=\"Powered Dynamixel Hub\" href=\"http:\/\/www.trossenrobotics.com\/6-port-ax-mx-power-hub\" target=\"_blank\">Powered Dynamixel Hub<\/a><\/li>\n<li><a title=\"USB2AX\" href=\"http:\/\/xevelabs.com\/doku.php?id=product:usb2ax:usb2ax\" target=\"_blank\">USB2AX USB Dynamixel Adapter<\/a><\/li>\n<li><a title=\"D-Link Wifi\" href=\"http:\/\/www.newegg.com\/Product\/Product.aspx?Item=9SIA0AT0PC2539&amp;nm_mc=KNC-GoogleMKP&amp;cm_mmc=KNC-GoogleMKP-_-pla-_-Wireless+Adapters-_-9SIA0AT0PC2539\" target=\"_blank\">D-Link DWA-131 USB Wifi Adapter<\/a><\/li>\n<\/ul>\n<p><a href=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0592.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-241 aligncenter\" alt=\"IMG_0592\" src=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0592.jpg\" width=\"640\" height=\"480\" srcset=\"https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0592.jpg 1280w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0592-300x225.jpg 300w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0592-1024x768.jpg 1024w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0592-624x468.jpg 624w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>So as you can see, I mounted the Xbee breakout on the Pi Proto Plate. At first the Plate was sitting up too tall. It originally was the full length of the Raspberry Pi and spaced up enough using an extended header that it covered the ethernet and USB ports. I ended up cutting the board down and mounting it on a standard height header so it could sit lower. I mounted the Pi by glue gunning it to plastic standoffs which screw into the chassis.<\/p>\n<p><a href=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0590.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-244 aligncenter\" alt=\"IMG_0590\" src=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0590.jpg\" width=\"640\" height=\"480\" srcset=\"https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0590.jpg 1280w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0590-300x225.jpg 300w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0590-1024x768.jpg 1024w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0590-624x468.jpg 624w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>As for power, I&#8217;m running the battery power into the regulator breakout board and using it as a distribution block to jumper battery power to the power Dynamixel hub. The 5V output of the regulator goes to the Raspberry Pi. I&#8217;m powering the Pi through the GPIO power pins accessed through the Pi Proto Plate.<\/p>\n<p><a href=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0594.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-246 aligncenter\" alt=\"IMG_0594\" src=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0594.jpg\" width=\"640\" height=\"480\" srcset=\"https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0594.jpg 1280w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0594-300x225.jpg 300w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0594-1024x768.jpg 1024w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0594-624x468.jpg 624w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>I plan to order shorter Dynamixel cables and shorten up the battery\/switch wires to clean things up, but as of now it looks like this:<\/p>\n<p><a href=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0598.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-250 aligncenter\" alt=\"IMG_0598\" src=\"http:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0598.jpg\" width=\"640\" height=\"480\" srcset=\"https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0598.jpg 1280w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0598-300x225.jpg 300w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0598-1024x768.jpg 1024w, https:\/\/projectsofdan.com\/wp-content\/uploads\/2013\/07\/IMG_0598-624x468.jpg 624w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Unfortunately the battery has to go on top of the robot. I now run the wifi adapter and USB2AX in the Pi&#8217;s USB ports. I then SSH and\/or VNC in over the network to work on bot. If i have to I can reach in and plug a USB hub cable in in place of the wifi adapter.<\/p>\n<p><a title=\"The Game Plan for B.E.T.H.\" href=\"http:\/\/projectsofdan.com\/?p=32\">Back to B.E.T.H.&#8217;s main index.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago I got a Raspberry Pi to run in B.E.T.H. I had been running it all strewn around on the desk, but yesterday I finally got it all packed inside the chassis. Here&#8217;s a run down of what I did. Parts: Raspberry Pi Model B with yellow composite video connector removed Adafruit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5,7,34,13,6],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-b-e-t-h","tag-hexapod","tag-phantomx","tag-b-e-t-h","tag-raspberry-pi","tag-robot"],"_links":{"self":[{"href":"https:\/\/projectsofdan.com\/index.php?rest_route=\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projectsofdan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/projectsofdan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/projectsofdan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/projectsofdan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=237"}],"version-history":[{"count":17,"href":"https:\/\/projectsofdan.com\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":264,"href":"https:\/\/projectsofdan.com\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions\/264"}],"wp:attachment":[{"href":"https:\/\/projectsofdan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projectsofdan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projectsofdan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}