{"id":309,"date":"2018-08-06T12:00:36","date_gmt":"2018-08-06T19:00:36","guid":{"rendered":"http:\/\/letsbuildroboticswithshadow8472.com\/?p=309"},"modified":"2018-08-05T23:24:51","modified_gmt":"2018-08-06T06:24:51","slug":"a-new-tool","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2018\/08\/06\/a-new-tool\/","title":{"rendered":"A new tool"},"content":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I have shelved the boat race port pending review and started on a new project. Let&#8217;s get started.<\/p>\n<p>My next goal is a project to keep the cat off the counter. After some early research, I came across <a href=\"http:\/\/opencv.org\" target=\"_blank\" rel=\"noopener\">OpenCV<\/a>, an open source computer vision library. Some people have even already gotten it to identify cat faces. Keeping my long-term goal of a social robot in mind, this sounds like the direction to go, rather than a motion detector attached to a deterrent.<\/p>\n<p>Now, to chose the hardware. I don&#8217;t know what the system requirements my program will need, so I decided to overshoot and make a &#8220;lab assistant&#8221; computer to help me with future small projects. A day or so of research later, taking into account Linux as a platform, system specs, community size, and likeliness of support form said community. Of note, I did try to include Fair Trade or equivalent as a criteria, but with electronics, it&#8217;s almost impossible to find a supplier who&#8217;s sure their product doesn&#8217;t include slave labor in their supply chain. In the end I narrowed it down to the Raspberry Pi 3 model B+. Also of note, the Pi is made in the UK (or China in peak times), so my guess is that at least some of the workers were more likely paid a fair living.<\/p>\n<p>The assortment of starter packages is abundant. You can get the Pi alone for about $35, but starter packages tend to include other necessary things like a power cord and case. This led me to look into them and along the way, I learned that the Pi needs a micro SD card to run.<\/p>\n<p>Before I even picked out the Pi for sure, I found a case to 3D print for it. In this case, it&#8217;s a <a href=\"https:\/\/www.myminifactory.com\/object\/3d-print-pacman-ghost-raspberry-pi-3-case-38713\" target=\"_blank\" rel=\"noopener\">Pac Man Ghost<\/a> by <a class=\"under-hover\" href=\"https:\/\/www.myminifactory.com\/users\/furnibird\" target=\"_blank\" rel=\"noopener\">Darren Furniss<\/a> on <a href=\"https:\/\/www.myminifactory.com\/\" target=\"_blank\" rel=\"noopener\">MyMiniFactory.com<\/a>. I started printing one up, but accidentally interrupted it about 10 out of 28 hours into printing the first part. No more heavy objects in front of a pressure based touch screen for me. While the second attempt was underway, the Pi itself arrived, and I set it up. A camera arrived with it, and I even managed to get a picture, though one test picture crashed the system. I haven&#8217;t gone to investigate yet.<\/p>\n<p>The upper part of the case is the ghost&#8217;s head. Since I&#8217;m mounting a camera as part of the setup, I want to have the Pi look out one of its eyes (I&#8217;d need a second board to use a second camera). My first thought was to drill a hole but when I saw the narrow walls in the base with infill, I figured pulling the file into Blender and digitally drilling would be more effective. Before I do that, I need measurements so I drill the right hole and can actually mount the Pi camera correctly.<\/p>\n<p>I started encountering small problems when I realized the Pi was mounted upside down in the ghost&#8217;s lower half, extending the distance the already short camera&#8217;s ribbon cable has to cover. After sundown Saturday, (I let my family have a day of peace from the printer&#8217;s constant whining during Sabbath hours) I started up a fast quality of the top. The file online said both parts were supposed to print without a support structure, but as I suspected, a short, long gap didn&#8217;t form correctly. I canceled the print, but learned a lot from the partial print.<\/p>\n<p>Pulling the Pi from it&#8217;s kit case and putting it in the printed base, I discovered three things: The screw holes don&#8217;t quite line up (The case is meant for a Pi B and I have a Pi B+), and the gap in the top is necessary for port access for the power, if not the HDMI, and finally, by comparing the partial print to the 3d model, I discovered the eye does not line up at all with where the camera cable wraps around.<\/p>\n<p>None of the challenges I&#8217;ve encountered so far are insurmountable. My only big concern is that the Pi will melt though the PLA case I have for it. Next week, I&#8217;m going to come up with a good 3d model for the ghost&#8217;s top where I can mount the camera.<\/p>\n<p>Final Question: There is a real possibility I will need to switch to ABS for computer casings. What colors should I start with?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I have shelved the boat race port pending review and started on a new project. Let&#8217;s get started. My next goal is a project to keep the cat off the counter. After some early research, I came across OpenCV, an open source computer vision &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2018\/08\/06\/a-new-tool\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A new tool&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[6,12],"tags":[],"class_list":["post-309","post","type-post","status-publish","format-standard","hentry","category-3d-printing","category-robotics-construction"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=309"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":310,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/309\/revisions\/310"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}