<?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: Arduino and Pololu Micro Serial 8 Servo Controller</title>
	<atom:link href="http://www.fabiobiondi.com/blog/2009/12/arduino-and-pololu-micro-serial-8-servo-controller/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fabiobiondi.com/blog/2009/12/arduino-and-pololu-micro-serial-8-servo-controller/</link>
	<description>Adobe, Actionscript, Flex, Flash, Air, FlashLite, scripts and tutorial</description>
	<pubDate>Sun, 05 Feb 2012 09:35:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rob311</title>
		<link>http://www.fabiobiondi.com/blog/2009/12/arduino-and-pololu-micro-serial-8-servo-controller/comment-page-1/#comment-1555</link>
		<dc:creator>Rob311</dc:creator>
		<pubDate>Sat, 28 May 2011 14:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.fabiobiondi.com/blog/?p=1033#comment-1555</guid>
		<description>Here is some simple code for the Mini Maestro 12.  It moves 2 servos and blinks the built in LED.

&lt;code&gt;
void setup()// run once, when the sketch starts
{
  Serial.begin(9600);// set up Serial library at 9600 bps
  //Serial.print(0xAA,BYTE);
  pinMode(13, OUTPUT);  
}

void loop()// run over and over again
{
  put(0,3000); //move servo 0
  put(1,3000);  //move servo 1
  digitalWrite(13, HIGH); //chane led state so you know its running
  delay(1000);
  put(0,4000);
  put(1,4000);
  digitalWrite(13, LOW);
  delay(1000);
}

void put(unsigned char servo, unsigned int angle){
  //servo is the servo number (typically 0-7)
  //angle is the absolute position from 500 to 5500

  //Send a Pololu Protocol command
  Serial.print(0xAA,BYTE); //start byte
  Serial.print(0x0C,BYTE); //device id
  Serial.print(0x04,BYTE); //command number
  Serial.print(servo,BYTE); //servo number
  //Convert the angle data into two 7-bit bytes
  Serial.print(((angle&gt;&gt;7)&amp;0x3f),BYTE); //data1
  Serial.print((angle&amp;0x7f),BYTE); //data2
}



&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Here is some simple code for the Mini Maestro 12.  It moves 2 servos and blinks the built in LED.</p>
<p><code><br />
void setup()// run once, when the sketch starts<br />
{<br />
  Serial.begin(9600);// set up Serial library at 9600 bps<br />
  //Serial.print(0xAA,BYTE);<br />
  pinMode(13, OUTPUT);<br />
}</p>
<p>void loop()// run over and over again<br />
{<br />
  put(0,3000); //move servo 0<br />
  put(1,3000);  //move servo 1<br />
  digitalWrite(13, HIGH); //chane led state so you know its running<br />
  delay(1000);<br />
  put(0,4000);<br />
  put(1,4000);<br />
  digitalWrite(13, LOW);<br />
  delay(1000);<br />
}</p>
<p>void put(unsigned char servo, unsigned int angle){<br />
  //servo is the servo number (typically 0-7)<br />
  //angle is the absolute position from 500 to 5500</p>
<p>  //Send a Pololu Protocol command<br />
  Serial.print(0xAA,BYTE); //start byte<br />
  Serial.print(0x0C,BYTE); //device id<br />
  Serial.print(0x04,BYTE); //command number<br />
  Serial.print(servo,BYTE); //servo number<br />
  //Convert the angle data into two 7-bit bytes<br />
  Serial.print(((angle&gt;&gt;7)&amp;0x3f),BYTE); //data1<br />
  Serial.print((angle&amp;0x7f),BYTE); //data2<br />
}</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yohann</title>
		<link>http://www.fabiobiondi.com/blog/2009/12/arduino-and-pololu-micro-serial-8-servo-controller/comment-page-1/#comment-1423</link>
		<dc:creator>yohann</dc:creator>
		<pubDate>Thu, 31 Mar 2011 13:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.fabiobiondi.com/blog/?p=1033#comment-1423</guid>
		<description>great job, this is what i've been looking for..a clear explanation about the arduino and the pololu servo controller for my project..could you email me about some simple arduino code to drive 1 or 2 servo using this servo controller..
Thanks a lot</description>
		<content:encoded><![CDATA[<p>great job, this is what i&#8217;ve been looking for..a clear explanation about the arduino and the pololu servo controller for my project..could you email me about some simple arduino code to drive 1 or 2 servo using this servo controller..<br />
Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio Biondi</title>
		<link>http://www.fabiobiondi.com/blog/2009/12/arduino-and-pololu-micro-serial-8-servo-controller/comment-page-1/#comment-704</link>
		<dc:creator>Fabio Biondi</dc:creator>
		<pubDate>Mon, 08 Feb 2010 10:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.fabiobiondi.com/blog/?p=1033#comment-704</guid>
		<description>I didn't test a lot them because I got many problems and I immediatly decided to buy better servos : )

Sorry</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t test a lot them because I got many problems and I immediatly decided to buy better servos : )</p>
<p>Sorry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rub</title>
		<link>http://www.fabiobiondi.com/blog/2009/12/arduino-and-pololu-micro-serial-8-servo-controller/comment-page-1/#comment-703</link>
		<dc:creator>rub</dc:creator>
		<pubDate>Sun, 07 Feb 2010 14:54:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.fabiobiondi.com/blog/?p=1033#comment-703</guid>
		<description>looks great!

could you comment more about the issues with the cheap servos ? thanks!</description>
		<content:encoded><![CDATA[<p>looks great!</p>
<p>could you comment more about the issues with the cheap servos ? thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

