1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <?xml-stylesheet type="text/xsl" href="helma.xsl"?>
3 <xmlroot xmlns:hop="http://www.helma.org/docs/guide/features/database">
4 <hopobject id="3215" name="2013-11-06-beagleboneblack-3d-printer-intro" prototype="Page" created="1383767792139" lastModified="1383768416733">
5 <hop:parent idref="2912" prototyperef="Page"/>
6 <is_xhtml type="boolean">true</is_xhtml>
7 <http_remotehost>98.250.142.42</http_remotehost>
8 <http_language>en-US,en;q=0.8</http_language>
9 <uri>2013-11-06-beagleboneblack-3d-printer-intro</uri>
10 <http_browser>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36</http_browser>
11 <time type="date">06.11.2013 14:06:56 CST</time>
12 <hopsession>98.250.142.1r21z81a3slbu</hopsession>
13 <body><h1>Introduction to 3D printing with BeagleBone Black</h1>
\r
14 <p>by Jason Kridner</p>
\r
15 <p>Over on the <a href="http://e2e.ti.com/blogs_/b/toolsinsider/default.aspx">TI Tools Insider Blog</a>, Alejandro Erives has been talking about <a href="/blogs_/b/toolsinsider/archive/2013/06/06/imagine-you-were-given-a-machine-that-could-make-anything-what-would-you-make.aspx">self-replicating machines</a> and Stephanie Pearson day-dreamed about giving a Beagle a 3D printer and the impact on <a href="/blogs_/b/toolsinsider/archive/2013/07/25/if-you-give-a-beagle-a-3d-printer.aspx">open source hardware</a>. This prompts the question, how do you get started and where can you end up?</p>
\r
16 <p>Here's the quick overview of what you'll need to produce your very own first prints in 3D plastic, before we dive into any details:</p>
\r
18 <li>Processor to control your printer — such as provided by the TI Sitara AM335x on <a href="http://beagleboard.org/black">BeagleBone Black</a></li>
\r
19 <li>Electronics to drive your positioning and extruder motors, extruder heating element, heating plate and limit switches — such as provided by a <a href="http://circuitco.com/support/index.php?title=BeBoPr-Plus">BeBoPr-Plus Cape</a>, <a href="http://www.pololu.com/catalog/product/2133">Pololu #2133</a> stepper motor drivers using TI <a href="http://www.ti.com/product/DRV8825" title="Link to Product Folder" target="_blank">DRV8825</a> devices and an <a href="http://www.amazon.com/Adapter-Power-Supply-STI-008-025-5-5mm/dp/B00AI1BAFK">off-the-shelf power supply</a></li>
\r
20 <li>Mechanical structure with drive motors, extruder, heating elements, build surface and limit switches — such as provided by a <a href="http://reprap.org/wiki/Huxley">RepRap Huxley</a></li>
\r
21 <li>Software to run the slice up the 3D models into GCode, an interpreter for the GCode and to send pulse trains to the stepper motor drivers — such as is provided by the <a href="http://bb-lcnc.blogspot.com.br/p/machinekit_16.html">Machinekit Linux distribution</a> based on Debian, Robert Nelson's image building tools and Charles Steinkuehler's integration work</li>
\r
22 <li>Models for the components you want to build — such as these <a href="http://www.thingiverse.com/thing:50730">Mendel plastic components on Thingiverse</a></li>
\r
23 <li>Patience — give yourself plenty of time when getting started with 3D printing and you'll find it a fun and rewarding endeavor!</li>
\r
25 <h2>Processor</h2>
\r
26 <p>Choosing the processor is the easy part, because the AM335x on BeagleBone Black has all of the most important hardware features you might need, including a fast processor, video display output with 3D graphics rendering capabilities, Ethernet/USB connectivity, ADCs, PWMs, lots of GPIOs and a couple of independent fast microcontrollers optimized for producing interface logic. At BeagleBone Black's rather affordable price point, nothing else is close when examining all of these features. Let's look at how each of those elements comes into necessity.</p>
\r
27 <p>To read the heat data, the simplest mechanisms are to utilize either an <a href="http://learn.adafruit.com/measuring-temperature-with-a-beaglebone-black/overview">analog temperature sensor</a> or a <a href="http://hipstercircuits.com/dallas-one-wire-temperature-reading-on-beaglebone-black-with-dto/">one-wire temperature sensor</a>. An on-chip ADC sample the analog temperature values directly without additional hardware. The one-wire bus protocol is an alternative that enables multiple sensors to be connected along the same single-wire bus, simplifying the wiring topology and bringing data back to the processor digitally. Linux provides a driver that is capable of turning a GPIO pin into a one-wire bus port and this driver is almost trivial to enable using. Getting an accurate temperature reading has never been easier.</p>
\r
28 <p>The multitude of GPIOs serve many purposes, in addition to providing ports for one-wire support. Each limit switch provides time-critical information to the electronic controls in the case where a motor's position needs to be calibrated or the print head is otherwise attempted to be moved beyond the range of the printer. Every GPIO on the BeagleBone Black is capable of producing an interrupt to the main processor such that it can get notification quickly. Perhaps more importantly, several of the GPIOs have extremely low-latency connections to the <a href="http://elinux.org/Ti_AM33XX_PRUSSv2">PRU 32-bit 200MHz microcontrollers on-chip</a>. These dedicated controllers are able to update the BeagleBone peripherals in real-time, without being distracted by other tasks running within the Linux environment.</p>
\r
29 <p>These PRUs are especially useful in talking to the stepper motor drivers that need to be given pulse trains telling them when to step forward or backward. With the real-time tasks off-loaded to the PRUs, it is even possible to use a high-level language like <a href="http://hipstercircuits.com/pypruss-a-simple-pru-python-binding-for-beaglebone/">Python to feed the pulse-train data</a>.</p>
\r
30 <h2>Electronics</h2>
\r
31 <p>This selection is a bit more difficult with <a href="http://bb-lcnc.blogspot.com/p/hardware-capes.html">many makers of competitive electronics</a> constantly providing minor updates to add one minor feature or another. The good news is that you can grab a solution today and reuse the rest of your system as you make incremental electronics improvements moving forward. For now, I've chosen the BeBoPr-Plus because it was easy for me to obtain, but keep an eye out for the <a href="http://replicape.com/">Replicape</a> from <a href="http://hipstercircuits.com/">Hipster Circuits</a> as I expect <a href="https://vimeo.com/77453708">Thing Printer</a> to be available any day now.</p>
\r
32 <p><a href="http://circuitco.com/support/images/thumb/c/ce/BeBoPrBlack.jpg/300px-BeBoPrBlack.jpg"><img src="http://circuitco.com/support/images/thumb/c/ce/BeBoPrBlack.jpg/300px-BeBoPrBlack.jpg" border="0" alt=" "></a></p>
\r
33 <p><a href="http://circuitco.com/support/images/thumb/c/ce/BeBoPrBlack.jpg/300px-BeBoPrBlack.jpg"></a>For more information about the BeBoPr, consider visiting the <a href="http://forum.bebopr.info/">BeBoPr forum</a>.</p>
\r
34 <h2>Next steps</h2>
\r
35 <p>In future posts, we'll look at the Huxley assembly and software running on BeagleBone Black. In the meantime, why not give it a try on your own?</p>
\r
36 <p><script type="text/javascript" src="http://e2e.ti.com/WebResource.axd?d=qUqkXupTVRYobFT7b3PXOO-iAZ2lzgla5ui9Z4dZsd4k6fMtUdIfym2k_mglNWkZ44Lw2frZeztm7xxynGTdePXYKaKicc7I6EWdPL2Yk2Sh2Bg4CzFrwDk-6Kekv8Om_fzzZhO7yXzQAI6Vmfxx3khwO1KbB9cghP8JN7KUJdEcFDnqK4-6NN2sm68bz9kU6eZsX7Z9ZqlFhol8HpR1aQ2&t=635156979042129662"></script><div id="video_64dffc0b-ee33-40fe-a786-a82a0a4576bf"><noscript><embed src="http://www.youtube.com/v/cgDqGZwGavw?fs=1&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="550" height="330" allowfullscreen="true"></noscript></div><script type="text/javascript">
\r
37 cs_setInnerHtml('video_64dffc0b-ee33-40fe-a786-a82a0a4576bf','<embed src=\"http:\/\/www.youtube.com\/v\/cgDqGZwGavw?fs=1&rel=0\" type=\"application\/x-shockwave-flash\" wmode=\"transparent\" width=\"550\" height=\"330\" allowfullscreen=\"true\"><\/embed>');
\r
38 </script></p><div style="clear:both;"></div></div>
\r
41 <pseudoparent idref="2912" prototyperef="Page"/>
42 <http_referer>http://beagleboard.org/blog/2013-11-06-beagleboneblack-3d-printer-intro/edit</http_referer>
43 <http_host>beagleboard.org</http_host>
44 <user>jkridner@gmail.com</user>