<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Buildbotics Blog - Medium]]></title>
        <description><![CDATA[All about CNC’s, CNC programming, simulation &amp; DIY projects. - Medium]]></description>
        <link>https://medium.com/buildbotics-blog?source=rss----cbf7f1898cd1---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Buildbotics Blog - Medium</title>
            <link>https://medium.com/buildbotics-blog?source=rss----cbf7f1898cd1---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 19:04:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/buildbotics-blog" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[You can build a CNC but can you explain it?]]></title>
            <link>https://medium.com/buildbotics-blog/you-can-build-a-cnc-but-can-you-explain-it-abc8a0ea3b42?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/abc8a0ea3b42</guid>
            <category><![CDATA[3d-printing]]></category>
            <dc:creator><![CDATA[Joseph Coffland]]></dc:creator>
            <pubDate>Tue, 12 Sep 2017 07:14:07 GMT</pubDate>
            <atom:updated>2017-09-12T07:14:07.490Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*tu_s_m2Lf5tyjtADh379gA.png" /></figure><p>Hello, I’m an <a href="https://opensource.com/resources/what-open-source">Open-Source</a> software and hardware developer and I want to help you build CNCs with the <a href="http://buildbotics.com/kickstarter">Buildbotics Controller</a>. Building CNCs is now easier than ever but it didn’t used to be that way. Before discussing our <a href="http://buildbotics.com/kickstarter">Kickstarter product</a>, I want talk about the history of these machines and <strong>how the term CNC came about</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*1O_cRA7giw7VXT_ZuJ_D8w.png" /><figcaption>Patent filed by John T. Parsons.</figcaption></figure><p>The CNC was invented in the late 1940s by <a href="https://en.wikipedia.org/wiki/John_T._Parsons">John T. Parsons</a>. He originally called it a <em>Card-a-matic Milling Machine</em> because the computer that controlled it read <a href="https://en.wikipedia.org/wiki/Punched_card">punch cards</a>. Apparently not happy with that name, Parsons held a contest to choose a new one. The winner was given a $50 prize for coming up with <em>Computer Numerical Control</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*Sg3zlKi-G4p0rjEyET4zVg.jpeg" /><figcaption>Early Computer Numerical Control</figcaption></figure><blockquote>The full story of the development of the CNC and Parsons’ bitter rivalry with <a href="http://mit.edu/">MIT</a> can be found in <a href="http://www.sme.org/Tertiary.aspx?id=36002">an interview with Parsons on the Society of Manufacturing Engineers’ Website</a>.</blockquote><p>Back then, the world was not yet flooded with smart phones and <a href="https://en.wikipedia.org/wiki/Internet_of_things">IoT devices</a>. A computer was a massive thing that took up whole rooms. The term <em>Computer Numerical Control</em> still made sense. It referred to a <em>milling machine</em> that was controlled by a computer rather than by human hand. Today, this term is <em>much</em> more challenging to explain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*fDB_QwPF7pw7FenceQLsZQ.jpeg" /><figcaption>Herkules Lathe</figcaption></figure><p>Now that everything seems to be somehow computer numerically controlled, I dread being asked the question, “what does CNC stand for?” When I tell the asker they are inevitably disappointed and even more confused. To make matters worse, CNC no longer only means a CNC mill. Today it may refer to <a href="https://en.wikipedia.org/wiki/Lathe">lathes</a>, <a href="https://en.wikipedia.org/wiki/Water_jet_cutter">water jets</a>, <a href="https://en.wikipedia.org/wiki/CNC_router">routers</a>, <a href="https://en.wikipedia.org/wiki/Plasma_torch">plasma torches</a>, <a href="http://donektools.com/">drag knifes</a>, <a href="https://en.wikipedia.org/wiki/Laser_cutting">LASERS</a>, <a href="https://en.wikipedia.org/wiki/Electrical_discharge_machining">EDMs</a> or even <a href="https://en.wikipedia.org/wiki/3D_printing">3D printers</a>. Among these subtypes, there is a wide range in size, cost and sophistication. Anything from a <a href="http://www.herkules-machinetools.com/products-services/lathes/heavy-duty-lathes/">400 ton Herkules lathe</a> to a <a href="http://www.instructables.com/id/Building-a-CNC-router/">home built router</a> can be called a CNC. The challenge of explaining what a CNCs is has gotten more difficult since John Parsons’ time but fortunately building them has gotten substantially easier.</p><figure><a href="http://buildbotics.com/kickstarter"><img alt="" src="https://cdn-images-1.medium.com/max/680/1*cLOLcRAl0rCFr3YaS49ggA.gif" /></a><figcaption>OX CNC router cuts a Buildbotics logo.</figcaption></figure><p>Since the 1950s, some key advances in technology have progressively made it cheaper and easier to build CNCs. In 1961, Snowden and Madsen of Superior Electric Co. published a paper describing both hybrid and bipolar <a href="https://en.wikipedia.org/wiki/Stepper_motor">stepper motors</a> which have now become the most popular motors for driving small CNCs. Throughout the 70s, 80s and 90s, computing systems became drastically smaller and faster and with the advent of online shopping, linear motion components are now easy to source.</p><figure><a href="http://buildbotics.com/kickstarter"><img alt="" src="https://cdn-images-1.medium.com/max/540/1*KuBQJ_QLV-GeWzHR-czpvg.png" /></a><figcaption>The Buildbotics controller connected to 4 stepper motors.</figcaption></figure><p>Around the mid 2000s, a <a href="https://synthetos.myshopify.com/products/tinyg">proliferation</a> <a href="http://smoothieware.org/smoothieboard">of</a> <a href="http://www.geckodrive.com/geckodrive-step-motor-drives/g540.html">new</a> and <a href="https://www.adafruit.com/product/1750">inexpensive</a> devices for controlling CNCs greatly expanded the ease with which DIYers could build machines in the garage. Although great strides had been made, these early consumer devices still required a lot of <strong>hand wiring</strong> and custom built enclosures to protect <strong>exposed electronics</strong>. They did not include <strong>protection circuitry</strong> and so were often destroyed by voltage spikes, short-circuits or insufficient cooling.</p><blockquote><a href="http://buildbotics.com/controller">Check out how we compare to the Gecko 540 and the Smoothieboard.</a></blockquote><figure><a href="http://buildbotics.com/kickstarter"><img alt="" src="https://cdn-images-1.medium.com/max/680/1*kXRh6Xds3l5gzuBD9l6TgA.gif" /></a></figure><p>The <a href="http://buildbotics.com/kickstarter">Buildbotics Open-Source CNC controller</a> is the next big step in history for the DIY CNC builder. It comes in a rugged, fan-less, anodized aluminum enclosure and has sophisticated protection circuitry that was carefully designed for low heat dissipation. It also comes with <strong>custom cables</strong> which make it a breeze to connect stepper motors, high-speed spindles, limit switches, USB devices and much more. Although you may have a hard time explaining to your friends just what CNC means, building one is easier than ever.</p><blockquote><a href="http://buildbotics.com/kickstarter">The Buildbotics controller is available <strong>through the month of September</strong> on Kickstarter</a>.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F01zVQjSNodc%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D01zVQjSNodc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F01zVQjSNodc%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3582e5f9a7d921c2cb4ded0f37e4b886/href">https://medium.com/media/3582e5f9a7d921c2cb4ded0f37e4b886/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abc8a0ea3b42" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/you-can-build-a-cnc-but-can-you-explain-it-abc8a0ea3b42">You can build a CNC but can you explain it?</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rock-solid, Open-Source CNC Controller]]></title>
            <link>https://medium.com/buildbotics-blog/rock-solid-open-source-cnc-controller-ea772dfe729f?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/ea772dfe729f</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[Doug Coffland]]></dc:creator>
            <pubDate>Sun, 03 Sep 2017 06:48:34 GMT</pubDate>
            <atom:updated>2017-09-03T06:48:34.502Z</atom:updated>
            <content:encoded><![CDATA[<p>Two years ago, Joseph Coffland and I formed <a href="http://www.buildbotics.com/">Buildbotics LLC</a> and set out to create a CNC controller that is completely <a href="https://opensource.org/osd-annotated">Open-Source</a>, easy to use and set up, highly flexible, and rugged. It’s ready to go into production following our <a href="http://buildbotics.com/kickstarter">Kickstarter campaign</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*sLRH51W5gP6xaOK06sAghQ.png" /><figcaption>Buildbotics 4-Axis CNC Controller</figcaption></figure><p>This controller complements the Open-Source CNC simulator, <a href="http://camotics.org/">CAMotics</a>, and the combination makes a really nice Open-Source tool-chain for CNC machining.</p><p>The Buildbotics controller has a built-in Raspberry Pi, so you don’t need to dedicate a computer to operate it. Simply connect over an Ethernet to configure and control it. You can plug in a USB gamepad for local control and a USB camera for remote, live video of your machining operation. We’ve incorporated some great new technology that allows the controller to run with no fan. This means that dust and cuttings won’t get sucked into the electronics even with the controller sitting right next to your machine.</p><p>We’ve demonstrated the Buildbotics controller by using it to retrofit a broken-down <a href="https://blog.buildbotics.com/retrofitting-the-dyna-myte-2400-with-a-buildbotics-cnc-controller-24ae1ac5d796">Dyna Myte 2400 mill</a> and by incorporating it into an OX CNC, a Taig mill, a 6040 CNC, a laser cutting machine and my home built CNC router.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lb2ZzOiQ6WZ4Cif3CRprxQ.jpeg" /></figure><p>All <a href="https://github.com/buildbotics/bbctrl-pcb">electronics</a>, <a href="https://github.com/buildbotics/bbctrl-firmware">software</a>, and <a href="https://github.com/buildbotics/bbctrl-enclosure">enclosure</a> designs are available in our <a href="http://github.com/buildbotics/">GitHub repositories</a>.</p><p>Success in our Kickstarter campaign will allow us to do a production run on these great controllers and bring this excellent product to market. Please check out our Kickstarter project and tell your friends. Your backing is greatly appreciated.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea772dfe729f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/rock-solid-open-source-cnc-controller-ea772dfe729f">Rock-solid, Open-Source CNC Controller</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep dive: Hacking the 8-bit AVR]]></title>
            <link>https://medium.com/buildbotics-blog/deep-dive-how-we-hacked-an-8-bit-chip-to-drive-stepper-motors-at-250k-steps-sec-23af47b16299?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/23af47b16299</guid>
            <category><![CDATA[kickstarter]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[cnc]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <dc:creator><![CDATA[Joseph Coffland]]></dc:creator>
            <pubDate>Thu, 31 Aug 2017 23:16:54 GMT</pubDate>
            <atom:updated>2017-09-16T21:38:25.317Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*-4etGLT1vvhJSYcBJHs6hQ.png" /></figure><p>Over the last two years, <a href="https://medium.com/@dougcoffland">Doug Coffland</a> and I have been developing the <a href="http://buildbotics.com/controller">Buildbotics Open-Source CNC Controller</a>. We had to overcome many hurdles before we could <a href="http://buildbotics.com/kickstarter">launch on Kickstarter</a>. This article is a deep dive into how we hacked the DMA controller of an 8-bit ATXMega to produce steps rates in excess of 250k/sec on four separate motor channels while also smoothly changing velocities and keeping track of motor position.</p><blockquote>Also from our blog: <a href="https://medium.com/p/you-can-build-a-cnc-but-can-you-explain-it-abc8a0ea3b42"><strong>You can build a CNC but can you explain it?</strong></a></blockquote><h3>Intro</h3><p>Inside the box, the Buildbotics CNC controller contains a <a href="https://www.raspberrypi.org/products/raspberry-pi-3-model-b/">Raspberry Pi 3 single board</a> computer and four very powerful stepper motor drivers based on TI’s <a href="http://www.ti.com/product/DRV8711">DRV8711</a> driver chip on a custom built PCB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j5qCkxXUFhLm-meUMIjIvg.png" /><figcaption>RaspberryPi talks to AVR which sends step signals to DRV8711 stepper motor drivers</figcaption></figure><p>The step pulses are produced not by the RPi but by a dedicated <a href="http://www.microchip.com/wwwproducts/en/ATxmega192A3U">ATxmega192a3u</a> 8-bit system-on-a-chip from Microchip (formerly Atmel). Many people know this AVR microcontroller better from its use in <a href="https://www.arduino.cc/">Arduino</a> boards.</p><blockquote><a href="http://buildbotics.com/mailing-list">Subscribe to the Buildbotics mailing list.</a></blockquote><h3>Stepper motor control</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*OT-n1HhcH4i0DaCNWm1JoQ.gif" /><figcaption>Animation of a stepper motor.</figcaption></figure><p>As the name suggests, <a href="https://www.applied-motion.com/news/2015/10/how-does-step-motor-work">stepper motors</a> move in fixed steps. This allows them to be positioned with accuracy. Unlike <a href="https://en.wikipedia.org/wiki/DC_motor">DC motors</a>, steppers have multiple coils which are activated in sequence to cause the motor to turn in the desired direction. Controlling them is more complicated than controlling plain DC motors so specialized driver chips are used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*513DmMoxS2FJW6vAyKX0cg.png" /><figcaption>A microcontroller sends step and direction signals to the stepper driver chips.</figcaption></figure><p>The stepper driver itself is controlled by a microcontroller which sends a stream of step pulses. The <strong>pulse rate determines motor velocity</strong>. It’s actually pretty easy to send high-speed pulses to the motor driver but in order to get smooth movement, the pulse stream must be tightly controlled. <strong>Velocity and acceleration must changed smoothly</strong><em>.</em> Gaps in the pulse stream can cause motor stalls so the microcontroller must react very fast in order to make velocity changes with out interrupting the pulse stream.</p><h3>8-bit Stepper Motor Drive</h3><p>Up until recently, the common wisdom in the Maker community was that 8-bit AVR chips weren’t powerful enough to produce the high step rates needed to drive CNCs quickly and accurately, for many CNC controllers this is true. We initially started with a fork of the <a href="https://github.com/synthetos/TinyG">TinyG firmware</a> because it already supported smooth <a href="https://github.com/synthetos/TinyG/wiki/Jerk-Controlled-Motion-Explained">S-curve acceleration</a> not offered by other Open-Source CNC controllers. However, we found that the TinyG was barely able to keep up at high step rates and slight changes in the firmware could bring the whole thing tumbling down. The TinyG guys have since <a href="https://github.com/synthetos/g2/wiki">moved on to 32-bit ARM chips</a>. Through a series of hacks, we were able to offload step production to the AVR’s hardware timers and DMA system. This frees up the AVR’s CPU for other tasks, such as path planning, and allows the Buildbotics controller to reach <em>controlled</em> step rates in excess of 250k/sec on four channels simultaneously without overtaxing the CPU.</p><h3>Deep dive</h3><p>Let’s dive a little deeper into the hacks we used to achieve these high step rates. The <a href="http://www.microchip.com/wwwproducts/en/ATxmega192A3U">ATxmega192a3u</a> contains seven 16-bit hardware timers; which is quite a few. The first change we made was to allocate a hardware timer to each stepper channel. Once configured, <strong>hardware timers operate independently of the CPU</strong>. The hardware timers can emit very high step rates at little cost but they must be reconfigured in order to change velocity and smooth S-curve acceleration requires continuous velocity changes.</p><p>In order to update the velocities, a fifth hardware timer was used. This timer interrupts the CPU every 5 milliseconds or 200 times a second. During these interrupts, <strong>each of the step clocks is stopped, reconfigured and restarted</strong>. Some extra care is taken to reduce <a href="https://en.wikipedia.org/wiki/Jitter">clock jitter</a> during these change overs.</p><p>These changes worked really well from the perspective of saving CPU time but there was no easy way to tell exactly how many steps each of the hardware clocks emitted during a 5ms period. Since the clock is deterministic, it is possible to compute exactly how many steps it will produce over a given time interval, in theory. In reality, it takes time for the CPU to stop, reconfigure and restart each of the clocks and this adds variance to the timing that is difficult to predict. The actual number of steps pulses produced could easily be one more or less than expected. Over time this would cause the CNC to drift away from its intended position with dire consequences.</p><p>The solution to this is to <strong>keep a count of the step pulses</strong> produced by the hardware clocks but how do you do this with out involving the CPU? If we had four more hardware clocks we could use them to count steps by linking two clocks together but, as I pointed out above, this chip has seven hardware clocks and we have already used five. The solution, hack the ATXmega’s DMA system.</p><h3>DMA</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*e9Scs_puEEr3IGJuQdo3EA.png" /><figcaption>Overview of the ATXmega’s DMA system</figcaption></figure><p>DMA stands for <a href="https://en.wikipedia.org/wiki/Direct_memory_access">Direct Memory Access</a> and is used to transfer data to or from memory and peripheral devices such as an <a href="https://en.wikipedia.org/wiki/I%C2%B2C">I2C bus</a> or <a href="https://en.wikipedia.org/wiki/Serial_port">serial port</a> with out interrupting the CPU. I previously hacked other AVR peripherals to make them perform unintended functions and there were four DMA channels we weren’t using so it seemed like something might be possible. The trick was to figure out <strong>how to use the DMA channels as counters</strong>.</p><h3>A failed attempt</h3><p>My first idea was to use one of the DMA channel’s 24-bit source or destination address registers as the desired counters. The ATXmega’s hardware clocks have the capability of initiating a DMA transfer so we can trigger a DMA event on each step, just like we wanted. Unfortunately, on the ATXmega, this only works if the DMA transfer reads from one of the clock’s registers. Otherwise, the next DMA trigger will be ignored. So the DMA transfer must read from a clock register, which is at a fixed location and DMA transfer’s destination can be somewhere else in memory. Since we don’t want the DMA transfer stomping all over our RAM the write location has to be at a fixed address too. In our case, we just write to a fixed dummy variable. This only costs one byte of RAM for all four channels. But since <strong>both source and destination addresses must be fixed</strong> you cannot use the DMA address registers as counters of clock events.</p><h3>Finally, success</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*aGHpRAZttjTXU7Gz2depMA.png" /><figcaption>Hardware clock triggers DMA transfer counter</figcaption></figure><p>This had me stumped for awhile but it seemed like there must be a way, so I kept digging in the <a href="http://www.microchip.com/wwwproducts/en/ATxmega192A3U">ATxmega192a3u’s datasheet</a>. Eventually, I figured out that it was possible to setup the DMA channel to do a fixed number of repeated transfers and, in the right mode, have each DMA event trigger one transfer and <strong>decrement the transfer counter until it reaches zero</strong>. Finally, this was the solution.</p><p>By setting the 16-bit transfer counter register to its maximum value of 65,535 we can let the clock run and each step output emits an event which triggers our dummy DMA transfer. The DMA transfer copies one byte of a timer register to our dummy variable and decrements the transfer counter. When, after 5ms, the step clocks are stopped and reconfigured, the <strong>change in the DMA transfer counter tells us exactly how many steps</strong> were output. As long as there are never more than 2¹⁶ steps over a 5ms period the transfer counter will never underrun but that would require over 13M steps/sec.</p><h3>Conclusions</h3><p>There are many other cool features to the <a href="http://buildbotics.com/controller">Buildbotics CNC Controller</a> and its companion software <a href="http://camotics.com/">CAMotics</a> that you can <a href="http://blog.buildbotics.com/">read about elsewhere</a>. If you liked this article and are excited about what we are doing please tell other people and consider <a href="https://www.thunderclap.it/projects/60431-open-source-cnc-controller">sharing on social media</a>. Starting September 1st, 2017, we are selling a <strong>limited number of </strong><a href="http://buildbotics.com/kickstarter"><strong>Buildbotics controllers on our Kickstarter</strong></a>. All <a href="http://github.com/buildbotics/bbctrl-firmware">source code</a>, <a href="http://github.com/buildbotics/bbctrl-pcb">schematics, PCB layouts</a> and the <a href="https://github.com/buildbotics/bbctrl-enclosure">enclosure design files</a> can be found on <a href="http://github.com/buildbotics">our Github</a>.</p><h3>Get the Buildbotics CNC Controller on Kickstarter</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F01zVQjSNodc%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D01zVQjSNodc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F01zVQjSNodc%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3582e5f9a7d921c2cb4ded0f37e4b886/href">https://medium.com/media/3582e5f9a7d921c2cb4ded0f37e4b886/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23af47b16299" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/deep-dive-how-we-hacked-an-8-bit-chip-to-drive-stepper-motors-at-250k-steps-sec-23af47b16299">Deep dive: Hacking the 8-bit AVR</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Retrofitting the Dyna Myte 2400 with a Buildbotics CNC Controller]]></title>
            <link>https://medium.com/buildbotics-blog/retrofitting-the-dyna-myte-2400-with-a-buildbotics-cnc-controller-24ae1ac5d796?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/24ae1ac5d796</guid>
            <category><![CDATA[makerspaces]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[makers]]></category>
            <category><![CDATA[cnc]]></category>
            <category><![CDATA[diy]]></category>
            <dc:creator><![CDATA[Joseph Coffland]]></dc:creator>
            <pubDate>Sat, 19 Aug 2017 01:55:31 GMT</pubDate>
            <atom:updated>2017-09-02T19:56:43.677Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F8IcQnnB2bXY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D8IcQnnB2bXY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F8IcQnnB2bXY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5dee3cd2ea2c33b22805dea0d39fb35c/href">https://medium.com/media/5dee3cd2ea2c33b22805dea0d39fb35c/href</a></iframe><p>A non-functional Dyna Myte 2400 milling machine was donated to the <a href="http://www.robotgarden.org/">Robot Garden makerspace</a> in Livermore, California. The Dyna Myte 2400 was built in the 1980’s and its retrofit presented some unique challenges. Robot Garden was unable to get it going in <a href="http://www.robotgarden.org/wiki/dyna-myte-mill-restoration/">a previous retrofit attempt</a>. The machine sat in storage until it was revived using a Buildbotics CNC controller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*8NHdWQjjD2xtlUFA3cgzxA.jpeg" /></figure><p>Robot Garden was delighted when Buildbotics offered to revive the Dyna with their new <a href="https://opensource.org/osd-annotated">Open-Source</a> CNC controller. The Dyna retrofit demonstrates some of the power and flexibility of the Buildbotics controller. For instance, the stepper motors on the Dyna only provide 27 ounce-inches of torque. The original machine compensated for this low torque by providing a 10 to 1 gear ratio between the motor and the axis ball screws. Given the 2.5 mm pitch ball screws, the machine head would only move by 0.25 mm for each complete revolution of the motor. In order to meet the published jogging speed of the machine (30 IPM), the stepper motors had to turn at 3000 RPM. The controller had to provide over 5000 steps per second to minimally meet that goal. This was a breeze for the Buildbotics controller which is capable of over 200k steps/sec. Performance was further improved with 1/32 micro-stepping. The resulting 160k steps/sec yielded smooth, reliable operation.</p><blockquote><a href="http://buildbotics.com/mailing-list">Subscribe to the Buildbotics mailing list.</a></blockquote><p>Buildbotics also supplies a cable set that made interconnecting to the existing motor and power supply a snap. An enclosed I/O breakout box was used to connect to the existing spindle controller and the limit switches. Finally, a couple of shelf brackets from the local hardware store provided a nice mount for the controller.</p><p>This previously unusable Dyna Myte 2400 is now a solid CNC mill with modern features and should provide great service for years to come.</p><p>The Buildbotics controller generates its own steps and contains a web server, so you don’t need to dedicate a PC; and you can configure and control it across your local Ethernet using a web browser. Eliminating the PC cuts costs and saves space.</p><p>The Buildbotics CNC controller can operate on voltages from 12 to 36 DC and supply up to 6 amps of current on each motor, but no more than 25A total. Smooth S-curve acceleration and deceleration allows machines to operate without sudden changes in acceleration which cause jerk. The ability to provide local jogging control with an inexpensive USB gamepad and to monitor cutting remotely through a USB web camera is also really handy.</p><p>The hardware and software for the controller are completely Open-Source and work directly with <a href="http://camotics.org/">CAMotics.</a> <a href="http://camotics.org/">CAMotics</a> is an Open-Source simulator, GCode viewer and CAM software. After simulating designs, CAMotics allows its users to connect directly to the Buildbotics CNC Controller and upload GCode programs. CAMotics will follow the cutting operation in real time. This lets you easily see where the machine is in the cutting process an how long it should take to complete.</p><p>This range of performance and features make the Buildbotics controller ideal for controlling a variety of CNC machines. Buildbotics has demonstrated control of several different CNC machines including the <a href="https://hackaday.io/project/6579-ox-cnc">OX</a>, the <a href="http://hackaday.com/2016/11/16/taig-mill-anointed-with-ball-screws-at-last/">Taig Mini-Mill</a>, a <a href="http://hackaday.com/2015/09/08/how-to-upgrade-a-chinese-cnc-machine/">6040 CNC</a>, an engraving machine, a LASER cutter, and a sizable DIY CNC.</p><p>You can get your own Buildbotics CNC controller and support this great Open-Source project through the Buildbotics <a href="http://buildbotics.com/kickstarter">Kickstarter</a> campaign starting September 1, 2017. For detailed instructions on how to perform this retrofit check out our <a href="https://hackaday.io/project/26870-cnc-retrofit-with-a-buildbotics-cnc-controller">hackaday.io project</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24ae1ac5d796" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/retrofitting-the-dyna-myte-2400-with-a-buildbotics-cnc-controller-24ae1ac5d796">Retrofitting the Dyna Myte 2400 with a Buildbotics CNC Controller</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Help CAMotics grow]]></title>
            <link>https://medium.com/buildbotics-blog/help-camotics-grow-c3e82ab03f70?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/c3e82ab03f70</guid>
            <category><![CDATA[camotics]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[kickstarter]]></category>
            <category><![CDATA[cnc-machine]]></category>
            <category><![CDATA[cnc]]></category>
            <dc:creator><![CDATA[Joseph Coffland]]></dc:creator>
            <pubDate>Wed, 09 Aug 2017 21:19:26 GMT</pubDate>
            <atom:updated>2017-08-16T05:45:50.821Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="https://www.thunderclap.it/projects/60431-buildbotics-cnc-controller"><img alt="" src="https://cdn-images-1.medium.com/max/246/1*XLvjuIvGpjW8eMHQcb0FLg.png" /></a><figcaption>Support our Kickstarter with Thunderclap.</figcaption></figure><p>Hello fellow Makers! We are gearing up to launch a Kickstarter campaign for the exciting new 100% <a href="https://opensource.org/osd">Open-Source</a> <a href="http://buildbotics.com/controller">Buildbotics CNC controller</a>. If we are successful, sales of the Buildbotics controller will help to fund continued development of <a href="http://camotics.org/">CAMotics</a>.</p><blockquote><a href="http://buildbotics.com/mailing-list"><strong>Subscribe to the Buildbotics mailing list.</strong></a></blockquote><p>The <a href="http://buildbotics.com/controller">Buildbotics controller</a>, <a href="http://camotics.org/">CNC simulator</a>, <a href="http://tplang.org/">TPL programming system</a> and upcoming CAM software are all part of an Open-Source CNC ecosystem for the Maker community. We have already put thousands of hours into developing this and want to increase our efforts. By buying this awesome <a href="http://buildbotics.com/controller">CNC controller</a> on Sept. 1st, you will help us take Open-Source CNCing to the next level.</p><p>When you <a href="http://www.elektronomi.com/urunler/detay/v42254a5235b225-dsub-socket-25p/14416532">support our Thunderclap</a>, <strong><em>a brief onetime message announcing the opening of our Kickstarter campaign will be sent out to your social media followers </em></strong>on Sept. 1st. After signing up, forward this message to other Makers you know.</p><p>Sincerely,</p><p>Joseph Coffland</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3e82ab03f70" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/help-camotics-grow-c3e82ab03f70">Help CAMotics grow</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Buildbotics + CAMotics at Maker Faire 2017]]></title>
            <link>https://medium.com/buildbotics-blog/buildbotics-camotics-at-maker-faire-2017-dd021234c93b?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/dd021234c93b</guid>
            <category><![CDATA[makers]]></category>
            <category><![CDATA[maker-faire]]></category>
            <category><![CDATA[cnc-machine]]></category>
            <category><![CDATA[cnc-router]]></category>
            <category><![CDATA[cnc]]></category>
            <dc:creator><![CDATA[Joseph Coffland]]></dc:creator>
            <pubDate>Thu, 11 May 2017 20:53:58 GMT</pubDate>
            <atom:updated>2017-05-11T20:53:58.435Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="http://makerfaire.com/"><img alt="" src="https://cdn-images-1.medium.com/max/200/1*2Zy3TtfJA-ozd3xAf0metQ.gif" /></a></figure><p>I am happy to announce that CAMotics will be at the Maker Faire this year. We at Buildbotics LLC are presenting our CNC controller at booth 59931 in Zone 2 (Northeast) in the Expo building. See the <a href="http://yydxg3i41b1482qi9hidybgs.wpengine.netdna-cdn.com/wp-content/uploads/2017/05/MF17_Map_Ltr.pdf">Maker Faire event map</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B0ke-TGPhfMH0Kpu0zRIcw.png" /></figure><p>The Buildbotics CNC controller drives up to 4 stepper motors at 30V and 6A each. It can also control PWM and RS485 (Chinese VFDs) spindle drivers. It integrates emergency stop, tool length probes and limit switches and can switch two independent loads up to 15A. These load switches make it possible to control mist or flood coolant, heated beds and hot-ends for 3D printers or LASER cutters and plasma tools. Position and zeroing the tool head is easy using a standard and inexpensive USB gamepad controller.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*arJeS1hGK3cCVOCq_ZKHRg.png" /></figure><p>Our controller understands GCode and can be controlled directly over WiFi or wired network with CAMotics. This latter feature greatly simplifies the CNC workflow. <strong>Simulate, then send your GCode directly to the CNC.</strong></p><p>The components of our product are being manufactured in China and we are assembling the final product here in the US. Later this summer, we will be accepting pre-orders for our initial factory. Sales will directly support CAMotics development.</p><p>Come see us at the Maker Faire to see the Buildbotics CNC controller in action and find out more information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd021234c93b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/buildbotics-camotics-at-maker-faire-2017-dd021234c93b">Buildbotics + CAMotics at Maker Faire 2017</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s new in CAMotics v1.1.0?]]></title>
            <link>https://medium.com/buildbotics-blog/whats-new-in-camotics-v1-1-0-3571528345c1?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/3571528345c1</guid>
            <category><![CDATA[cnc-milling-and-turning]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[camotics]]></category>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[cnc]]></category>
            <dc:creator><![CDATA[Joseph Coffland]]></dc:creator>
            <pubDate>Wed, 08 Feb 2017 02:44:19 GMT</pubDate>
            <atom:updated>2018-07-26T18:40:51.385Z</atom:updated>
            <content:encoded><![CDATA[<p>It has been way too long since CAMotics v1.0.6 was released in April of 2015. As I mentioned in <a href="https://blog.buildbotics.com/is-camotics-alive-3be83275493">my last blog post</a>, I’ve been busy with other projects but there has also been a series of difficulties with the build system. Building software that works on Windows, Linux and macOS can be a huge PITA. However, I am happy to announce this long overdue and anticipated release is finally ready.</p><p>So, what’s new in CAMotics v1.1.0. Here’s a quick summary which I will explain in more detail below:</p><ul><li>Better handling of measurement units. (i.e. millimeters vs inches)</li><li>Fixes for filenames with non-latin alphabets and spaces. <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues/190">#190</a> <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues/167">#167</a></li><li>Fixed tool path playback problems. <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues/179">#179</a></li><li>No more jagged arcs caused by non-US locale settings. <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues/180">#180</a></li><li>More accurate conical tool (v-bit) simulations. <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues/173">#173</a></li><li>Conical tools can now be entered by angle and diameter. <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues/65">#65</a></li><li>Real-time simulation with a caveat. <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues/2">#2</a></li><li>A simplified build system.</li></ul><p>A few other changes are listed in the <a href="https://github.com/CauldronDevelopmentLLC/CAMotics/blob/master/CHANGELOG.md">change log</a>.</p><h3>Units</h3><p>Many users have reported confusion with the way CAMotics handles measurement units. CAMotics uses metric units by default because I think they make more sense. Yet, living in the US, many of my tools are measured in imperial units and so I understand many people still need to support both systems.</p><p>In CAMotics, you can set your preferred default units and the current project’s units in the settings dialog. When you first install CAMotics it is set to metric units. This can cause some confusion because some GCode programs assume a particular default setting of either imperial (G20) or metric (G21) units but don’t actually explicitly specify which units the file uses. This can cause the simulation to either be really big or really small relative to the tools. When you are writing GCode always specify G20 or G21 at the top to avoid this problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Yqgfh7Oim1xzghXi6VdVsw.png" /></figure><p>Now in v1.1.0 when you create a new project a dialog will popup asking you to set the units for the project and choose an initial tool table. Project units affect both what is displayed on the screen and the GCode default.</p><h3>File names</h3><p>Two significant problems with file names were fixed in v1.1.0. CAMotics should now be able to handle names with non-latin characters (e.g. Chinese) or spaces in them.</p><h3>Tool path playback</h3><p>Many users noticed that tool path playback was a bit borked in v1.0.6. The speed was not controllable and it often went way too fast. This should now be fixed.</p><h3>Jagged arcs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0GUaJudJIm419Hx2pyPLdw.png" /><figcaption>Jagged arcs in v1.0.6</figcaption></figure><p>Another problem users outside the US may have noticed is the jagged arc issue. This was caused by CAMotics incorrectly parsing decimal numbers when running under systems with different <a href="https://en.wikipedia.org/wiki/Locale_(computer_software)">locale</a> settings. Basically any locale which uses something other than a period (e.g. commas in Germany) as the decimal separated would lose the fractional part of all GCode numbers. This really fouls ups arcs. v1.1.0 solves this problem by forcing CAMotics to use the “C” locale.</p><h3>Conical tools</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r5nqvi8MQn8gAFLMdn2umA.png" /><figcaption>Conical tool undercut denoted by red arrows.</figcaption></figure><p>CAMotics v1.1.0 adds one fix and a user interface improvement for conical tools. During testing it was found that conical tools would sometimes undercut in simulation. This was do to a math error which is now fixed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*tLIWi-8wQfKCH_QfX4O0yA.png" /></figure><p>It was also suggested it would be easier to specify conical tools using a diameter and angle in degrees rather than diameter and length. v1.1.0 allows either option.</p><h3>Real-time simulation</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Flt8hcqtVFdo%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dlt8hcqtVFdo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Flt8hcqtVFdo%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6baf7714faf22a381518520af2429275/href">https://medium.com/media/6baf7714faf22a381518520af2429275/href</a></iframe><p>You can now watch CAMotics cut away material in real-time. Although, the simulation will sometimes lag behind the tool movement. This is due to inefficiencies in the rendering engine. You will notice the lag on slow machines, highly detailed simulations or at faster than real-time speeds. The above video demonstrates this feature and the lag. Future versions of CAMotics will use a faster rendering technique which will make this feature more seamless.</p><p>Note, that real-time simulation is mostly just for fun. CAMotics has always been able to simulate the cutting process at any point in time by moving the slider bar and resimulating at that point. As an added benefit, CAMotics now updates the simulation much faster when you move the slider bar. It only recomputes the part of the simulation that changed.</p><h3>Build system</h3><p>Problems with the build system were one of the main reasons this releases was delayed. Particularly the Windows builds and to some extent the macOS builds caused me much grief. To address these problems the build system was simplified by eliminating some of the <a href="https://en.wikipedia.org/wiki/Dependency_hell">dependencies</a> and thereby reducing the number of steps required to build the software. I’ve also created some documentation on <a href="https://github.com/CauldronDevelopmentLLC/CAMotics/blob/master/doc/Windows_Build.md">how to build CAMotics in Windows</a>.</p><h3>Future work</h3><p>There are many things I would like to do with CAMotics. Here’s a list of some of my priorities:</p><ul><li>Tool collision detection when doing rapid moves. Rapid moves in material could be colored red. This could be extended to detect collisions with fixtures and the tool holder.</li><li>Machine specifications such as working cube dimensions, motor and spindle ramp up and down times, etc.</li><li>4 &amp; 5-axis simulation.</li><li>2D CAM support for cutting DXF and SVG files. This would add features similar to what <a href="http://pycam.sourceforge.net/">pyCAM</a> offers.</li><li>3D printing simulation.</li><li>Improved simulation accuracy.</li></ul><h3>Other things</h3><p>I also plan to blog more. In addition to making posts explaining new releases, such as this one, I’m thinking about a post on <a href="http://tplang.org/">TPL, the modern GCode replacement</a> which is already built into CAMotics and another about our <a href="https://projects.buildbotics.com/">CNC project sharing website </a>which is current in beta testing.</p><p>As promised in <a href="https://blog.buildbotics.com/is-camotics-alive-3be83275493">my last blog post</a>, I still need to tell you about the project my Uncle and I are working on. It’s a really cool CNC controller that you will be able to use directly from CAMotics but more on that later.</p><p>As always, please feel free to <a href="/service/mailto:joseoph@camotics.org">contact me</a>. Let me know what your interested in and how you use CAMotics.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3571528345c1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/whats-new-in-camotics-v1-1-0-3571528345c1">What’s new in CAMotics v1.1.0?</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is CAMotics alive?]]></title>
            <link>https://medium.com/buildbotics-blog/is-camotics-alive-3be83275493?source=rss----cbf7f1898cd1---4</link>
            <guid isPermaLink="false">https://medium.com/p/3be83275493</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[diy]]></category>
            <category><![CDATA[cnc-milling-and-turning]]></category>
            <category><![CDATA[makers]]></category>
            <category><![CDATA[cnc]]></category>
            <dc:creator><![CDATA[Joseph Coffland]]></dc:creator>
            <pubDate>Sat, 17 Sep 2016 22:30:11 GMT</pubDate>
            <atom:updated>2016-09-17T22:44:32.337Z</atom:updated>
            <content:encoded><![CDATA[<p>(Or how I created an Open-Source CNC simulator)</p><p>Back in 2011, I contracted a case of <a href="http://homepages.cwi.nl/~steven/vandf/2004.1-itch.html">programmer’s itch</a>. Before I knew it, I was scratching that metaphorical irritation like a dog with flees. Within a couple of months, I had birthed the first functional version of an <a href="https://opensource.org/definition">Open-Source</a> 3-axis <a href="https://en.wikipedia.org/wiki/Numerical_control">CNC</a> simulator called CAMotics (<em>CAM-ah-ticks</em>). Or rather <a href="http://openscam.org/">OpenSCAM</a>, as it was called back then. These days, thousands of people all over the world are using this software. Recently, I’ve gotten a number of concerned emails asking about the project’s longevity. This blog entry is an attempt to clear things up.</p><p>To get right to the point, the answer to the big question, and title of this post, is a resounding <strong>yes</strong>. CAMotics is alive and well. I love this project and will continue to develop it, fix bugs and add new features as long as I am able. Still, it’s been nearly a year since the last version was released. Clearly, I have some explaining to do. The short answer is that I’ve been working on an important complementary project. But before getting into that, allow me to provide some context so that you understand a bit more about who I am, where I am coming from and my vision for the future of this software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*oeEOUxk9MI5tWfjMaQs9_A.png" /><figcaption>Me as a kid programming a <a href="https://en.wikipedia.org/wiki/Big_Trak">Big Trak</a>.</figcaption></figure><p>I’ve enjoyed writing software since I was a little kid sitting in the living room in front of the family TV in my underwear entering machine code listings from <a href="https://en.wikipedia.org/wiki/Byte_(magazine)">Byte magazine</a> into a <a href="https://en.wikipedia.org/wiki/Commodore_64">Commodore 64</a> to make programs like <a href="https://en.wikipedia.org/wiki/ELIZA">Eliza</a> come alive. I stuck with it through my teenage years, went on to study <a href="http://coen.boisestate.edu/cs/">computer science</a> and eventually made programming <a href="http://cauldrondevelopment.com/">my profession</a>. In the time since those days, I’ve <a href="https://github.com/CauldronDevelopmentLLC/">developed</a> <a href="http://://sourceforge.net/projects/sesamesim/">numerous</a> <a href="https://sourceforge.net/projects/sinaxe/">Open</a>-<a href="https://sourceforge.net/projects/prtpacker">Source</a> <a href="https://sourceforge.net/projects/compucell/">projects</a> most of which were <a href="http://xmlpl.org/">extremely interesting to me</a> but not very interesting to anyone else. Then one day I stumbled upon the idea to create a CNC simulator.</p><p>At first, I thought writing a 3-axis CNC simulator would be pretty easy. I tried out some ideas and to my surprise initially none of them worked very well. It seemed simple enough. You just push a cone shaped <em>tool</em> through a cube shaped <em>stock</em> and compute the difference. It turns out this is called a 3D <em>sweep</em> and algorithms which compute accurate sweeps quickly are quite difficult to implement. Especially when you consider the large number of overlapping moves typical to a CNC program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*mZ9RPyLmLFW_vnLPBFVYyw.jpeg" /><figcaption>Figure from a paper on CNC simulation.</figcaption></figure><p>Then I started reading a lot of the published papers on CNC simulation. Surprisingly, they go back at least 30 years and the topic is still an active area of research. I kept reading and had some useful conversations with some smart people on the Internet like <a href="http://www.anderswallin.net/">Anders Wallin</a>. Eventually, some of the higher-level concepts started to sink in and I began to formulate an idea based on parts of several different papers I had read but combined in a way I believe is unique to CAMotics. At this point I started to get some results which were pretty fast, not perfect but still very usable. I added a basic user interface, built packages for <a href="http://camotics.org/downloads.html">Windows, Linux and OSX</a> and put it up on the Internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Ab2amZtav7jrkuWVHe7Ig.png" /><figcaption>Screenshot of CAMotics v1.0.5</figcaption></figure><p>When CAMotics was first released, I called it OpenSCAM as a joke and an acronym for Open-Source Simulation &amp; Computer Aided Machining. Despite this somewhat scary sounding name lots of people started using it. I began to receive regular emails from users thanking me for creating this software and lots of feedback on <a href="https://github.com/CauldronDevelopmentLLC/camotics/issues">bugs and feature requests</a>. Once I realized I had finally created something that not only I thought was really cool but other people did too, I was over the moon. I dove right in and over the last several years have put in literally 1,000s of hours of my “free time” developing the software further. Incremental improvements have resulted in the quite fast and relatively accurate simulations now produced by CAMotics today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rn2JXWtmcVYFYHR4jtw15A.jpeg" /><figcaption>View of the Golden Gate Bridge from the Marin headlands.</figcaption></figure><p>These days, my wife and I live just north of the San Francisco Bay in Sonoma County, which is a beautiful place but not inexpensive. As a <a href="http://cauldrondevelopment.com/">software contractor</a>, I do quite well but just making a living takes up a lot of my time and brain power. I know what you’re probably thinking. Poor guy, lives in a fancy part of California, gets paid to do a job he loves, has a wonderful wife and gets to work from home (oh did I mention I work from home, it’s awesome). Really, I’m not complaining. I am lucky to get paid to work on <a href="http://folding.stanford.edu/">really cool</a> projects but I’m a human and therefore I always want something more. As <a href="https://en.wikipedia.org/wiki/Nada_Surf">Nada Surf</a> eloquently put it, “Behind every desire is another one waiting to be liberated when the first one’s sated.”</p><figure><a href="http://camotics.org/#donations"><img alt="" src="https://cdn-images-1.medium.com/max/259/1*C24iXqZoBGfZgwBFClNTzQ.png" /></a><figcaption>Click here to make a donation now.</figcaption></figure><p>If only I could get paid to work on CAMotics. Then I could spend much more time implementing <a href="https://github.com/CauldronDevelopmentLLC/CAMotics/issues/156">all</a> <a href="https://github.com/CauldronDevelopmentLLC/CAMotics/issues/137">the</a> <a href="https://github.com/CauldronDevelopmentLLC/CAMotics/issues/2">awesome</a> <a href="https://github.com/CauldronDevelopmentLLC/CAMotics/issues/17">features</a> I have planned. To this end, a few years ago, I added a <a href="http://camotics.org/#donations">donations</a> page to the <a href="http://camotics.org/">camotics.org</a> website and surprisingly this actually worked. Quite a few of you freely donated money; please continue to do so. But sadly, as of yet, this has not amounted to a whole lot. Last time I crunched the numbers, it worked out to about $1.33/hr. Sorry, honey we are going to have to move in with your parents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*oFNbh627H3Qi5j2gqruHrw.png" /><figcaption>Drawing created for BoCon 2006</figcaption></figure><p>Jokes aside, this got me thinking about other ways to earn money with an Open-Source project like CAMotics. Several years back, I researched this topic quite thoroughly. I read <a href="http://www.catb.org/esr/writings/cathedral-bazaar/"><em>The Cathedral and the Bazaar</em></a>, <a href="http://www.catb.org/esr/writings/magic-cauldron/magic-cauldron.html"><em>The Magic Cauldron</em></a>, read the <a href="https://www.blender.org/foundation/history/">story behind the Open-Sourcing of Blender</a>, learned to sing <a href="https://www.gnu.org/music/free-software-song.en.html">The Free Software Song</a> poorly and even organized a <a href="http://bocon.org/">Open-Source / hacker’s Con in Idaho</a> were I and lots of other like mined people got together to discuss this and other issues facing a <a href="https://en.wikipedia.org/wiki/Libre_(word)">free</a> Internet society. Unfortunately, this bit fueled vision quest for the magic solution to funding an Open-Source project never congealed into a definite answer. It did however give me some new ideas, crossed some not so good ideas off the list and fast forward several years, ultimately lead me to creating a startup with my Uncle. Which finally brings me to the reason CAMotics development has lagged over the last year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*Ske3p3BX0rMAvvUdk_1yOw.jpeg" /><figcaption>My Uncle Doug (smart guy!)</figcaption></figure><p>Unfortunately, I cannot actually tell you what I’ve been busy with. Well, not yet. What I can say is that together with my Uncle, (his name is Doug) we have formed a startup called Buildbotics LLC and created something <strong><em>really</em></strong> awesome which complements CAMotics in a big way, will be Open-Source and offers a clear path to making CAMotics profitable enough for Doug and I to give it the attention it deserves. We are currently in <a href="https://en.wikipedia.org/wiki/Stealth_mode">stealth mode</a>, but will reveal all soon and hope to have your support when we do.</p><p>So, with that cliff-hanging teaser, I have only two things left to say. Feel free to <a href="/service/mailto:joseph@camotics.org">contact me directly</a> and. . .stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3be83275493" width="1" height="1" alt=""><hr><p><a href="https://medium.com/buildbotics-blog/is-camotics-alive-3be83275493">Is CAMotics alive?</a> was originally published in <a href="https://medium.com/buildbotics-blog">Buildbotics Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>