<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: The CNC Magic Screen Machine</title>
	<atom:link href="http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/feed/" rel="self" type="application/rss+xml" />
	<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/</link>
	<description>A Blog with everything.</description>
	<lastBuildDate>Fri, 19 Mar 2010 18:01:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kirk</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-137</link>
		<dc:creator>Kirk</dc:creator>
		<pubDate>Sat, 08 Aug 2009 14:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-137</guid>
		<description>Nicely done! note that on the Stepping Sequences page that you reference the single coil sequence is often called wave stepping. The 2 coil sequence is often called full stepping.  With full stepping you will find that the maximum speeds increase dramatically. Torque will be Way up and vibration will be less.  The half step method is also great to reduce vibration.

I love how you integrated several software packages and the hardware.  Also I appreciate how well you documented your project.
Thanks
Kirk</description>
		<content:encoded><![CDATA[<p>Nicely done! note that on the Stepping Sequences page that you reference the single coil sequence is often called wave stepping. The 2 coil sequence is often called full stepping.  With full stepping you will find that the maximum speeds increase dramatically. Torque will be Way up and vibration will be less.  The half step method is also great to reduce vibration.</p>
<p>I love how you integrated several software packages and the hardware.  Also I appreciate how well you documented your project.<br />
Thanks<br />
Kirk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brain</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-136</link>
		<dc:creator>brain</dc:creator>
		<pubDate>Tue, 19 May 2009 04:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-136</guid>
		<description>I use the stock avrdude that comes with Ubuntu 8.04.

When you use avr-dude with an AVR ISP MKII you don&#039;t need any drivers that I am aware of.

There seemes to be a fairly complete tutorial for working in various flavors of unix for AVR development at Lady Ada
http://www.ladyada.net/library/avrdevtut/setup-unix.html

Also make sure that you get an account at AVR Freaks.
They have lots of tutorials.
http://www.avrfreaks.net/

For determining the types of motors that you have see this page:
http://www.doc.ic.ac.uk/~ih/doc/stepper/others/</description>
		<content:encoded><![CDATA[<p>I use the stock avrdude that comes with Ubuntu 8.04.</p>
<p>When you use avr-dude with an AVR ISP MKII you don&#8217;t need any drivers that I am aware of.</p>
<p>There seemes to be a fairly complete tutorial for working in various flavors of unix for AVR development at Lady Ada<br />
<a href="http://www.ladyada.net/library/avrdevtut/setup-unix.html" rel="nofollow">http://www.ladyada.net/library/avrdevtut/setup-unix.html</a></p>
<p>Also make sure that you get an account at AVR Freaks.<br />
They have lots of tutorials.<br />
<a href="http://www.avrfreaks.net/" rel="nofollow">http://www.avrfreaks.net/</a></p>
<p>For determining the types of motors that you have see this page:<br />
<a href="http://www.doc.ic.ac.uk/~ih/doc/stepper/others/" rel="nofollow">http://www.doc.ic.ac.uk/~ih/doc/stepper/others/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc1885</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-135</link>
		<dc:creator>cwc1885</dc:creator>
		<pubDate>Mon, 18 May 2009 14:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-135</guid>
		<description>What Operating System are you using.  I downloaded a bunch of drivers for Linux and I&#039;m not sure where to start. I&#039;m using the protostack USB of course.

As for motors.  I&#039;m not sure what type of steppers I have.</description>
		<content:encoded><![CDATA[<p>What Operating System are you using.  I downloaded a bunch of drivers for Linux and I&#8217;m not sure where to start. I&#8217;m using the protostack USB of course.</p>
<p>As for motors.  I&#8217;m not sure what type of steppers I have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc1885</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-134</link>
		<dc:creator>cwc1885</dc:creator>
		<pubDate>Mon, 18 May 2009 02:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-134</guid>
		<description>Thank you so much! Give me a week or so.  I still need to install the drivers for the usb Atmel interface.  Hopefully that will go smooth.</description>
		<content:encoded><![CDATA[<p>Thank you so much! Give me a week or so.  I still need to install the drivers for the usb Atmel interface.  Hopefully that will go smooth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brain</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-133</link>
		<dc:creator>brain</dc:creator>
		<pubDate>Sun, 17 May 2009 18:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-133</guid>
		<description>If you are using an h-bridge to move the motors then you can do the same thing by hooking it up to the Atmel.

When I mentioned the uln2803 I was assuming you  were using a unipolar stepper motor.

When using a bipolar stepper you do need to use the h-bridge.

It would be hooked up something like this
http://i40.tinypic.com/2yye2wx.jpg

I&#039;ve never actually used a h-bride and bipolar setup myself. But I believe that should work.

The code would be the same.

Let me know if you get it working.</description>
		<content:encoded><![CDATA[<p>If you are using an h-bridge to move the motors then you can do the same thing by hooking it up to the Atmel.</p>
<p>When I mentioned the uln2803 I was assuming you  were using a unipolar stepper motor.</p>
<p>When using a bipolar stepper you do need to use the h-bridge.</p>
<p>It would be hooked up something like this<br />
<a href="http://i40.tinypic.com/2yye2wx.jpg" rel="nofollow">http://i40.tinypic.com/2yye2wx.jpg</a></p>
<p>I&#8217;ve never actually used a h-bride and bipolar setup myself. But I believe that should work.</p>
<p>The code would be the same.</p>
<p>Let me know if you get it working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc1885</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-132</link>
		<dc:creator>cwc1885</dc:creator>
		<pubDate>Sun, 17 May 2009 13:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-132</guid>
		<description>Thank you so much for the response.

Will this work?
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=296-15777-1-ND
I&#039;ll use 9VDC steppers.

Can I use a multibester then a led to check if the code works.

I&#039;m developing using linux (Gentoo and Fedora C9).

First of all I&#039;m a noob to the ATMEL AVR. All I&#039;ve done in this area is write a simple driver in java and python that calls a routine I wrote in &quot;c&quot; to call the parallel port and make motors rotate with an H-Bridge.  I call memory location 378 using lptout (0-255).</description>
		<content:encoded><![CDATA[<p>Thank you so much for the response.</p>
<p>Will this work?<br />
<a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=296-15777-1-ND" rel="nofollow">http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&#038;name=296-15777-1-ND</a><br />
I&#8217;ll use 9VDC steppers.</p>
<p>Can I use a multibester then a led to check if the code works.</p>
<p>I&#8217;m developing using linux (Gentoo and Fedora C9).</p>
<p>First of all I&#8217;m a noob to the ATMEL AVR. All I&#8217;ve done in this area is write a simple driver in java and python that calls a routine I wrote in &#8220;c&#8221; to call the parallel port and make motors rotate with an H-Bridge.  I call memory location 378 using lptout (0-255).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brain</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-131</link>
		<dc:creator>brain</dc:creator>
		<pubDate>Sun, 17 May 2009 05:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-131</guid>
		<description>The first thing to do is make sure you know the stepping sequence.
I follow this guide:
http://wwwhomes.doc.ic.ac.uk/~ih/doc/stepper/control2/sequence.html

Then it is just a matter of hooking it up to the atmega8. For simplicity sake lets say coil 1 is hooked to PC1, coil2 to PC2 and so forth. But it is a bad idea to hook them directly as the current draw for the motor may exceed the capacity of the chip. That is why in the cncmagicscreenmachine I used a uln2803. (I personally have hooked small ones directly up to a atmega8 it worked for a while but it killed the atmega8 after a few minutes.)

Then do software that looks something like this:
#include &lt;avr/io.h&gt;
#include &lt;avr/interrupt.h&gt;
#define F_CPU 8000000UL
#include &lt;util/delay.h&gt;
int main(void)
{
  DDRC=0b00011110; // set pc1-pc4 as output

  while(1)
  {
    PORTC=0b00000010; // pc1 on - all else off
    _delay_ms(100);
    PORTC=0b00000100; // pc2 on - all else off
    _delay_ms(100);
    PORTC=0b00001000; // pc3 on - all else off
    _delay_ms(100);
    PORTC=0b00010000; // pc4 on - all else off
    _delay_ms(100;

  }

}
// note the above code is from memory and may or may not work...but it should be close</description>
		<content:encoded><![CDATA[<p>The first thing to do is make sure you know the stepping sequence.<br />
I follow this guide:<br />
<a href="http://wwwhomes.doc.ic.ac.uk/~ih/doc/stepper/control2/sequence.html" rel="nofollow">http://wwwhomes.doc.ic.ac.uk/~ih/doc/stepper/control2/sequence.html</a></p>
<p>Then it is just a matter of hooking it up to the atmega8. For simplicity sake lets say coil 1 is hooked to PC1, coil2 to PC2 and so forth. But it is a bad idea to hook them directly as the current draw for the motor may exceed the capacity of the chip. That is why in the cncmagicscreenmachine I used a uln2803. (I personally have hooked small ones directly up to a atmega8 it worked for a while but it killed the atmega8 after a few minutes.)</p>
<p>Then do software that looks something like this:<br />
#include <avr /io.h><br />
#include </avr><avr /interrupt.h><br />
#define F_CPU 8000000UL<br />
#include <util /delay.h><br />
int main(void)<br />
{<br />
  DDRC=0b00011110; // set pc1-pc4 as output</p>
<p>  while(1)<br />
  {<br />
    PORTC=0b00000010; // pc1 on &#8211; all else off<br />
    _delay_ms(100);<br />
    PORTC=0b00000100; // pc2 on &#8211; all else off<br />
    _delay_ms(100);<br />
    PORTC=0b00001000; // pc3 on &#8211; all else off<br />
    _delay_ms(100);<br />
    PORTC=0b00010000; // pc4 on &#8211; all else off<br />
    _delay_ms(100;</p>
<p>  }</p>
<p>}<br />
// note the above code is from memory and may or may not work&#8230;but it should be close</util></avr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc1885</title>
		<link>http://unfocusedbrain.com/site/2009/03/03/the-cnc-magic-screen-machine/comment-page-1/#comment-130</link>
		<dc:creator>cwc1885</dc:creator>
		<pubDate>Sat, 16 May 2009 13:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.unfocusedbrain.com/site/?p=93#comment-130</guid>
		<description>This is so cool.  I&#039;d like to know how to just control a single stepper to start with.  Can you help us?
I&#039;ve got got the ATMEGA8 Development Kit with the USB cable from protostack.</description>
		<content:encoded><![CDATA[<p>This is so cool.  I&#8217;d like to know how to just control a single stepper to start with.  Can you help us?<br />
I&#8217;ve got got the ATMEGA8 Development Kit with the USB cable from protostack.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

