<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
>

<channel>
	<title>KwartzLab Makerspace &#187; Karl Williams</title>
	<atom:link href="http://www.kwartzlab.ca/tag/karl_williams/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kwartzlab.ca</link>
	<description>Home of Kwartzlab Makerspace in Kitchener/Waterloo, Ontario</description>
	<lastBuildDate>Sun, 19 May 2013 23:30:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<!-- podcast_generator="Blubrry PowerPress/4.0.7" -->
	<itunes:summary>Regular discussions with hackers, makers and artists at the Kwartzlab Makerspace. We talk about what projects people are working on, what events are coming up and how you can get involved.</itunes:summary>
	<itunes:author>kwartzlab</itunes:author>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.kwartzlab.ca/wp-content/uploads/powerpress/light_box_logo.jpg" />
	<itunes:owner>
		<itunes:name>kwartzlab</itunes:name>
		<itunes:email>podcast@kwartzlab.ca</itunes:email>
	</itunes:owner>
	<managingEditor>podcast@kwartzlab.ca (kwartzlab)</managingEditor>
	<itunes:subtitle>A hackerspace radio show</itunes:subtitle>
	<itunes:keywords>kwartzlab, hackerspace, makerspace, diy, hardware, software, maker, hacker, artist, roundtable</itunes:keywords>
	<image>
		<title>KwartzLab Makerspace &#187; Karl Williams</title>
		<url>http://www.kwartzlab.ca/wp-content/uploads/powerpress/light_box_logo.jpg</url>
		<link>http://www.kwartzlab.ca</link>
	</image>
	<itunes:category text="Technology" />
	<itunes:category text="Arts" />
	<itunes:category text="Games &amp; Hobbies">
		<itunes:category text="Hobbies" />
	</itunes:category>
		<rawvoice:location>Kitchener, ON</rawvoice:location>
		<item>
		<title>Taig Milling Machine Stepper Motor and Controller Upgrade</title>
		<link>http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/</link>
		<comments>http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 03:12:31 +0000</pubDate>
		<dc:creator>karlw</dc:creator>
				<category><![CDATA[Member Blogs]]></category>
		<category><![CDATA[CNC Mill]]></category>
		<category><![CDATA[diy cnc]]></category>
		<category><![CDATA[Karl Williams]]></category>
		<category><![CDATA[robotics]]></category>
		<category><![CDATA[Taig cnc]]></category>

		<guid isPermaLink="false">http://www.kwartzlab.ca/?p=1498</guid>
		<description><![CDATA[A friend was selling some 200 ounce/inch, 3.5 Amp stepper motors for a great price so I thought it was time to upgrade the taig cnc milling machine. With the old steppers installed, the machine was accurate but slow. Since the old controller couldn&#8217;t handle 3.5 amps I decided to upgrade that too. I found [...]]]></description>
				<content:encoded><![CDATA[<p><a rel="attachment wp-att-1496" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/taig-mill/"><img class="alignnone size-full wp-image-1496" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/taig-mill.jpg" alt="" width="468" height="380" /></a><a rel="attachment wp-att-1493" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/power-supply/"></a></p>
<p>A friend was selling some 200 ounce/inch, 3.5 Amp stepper motors for a great price so I thought it was time to upgrade the taig cnc milling machine. With the old steppers installed, the machine was accurate but slow. Since the old controller couldn&#8217;t handle 3.5 amps I decided to upgrade that too. I found a 5 axis controller on ebay for a great price. This controller uses the Toshiba TB6560 stepper driver that can handle up to 36 VDC at 3.5 Amps. I wanted a board with at least 4 axis&#8217; so that I could add a rotary axis to the mill but more about that in another post. I went to the local electronics supplier (Sayal elelctronics) and Parm set me up with a Hammond electronics 24 VAC, 10 Amp transformer (a local manufaturer). I picked up a bridge rectifier, large capacitor, switch, fuse, computer power cord socket and indicator light to complete the power supply. The entire conroller and power suppy were mounted in a computer case.</p>
<p><span id="more-1498"></span></p>
<p><a rel="attachment wp-att-1493" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/power-supply/"><img class="alignnone size-full wp-image-1493" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/power-supply.jpg" alt="" width="468" height="405" /></a><a rel="attachment wp-att-1494" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/switch-fuse/"></a></p>
<p>Transformer, bridge rectifier and capacitor.</p>
<p><a rel="attachment wp-att-1494" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/switch-fuse/"><img class="alignnone size-full wp-image-1494" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/switch-fuse.jpg" alt="" width="468" height="383" /></a></p>
<p>Switch, fuse and power socket.</p>
<p><a rel="attachment wp-att-1495" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/switch-plate/"><img class="alignnone size-full wp-image-1495" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/switch-plate.jpg" alt="" width="468" height="284" /></a></p>
<p>Mounted indicator light and switch.</p>
<p><a rel="attachment wp-att-1491" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/controller-stepper/"><img class="alignnone size-full wp-image-1491" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/controller-stepper.jpg" alt="" width="468" height="318" /></a></p>
<p>TB6560 stepper controller board and 200 oz/inch stepper motor.</p>
<p><a rel="attachment wp-att-1489" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/case1/"><img class="alignnone size-full wp-image-1489" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/case1.jpg" alt="" width="432" height="535" /></a></p>
<p>Power supply and controller mounted in a computer case.</p>
<p><a rel="attachment wp-att-1490" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/case2/"><img class="alignnone size-full wp-image-1490" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/case2.jpg" alt="" width="360" height="542" /></a></p>
<p>Close-up of computer case.</p>
<p>After getting all of the stepper motors wired to the controller board it was time to start testing. I noticed that the motors started losing steps and stalling out at speeds greater than 20 inches per minutes. I hooked the oscilloscope up to the step line on one of the axis to see what was going on.  Instead of a nice square wave it looked more like a sawtooth because of the slow rise time. This is what was causing all the missed steps at higher speeds. The culprit was slow rise times of the optocouplers situated in the circuit between the parallel port and the drivers. An easy fix was to take the optocouplers out and jumper them with a wire. The parallel port is no longer isolated from the driver chips but that has never been an issue with my other drivers on different machines. The machine can now run easily at 40 inches per minute.</p>
<p><a rel="attachment wp-att-1497" href="http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/waveform-after/"><img class="alignnone size-full wp-image-1497" src="http://www.kwartzlab.ca/wp-content/uploads/2011/06/waveform-before-after.jpg" alt="" width="576" height="218" /></a></p>
<p>In this photograph, on the left, you can see the waveform of the slow rise time of the optocoupler. The waveform on the right shows  nice square waves generated after the optoisolators were jumpered. This makes a big difference considering that there are 8000 steps in one inch.</p>
<p>Karl P. Williams</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwartzlab.ca/2011/06/taig-milling-machine-stepper-motor-and-controller-upgrade/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making CNC Stepper Motor Controller Printed Circuit Boards</title>
		<link>http://www.kwartzlab.ca/2010/04/making-cnc-stepper-motor-contr/</link>
		<comments>http://www.kwartzlab.ca/2010/04/making-cnc-stepper-motor-contr/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 20:41:20 +0000</pubDate>
		<dc:creator>karlw</dc:creator>
				<category><![CDATA[Member Blogs]]></category>
		<category><![CDATA[cnc]]></category>
		<category><![CDATA[CNC Router]]></category>
		<category><![CDATA[Karl Williams]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>The stepper motor controller boards for my CNC router project are based on the L297 controller and L298 H-bridge driver combination. The circuit board design is the same as the schematic shown in the L297 datasheet. To keep the size of the boards small, I decided to make them double sided. I also needed to build a parallel port breakout board so I did that at the same time. The schematic and boards were laid out using <a href="http://www.cadsoft.de">EagleCad</a>.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb1.jpg" alt="pcb1" /></p>

<p><img src="http://www.thinkbotics.com/cnc/pcb12.jpg" alt="pcb12" /></p>

<p>Click through for more...</p>

<p><!-- Links -->
<!-- Images -->
<!--more-->
The positive photo fabrication method was used to create the boards. The supplies are from <a href="http://www.mgchemicals.com/products/416k.html">MG Chemicals</a> and are readily available at Sayal electronics. After the boards were designed, the top and bottom traces were printed onto transparencies in an inkjet printer. Because these boards are double sided, vias are used to connect the top layer traces to the bottom layer traces. The transparencies are cut to size and carefully aligned so that the vias on each side line up perfectly. I staple the transparencies together and then slide a double sided, pre sensitized, board in between.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb2.jpg" alt="pcb2" />
<img src="http://www.thinkbotics.com/cnc/pcb3.jpg" alt="pcb3" /></p>

<p>The transparencies and the board are then sandwiched between two sheets of glass and held together with some paper clamps so that nothing can move out of place when the board is being exposed to ultraviolet light. The side opposite to the one that is being exposed to the UV is covered with light blocking plastic. when the top of the board is finished being exposed, it is covered with the blocking material and the other side is then exposed.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb4.jpg" alt="pcb4" /></p>

<p>I happen to have a UV eraser unit left over from the 'good old days' of microcontroller programming and eprom erasing so I use that as my UV light source but a regular fluorescent bulb will also work. Note that I cover the entire unit up when it is operating so that I'm not exposed to UV.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb5.jpg" alt="pcb5" /></p>

<p>After the board has been exposed it is developed much like a photograph. The areas that were exposed to the UV light are washed away and the circuit board pattern that is left will protect the copper from the etchant during the next step. This is where the whole process can get messy with chemicals. When Darin White completes his <a href="http://www.kwartzlab.ca/blog/dw/2010-03-24/circuit-board-mill-smooth-oper">board mill</a> we won't have to deal with this any more.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb6.jpg" alt="pcb6" /></p>

<p>What's that cooking on the hot plate? That delicious black tar is ferric chloride, a metal etchant. The ferric chloride dissolves the unprotected copper from the board and leaves the circuit design intact. The solution gets darker as more copper gets dissolved and it takes longer to etch a board. I heat it up so that it is warm and then turn the hot plate off. This stuff has to be put back into the bottle and disposed of at a chemical waste drop off site when it gets saturated.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb7.jpg" alt="pcb7" /></p>

<p>Etched boards washed and dried.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb10.jpg" alt="pcb10" /></p>

<p>The boards are then drilled.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb8.jpg" alt="pcb8" />
<img src="http://www.thinkbotics.com/cnc/pcb9.jpg" alt="pcb9" /></p>

<p>Here are two completed stepper motor controller boards attached to the parallel port breakout board. Note that the cables connecting the breakout board to each controller were fabbed out of an old hard drive ide cable by cutting the header on a band saw and splitting the ribbon cable. That saved me a lot of time soldering.</p>

<p><img src="http://www.thinkbotics.com/cnc/pcb11.jpg" alt="pcb11" /></p>

<p><img src="http://www.thinkbotics.com/cnc/pcb12.jpg" alt="pcb12" /></p>

<p><img src="http://www.thinkbotics.com/cnc/cncdiy-small.jpg" alt="diy" />
The Robots are coming.
Karl Williams</p>

<p><!-- Links -->
<!-- Images --></p>
]]></description>
				<content:encoded><![CDATA[<p>The stepper motor controller boards for my CNC router project are based on the L297 controller and L298 H-bridge driver combination. The circuit board design is the same as the schematic shown in the L297 datasheet. To keep the size of the boards small, I decided to make them double sided. I also needed to build a parallel port breakout board so I did that at the same time. The schematic and boards were laid out using <a href="http://www.cadsoft.de">EagleCad</a>.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb1.jpg" alt="pcb1" /></p>
<p><img src="http://www.thinkbotics.com/cnc/pcb12.jpg" alt="pcb12" /></p>
<p>Click through for more&#8230;</p>
<p><!-- Links --><br />
<!-- Images --><br />
<span id="more-322"></span><br />
The positive photo fabrication method was used to create the boards. The supplies are from <a href="http://www.mgchemicals.com/products/416k.html">MG Chemicals</a> and are readily available at Sayal electronics. After the boards were designed, the top and bottom traces were printed onto transparencies in an inkjet printer. Because these boards are double sided, vias are used to connect the top layer traces to the bottom layer traces. The transparencies are cut to size and carefully aligned so that the vias on each side line up perfectly. I staple the transparencies together and then slide a double sided, pre sensitized, board in between.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb2.jpg" alt="pcb2" /><br />
<img src="http://www.thinkbotics.com/cnc/pcb3.jpg" alt="pcb3" /></p>
<p>The transparencies and the board are then sandwiched between two sheets of glass and held together with some paper clamps so that nothing can move out of place when the board is being exposed to ultraviolet light. The side opposite to the one that is being exposed to the UV is covered with light blocking plastic. when the top of the board is finished being exposed, it is covered with the blocking material and the other side is then exposed.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb4.jpg" alt="pcb4" /></p>
<p>I happen to have a UV eraser unit left over from the &#8216;good old days&#8217; of microcontroller programming and eprom erasing so I use that as my UV light source but a regular fluorescent bulb will also work. Note that I cover the entire unit up when it is operating so that I&#8217;m not exposed to UV.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb5.jpg" alt="pcb5" /></p>
<p>After the board has been exposed it is developed much like a photograph. The areas that were exposed to the UV light are washed away and the circuit board pattern that is left will protect the copper from the etchant during the next step. This is where the whole process can get messy with chemicals. When Darin White completes his <a href="http://www.kwartzlab.ca/blog/dw/2010-03-24/circuit-board-mill-smooth-oper">board mill</a> we won&#8217;t have to deal with this any more.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb6.jpg" alt="pcb6" /></p>
<p>What&#8217;s that cooking on the hot plate? That delicious black tar is ferric chloride, a metal etchant. The ferric chloride dissolves the unprotected copper from the board and leaves the circuit design intact. The solution gets darker as more copper gets dissolved and it takes longer to etch a board. I heat it up so that it is warm and then turn the hot plate off. This stuff has to be put back into the bottle and disposed of at a chemical waste drop off site when it gets saturated.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb7.jpg" alt="pcb7" /></p>
<p>Etched boards washed and dried.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb10.jpg" alt="pcb10" /></p>
<p>The boards are then drilled.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb8.jpg" alt="pcb8" /><br />
<img src="http://www.thinkbotics.com/cnc/pcb9.jpg" alt="pcb9" /></p>
<p>Here are two completed stepper motor controller boards attached to the parallel port breakout board. Note that the cables connecting the breakout board to each controller were fabbed out of an old hard drive ide cable by cutting the header on a band saw and splitting the ribbon cable. That saved me a lot of time soldering.</p>
<p><img src="http://www.thinkbotics.com/cnc/pcb11.jpg" alt="pcb11" /></p>
<p><img src="http://www.thinkbotics.com/cnc/pcb12.jpg" alt="pcb12" /></p>
<p><img src="http://www.thinkbotics.com/cnc/cncdiy-small.jpg" alt="diy" /><br />
The Robots are coming.<br />
By Karl Williams</p>
<p><!-- Links --><br />
<!-- Images --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwartzlab.ca/2010/04/making-cnc-stepper-motor-contr/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
