<?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 for Circuits@Home</title>
	<atom:link href="http://www.circuitsathome.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.circuitsathome.com</link>
	<description>A Solder Joint</description>
	<lastBuildDate>Wed, 28 Jul 2010 22:29:35 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on A reel of ADuM4160 ICs has arrived by oleg</title>
		<link>http://www.circuitsathome.com/news/a-reel-of-adum4160-ics-has-arrived/comment-page-1#comment-6082</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Wed, 28 Jul 2010 22:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3380#comment-6082</guid>
		<description>Hi Soren,

I do like it and use it quite often; just don&#039;t have time to write anything. Maybe in the fall...

Oleg.</description>
		<content:encoded><![CDATA[<p>Hi Soren,</p>
<p>I do like it and use it quite often; just don&#8217;t have time to write anything. Maybe in the fall&#8230;</p>
<p>Oleg.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A reel of ADuM4160 ICs has arrived by Soren Kristensen</title>
		<link>http://www.circuitsathome.com/news/a-reel-of-adum4160-ics-has-arrived/comment-page-1#comment-6081</link>
		<dc:creator>Soren Kristensen</dc:creator>
		<pubDate>Wed, 28 Jul 2010 21:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3380#comment-6081</guid>
		<description>Hi Oleg,

I guess you did not like the USB2ISO adapter?

Can you provide some feedback as to what you do not like?

In advance thanx,

Best Regards,

Soren
Electronics-shop.dk</description>
		<content:encoded><![CDATA[<p>Hi Oleg,</p>
<p>I guess you did not like the USB2ISO adapter?</p>
<p>Can you provide some feedback as to what you do not like?</p>
<p>In advance thanx,</p>
<p>Best Regards,</p>
<p>Soren<br />
Electronics-shop.dk</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading rotary encoder on Arduino by janosch</title>
		<link>http://www.circuitsathome.com/mcu/programming/reading-rotary-encoder-on-arduino/comment-page-1#comment-6079</link>
		<dc:creator>janosch</dc:creator>
		<pubDate>Tue, 27 Jul 2010 06:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3206#comment-6079</guid>
		<description>nooooo i turn serial output off...but im not a programmer and im struggeling to put together the code but today i will try your code and just read out the encoder and than try to find an code that compares two encoders ...if you have one drop me a line :-)

cheers janosch</description>
		<content:encoded><![CDATA[<p>nooooo i turn serial output off&#8230;but im not a programmer and im struggeling to put together the code but today i will try your code and just read out the encoder and than try to find an code that compares two encoders &#8230;if you have one drop me a line :-)</p>
<p>cheers janosch</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading rotary encoder on Arduino by oleg</title>
		<link>http://www.circuitsathome.com/mcu/programming/reading-rotary-encoder-on-arduino/comment-page-1#comment-6078</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Mon, 26 Jul 2010 21:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3206#comment-6078</guid>
		<description>It will probably work fine if you don&#039;t do anything which would slow down the Arduino too much (like serial output, for example). You may want to connect both encoders to speed things up.</description>
		<content:encoded><![CDATA[<p>It will probably work fine if you don&#8217;t do anything which would slow down the Arduino too much (like serial output, for example). You may want to connect both encoders to speed things up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading rotary encoder on Arduino by janosch</title>
		<link>http://www.circuitsathome.com/mcu/programming/reading-rotary-encoder-on-arduino/comment-page-1#comment-6077</link>
		<dc:creator>janosch</dc:creator>
		<pubDate>Mon, 26 Jul 2010 21:49:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3206#comment-6077</guid>
		<description>Hey Oleg! Very interessting code!
im Using also an Arduino and lady ada motorshield for my follow focus. here is a smal video of the follow focus. http://vimeo.com/12331846 so far i use a normal potentiometer but the feedback is not so good. than i found this video on youtube: http://www.youtube.com/watch?v=AEdMgZGbc9Q this guy uses two rotary encoders one for the dc motor and one for the input...do you think this is possible with your code for reading this motor http://www.robotstorehk.com/motors/doc/emg30.pdf and use another encoder for the input?

thx janosch :-)</description>
		<content:encoded><![CDATA[<p>Hey Oleg! Very interessting code!<br />
im Using also an Arduino and lady ada motorshield for my follow focus. here is a smal video of the follow focus. <a href="http://vimeo.com/12331846" rel="nofollow">http://vimeo.com/12331846</a> so far i use a normal potentiometer but the feedback is not so good. than i found this video on youtube: <a href="http://www.youtube.com/watch?v=AEdMgZGbc9Q" rel="nofollow">http://www.youtube.com/watch?v=AEdMgZGbc9Q</a> this guy uses two rotary encoders one for the dc motor and one for the input&#8230;do you think this is possible with your code for reading this motor <a href="http://www.robotstorehk.com/motors/doc/emg30.pdf" rel="nofollow">http://www.robotstorehk.com/motors/doc/emg30.pdf</a> and use another encoder for the input?</p>
<p>thx janosch :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading rotary encoder on Arduino by didier</title>
		<link>http://www.circuitsathome.com/mcu/programming/reading-rotary-encoder-on-arduino/comment-page-1#comment-6075</link>
		<dc:creator>didier</dc:creator>
		<pubDate>Mon, 26 Jul 2010 08:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3206#comment-6075</guid>
		<description>One of the best starting points to rotary encoders. Here is a link to my personnal works on encoders http://didier.longueville.free.fr/arduinoos/?p=485</description>
		<content:encoded><![CDATA[<p>One of the best starting points to rotary encoders. Here is a link to my personnal works on encoders <a href="http://didier.longueville.free.fr/arduinoos/?p=485" rel="nofollow">http://didier.longueville.free.fr/arduinoos/?p=485</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading rotary encoder on Arduino by Steffen</title>
		<link>http://www.circuitsathome.com/mcu/programming/reading-rotary-encoder-on-arduino/comment-page-1#comment-6069</link>
		<dc:creator>Steffen</dc:creator>
		<pubDate>Sat, 24 Jul 2010 17:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3206#comment-6069</guid>
		<description>Hey Oleg,
finally it´s working really good! I did something like this:

tmpdata = read_encoder();
  if( tmpdata ) {
   if( tmpdata == 1 ) {
       count++;}
         if (count==4){
          Serial.println(&quot;Left &quot;);
           count =0;}
           
   if( tmpdata == -1 ) {
       count--;}
         if (count==-4){
         Serial.println(&quot;Right &quot;);
         count =0;}
  }

Sure, not like a pro would do it, but in the end it gives me a command every click and in my software wich i want to control, the encoder works exactly like it should.

Again, thank you very much, you helped me a lot!
Steffen</description>
		<content:encoded><![CDATA[<p>Hey Oleg,<br />
finally it´s working really good! I did something like this:</p>
<p>tmpdata = read_encoder();<br />
  if( tmpdata ) {<br />
   if( tmpdata == 1 ) {<br />
       count++;}<br />
         if (count==4){<br />
          Serial.println(&#8221;Left &#8220;);<br />
           count =0;}</p>
<p>   if( tmpdata == -1 ) {<br />
       count&#8211;;}<br />
         if (count==-4){<br />
         Serial.println(&#8221;Right &#8220;);<br />
         count =0;}<br />
  }</p>
<p>Sure, not like a pro would do it, but in the end it gives me a command every click and in my software wich i want to control, the encoder works exactly like it should.</p>
<p>Again, thank you very much, you helped me a lot!<br />
Steffen</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Controlling robotic arm with Arduino and USB mouse by GeorgeFlacker</title>
		<link>http://www.circuitsathome.com/mcu/programming/controlling-robotic-arm-with-arduino-and-usb-mouse/comment-page-1#comment-6064</link>
		<dc:creator>GeorgeFlacker</dc:creator>
		<pubDate>Fri, 23 Jul 2010 10:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3656#comment-6064</guid>
		<description>This is so Awesome. Thank you for posting and give inspiration to all geeks in the world!

God Bless.</description>
		<content:encoded><![CDATA[<p>This is so Awesome. Thank you for posting and give inspiration to all geeks in the world!</p>
<p>God Bless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading rotary encoder on Arduino by oleg</title>
		<link>http://www.circuitsathome.com/mcu/programming/reading-rotary-encoder-on-arduino/comment-page-1#comment-6063</link>
		<dc:creator>oleg</dc:creator>
		<pubDate>Fri, 23 Jul 2010 01:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3206#comment-6063</guid>
		<description>You have 4 valid states for clockwise direction and 4 for counterclockwise, it gives you 8 states. In total, you have 16 possible states ( 4 for each position times 2 for the rotation times 2 for the direction ), half of them invalid. The program reads encoder, shifts the result and reads it again. The result - 4-bit number, is array index. That&#039;s why there is 16 elements in the array.

There are many ways to derive this array, the easiest to understand is just write down all valid combinations from tables above ( 0001, 0111, 1110, 1000, etc.),  get array indexes by converting from binary to decimal, filling array elements with proper increment, and then fill the rest of the array with zeroes.</description>
		<content:encoded><![CDATA[<p>You have 4 valid states for clockwise direction and 4 for counterclockwise, it gives you 8 states. In total, you have 16 possible states ( 4 for each position times 2 for the rotation times 2 for the direction ), half of them invalid. The program reads encoder, shifts the result and reads it again. The result &#8211; 4-bit number, is array index. That&#8217;s why there is 16 elements in the array.</p>
<p>There are many ways to derive this array, the easiest to understand is just write down all valid combinations from tables above ( 0001, 0111, 1110, 1000, etc.),  get array indexes by converting from binary to decimal, filling array elements with proper increment, and then fill the rest of the array with zeroes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reading rotary encoder on Arduino by Gurb</title>
		<link>http://www.circuitsathome.com/mcu/programming/reading-rotary-encoder-on-arduino/comment-page-1#comment-6062</link>
		<dc:creator>Gurb</dc:creator>
		<pubDate>Fri, 23 Jul 2010 00:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.circuitsathome.com/?p=3206#comment-6062</guid>
		<description>Hi, Thanks for the reply.

I now understand the 1,-1,0 but I still do not understand how do you get 16 states and more importantly in that order. 
(I read this link but could not understood). 

Gurb</description>
		<content:encoded><![CDATA[<p>Hi, Thanks for the reply.</p>
<p>I now understand the 1,-1,0 but I still do not understand how do you get 16 states and more importantly in that order.<br />
(I read this link but could not understood). </p>
<p>Gurb</p>
]]></content:encoded>
	</item>
</channel>
</rss>
