<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Keith&#039;s Electronics Blog &#187; MakerBot CupCake</title>
	<atom:link href="http://www.neufeld.newton.ks.us/electronics/?cat=24&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.neufeld.newton.ks.us/electronics</link>
	<description></description>
	<lastBuildDate>Fri, 18 Apr 2025 00:10:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>MakerBot CupCake’s Triumphant Return, Part 2:  Skeinforge Slices; CupCake Prints</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1873</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1873#comments</comments>
		<pubDate>Sat, 31 Oct 2020 15:43:54 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1873</guid>
		<description><![CDATA[With the CupCake printing successfully again, the next step was slicing so that I could print new things instead of only reprinting G-code that I&#8217;d saved in 2012. As noted before, I hadn&#8217;t figured out how to get Skeinforge to run on a current computer, after losing my previous Skeinforge installation to the crashes of [...]]]></description>
			<content:encoded><![CDATA[<p>With the <a href="?p=1770">CupCake printing successfully again</a>, the next step was slicing so that I could print new things instead of only reprinting G-code that I&#8217;d saved in 2012.</p>
<p>As <a href="?p=1770">noted</a> <a href="?p=1691">before</a>, I hadn&#8217;t figured out how to get Skeinforge to run on a current computer, after losing my previous Skeinforge installation to the crashes of <em>both</em> my personal desktop and laptop computers, on which I had <em>all of the data</em> and <em>none of the software or configurations</em> backed up.  (I&#8217;m wiser now.)</p>
<p>I struggled figuring out how to get Skeinforge running again now, in part because I think the instructions that come with it never got updated as its capabilities did.  No, I am not going to copy the STL into the system executable directory every time I want to slice something and then move the resulting G-code back out.  It turns out that any version of Skeinforge that I might actually want to run has a file browser <em>and</em> remembers where you browsed the last time you used it; so it&#8217;s pretty easy to get along with.</p>
<p>And as to which version I actually want to run, one of the files I <em>did</em> have backed up was my detailed notes on fine-tuning Skeinforge settings for my CupCake, which (naturally) included the fact that I was running Skeinforge 0035.  So there we go.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/19/IMG_20201019_193053_DSC01283-crop.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/19/IMG_20201019_193053_DSC01283-crop_mid.jpg" alt="3D printer calibration objects" /></a></p>
<p>With slicing working, that just leaves calibration, and I&#8217;ve done that now too.</p>
<p><span id="more-1873"></span></p>
<p>Last weekend &#8230; the weekend before? (Time flies / Doesn&#8217;t seem a minute) &#8230; I used my favorite calibration set, <a href="https://www.thingiverse.com/thing:5573">coasterman&#8217;s Essential Calibration set</a>, to (re)calibrate Skeinforge to my CupCake.</p>
<p>The first thin-wall box (upper left) is printed with <em>Skeinforge&#8217;s</em> default settings, which aren&#8217;t even for a CupCake, and was extruding way too much plastic.  The second is printed after clicking in all of <a href="http://makerbot.wikidot.com/cupcake-skeinforge-usage">MakerBot&#8217;s published CupCake defaults</a>, and was good enough for me.</p>
<p>The 20-mm infill boxes test the Infill Solidity setting, which I always mix up and take in the wrong direction before going the right direction.  1.7 gives a beautiful, smooth upper surface to my infill.</p>
<p>Bridging (lower left) is &#8230; something I&#8217;m not going to try too hard to adjust right now.  It works-ish.  The perimeter-width calibration objects fit together on the first try.  The Oozebane tuning to reduce stringing as the nozzle moves from one print area to another &#8230; does nothing for me, and never has.</p>
<p>And then I was ready to print, so print I did!</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/18/IMG_20201018_121858_DSC01268-white-balance.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/18/IMG_20201018_121858_DSC01268-white-balance_mid.jpg" alt="3D-printed brackets" /></a></p>
<p>The first non-calibration object I printed was this <a href="?p=1783">bracket I designed for 2020 aluminum extrusion</a> (left).  It doesn&#8217;t look so great.  Let me tell you what&#8217;s wrong with it: &#8230;  No, let me take the shorter approach of telling you what&#8217;s right with it:  The two-hour print completed with no hitches.  That is one hideous print.</p>
<p>I reprinted it with the Comb module activated (right), so that when it needs to move the nozzle from one area to another, it takes a path over the printed area instead of over open space, <em>completely</em> eliminating stringing.  From the <em>print</em> areas.  Comb completely eliminates stringing from the print areas.  But Comb is executed (in the current toolchain configuration) before Raft; and Raft is the module that generates the support material that I was trying out in Skeinforge for my first time evar; so you still get stringing to and from the support material (and not even optimized for the shortest hop across open air).  That&#8217;s handy.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/18/IMG_20201018_122738_DSC01271-white-balance.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/18/IMG_20201018_122738_DSC01271-white-balance_mid.jpg" alt="3D-printed bracket with Skeinforge support material" /></a></p>
<p>And that support structure (front right) is &#8230; not what we&#8217;re used to in 2020.  It&#8217;s actually not too bad &#8212; it uses material pretty efficiently; it generally is only generated where needed; and it generally detaches pretty easily.  But it looks very different.</p>
<p>Also you can see how blobby and irregular the print is.  Because the CupCake is horrible and incapable of printing smoothly?  What if this is the best I can ever get??  All this effort &#8230; !!! &#8230; !!!</p>
<p>But I didn&#8217;t believe that.  I&#8217;ve made smooth prints before; what&#8217;s the difference?  The difference is that this object requires hopping the nozzle from area to area a lot; and rapidly stopping and restarting extrusion during nozzle hops are what a DC gearmotor extruder is worst at.  With a stepper extruder, this part would be glorious!</p>
<p>Prove it!, you say.  Fine; I&#8217;ll CAD up a part in which each layer has all smooth curves and no jumps, and we&#8217;ll see how gloriously it comes out.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/19/IMG_20201019_170204_DSC01276.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/19/IMG_20201019_170204_DSC01276_mid.jpg" alt=""3D-printed test object in MakerBot CupCake /></a></p>
<p>There you go.  The strands on the top layer are where the Y axis snagged and skipped steps and everything went poo; but otherwise, that&#8217;s a smooth print, photographed with the camera handheld in order to cause enough blur that you can&#8217;t prove otherwise.</p>
<p>It does, however, have very noticeable shrinkage from about 2 mm &le; Z &le; 4 mm.  That, my dear friends, corresponds to when I opened the door to the garage to go work on something while still listening to the printer in case of problems.  The blast of cold air from the garage shrank the ABS immediately &#8212; and more on the front of the print than the back.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/19/IMG_20201019_193204_DSC01288-crop.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/10/19/IMG_20201019_193204_DSC01288-crop_mid.jpg" alt="3D-printed test object" /></a></p>
<p>Here&#8217;s a reprint with the dimensions reduced slightly to avoid the previous snagging when the build platform is at the absolute extremes of its range of travel, and with the entire build chamber enclosed by cardboard and plexiglass.  There&#8217;s still some irregular shrinkage that I&#8217;m going to have to figure out, and just a bit more stringing that wasn&#8217;t completely eliminated.  But this is not too bad.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1873</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MakerBot CupCake&#8217;s Triumphant Return, Part Before 1: The Z-Axis Stepper Motor Is Getting Old</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1788</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1788#comments</comments>
		<pubDate>Wed, 16 Sep 2020 01:52:29 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1788</guid>
		<description><![CDATA[Back in 2018 when I got the CupCake out to fix the extruder-stall problem from 2014, it had a new problem of the Z motor not doing what it was asked. The stalling motor was enough to stall me for another couple of years; or was the skipping motor enough to cause me to skip [...]]]></description>
			<content:encoded><![CDATA[<p><a href="?p=1691">Back in 2018 when I got the CupCake out</a> to fix the <a href="?p=1668">extruder-stall problem from 2014</a>, it had a new problem of the Z motor not doing what it was asked.  The stalling motor was enough to stall me for another couple of years; or was the skipping motor enough to cause me to skip ahead to 2020 for further diagnosis?</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/15/IMG_20200915_190236_DSC01131.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/15/IMG_20200915_190236_DSC01131_mid.jpg" alt="top of MakerBot CupCake" /></a></p>
<p>The CupCake&#8217;s extruder mounts on a Z stage that lowers down to the build platform.  The Z axis is run by a stepper mounted inside the frame at the front, with the central black pulley on the motor shaft driving the belt that connects the four black pulleys on threaded rods protruding down into the machine to raise and lower the Z stage by its corners.</p>
<p>As I was testing in 2018, and again this spring, what should have been continuous movement of the Z axis getting down to the platform to start a print would once in a great while pause and resume.  I didn&#8217;t hear the characteristic clack/clonk of a stepper motor skipping steps, but it was hard to be sure.  But whatever the cause, if the Z motor wasn&#8217;t running completely reliably before a print, there&#8217;s a fair chance that it could misbehave during a print.  Plus a printer with neither Z probe nor Z endstop makes it hard enough to set first layer height already; I don&#8217;t need to play this game in Nightmare mode.</p>
<p>Part of the challenge was replicating the problem.  In the first run at Cort&#8217;s house, everything worked initially, then finally misbehaved many minutes into a print.  After restarting the print, again it took many minutes before the next failure, suggesting that we were going to have a dickens of a time watching the problem on a scope and reinforcing my decision to take it to his house where we could use his digital scope with triggered capture.</p>
<p>However, after some fiddling, we discovered that if I used the ReplicatorG control panel to continually jog the Z up and down, at least after the printer was warmed up, it would occasionally pause, which we could hear as well as see.  That in turn led to an even more interesting discovery.</p>
<p><span id="more-1788"></span></p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_192439_DSC01108_crop.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_192439_DSC01108_crop_mid.jpg" alt="RepRap stepper motor driver 2.3 on MakerBot CupCake" /></a></p>
<p>All of the steppers on the CupCake are powered by Zach&#8217;s RepRap stepper motor driver 2.3 boards.  In the orientation shown, power connects on the lower edge, the stepper on the left, communications on top, and optional endstops on the right.  Immediately above and below the motor connector on the left are LEDs that light as the two coils of the bipolar stepper are each driven in their positive and negative directions &#8212; and what we noticed was that when the motor stalled, the LEDs were briefly off.</p>
<p>Hang on; that&#8217;s not your usual stepper motor failure!  The most common failure of a stepper motor is when it tries to drive a load that (in general or for a moment) requires more torque than the motor can provide.  Instead of moving forward one step, it will jerk back three steps, causing the clack or clonk I mentioned earlier.  (The second most common failure of a stepper motor is when it&#8217;s driven faster than it can run and just goes bonkers.)  But in both of these cases, the driver will still be trying to move the motor, and mine wasn&#8217;t.</p>
<p>We could choose to probe the situation with test equipment or we could swap parts and see where the problem followed.  With a lower psychological barrier to entry, we elected to swap parts.</p>
<p>I swapped the communications and motor cables between the Y (good) and Z (bad) axes.  The problem remained with the Z axis, suggesting that the driver board wasn&#8217;t the problem and making us wonder about a motherboard issue like a stall in the main execution loop.  I put the motor back on the Z board where the Y communication was still connected and told the ReplicatorG control panel to move the Y to in reality move the Z &#8230; and the Z still stuttered, suggesting that the motherboard and communications weren&#8217;t the problem.  I swapped in a spare CupCake stepper driver board for another data point; the Z still stuttered.  The only thing in common with all the test cases was <em>the Z motor</em>.</p>
<p>I began preparing to swap the Z motor but couldn&#8217;t get the pulley off of this one without a puller that I didn&#8217;t have along, so we had to stop replacing parts and start using our brains.  Manual movement of all three axes on the CupCake seems to take more force than on other printers &#8230; and well it might, as the Z-axis threaded rods aren&#8217;t commercial lead screws and the X and Y axes travel on bushings instead of bearings.  But more importantly, the Z axis in particular seems to take more torque to move than it did when it was new, which could be caused by the motor being gunked up from age and the upper and lower bearings getting gunked as well.</p>
<p>Each stepper driver board has a reference potentiometer to set the motor coil current &#8230; and the one for the Z stepper was already at maximum with no option to turn it up to 11.  If the motor was drawing more than the 2 A that the A3982 could provide, perhaps it would go into shutdown and stop driving the outputs, which would explain the blanking of the stepper coil LEDs.  And if the ravages of time caused the one stepper on the oddball axis to go from originally using just a little less current than the driver could provide to now needing just a little more, then what to do next?</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_192413_DSC01107_crop.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_192413_DSC01107_crop_mid.jpg" alt="stepper driver module" /></a></p>
<p>In the dual interests of troubleshooting the Z axis and of resuming Z operation to be able to troubleshoot the extruder problem, the answer was to use an external stepper driver that could provide more current.  I had already purchased this guy for fiddling with on the bench; so on the next visit, I brought it along; we hooked it up to drive the Z; and nothing.  Didn&#8217;t even light the activity LED inside.  A bad unit!</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_194052_DSC01120.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_194052_DSC01120_rotated_mid.jpg" alt="MakerBot CupCake using external stepper driver module for Z axis" /></a></p>
<p>On the subsequent visit &#8212; and mind you, these visits are about a month apart, so I&#8217;m exercising some patience and restraint here &#8212; I took a new stepper driver module that I&#8217;d purchased and <em>it also did nothing</em>, which was incontheivable.  Turns out that the external module&#8217;s ENA input is really a /ENA input and Cort and I were both too punch-drunk on the first attempt to think of that possibility.</p>
<p>The driver module is actually quite pleasant to wire, because having pins for both ends of the optoisolators on each signal input mean you can feed it either active-low or active-high inputs by choosing whether to connect signal and 5V or signal and ground.  I mean, if you stop to think about what logic style each signal is using.</p>
<p>Not having a spare connector for the motor plug, Cort soldered the wires to heavy pins salvaged from some piece of equipment and I drew up a housing, which we printed in &#8220;galaxy blue&#8221; one of Cort&#8217;s printers.  The pins are a tight friction fit in the housing and a looser fit in the motor plug, so it worked well.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_201323_DSC01126.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/14/IMG_20200914_201323_DSC01126_rotated_mid.jpg" alt="RepRap Motherboard v1.2 stepper driver connections on MakerBot CupCake" /></a></p>
<p>Cort fiddled together some jumper wires for the appropriate signal lines out of the Z-axis jack on the motherboard, and the whole thing Just Works.</p>
<p>With the stepper module DIP switches set for 1.5 A, the Z stepper loses steps in the traditional way.  Set for 2 A, it hasn&#8217;t failed yet, not in subsequent testing nor in my actual use this past weekend.  That reinforces my notion that the Z stepper&#8217;s current demand has <em>just barely</em> climbed up over the capacity of the original Allegro driver &#8212; and got me past the Z problem and able to diagnose the extruder problem.</p>
<p>When it&#8217;s not posing for a glamour photo, the stepper module tucks nicely into the bay next to the printer&#8217;s power supply.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1788</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MakerBot CupCake&#8217;s Triumphant Return, Part 1:  The Extruder Motor Is Getting Old</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1770</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1770#comments</comments>
		<pubDate>Mon, 14 Sep 2020 01:14:22 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1770</guid>
		<description><![CDATA[After lo these six long years, I now have the fixes and the knowledge to get the CupCake to complete a print. Back in January of 2015, I had got my CupCake tuned up for pretty prints and then the extruder stopped working. Two years ago when I documented that experience, I got the CupCake [...]]]></description>
			<content:encoded><![CDATA[<p>After lo these six long years, I now have the fixes and the knowledge to get the CupCake to complete a print.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_120458_DSC01087.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_120458_DSC01087_mid.jpg" alt="3D prints at different nozzle temperatures" /></a></p>
<p><a href="?p=1668">Back in January of 2015</a>, I had got my CupCake tuned up for <em>pretty</em> prints and then the extruder stopped working.  <a href="?p=1691">Two years ago</a> when I documented that experience, I got the CupCake set back up to troubleshoot that extruder problem and I had a new problem with the Z motor skipping steps, which I had to solve before I could figure out why the extruder stopped working 40+ minutes into a print.</p>
<p>I figured that troubleshooting the two problems would be easier with a fancier scope than I have; so a few times this spring, carefully observing COVID-19 precautions, I made couple-hour visits to my friend Cort and his basement workshop.  Over the course of those visits, we were able to identify and address the Z-axis problem (which I&#8217;ll write up later) and make some observations about the extruder that ultimately led to a successful workaround this weekend.</p>
<p><span id="more-1770"></span></p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_120334_DSC01082.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_120334_DSC01082_mid.jpg" alt="MakerBot CupCake extruder with DC motor" /></a></p>
<p>In our testing, Cort and I noted that &#8212; even just being driven by the ReplicatorG control panel &#8212; the extruder motor stalled fairly easily; it was fairly certain to stall with any PWM value below 240.  Because yes, the CupCake shipped with a DC gearmotor.</p>
<p>Cort and I were suspicious of the 8P8C cabling that delivers both communications and power from the motherboard to the extruder daughterboard, and Cort cleaned the plugs and jacks with DeoxIt.  We also figured that after the hours of service that the motor experienced back in the day, it was probably starting to wear and draw more current to maintain the same speed.  That would exacerbate the voltage drop from crusty cabling; so between the two, we figured that cleaning the contacts provided at least a modest chance of it working again with no further intervention.  (Foreshadowing:  nope.)  After that troubleshooting session, I brought the printer back home to try out before the next time we were going to be able to get back together.</p>
<h3>First Attempt:  Mechanical Problems</h3>
<p>Yesterday I cleared space on my workbench, set up the CupCake, and resumed trying to persuade it to do that same print from 2014.  I still happen to have the G-code file that was generated back then, so I&#8217;m using that same object and that same G-code in order to introduce as few variables as possible.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_192757_DSC01070_crop.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_192757_DSC01070_crop_mid.jpg" alt="failed 3D print on MakerBot CupCake" /></a></p>
<p>The first print failed impressively, twice.  The jog in the middle was from the X axis binding when both of the back bushings popped out of the Y carriage, nothing to see here, move along.  But then later it just stopped printing, much earlier than it had in 2014 or while testing at Cort&#8217;s house, which was discouraging.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_192958_DSC01073_annotated.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_192958_DSC01073_annotated_mid.jpg" alt="small bearing lying on power supply" /></a></p>
<p>Oh hai!  What are you??</p>
<p>I stepped back into my workroom and saw this bearing sitting on the power supplies.  ???  How did it get there?  Did it fall off a shelf?  Did someone break into my workroom during the two minutes that I was away and set a bearing on my bench?</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_193049_DSC01076.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_193049_DSC01076_mid.jpg" alt="MakerBot CupCake extruder with missing motor shaft bearing" /></a></p>
<p>Oh.  <em>That</em> bearing.  You know, the one on the end of the motor shaft that keeps it from deflecting away from the filament and losing its grip.  It just friction-fits into the hole in the laser-cut acrylic and it worked its way out, fell down, bounced off the Z stage, rolled out of the printer, landed on the power supplies, and stopped there instead of, you know, rolling under the washing machine and I&#8217;d be looking at the CupCake parts manifest to order a new one.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_194411_DSC01077.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/12/IMG_20200912_194411_DSC01077_mid.jpg" alt="MakerBot CupCake extruder with motor shaft bearing reinstalled" /></a></p>
<p>Okay, you happy now?  Good.</p>
<h3>Second Attempt:  Filament Problem</h3>
<p>I noticed that the first print, purportedly at the same temperature I&#8217;ve always used in the past to get natural-colored prints, had a toasty marshmallow glow about it.  I found the <a href="http://makerbot.wikidot.com/gcode">MakerBot G-code reference</a> that lists which codes were implemented and how they were interpreted and found that <code>M104 Snnn</code> sets the nozzle temperature.  Accordingly, I edited my 2014 G-code file, found the two M104 codes and edited them to lower the temperature, and started the print again.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_182913_DSC01092.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_182913_DSC01092_mid.jpg" alt="failed 3D print on MakerBot CupCake" /></a></p>
<p>It failed early, due to &lt;ahem&gt; another mechanical problem.  My original MakerBot ABS filament was shipped in a coil because spools hadn&#8217;t been invented yet, and pulling filament out of a coil is prone to snagging.  If I get distracted watching Adam Savage YouTube videos and don&#8217;t pay enough attention to feeding filament off the coil, the extruder starts to climb up the filament into the sky like the Lorax, then plop itself back down dramatically and make a blob, at which point you may as well cancel the rest of the print.</p>
<h3>Third Attempt:  Extruder Problem Returns!</h3>
<p>Still toasty marshmallow, so I edited the G-code and lowered the temperature again.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_183002_DSC01096.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_183002_DSC01096_mid.jpg" alt="failed 3D print on MakerBot CupCake" /></a></p>
<p>At last, we&#8217;re back to the original failure mode!  About 30 to 40 minutes into the print, the extruder motor stalled and just stopped pushing filament.</p>
<p>I put my meter onto the motor leads and read 9.92 VDC, which would be an alarming drop from 12 VDC if it were true.  I halted the print, started the ReplicatorG control panel, set the extruder motor PWM to 255, and read 11.78 VDC at the motor with the motor running, which was more like what I expected.  I played around with different PWM values and found (A) that my meter low-pass-filters out the PWM and reads the average DC value (okay); and (B) that it reads about 10 VDC around a PWM of 239 to 240.  That is, when the motor stalled, it was probably running at a PWM of 240.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/Reliability_vs._Speed.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/Reliability_vs._Speed.png" alt="chart of MakerBot CupCake reliability vs speed at three nozzle temperatures" /></a></p>
<p>This led to some control-panel-based testing of how low the extruder-motor PWM value can be set and still push filament at different nozzle temperatures on this CupCake at this age in this condition in this workroom.  The reliability values above are estimated, but they tell a pretty clear story that this CupCake extruder &#8212; as it sits today &#8212; really ought not to be driven at less than full DC <em>nor</em> with the nozzle at less than 220&deg;C.</p>
<h3>Fourth Attempt:  Success</h3>
<p>With that empirical &lt;cough &#8212; anecdotal&gt; information at hand, I referenced the MakerBot document again to determine that the only G-codes pertaining to the extruder motor were:</p>
<ul>
<li>M101 turn extruder on, forward (CW)</li>
<li>M102 turn extruder on, reverse (CCW)</li>
<li>M103 turn extruder off</li>
<li>M108 extruder speed (Snnn)</li>
</ul>
<p>I searched my 2014 G-code file for M108 extruder speed commands and found only two, both setting it to a PWM of 240.</p>
<p>240?  Whyyyyyyy?  However much a PWM of 240 slows down that DC gearmotor from straight 12 VDC &#8212; and I assure you no one on this planet knows &#8212; why would you want to push filament slower, when the filament speed is the bottleneck on printing and the X and Y axes can comfortably go faster than the extruder can keep up with?  Le sigh.</p>
<p>Anyway, I made another pass at hand-editing the G-code file, to raise the nozzle temperature back to 220&deg;C and raise the extruder motor PWM from 240 to 255; and it was then ready to run without the likelihood of stalling due to too low a PWM and too low a temperature.</p>
<p>As this was going to push more filament into the print than the previous G-code &#8230; which doesn&#8217;t matter on the narrow walls that constitute most of this print because they&#8217;ll just get squished wider, but there <em>is</em> some infill that will build up &#8230; I babysat the print and live-adjusted the Z every few layers to make them taller, accommodating the volumetric increase.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_105240_DSC01080.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2020/09/13/IMG_20200913_105240_DSC01080_mid.jpg" alt="completed 3D print on MakerBot CupCake" /></a></p>
<p>And it worked.  This print, which I no longer need and about which I care only as a canary, completed for the first time evar.</p>
<h3>Next Steps</h3>
<p>With a dataset of one completed print, I am declaring success.</p>
<p>More seriously, of course it may fail again, either because the combination of PWM and filament viscosity wasn&#8217;t the only issue or because the motor is aging enough that it&#8217;ll soon be stalling at PWM 255 on the 12 V power supply.  One could likely perk it up nicely with an external 15 VDC power supply, but that would require hacking (or duplicating) <a href="https://reprap.org/mediawiki/images/8/8d/Extruder_Controller_2.2_schematic.png">the extruder PCB</a> to get a higher voltage to the A3949 motor driver ICs or hacking an interface off of the H-bridge outputs to use an external H-bridge driver, neither of which particularly appeals.</p>
<p>I know that back in the day, people figured out how to upgrade their extruder DC gearmotor to a stepper-motor drive, <a href="https://reprap.org/wiki/Wade%27s_Geared_Extruder">&#8220;Wade&#8217;s Geared Extruder&#8221;</a> being the most-evolved example.  I&#8217;d love to upgrade to stepper drive &#8212; I already have the parts for a Wade&#8217;s geared extruder &#8212; but I can no longer find any notes online about how to drive that using an external stepper driver (which one wants), only <a href="https://reprap.org/wiki/Microcontroller_Firmware_Hints#Driving_Steppers_with_the_Extruder_Controller_V2.2_.28Arduino_inside....29">a description of how to use the two onboard H-bridge drivers to drive a stepper</a> and <a href="https://reprap.org/forum/read.php?13,64849,64856#msg-64856">a forum post on how badly that works</a>.  It&#8217;s always been my plan to do that upgrade, but it&#8217;s tough finding the documentation about nascent DIY upgrades ten years of noise later.</p>
<p>Independent of making sure I have a working extruder motor, I have to figure out a working slicer and redetermine slicer settings.  I&#8217;d be perfectly content still using Skeinforge; but when I install apparently the same version I was using in 2014 onto my current laptop, it looks and behaves completely different, so that&#8217;s a puzzle.  I&#8217;ve created and lightly tweaked a CupCake printer profile in PrusaSlicer; but Slic3r (and PrusaSlicer by extension) do not have a G-code flavor for the CupCake (their MakerBot G-code flavor appears to be for a much later model) and I don&#8217;t think that G-code is going to run successfully.  (I tried, and it did some odd things.)  Nor can I find any documentation on how to create or edit Slic3r G-code flavors, which I&#8217;d be totally willing to do.  So that&#8217;s a bit of a puzzle.</p>
<p>That means, of course, that although I can successfully complete old prints, I can&#8217;t yet start new ones.</p>
<p>Finally (for now), why is my ABS coming out toasted darker when it used to print at the same color as the raw filament?  My best guess is that ten years of sitting have degraded the filament, but that&#8217;s outside my area of expertise.  As shown at the top of this post, though, even lowering the nozzle temperature to 210&deg;C doesn&#8217;t keep it from darkening and looking scorched.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1770</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Chewing ABS to Make New Filament</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1705</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1705#comments</comments>
		<pubDate>Fri, 17 Aug 2018 01:38:41 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1705</guid>
		<description><![CDATA[Like many other 3D printer owners, I&#8217;ve long dreamed of processing post-consumer plastic into new filament for printing. I&#8217;ve now taken a couple of steps in that direction. It should come as no surprise that at times I&#8217;ve had a surplus of CRT monitors (surplus of CRTs is redundant, I guess?), many not working. I [...]]]></description>
			<content:encoded><![CDATA[<p>Like many other 3D printer owners, I&#8217;ve long dreamed of processing post-consumer plastic into new filament for printing.  I&#8217;ve now taken a couple of steps in that direction.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/08/16/IMG_20180816_0720358-brightness.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/08/16/IMG_20180816_0720358-brightness_mid.jpg" alt="ABS plastic pelletized with sheet-metal nibbler tool" /></a></p>
<p><span id="more-1705"></span></p>
<p>It should come as no surprise that at times I&#8217;ve had a surplus of CRT monitors (surplus of CRTs is redundant, I guess?), many not working.  I pulled their PCBs and salvaged their components, put out the metal for recycling, and &#8230; cut up the ABS cases into flat chunks and stored them.  Did the same with dead inkjet printers people kept giving me &#8212; I think they must come in the bottom of cereal boxes.</p>
<p>In tangentially-related news, I&#8217;m doing some OpenSCAD design work and a friend is printing the parts for me, as my CupCake has not rehabilitated itself yet.  The parts are supposed to friction fit and he has only PLA and I think it&#8217;s too brittle for a good fit &#8212; if the parts fit at all, they slide too easily.  I think they need a little give to slide together, stick in place, and slide apart, so I want to try ABS.  I have 3-mm ABS filament but his printer of course uses 1.75-mm filament.  I could buy some 1.75-mm ABS filament, but I have all this bulk ABS sitting around &#8230;</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/08/15/IMG_20180815_1926500.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/08/15/IMG_20180815_1926500_mid.jpg" alt="kitty litter bins of post-consumer ABS plastic" /></a></p>
<p>So last night I dug out my bins and color-matched my project to the medium grey ABS and scrubbed it in the kitchen sink with soapy water and let it dry.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/08/15/IMG_20180815_2005019-brightness.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/08/15/IMG_20180815_2005019-brightness_mid.jpg" alt="washing post-consumer plastic in the kitchen sink" /></a></p>
<p>Still hadn&#8217;t figured out how I was going to chew it up into pellets.  There are plastic shredders, even DIY ones, but they seem frightfully expensive especially once you include the motive power.</p>
<p>I pondered misusing all my different power tools, bearing in mind that my goal was to get pellets somewhere in the size range of rice to peas.  ABS dust would probably be fine for re-forming into filament &#8212; but much more difficult to capture/collect without impurities like wood dust from other use of the power tools.  Tablesaw, sander &#8212; dust.  Bandsaw, rotary rasp &#8212; coarse dust.  Drill press &#8212; interesting idea but would probably produce spirals that would have to be re-cut; plus any type of bit would be prone to grabbing the plastic and having to clamp it down in each position would take time.</p>
<p>Router table with router set to lowest speed and taking shallow passes &#8212; very promising, and very finger-scary.  Jointer &#8212; definitely the right size chips, and more finger-scary.  Lathe &#8212; hilarious!</p>
<p>And remembered my hand-operated sheet-metal nibbler.</p>
<p>This morning I produced a good tablespoon of pellets (shown at top) in ten minutes of hand-work as a proof of concept and today I ordered a <a href="https://www.filastruder.com/products/filastruder-kit">Filastruder</a>.</p>
<p>I&#8217;m still pondering &#8230; but I do have a pneumatic nibbler somewhere and I&#8217;m thinking about a table design whereby I could feed the plastic to the nibbler.  That should be pretty safe, as the nibbler&#8217;s up/down action won&#8217;t be nearly as prone to grabbing the workpiece and sucking in my fingers.</p>
<p>Although I <em>am</em> going to want some red ABS for this project &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1705</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Booting the MakerBot CupCake after Five Years Part 3: Heated Build Platform and First Print</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1691</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1691#comments</comments>
		<pubDate>Tue, 10 Jul 2018 00:51:42 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1691</guid>
		<description><![CDATA[Friday evening I left off with the extruder working again. Saturday I focused on the heated build platform. I&#8217;ve always had astoundingly good luck with kapton tape since nophead&#8217;s serendipitous discovery, probably because I (still) prefer to print in ABS. When the build platform is warm, my prints stick to it absolutely with no raft [...]]]></description>
			<content:encoded><![CDATA[<p>Friday evening I left off with the extruder working again.  Saturday I focused on the heated build platform.</p>
<p>I&#8217;ve always had astoundingly good luck with kapton tape since <a href="http://hydraraptor.blogspot.com/2010/01/hot-metal-and-serendipity.html">nophead&#8217;s serendipitous discovery</a>, probably because I (still) prefer to print in ABS.  When the build platform is warm, my prints stick to it absolutely with no raft or mouse ears and once it has cooled, they release easily.  That&#8217;s a pretty compelling combination.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_121633_DSC00061-rotated.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_121633_DSC00061-rotated_mid.jpg" alt="kapton tape for MakerBot CupCake heated build platform" /></a></p>
<p>So my first step was replacing the scraped-up kapton that I gouged the last time the printer was on.  I bought a 4&#8243; roll way back when and I keep a strip of unsticky tucked under the end so I don&#8217;t have to peel it up with fingernails and get fingerprints on the stickum.</p>
<p>In the past I&#8217;ve always replaced the tape by sticking down the end and using a credit card to &#8220;squeegee&#8221; it onto the surface, and it can be tough to avoid getting bubbles.  Yesterday I unrolled enough tape to cover the platform and when I had it stretched out, it was easy to align the front edge of the tape with the front edge of the platform, at which point I squeegeed it down with my thumb with no bubbles at all.  Huh, well, I guess I&#8217;ll remember that.</p>
<p><span id="more-1691"></span></p>
<p>I heat my build platform with the rackmount laboratory-grade power supply the CupCake is sitting on.  From <a href="?p=862">my 2010 blog post about making the heated build platform</a> (gosh, this blog thing is handy), I see that I ran the power supply around 24V to heat the build platform to the neighborhood of 180-200C, then backed it off to 12V.  This is a definite opportunity to control via software in the future; but for now, I&#8217;ll keep doing it with a manual control the way the pilgrims did.</p>
<h3>Setting Nozzle Height by Extruding Onto the Platform</h3>
<p>I&#8217;ve never got the Z-axis endstops integrated into my build process &#8212; if someone knows how to implement that (some G-code preface), I&#8217;d love to hear about it &#8212; and getting the right nozzle height has always been one of my biggest recurring challenges with this machine.  So I decided to take a different approach and set the extruder to run while jogging the build platform under numerical control and lowering the nozzle until the extrusions stuck well but didn&#8217;t flatten badly.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_122910_DSC00062-crop.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_122910_DSC00062-crop_mid.jpg" alt="freehand extrusion on MakerBot CupCake heated build platform" /></a></p>
<p>I got a blob every time it stopped between jog steps, but the process worked pretty well &#8212; I got the height tuned to stick the extrusion down to the build platform without squishing it badly out of shape.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_123205_DSC00065-color.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_123205_DSC00065-color_mid.jpg" alt="freehand extrusion from 3D printer heated build platform" /></a></p>
<p>Removed from the printer, you can see that the ABS was starting to scorch.  I&#8217;d been running the nozzle at 228C based on my <a href="?p=1465">2012 post</a>; but somewhere I found that I&#8217;d backed down to 220C, and that does seem to work better.</p>
<h3>First Print (from Saved Gcode)</h3>
<p>I don&#8217;t have my machine&#8217;s calibration parameters loaded into Skeinforge yet, in part because I can&#8217;t find Skeinforge (which is supposed to be integrated into ReplicatorG, but I don&#8217;t find that to be the case); so I can&#8217;t slice and print an STL file.  But I have G-code files that I&#8217;d generated <em>for this printer</em>, and it should work to print those.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_130430_DSC00073-color.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/07/IMG_20180707_130430_DSC00073-color_mid.jpg" alt="plastic clip made on 3D printer" /></a></p>
<p>This clip didn&#8217;t turn out so well.  The G-code was generated to print at 228C and the printer stopped extruding partway through, I think because the ABS was overheated.  I could update the G-code to run at 220C instead; but I&#8217;m going to want to get Skeinforge running to slice new models anyway.  So this was a fine proof of concept.</p>
<h3>Thermistor <em>Is</em> Calibrated</h3>
<p>I found (and subsequently remembered) that a few settings are saved in the printer&#8217;s NVRAM, including the thermistor coefficients.  They&#8217;re accessible in the <code>Machine</code> / <code>Toolhead Onboard Preferences...</code> dialog:</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/08/ReplicatorG-extruder-thermistor-parameters.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/08/ReplicatorG-extruder-thermistor-parameters.png" alt="" /></a></p>
<p>So it really <em>was</em> running at 228C when it said it was.</p>
<h3>Remaining Issues</h3>
<ul>
<li>After positioning the nozzle at the build platform&#8217;s origin, I raised it high out of the way.  When I told it to return to home, the Z action paused about once a second on the way down and stopped about 13 mm above the build platform instead of running smoothly back to its original position.  For goodness sake, you should be able to get the basics right.<br/><br />
I haven&#8217;t checked whether the motherboard was signaling the stepper driver and it was skipping steps (doubt it) or whether the motherboard was malfunctioning, so I should do that yet.<br/><br />
I&#8217;ll never be able to automate nozzle positioning if the CupCake can&#8217;t reliably move the nozzle into position.</li>
<li>Skeinforge doesn&#8217;t seem to be integrated.  I can install it separately, but I wonder why it&#8217;s not there.</li>
<li>I need to recover all of my calibration settings from the hard drives of my crashed computer and put them into Skeinforge that doesn&#8217;t exist.  And then add that location to my backup system.</li>
<li>ReplicatorG shows the preview of the STL when I&#8217;m clicking on a file to open but doesn&#8217;t have a preview window after loading where one can rotate and reposition the object.  I <em>thought</em> that was available even before the Skeinforge integration, but I could be misremembering.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1691</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Booting the MakerBot CupCake after Five Years Part 2: Installing Software</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1676</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1676#comments</comments>
		<pubDate>Sat, 07 Jul 2018 15:18:46 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1676</guid>
		<description><![CDATA[The next step in running the CupCake 3D printer is reinstalling the software and connecting to the machine. It went surprisingly well, with the only real snag being my misremembering the installation process, leaving me stuck in NotConnectedLand for a while. What Software A lot has happened in the world of hobbyist 3D printing since [...]]]></description>
			<content:encoded><![CDATA[<p>The next step in running the CupCake 3D printer is reinstalling the software and connecting to the machine.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg_mid.png" alt="ReplicatorG 0026 main screen" /></a></p>
<p>It went surprisingly well, with the only real snag being my misremembering the installation process, leaving me stuck in NotConnectedLand for a while.</p>
<p><span id="more-1676"></span></p>
<h3>What Software</h3>
<p>A lot has happened in the world of hobbyist 3D printing since the last time I had the CupCake powered up and both new firmware and new driver software are available.  I&#8217;m interested in upgrading both as I have time; but for a first boot, I want to change as few variables as possible.  That means leaving the firmware that&#8217;s on the CupCake and matching a legacy version of ReplicatorG to what&#8217;s on it.  And I had no idea what was on it.</p>
<p>Fortunately I have a <i>blog</i> and on that blog I write some things.</p>
<p>I went to my own blog&#8217;s <a href="?cat=24">MakerBot CupCake blog category</a> and quickly found the <a href="?p=1465">January 2012 post on rebuilding the heater</a> in which I had written:</p>
<blockquote><p>&#8230; I upgraded ReplicatorG from 0024 to 0029r2, and let it upgrade my firmware from v2.4 (I think) to v3.0, and lo! lost communication between ReplicatorG and the CupCake&#8230;</p>
<p>This is apparently a known problem &#8230;</p>
<p>Anyway, downgrading ReplicatorG to 0026 restored my connectivity &#8230;</p></blockquote>
<p>So there you have it:  I need ReplicatorG version 0026 to connect to the 3.0 firmware currently on my CupCake.</p>
<p>Happily, the <a href="http://replicat.org/">ReplicatorG web site</a> is still online in spite of MakerBot&#8217;s acquisition by Stratasys (though I note there have been no code updates since the acquisition).  The <a href="http://replicat.org/download">download page</a> has dowload links for only the last version (0040) but also has links to the <a href="https://code.google.com/archive/p/replicatorg/downloads">Google Code archive</a>, which on <a href="https://code.google.com/archive/p/replicatorg/downloads?page=3">p3</a> has that 0026 for the Mac that I&#8217;m looking for.</p>
<h3>Running ReplicatorG</h3>
<p>I downloaded ReplicatorG 0026 and tried running it from the disk image before actually installing it on my laptop.  I got the standard security warning:</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg-mac-security-warning.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg-mac-security-warning.png" alt="OS X security warning about ReplicatorG" /></a></p>
<p>and had to look up to right-click and Open rather than double-click and change security preferences.  After much playing around yesterday, I see that OS X Sierra does <i>not</i> remember approval I&#8217;ve given to run software on a disk image but <i>does</i> remember approval I&#8217;ve given to run software once it&#8217;s installed.</p>
<p>Once I got past that, I got a Java version error:</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/04/20180704-ReplicatorG-needs-Java-SE6.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/04/20180704-ReplicatorG-needs-Java-SE6.png" alt="ReplicatorG 0026 needs Java SE6" /></a></p>
<p>Shockingly, clicking <code>More Info...</code> in that dialog does something useful &#8212; it takes me to <a href="https://support.apple.com/kb/DL1572?locale=en_US">Apple&#8217;s JRE download page for that version</a>.  After regaining consciousness, I installed that software and ReplicatorG starts up like a champ.</p>
<h3>Can&#8217;t Connect to the CupCake (Because I Installed ReplicatorG Wrong)</h3>
<p>It doesn&#8217;t appear to see the CupCake, though,</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg-no-machinenode.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg-no-machinenode_mid.png" alt="ReplicatorG no machineNode found" /></a></p>
<p>giving the error:</p>
<p><code>Could not load machine 'null' no machineNode found<br />
could not load machine 'null' please check Driver-&gt; &lt;Machine Name&gt;<br />
</code></p>
<p>It <i>does</i> see my FTDI USB-serial cable under Machine / Serial Port.  It does <i>not</i> have anything listed under Machine / Driver and it does not bring up anything when I select Machine / Machine Information&#8230;</p>
<p>I don&#8217;t find much online about this.  A <a href="https://www.thingiverse.com/thing:32084/comments">Thingiverse Sailfish firmware comment</a> sounds as though I simply have the wrong machine type selected, but I can&#8217;t even select a machine type.  The tail end of a <a href="https://github.com/jetty840/ReplicatorG/issues/63">ReplicatorG comment thread</a> sounds as though it can&#8217;t see USB-serial ports on current OS X versions, but it does see it.  A much older <a href="http://makerbot.wikidot.com/forum/t-295389/null-version-reported-unable-to-connect-to-firmware">MakerBot forum post</a> mentions success after reseating the FTDI cable; but I don&#8217;t even know whether that&#8217;s the same issue and reseating mine didn&#8217;t help.</p>
<h3>Installing ReplicatorG Correctly</h3>
<p>It seemed obviously wrong that I couldn&#8217;t bring up the Machine Information&#8230; dialog, and I hunched that something was wrong there.  Researching about the machine type, I saw that the <a href="http://replicat.org/machine-configuration">ReplicatorG machine configuration page</a> mentions a <code>machines.xml</code> file, which I didn&#8217;t have.  But that sparked a memory &#8212; the ReplicatorG disk image had a <code>machines</code> folder in it and &#8230; oh, yeah.</p>
<p>The <a href="http://replicat.org/installation-mac">ReplicatorG Mac installation page</a> clearly says to <em>create a <code>ReplicatorG</code> folder under <code>Applications</code></em> and <em>drag the entire contents of the ReplicatorG disk image into it</em>.  Which I hadn&#8217;t.  I&#8217;d just dragged the app because in spite of remembering and knowing better, I&#8217;d just dragged the app.</p>
<p>I deleted the app from <code>Applications</code>, created the folder, dragged the contents, started ReplicatorG by right-clicking and choosing Open, and boom.  Connected to the CupCake.</p>
<h3>First Extrusion</h3>
<p>I went back to <a href="?p=1465">my same blog post</a> and found the nozzle temperature that works well for my CupCake, then set that and ran the extruder:</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg-extruder-control-panel.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/replicatorg-extruder-control-panel_mid.png" alt="ReplicatorG 0026 extruder control panel" /></a></p>
<p>I don&#8217;t have any of <i>my</i> CupCake&#8217;s calibration settings loaded in yet, in particular my thermistor coefficients, so this temperature is only an estimate; but it worked well enough.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_233448_DSC00057.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_233448_DSC00057_mid.jpg" alt="MakerBot CupCake test extrusion" /></a></p>
<p>First squeeze!  Software installed; connected to and controlling the machine.</p>
<h3>A Brief Aside About the FTDI USB-Serial Driver</h3>
<p>When first I ran the ReplicatorG software, I wondered whether I had the FTDI USB-Serial driver already loaded on my MacBook from working with Arduino or whether the driver was missing and was the cause of the problem.  ReplicatorG <em>did</em> find a USB-Serial under the Serial Port list, but I still questioned.</p>
<p>A bit of research shows that the driver&#8217;s presence or absence can be seen by running System Information and looking under Software / Installations.  I didn&#8217;t see it there and I found that it can also be checked by running <code>pkgutil --pkgs | grep -i ftdi</code> .  Didn&#8217;t see it there either.</p>
<p>The FTDI driver version supplied with ReplicatorG was of course quite old and I didn&#8217;t know how well it&#8217;d work on a newer OS X release.  I went to <a href="http://www.ftdichip.com/Drivers/VCP.htm">FTDI&#8217;s Virtual Com Port (VCP) driver page</a>, downloaded and installed version 2.4.2, and found that it made no changes to what I was experiencing.  I&#8217;m wondering whether the FTDI driver is by now supplied as part of OS X or whether it silently installed when I installed the Arduino software on this MacBook.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1676</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Booting the MakerBot CupCake after Five Years Part 1: Powering Up</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1673</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1673#comments</comments>
		<pubDate>Sat, 07 Jul 2018 03:39:22 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1673</guid>
		<description><![CDATA[I devoted Wednesday, my Independence Day holiday, to getting my CupCake 3D printer running again. Foreshadowing: It turned out as a pessimist might suspect rather than as an optimist might plan. The first step in getting the CupCake running was powering it up and connecting it to a computer. I went out to the utility [...]]]></description>
			<content:encoded><![CDATA[<p>I devoted Wednesday, my Independence Day holiday, to getting my CupCake 3D printer running again.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_215334_DSC00055-crop.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_215334_DSC00055-crop_mid.jpg" alt="MakerBot CupCake" /></a></p>
<p>Foreshadowing:  It turned out as a pessimist might suspect rather than as an optimist might plan.</p>
<p><span id="more-1673"></span></p>
<p>The first step in getting the CupCake running was powering it up and connecting it to a computer. I went out to the utility and</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180704_104133_00023.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180704_104133_00023_mid.jpg" alt="messy workbench with MakerBot CupCake" /></a></p>
<p>AAAAAAAAAUGH.</p>
<p>After spending all of Wednesday sorting and packing, I could see that I had only about an hour left of cleaning my workbench before I had room to even think about powering on the CupCake.  (BTW, watch out for those breadboars.  They will gore you if you&#8217;re carrying bread through the forest.)</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_132139_DSC00037.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_132139_DSC00037_mid.jpg" alt="workbench with MakerBot CupCake" /></a></p>
<p>Which leads to scheduling a vacation day today to devote to getting my CupCake 3D printer running again (and for relaxation and recovery as well &#8212; I prefer to live by a maxim attributed to Ben Franklin and was out later than usual last night seeing <em>Ocean&#8217;s 8</em>).</p>
<p>After spending another hour sorting and packing, I could see that I needed to <i>clean</i> my workbench before I felt like powering on the CupCake, so I did a little scrubbing and was then ready to go.</p>
<h3>Testing the Power Supply</h3>
<p>Out of an abundance of caution, I unplugged the power supply from the printer and tested it before powering up the printer.  It&#8217;s a PC power supply; they do go bad; they tend to fail dark rather than bright; but having the power supply smoke CupCake parts would really set back this process.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_132347_DSC00040.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/06/IMG_20180706_132347_DSC00040_mid.jpg" alt="testing MakerBot CupCake power supply" /></a></p>
<p>Looks fine, though I&#8217;m puzzled why the -5V light isn&#8217;t on.  &lt;shrug&gt;</p>
<p>With the power supply reconnected, the CupCake powers up successfully and its motherboard power switch does turn the power supply on and off.  First milestone reached.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1673</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I Haven&#8217;t Touched the MakerBot CupCake for Four and a Half Years</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1668</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1668#comments</comments>
		<pubDate>Wed, 04 Jul 2018 16:31:44 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1668</guid>
		<description><![CDATA[After making the filament de-duster five years ago about which I posted recently, I was finally getting consistent, reliable, beautiful 3D prints for the first time ever. For a month. Then I was trying to print a draft of a pocket holder for a tube of moustache wax and comb and when I came back, [...]]]></description>
			<content:encoded><![CDATA[<p>After <a href="?p=1603">making the filament de-duster</a> five years ago about which I posted recently, I was finally getting consistent, reliable, beautiful 3D prints for the first time ever.  For a month.</p>
<p>Then I was trying to print a draft of a pocket holder for a tube of moustache wax and comb and when I came back, I found that something had gone wrong after about 40 minutes of printing.  I forget the order in which these occurred, but through the original attempt and two retries it:</p>
<ul>
<li>kept running the filament while printing so the model snagged and the X-Y build platform skipped steps and lost its place; then when the print finished, kept the extruder on forever, creating a thumb-sized fungal growth of plastic</li>
<li>kept moving the X-Y build platform but stopped extruding</li>
<li>kept moving the X-Y build platform but shut off the nozzle heater, chewing a divot through the filament</li>
</ul>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/04/IMG_20180704_111131_DSC00032-color-corrected.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2018/07/04/IMG_20180704_111131_DSC00032-color-corrected_mid.jpg" alt="failed MakerBot CupCake 3D print" /></a></p>
<p>The second try, I ran another print of the same model; the third try, I made a tiny dimensional change to the model or Skeinforge settings in case the extruder controller was glitching on some particular G code; but that doesn&#8217;t seem to have been the case.  I got different bad behaviors and it seemed as though the extruder controller stopped taking instructions and kept doing exactly what it was doing at that moment.</p>
<p>I don&#8217;t know whether it&#8217;s a firmware bug, a power supply problem, a wiring problem, an extruder board problem, or something I haven&#8217;t thought of yet.  I have (recently) found reference to a few of the DC extruder motor windings shorting, reducing the coil resistance and increasing the load, to the point that the extruder controller FETs burn out.  But these weren&#8217;t burned out &#8212; they worked again immediately (for another 40 minutes).</p>
<p>And then before I could muster the motivation to troubleshoot it, both my laptop SSD and my workstation motherboard crashed, leaving me no working computer with 3D-printing software installed and no working computer with my CupCake&#8217;s calibration settings on it.  And then time passed; OSes were upgraded; ReplicatorG versions increased; the barrier to reentry increased substantially; and I simply have not touched it since early 2014.</p>
<p>This shall change.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1668</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Filament De-Dusting for the MakerBot CupCake [from 2013 Draft]</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1603</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1603#comments</comments>
		<pubDate>Fri, 22 Jun 2018 19:15:01 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1603</guid>
		<description><![CDATA[I&#8217;ve just found this post I had started drafting in December 2013 and hadn&#8217;t finished. The remarks about reliability and long periods of disuse are still pertinent &#8212; this was one month before the last time I attempted to use it &#8212; as is the dust solution. In the four and a half years I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><em>I&#8217;ve just found this post I had started drafting in December 2013 and hadn&#8217;t finished.  The remarks about reliability and long periods of disuse are still pertinent &#8212; this was one month before the last time I attempted to use it &#8212; as is the dust solution.</em></p>
<p>In the four and a half years I&#8217;ve owned my MakerBot CupCake 3D printer, I&#8217;ve never had it working well enough to use for more than a week or two at a time.  My real frustration has been a lack of understanding what has failed and how to fix it, so much so that it&#8217;s been <a href="?p=1465">almost two years</a> since I most recently gave up and put it away.  <em>[Written in December 2013, and I haven't used it since January 2014.]</em>  I know there are newer, more reliable printers on the market; but it sure seems like it should be possible to get the CupCake to work reliably, if I&#8217;m willing to upgrade critical parts.</p>
<p>In the intervening time <em>[meaning 2011 to 2013]</em>, my friend Joel has run some prints for me on his Thing-O-Matic.  Recently while chatting over a print in progress and checking whether the filament was jammed (solution:  his build platform&#8217;s aluminum heat spreader was bolted tightly around all the edges, expanding when hot, bulging up in the middle progressively over an afternoon of attempted printing, and blocking the nozzle which was enough to jam things up), he mentioned that his nozzle had jammed to the point that he couldn&#8217;t even push filament through by hand with pliers (yes, my problem exactly) and that he had solved it (oh???).</p>
<p>Dust.</p>
<p>Joel had disassembled his extruder and lightly drilled most of the filament out of his clogged nozzle with an undersized bit, as I had in the past; then soaked out the rest of the plastic with acetone, as I had also.  But when removing the clogged filament, Joel noticed it was quite dirty and made the mental connection with dust on the filament.  When he reassembled, he added a toothbrush to wipe dust off the filament on its way in and has also made a point to keep his supply bagged and/or boxed.  Since then (and until the expanding heat spreader), he&#8217;s had no further troubles with clogging.</p>
<p>This is not a new issue, but I had never heard anyone indicate it had so completely jammed their nozzles that their extruder wouldn&#8217;t extrude.</p>
<p>And it fixed my CupCake.  Mostly. For a while.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0057.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0057_mid.jpg" alt="Filament-wiping sponge holder, freshly printed" /></a></p>
<p><span id="more-1603"></span></p>
<p><em>Here ended the text of my 2013 draft, with photographs already lined up for me to narrate the rest of the story.  I&#8217;ll do the best I can to fill in the details five years later.</em></p>
<p>The toothbrush had worked well for Joel but I was leery of it only cleaning two sides of the filament, so I wanted to run the filament through a hole or slot in a sponge.</p>
<p>I designed a sponge holder in OpenSCAD that would sit on top of the CupCake extruder.  It&#8217;s not fastened in place &#8212; the legs keep it sitting on top; the filament keeps it from sliding side to side; and the filament pulls it down onto the extruder.  The occasional filament reversals never push it far upward.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0065.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0065_mid.jpg" alt="Filament-wiping sponge holder, installed" /></a></p>
<p>Since my extruder nozzle was at that moment passing filament, I was able to print the part myself.  From the first picture in this post and the string at the bottom of this one, you can see that I printed it in the opposite orientation from the photo &#8212; printed in the orientation in which it&#8217;s used &#8212; because my printer has always been reasonably good at bridging, so I wasn&#8217;t worried about it.  Still probably would have been smarter to print it upside-down anyway.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0063.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0063_mid.jpg" alt="Filament-wiping sponge holder, warp" /></a></p>
<p>In this picture, you can see foreshadowing of a future post &#8212; the sponge holder&#8217;s legs are warped inward.  That occurred because the first layers of the body cooled so rapidly that they shrank while the remainder of the body was still being printed &#8212; the same issue that causes corners and edges of people&#8217;s bases to pull away from build platforms that aren&#8217;t super-sticky.</p>
<p>I had an unused carwash sponge on hand, so I sliced it with a sharp knife, then cut a cube to fit inside the holder.  I think I poked a hole through the center with an awl, but it&#8217;s possible I sliced in from the edge to provide a path to load the filament.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0071.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2013/11/27/IMG_0071_mid.jpg" alt="sponge" /></a></p>
<p>And I&#8217;ve had no further problems with nozzle clogs since then!  Which sounds sarcastic since I only used it another month before not touching it for five years &#8230; but really, this did solve my clogging problem, and it was evident that it had done so during the remaining time I was actually using it.  I&#8217;d had frequent mini-clogs and occasional maxi-clogs prior to the filament cleaner, and none since.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1603</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebuilding the CupCake Extruder Heater (When It Wasn&#8217;t Very Broken)</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1465</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1465#comments</comments>
		<pubDate>Sun, 29 Jan 2012 22:40:30 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[MakerBot CupCake]]></category>
		<category><![CDATA[Repairs]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1465</guid>
		<description><![CDATA[After some success back in June using fans to cool extruded layers on my CupCake &#8212; in fact, right after that success &#8212; it slowed extruding and eventually stopped extruding altogether. This is the story of my life with the CupCake &#8212; a very brief success from time to time, but never persistent nor replicable. [...]]]></description>
			<content:encoded><![CDATA[<p>After some success back in June <a href="?p=1399">using fans to cool extruded layers</a> on my CupCake &#8212; in fact, <em>right</em> after that success &#8212; it slowed extruding and eventually stopped extruding altogether.  This is the story of my life with the CupCake &#8212; a very brief success from time to time, but never persistent nor replicable.</p>
<p>When I say stopped extruding, I mean the motor actually ground to a halt.  Usually it chews a divot into the filament, but this time it stopped.  And I was pretty sure &#8212; don&#8217;t remember whether I actually checked the on-screen display or not &#8212; that the nozzle temperature had dropped and the filament wasn&#8217;t melting any more.</p>
<p>I know people talk about extruding ABS at temperatures as low as 200&deg;C, and I don&#8217;t find that to be the case in my CupCake.  Mine is calibrated, and mine doesn&#8217;t like temperatures that it thinks are lower than 220&deg;C, and mine doesn&#8217;t <em>really</em> like temperatures that it thinks are below 225&deg;C.  So it really doesn&#8217;t take much to make it unhappy.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/DSCN8516.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/DSCN8516_mid.jpg" alt="Nichrome wire crimped to teflon-coated wire" /></a></p>
<p>I had just <a href="?p=1388">rebuilt and rewound</a> my heater at the time, and I knew that I had crimped the nichrome to the teflon-coated lead wires with silver crimp beads.  I had a suspicion that the joints had become oxidized under the crimps, and the 7.3&Omega; resistance across my heater wires seemed high for my CupCake.</p>
<p>A couple of weeks ago I disassembled the heater and found that one of the two connections was indeed quite scorched and oxidized.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/DSCN8521.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/DSCN8521_mid.jpg" alt="Nichrome wire crimped to teflon-coated wire" /></a></p>
<p>After cutting away the crimp tubes, cleaning the end of the nichrome wire with fine sandpaper, cutting back the lead wire, and recrimping, I tinned both lead wires with solder.  Solder doesn&#8217;t stick to nichrome; but being coated with solder, the joint (which already had a solid mechanical connection from crimping) should be much less prone to oxidation.</p>
<p>After the rebuild, the heater measured 6.8&Omega;.  Half an ohm difference doesn&#8217;t sound like that much until you&#8217;re trying to get to 225&deg;C.  Since power P = V<sup>2</sup> / R, at 7.3&Omega;, P = (12V)<sup>2</sup> / 7.3&Omega; &asymp; 19.7W; and at 6.8&Omega;, P = (12V)<sup>2</sup> / 6.8&Omega; &asymp; 21.2W; so maybe that could be enough to make the difference at the high end of the extruder&#8217;s temperature range.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/extruder-not-reaching-set-point.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/extruder-not-reaching-set-point_mid.png" alt="ReplicatorG control panel with temperature failing to reach set point" /></a></p>
<p>Aaaand &hellip; after reconnecting things, I still couldn&#8217;t get the temperature above 222-223&deg;C, even though it now had some 7% more power.  That doesn&#8217;t seem quite right.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/IMG-20120102-00151-crop.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/02/IMG-20120102-00151-crop_mid.jpg" alt="Pulse-width-modulated heater signal on oscilloscope" /></a></p>
<p>When in doubt, scope it out.  Yeah, after almost a full minute of failing to hold the temperature at the set point, the software PWM in the extruder controller was still running the heater at about a 50% duty cycle.  That definitely doesn&#8217;t seem quite right.</p>
<p>And isn&#8217;t something I can easily fix, either.  The ReplicatorG version I was running didn&#8217;t have a control panel for the heater PID settings, so (even assuming I was smart enough to fiddle them into shape) I would have had to recompile the code each time I wanted to make a tweak, which wasn&#8217;t palatable.</p>
<h3>Firmware Upgrade</h3>
<p>But I thought I&#8217;d heard that newer ReplicatorG versions did bring the PID coefficients into the machine control panel, so I upgraded ReplicatorG from 0024 to 0029r2, and let it upgrade my firmware from v2.4 (I think) to v3.0, and lo! lost communication between ReplicatorG and the CupCake.  It said it had a connection but all the menu options to talk to the CupCake were greyed out.</p>
<p>Great.</p>
<p>This is apparently a <a href="http://wiki.makerbot.com/forum/t-423130">known problem</a> claimed to have something to do with the Mac&#8217;s localization settings for the string representation of &#8220;,&#8221; and &#8220;.&#8221; in numbers.  Srsly?  And the suggested tweaks didn&#8217;t fix it for me, so I&#8217;ll just wait for the next ReplicatorG release.  And since the Mac package of ReplicatorG <em>continues</em> to be a DMG file of all the pieces you have to drag into <code>/Applications/ReplicatorG</code>, rather than a <code>ReplicatorG</code> <em>folder</em> that one could conveniently drag into <code>/Applications</code> like everyone <em>else</em> provides &hellip; I guess I should feel lucky to have a Mac version at all, and I&#8217;m not holding my breath for a fix on this problem.</p>
<p>Anyway, downgrading ReplicatorG to 0026 restored my connectivity and got me a look at those sweet, sweet PID coefficients.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/06/extruder-holding-set-point.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/06/extruder-holding-set-point_mid.png" alt="ReplicatorG heater temperature graph" /></a></p>
<p>Which I no longer need, &#8217;cause with the upgraded CupCake firmware, the PID algorithm seems to work right.  Reaching for the knobs was obviously an attempt at a workaround, and the real fix is oh so much better.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/06/DSCN8526.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2012/01/06/DSCN8526_mid.jpg" alt="Plastic-extruded filter holder assembly" /></a></p>
<p>The stringing on this diffusing filter holder is my fault, not my machine&#8217;s &#8212; I have a 0&deg; (or 90&deg;) overhang on a concave curve, so there&#8217;s no <em>way</em> it was going to come out clean.  I still wanted to see what it would do, and it performed admirably under the circumstances of an impossible model.</p>
<p>And then stopped working again.</p>
<p>Filament drive motor locked up against the filament.  A-gain.  (Yay, great grip on the drive pulley, and nozzle retaining washer not breaking!)  Temperature claims to be steady where set.</p>
<p>My utility is fairly cold these days.  I&#8217;ll try enclosing the build chamber again in hopes that although the nozzle is hot enough, the teflon tube is too cold &#8212; but I bet I end up disassembling and drilling out the inside of the tube and nozzle again.</p>
<p>Should have been designed with a quick-release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1465</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
