<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Superpositioned: 16 Channel serial servo controller</title>
    <link>http://superpositioned.com/articles/2006/01/07/16-channel-serial-servo-controller</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Electronics news and projects in the frequency domain</description>
    <item>
      <title>16 Channel serial servo controller</title>
      <description>&lt;p&gt;Ever wonder exactly how to &lt;a href="http://www.seattlerobotics.org/encoder/200106/16csscnt.htm#1." title="Basic theory behind servo motors"&gt;use a servo motor&lt;/a&gt;?  How about &lt;a href="http://www.seattlerobotics.org/encoder/200106/16csscnt.htm" title="16 Channel serial servo controller for robotic applications"&gt;16 of them&lt;/a&gt; from a single serial connection?&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.makezine.com/blog/archive/2006/01/how_to_16_channel_serial_servo.html"&gt;Make Magazine&amp;#8217;s Blog&lt;/a&gt; dug up an interesting way to accomplish this.  To update servo positions, a host sends a serial signal to an Amtel microcontroller.  The Amtel remembers the positions and generates 16 different control signals.  (One signal for each servo).  The data is sent as follows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Byte1 = Sync (255)&lt;/li&gt;
&lt;li&gt;Byte2 = Servo# (0-15)&lt;/li&gt;
&lt;li&gt;Byte3 = Position (0-254)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The host is either the serial port of a computer or a single pin of a master microcontroller.  Therefore, a &lt;a href="http://www.seattlerobotics.org/encoder/200106/16csscnt.htm#4." title="A Visual Basic application"&gt;PC program similar to his own&lt;/a&gt; can be used to find the exact servo positions necessary for the application before the code is embedded on a microcontroller in the robot.&lt;/p&gt;

&lt;p&gt;Schematics and code are included.  Other than that you are on your own.&lt;/p&gt;</description>
      <pubDate>Sat, 07 Jan 2006 07:23:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:dc0acc69-cf1e-4880-a84f-fda77d61c36a</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/01/07/16-channel-serial-servo-controller</link>
      <category>Cool Robots</category>
      <category>motors</category>
      <category>avr</category>
    </item>
  </channel>
</rss>
