<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkUFQ3Y5fyp7ImA9WhRaGUg.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889</id><updated>2012-02-22T16:50:12.827-08:00</updated><category term="Shur" /><category term="Arduino" /><category term="Ultrasonico" /><category term="XBee" /><category term="Processing" /><category term="Wiring" /><category term="Savage Electronics" /><category term="Bluetooth" /><category term="LCD Color Nokia" /><category term="Controlador Bioloid" /><category term="EEPROM" /><category term="Dynamixel Ax-12+" /><category term="Acelerómetro" /><category term="APR9600" /><title>Savage Electronics</title><subtitle type="html">Electronics for Everyone</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://savageelectronics.blogspot.com/" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SavageElectronics" /><feedburner:info uri="savageelectronics" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;Ck4CQX0-fyp7ImA9WhRbF0s.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-8291790042215078225</id><published>2012-02-08T19:41:00.000-08:00</published><updated>2012-02-08T20:16:00.357-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-08T20:16:00.357-08:00</app:edited><title>Display OSRAM PD4437</title><content type="html">Estos displays son bastante buenos para el precio que tienen ya que no son una simple matriz de LEDS donde tenemos que crear nuestra propia fuente y agregar otros circuitos para el corrimiento de un letrero o el brillo de los LEDS, todo eso y más ya lo tiene integrado este pequeño display con un Datasheet muy completo y sencillo de entender.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-0mt1Hmv81EM/TzMy7IYkx-I/AAAAAAAAAkc/SQ9FcV9_W0M/s1600/P1090291.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://1.bp.blogspot.com/-0mt1Hmv81EM/TzMy7IYkx-I/AAAAAAAAAkc/SQ9FcV9_W0M/s640/P1090291.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
La comunicación con estos display consiste en 8 bits para el ASCII y 3 bits para la dirección de entre los cuatro segmentos de cada display además de 2 habilitadores por display para el caso de conectar varios de estos sobre el mismo bus, se puede realizar tanto como escritura en el display y lo mejor de todo funcionan a muy poco voltaje con una buena intensidad en los segmentos.&lt;br /&gt;
&lt;br /&gt;
Para hacer aun más sencilla la utilización de estos display se pueden controlar con un arduino con instrucciones tan simples como digitalWrite(); y unos cuantos delay(); .&lt;br /&gt;
Aquí les dejo una idea de como se inicializa y se escribe en este display.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-n9vPV9Sqi0I/TzM2YCxrvBI/AAAAAAAAAko/gIp9d26-SCE/s1600/P1090303.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-n9vPV9Sqi0I/TzM2YCxrvBI/AAAAAAAAAko/gIp9d26-SCE/s640/P1090303.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;

&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;void&lt;/span&gt; initDisplays(){&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(AD0,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(AD1,&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(AD2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE1,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;); &amp;nbsp; &amp;nbsp;&amp;nbsp;// Enable both displays&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D7,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;// Clear Display&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(WR,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp;// Send write command&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;delay&lt;/span&gt;(1);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(WR,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D7,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Set full brightness&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D6,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D5,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D4,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D3,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D1,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D0,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(WR,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;// Send write command&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;delay&lt;/span&gt;(1);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(WR,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE1,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;); &amp;nbsp; &amp;nbsp;&amp;nbsp;// Disable both displays&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
}&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;

&lt;/div&gt;

&lt;br /&gt;

&lt;/blockquote&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
y para escribir una letra en el primer segmento:&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;br /&gt;

&lt;/div&gt;
&lt;blockquote&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;void&lt;/span&gt; writeASCII(){&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(AD0,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(AD1,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(AD2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE1,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp;// Enable display&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D7,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;// Write ASCII to port&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D6,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D5,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D4,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D3,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D1,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(D0,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(WR,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;// Send write command&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;delay&lt;/span&gt;(1);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(WR,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE1,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Disable both displays&lt;/div&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
&amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(CE2,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;
}&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-8291790042215078225?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gifrqksTi1KQcZ9FVlhY3nTSSU0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gifrqksTi1KQcZ9FVlhY3nTSSU0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gifrqksTi1KQcZ9FVlhY3nTSSU0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gifrqksTi1KQcZ9FVlhY3nTSSU0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/3OA9nxfEzaM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/8291790042215078225/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2012/02/display-osram-pd4437.html#comment-form" title="0 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/8291790042215078225?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/8291790042215078225?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/3OA9nxfEzaM/display-osram-pd4437.html" title="Display OSRAM PD4437" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-0mt1Hmv81EM/TzMy7IYkx-I/AAAAAAAAAkc/SQ9FcV9_W0M/s72-c/P1090291.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2012/02/display-osram-pd4437.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcNQnYzfCp7ImA9WhRUEk0.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-7269095329089244707</id><published>2012-01-21T19:14:00.000-08:00</published><updated>2012-01-21T19:14:53.884-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-21T19:14:53.884-08:00</app:edited><title>Material del FREE DAY</title><content type="html">Ya tengo en mis manos el material que he pedido a SparkFun que me he ganado en el FREE DAY de esta año, es la primera vez que participo en este evento y me toco suerte ya que fui unos de los ganadores.&lt;br /&gt;
&lt;br /&gt;
Un concurso un tanto difícil de ganar ya que el ganador era elegido por un contador Geiger y llenar correctamente un Captcha compitiendo con otras miles de personas por ser uno de los ganadores.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-_isCOnmPBM4/Txt8tvcr9pI/AAAAAAAAAgM/FHtyv3UHGCI/s1600/ContadorGeiger.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="330" src="http://3.bp.blogspot.com/-_isCOnmPBM4/Txt8tvcr9pI/AAAAAAAAAgM/FHtyv3UHGCI/s400/ContadorGeiger.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Después de unas tres horas de llenar Captchas apunto de darme por vencido me cambia de pagina y me dice que soy unos de los ganadores y pensar que estaba a unos minutos de cerrar la pagina.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-yZj7I7wks68/Txt9hl-TiUI/AAAAAAAAAgU/bbDzCzUlg7M/s1600/Winner.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="297" src="http://2.bp.blogspot.com/-yZj7I7wks68/Txt9hl-TiUI/AAAAAAAAAgU/bbDzCzUlg7M/s400/Winner.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Entonces si después de ese mensaje a descansar y quitarse del estrés del momento ya que ya podía gastar mis bien ganados 100 usd en material de la tienda, salió un poco caro el envío y el pago a la aduana pero valió la pena por lo que pedí.&lt;br /&gt;
&lt;br /&gt;
- Jumper Cables, Hobby Knife, Resistor Kit, FTDI Cable 5v y un Arduino MEGA PRO 5v.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-L-BwFSenKhk/Txt-d0BFNLI/AAAAAAAAAgg/cCpQ3UajzsA/s1600/PC220287.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-L-BwFSenKhk/Txt-d0BFNLI/AAAAAAAAAgg/cCpQ3UajzsA/s400/PC220287.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Ojala las tiendas de electronica en México hicieran lo mismo, quizás no en la magnitud que lo hace SparkFun cada año pero si algo parecido. Ahora a esperar el FREE DAY 2013.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-7269095329089244707?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xelsaZJP06Ne_Vrx7XMwKM2LYj4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xelsaZJP06Ne_Vrx7XMwKM2LYj4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xelsaZJP06Ne_Vrx7XMwKM2LYj4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xelsaZJP06Ne_Vrx7XMwKM2LYj4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/ohrdpxJXSIc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/7269095329089244707/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2012/01/material-del-free-day.html#comment-form" title="2 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/7269095329089244707?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/7269095329089244707?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/ohrdpxJXSIc/material-del-free-day.html" title="Material del FREE DAY" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-_isCOnmPBM4/Txt8tvcr9pI/AAAAAAAAAgM/FHtyv3UHGCI/s72-c/ContadorGeiger.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2012/01/material-del-free-day.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAHR38zfCp7ImA9WhRQFUo.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-1277678329140793960</id><published>2011-12-10T16:53:00.001-08:00</published><updated>2011-12-10T18:32:16.184-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-10T18:32:16.184-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Savage Electronics" /><category scheme="http://www.blogger.com/atom/ns#" term="Shur" /><category scheme="http://www.blogger.com/atom/ns#" term="Wiring" /><title>Placa Controladora de Robots Shur</title><content type="html">Hola, he hecho un placa que esta basada en la antigua placa Wiring Sparfun 1.1 que integra un microcontrolador ATmega2561, de esa forma mi placa también utiliza el mismo microcontrolador que tiene muy buenas prestaciones dejando a esta placa en un nivel medio de capacidades.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El objetivo de diseñar esta placa es que se tuviera lo suficiente para controlar un Robot Humanoide con motores Dynamixel, que como ya saben son especialmente diseñados para robotica, dada la comunicación que se lleva con estos Servos he agregado un IC que pudiese controlar el flujo de datos entre el microcontrolador y el Servo que es un Buffer con habilitadores independientes, este circuito convierte el Full Duplex USART que integra el microcontrolador y lo transforma en un Half Duplex USART, he conservado las demás comunicaciones con opción de funcionar como pines digitales comunes, las comunicaciones disponibles en un puerto SPI y un I2C, de los dos USART disponibles en el microcontrolador se puede decidir si se usaran como tales o cambiar uno a comunicación USB o para el otro USART convertirlo en el Half Duplex USART ya mencionado.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-QZ-vWqIDrt4/TuQBdoWReHI/AAAAAAAAAXs/xM7TOv-rETQ/s1600/Shur_Sch.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="396" src="http://2.bp.blogspot.com/-QZ-vWqIDrt4/TuQBdoWReHI/AAAAAAAAAXs/xM7TOv-rETQ/s640/Shur_Sch.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
También ademas del poder que conlleva esta placa es de un tamaño reducido por lo que no estorbaría con las partes mecánicas que pudiese tener nuestro robot, como podrán apreciar la placa a sido diseñada con EAGLE por lo que cualquiera tendrá en la posibilidad de modificar conexiones de los elementos sin demasiadas complicaciones ya que el EAGLE es de los más conocidos en este ámbito.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-YnkuIEIMXM4/TuQCTBVeZaI/AAAAAAAAAX0/HaFeqpDL_QI/s1600/Shur_Board.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="388" src="http://1.bp.blogspot.com/-YnkuIEIMXM4/TuQCTBVeZaI/AAAAAAAAAX0/HaFeqpDL_QI/s640/Shur_Board.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
También como podrán en ver en la imagen anterior cuenta con 8 LEDs para ver las comunicaciones activas como los dos USARTs y el SPI ademas de un LED Auxiliar para desplegar o indicar estados los cuales podremos programar a decisión y un LED que nos indicara si la placa esta energizada.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Cuenta con un lector de Tarjetas MicrosSD por lo que de cierta forma ya no es tan alarmante el espacio en EEPROM y flash, ya que podremos utilizar este como un DataLogger de las acciones y registro de sensores.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Se a incorporado un switch para decidir si la placa esta siendo energizada por USB o por una Bateria, un botón para programarle acciones al ser programado nuestro robot ademas del tradicional botón de Reset.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Cabe resaltar que se utiliza el mismo lenguaje de programación que un arduino o las mismas tarjetas wiring por lo que se puede encontrar mucha información de como se programa en este tipo de tarjetas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
A continuación una descripción mas técnica de esta placa:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif; font-size: 13px; line-height: 20px;"&gt;Comunicación: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Puertos: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Capacidad:&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;- 2 Full Duplex USART &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- 36 pines digitales I/O &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - 256KB de FLASH&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif; font-size: 13px; line-height: 20px;"&gt;&amp;nbsp; &amp;nbsp; - 1 Half Duplex USART &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - 8 pines ADC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- 4KB de EEPROM&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;- 1 I2C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - 6 pines PWM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - 8KB de RAM&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;- 1 SPI &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif; font-size: 13px; line-height: 20px;"&gt;&amp;nbsp; &amp;nbsp; - 1 USB&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif; font-size: 13px; line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;Bueno ahora el por que Shur, Shur son las siglas de Savage Humanoid Robot, en pocas palabras una placa controlador de robots humanoides de Savage Electronics, Bueno espero les guste y aquí les dejo todo lo necesario para esta placa.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;Recuerden descargar el IDE de wiring y añadir los archivos que podrán descargar a continuación:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;a href="https://sourceforge.net/projects/savelectronics.u/files/Shur%20Board/" target="_blank"&gt;Descargar Información y archivos aquí.&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-1277678329140793960?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OkI6CNY31EXJckmy42duCW5mfzg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OkI6CNY31EXJckmy42duCW5mfzg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OkI6CNY31EXJckmy42duCW5mfzg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OkI6CNY31EXJckmy42duCW5mfzg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/v2now--44Fs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/1277678329140793960/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/12/placa-controladora-de-robots-shur.html#comment-form" title="0 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/1277678329140793960?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/1277678329140793960?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/v2now--44Fs/placa-controladora-de-robots-shur.html" title="Placa Controladora de Robots Shur" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-QZ-vWqIDrt4/TuQBdoWReHI/AAAAAAAAAXs/xM7TOv-rETQ/s72-c/Shur_Sch.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/12/placa-controladora-de-robots-shur.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMNQ305fCp7ImA9WhdVE0U.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-5399395194778824531</id><published>2011-09-18T13:59:00.000-07:00</published><updated>2011-09-18T14:48:12.324-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-18T14:48:12.324-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="XBee" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><title>Configurando Radios XBee</title><content type="html">&lt;span class="Apple-style-span" style="color: #242626; font-family: 'Lucida Grande', 'Helvetica Neue', Arial, 'Lucida Sans Unicode', sans-serif; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-family: inherit; font-size: small;"&gt;Los Radios XBee pueden ser configurados de varias maneras mediante varias formas, pueden ser configurados con un Arduino, con un conversor USB-RS232, XBee Explorer, etc.&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #242626; font-size: small;"&gt;Y pueden ser configurados para trabajar de muchas &amp;nbsp;formas con o sin ayuda de un controlador.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #242626; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-cn1Y6ROMqLw/TnYzNE-LpaI/AAAAAAAAAR8/gIbXkp0ayPw/s1600/P9180006.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-cn1Y6ROMqLw/TnYzNE-LpaI/AAAAAAAAAR8/gIbXkp0ayPw/s400/P9180006.JPG" width="400" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;1.- Accesar al sistema de los XBee: Para entrar al sistema de un XBee se requiere de una comunicación Serial (USART) la cual el arduino usa para programara su microcontrolador es por eso que se puede usar un XBee shield para su configuración, si no tienes un XBee Shield solo alimenta tu XBee (Recuerda que la alimentación es de 3v3 ya que con un voltaje más alto lo quemaras) y conecta DOUT y DIN al RX y TX de tu arduino o puerto COM.( Recuerda que también las señales de comunicación deben de estar reguladas a 3v3, puedes utilizar un divisor de voltaje o CI 74HC4050, si estas usando un XBee Regulated este ya regula todos los voltajes a 3v3 por lo que lo único que cuidaras es no enviarle voltajes mayores a 6v ).&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Los XBees tienen un Baud Rate de fabrica de 9600 por lo que la comunicación USART deberá ser de 9600, 1 bit de Stop, Sin paridad; Abre la terminal que más te guste, yo utilizo la misma que viene con el arduino ya que es sencilla y no nos mete en complicaciones.&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;El primer paso será teclear tres signos de más &lt;span style="color: #fca521;"&gt;&amp;nbsp;+++&lt;/span&gt; &amp;nbsp;con &lt;span style="color: #fca521;"&gt;No line ending&lt;/span&gt; que se encuentra a un lado del Baud Rate y dar click en &lt;span style="color: #fca521;"&gt;Send&lt;/span&gt;, si esto se hizo correctamente el XBee responderá con un &lt;span style="color: #fca521;"&gt;OK&lt;/span&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; margin-left: 1em; margin-right: 1em;"&gt;&lt;a href="http://2.bp.blogspot.com/-GR0I0a5fBtA/TnY9aZ8rYbI/AAAAAAAAASA/fIgSoSPojJ8/s1600/P1_XBee.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="245" src="http://2.bp.blogspot.com/-GR0I0a5fBtA/TnY9aZ8rYbI/AAAAAAAAASA/fIgSoSPojJ8/s400/P1_XBee.png" width="400" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;2.- Comenzando a configurar: En este paso todo depende de como queramos que trabaje nuestro XBee,&amp;nbsp;por lo que describiré con un pequeño ejemplo algunas de las posibles configuraciones de los XBee, apartar de ahora todo lo que le mandemos al XBee deberemos cambiar el &lt;span style="color: #fca521;"&gt;No line ending&lt;/span&gt; por &lt;span style="color: #fca521;"&gt;Carriage return&lt;/span&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Configuraciones Básicas: Todos los comandos deberán tener como prefijo &lt;span style="color: #fca521;"&gt;AT&lt;/span&gt;, los comandos pueden ser enviados en una solo cadena o comando por cadena, si se envía por cadena solo el primer comando deberá tener el prefijo y se separaran por una &lt;span style="color: #fca521;"&gt;,&lt;/span&gt; (COMA).&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;/div&gt;
&lt;ul style="list-style-type: none;"&gt;
&lt;li style="color: #4d4d4d; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;ID&lt;/span&gt; &amp;nbsp; - &amp;nbsp; Network ID del XBee &amp;nbsp; - &amp;nbsp; (&amp;nbsp;&lt;span style="color: #555555;"&gt;0 - 0xFFFF&lt;/span&gt;&amp;nbsp;)&lt;/span&gt;&lt;/li&gt;
&lt;li style="color: #4d4d4d; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;CH&lt;/span&gt; &amp;nbsp; - &amp;nbsp; Canal de Comunicación &amp;nbsp; - &amp;nbsp; (&amp;nbsp;&lt;span style="color: #555555;"&gt;0x0B - 0x1A&lt;/span&gt;&amp;nbsp;) &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li style="color: #4d4d4d; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;MY&lt;/span&gt; &amp;nbsp;- &amp;nbsp; Dirección del XBee &amp;nbsp; - &amp;nbsp; ( &lt;span style="color: #555555;"&gt;0 - 0xFFFF&amp;nbsp;&lt;/span&gt;)&lt;/span&gt;&lt;/li&gt;
&lt;li style="color: #4d4d4d; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;DH&lt;/span&gt; y &lt;span style="color: #fca521;"&gt;DL&lt;/span&gt; &amp;nbsp; - &amp;nbsp; Dirección de destino &amp;nbsp; - &amp;nbsp;(&amp;nbsp;&lt;span style="color: #555555;"&gt;0 - 0xFFFF&lt;/span&gt;&amp;nbsp;)&lt;/span&gt;&lt;/li&gt;
&lt;li style="color: #555555; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;BD&lt;/span&gt;&lt;span style="color: #4d4d4d;"&gt; &amp;nbsp; - &amp;nbsp; La velocidad de Transmisión &amp;nbsp; - &amp;nbsp;(&amp;nbsp;&lt;/span&gt;0 (1200 bps)&amp;nbsp;,&amp;nbsp;1 (2400 bps),&amp;nbsp;2 (4800 bps), 3 (9600 bps), 4 (19200 bps), 5 (38400 bps), 6 (57600 bps), 7 (115200 bps) )&lt;/span&gt;&lt;/li&gt;
&lt;li style="font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;RE&lt;/span&gt; &amp;nbsp; - &amp;nbsp; Resetea a los valores de fabrica &amp;nbsp;- &amp;nbsp; ( Sin parámetros )&lt;/span&gt;&lt;/li&gt;
&lt;li style="font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;WR&lt;/span&gt; &amp;nbsp;- &amp;nbsp;Guardar los cambios &amp;nbsp; - &amp;nbsp; ( Sin parámetros )&lt;/span&gt;&lt;/li&gt;
&lt;li style="font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;CN&lt;/span&gt; &amp;nbsp; - &amp;nbsp;Cerrar sesión &amp;nbsp; - &amp;nbsp; ( Sin parámetros ) &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Entonces para configurar dos módulos será de la siguiente forma:&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;ATID&lt;span style="color: #6fa8dc;"&gt;1234&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;DH&lt;span style="color: #6fa8dc;"&gt;0&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;DL&lt;span style="color: #6fa8dc;"&gt;1&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;MY&lt;span style="color: #6fa8dc;"&gt;0&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;BD&lt;span style="color: #6fa8dc;"&gt;3&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;WR&lt;span style="color: #242727;"&gt;,&lt;/span&gt;CN&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;ATID&lt;span style="color: #6fa8dc;"&gt;1234&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;DH&lt;span style="color: #6fa8dc;"&gt;0&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;DL&lt;span style="color: #6fa8dc;"&gt;0&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;MY&lt;span style="color: #6fa8dc;"&gt;1&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;BD&lt;span style="color: #6fa8dc;"&gt;3&lt;/span&gt;&lt;span style="color: #242727;"&gt;,&lt;/span&gt;WR&lt;span style="color: #242727;"&gt;,&lt;/span&gt;CN&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;De esta forma se han configurado los XBee para que se comuniquen entre ellos a 9600 bps, el XBee responderá con un OK por cada comando.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; margin-left: 1em; margin-right: 1em;"&gt;&lt;a href="http://3.bp.blogspot.com/-w2nVIo0PLV0/TnZITRXA3pI/AAAAAAAAASE/bXfIsUPHzZc/s1600/P2_XBee.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="253" src="http://3.bp.blogspot.com/-w2nVIo0PLV0/TnZITRXA3pI/AAAAAAAAASE/bXfIsUPHzZc/s400/P2_XBee.png" width="400" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;3.- Configuraciones especiales: Los XBee cuentan con&lt;span style="color: #fca521;"&gt; I/O&lt;/span&gt; y &lt;span style="color: #fca521;"&gt;ADC&lt;/span&gt; que facilitan todo el trabajo ya que si no es muy especifica o especial la información que queremos transmitir lo podremos hacer sin un µcontrolador directamente de sus puertos tras haberlos configurado.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;El modulo XBee cuenta con 9 I/O, 7 ADC. del DIO0 al DIO6 pueden ser configurados como digitales o conversares analógicos digital. debemos tomar en cuenta que solo contamos con dos puertos PWM así que tendremos esos dos puertos como salidas ADC en el otro Modulo XBee, DIO7 solo es digital y DI8 solo podrá ser entrada digital.&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Para seleccionar el modo de DIO existen 4 opciones: 0 Ninguno, 1 Función Especial, 2 ADC, 3 Salida Digital LOW, 4 Salida Digital HIGH y se configuran de la siguiente manera:&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;ATD&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;33&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Configura el DIO3 como entrada digital&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;ATWR&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Guardar cambios&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
de forma que en el otro modulo deberemos hacer del DIO3 salida digital.&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATD&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;34&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Configura el DIO3 como salida digital HIGH&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATWR &amp;nbsp;&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Guardar cambios&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
para el ADC sera:&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATD&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;42&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Configura el DIO4 como ADC&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATIR&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;14&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Sampleo de 20 mili-segundos&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATIT&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;5&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Envia tras 5 sampleos&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATWR&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Guardar cambios&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
por lo que el otro modulo tendrá la salida de este ADC, los pines capaces de mostrar el ADC que fue transmitido por el otro modulo son el &lt;span style="color: #fca521;"&gt;RSSI&lt;/span&gt; y el &lt;span style="color: #fca521;"&gt;DIO11&lt;/span&gt;.&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATP&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;02&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Activa el PWM en PWM0&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATIU&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;1&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Habilita Salidas I/O UART&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATIA&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;1&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Dirección de origen de datos ( MY del otro modulo)&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #fca521;"&gt;ATWR&lt;/span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Guardar cambios&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
4.- Enviar datos de XBee a XBee por medio USART: para esto necesitas dos µcontroladores ya que los datos serán seriales tanto en la entrada como en la salida a la velocidad como hayamos configurado con BD, en este caso 3(9600)bps, por lo que si usamos un Arduino para la transmisión y recepción de datos usaremos la instrucción Serial. &amp;nbsp;Ejemplo:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-2X7qCGsg-Ac/TnZdIlWr_LI/AAAAAAAAASI/mBwj50eStq8/s1600/P9180010.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-2X7qCGsg-Ac/TnZdIlWr_LI/AAAAAAAAASI/mBwj50eStq8/s400/P9180010.JPG" width="400" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px Times; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&amp;nbsp;Arduino XBee 1:&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;void setup&lt;span style="color: #242727;"&gt;(){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Serial&lt;span style="color: #242727;"&gt;.&lt;/span&gt;begin&lt;span style="color: #242727;"&gt;(9600);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;void loop&lt;span style="color: #242727;"&gt;(){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Serial&lt;span style="color: #242727;"&gt;.&lt;/span&gt;print&lt;span style="color: #242727;"&gt;(&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;'E'&lt;/span&gt;&lt;span style="color: #242727;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;delay&lt;/span&gt;(1000);&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Serial&lt;span style="color: #242727;"&gt;.&lt;/span&gt;print&lt;span style="color: #242727;"&gt;(&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;'A'&lt;/span&gt;&lt;span style="color: #242727;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #fca521;"&gt;delay&lt;/span&gt;(1000);&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Arduino XBee 2:&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 16.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;void setup&lt;span style="color: #242727;"&gt;(){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Serial&lt;span style="color: #242727;"&gt;.&lt;/span&gt;begin&lt;span style="color: #242727;"&gt;(9600);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;pinMode&lt;span style="color: #242727;"&gt;(3,&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;OUTPUT&lt;/span&gt;&lt;span style="color: #242727;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;void loop&lt;span style="color: #242727;"&gt;(){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;if&lt;span style="color: #242727;"&gt; (&amp;nbsp;&lt;/span&gt;Serial&lt;span style="color: #242727;"&gt;.&lt;/span&gt;available&lt;span style="color: #242727;"&gt;() &amp;gt; 0 ){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&amp;nbsp; &lt;span style="color: #fca521;"&gt;if&lt;/span&gt;( &lt;span style="color: #fca521;"&gt;Serial&lt;/span&gt;.&lt;span style="color: #fca521;"&gt;read&lt;/span&gt;() == &lt;span style="color: #1a5394;"&gt;'E'&lt;/span&gt; )&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #242727;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;digitalWrite&lt;span style="color: #242727;"&gt;(3,&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;&lt;span style="color: #242727;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #242727;"&gt;&amp;nbsp; &lt;/span&gt;else&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #fca521; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;&lt;span style="color: #242727;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;digitalWrite&lt;span style="color: #242727;"&gt;(3,&lt;/span&gt;&lt;span style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;&lt;span style="color: #242727;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #242727; font: 13.0px 'Lucida Grande'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-style-span" style="font-family: inherit; font-size: small;"&gt;Estos dos programas harán prender un LED conectado al pin D3 del Arduino por medio de los Radios. Para entender más estos comandos recomiendo leer el manual del XBee, Espero sus comentarios. :D&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-5399395194778824531?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0zv2Jlku2uZ1IQK18XBVWjFvCRs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0zv2Jlku2uZ1IQK18XBVWjFvCRs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0zv2Jlku2uZ1IQK18XBVWjFvCRs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0zv2Jlku2uZ1IQK18XBVWjFvCRs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/3vFxt97j2VE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/5399395194778824531/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/09/configurando-radios-xbee.html#comment-form" title="0 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/5399395194778824531?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/5399395194778824531?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/3vFxt97j2VE/configurando-radios-xbee.html" title="Configurando Radios XBee" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-cn1Y6ROMqLw/TnYzNE-LpaI/AAAAAAAAAR8/gIbXkp0ayPw/s72-c/P9180006.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/09/configurando-radios-xbee.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QFQXk9eyp7ImA9WhdXFEs.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-2573570106472006174</id><published>2011-08-20T09:37:00.000-07:00</published><updated>2011-08-27T10:15:10.763-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-27T10:15:10.763-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="LCD Color Nokia" /><category scheme="http://www.blogger.com/atom/ns#" term="Wiring" /><title>LCD Nokia 132x132px. Color 12-bits.</title><content type="html">&lt;div style="text-align: justify;"&gt;La LCD del Nokia 6100 es un Display de 132x132 pixeles que son un total 17,400 pixeles el cual cada pixel tiene la posibilidad de desplegar 12-bits de color ósea 4096 colores diferentes, es una display pequeño pero bastante potente, o lo mínimo para un buen proyecto de electrónica.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Existen variedad de tutoriales acerca de como hacer funcionar este display, así como bibliotecas para el Arduino, PIC, MSP430 y muchos otros microcontroladores, yo he decidió utilizar una ATmega2561 que es el microcontrolador que utiliza la tarjeta Wiring en su versión 1.1 lo cual facilita todo el proceso.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-OBc_fgazN_A/Tk_aHVYuAEI/AAAAAAAAAOI/lcDuQ13bf5Y/s1600/P8030339.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-OBc_fgazN_A/Tk_aHVYuAEI/AAAAAAAAAOI/lcDuQ13bf5Y/s400/P8030339.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Esta pantalla se comunica a travez de SPI de 9-bits donde el noveno bit es el que le dice al controlador de este display si lo que estamos enviando es un Comando o es un Dato, En esta pantalla puede tener dos diferentes controladores, un EPSON o un Phillips. Las Bibliotecas que se pueden encontrar de este display para el arduino trabajan con cualquiera de los dos controladores, aunque convendría conocer cual es el que tenemos y reducir el código que no sea necesario.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;La creación de fuentes es algo bastante sencillo pero laborioso, ya que hay que examinar letra por letra y pasarla a un arreglo, o bien conseguir un programa que lo haga por ti, las únicas licitantes del programa es que no siempre va a haber del tamaño de fuente que tu necesitas, ese fue mi caso ya que yo quería una fuente de 8x12 por lo que tuve que escribir letra por letra, pero es satisfactorio el resultado.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-LfQZhC332kc/Tk_69k7AYYI/AAAAAAAAAOU/7OiQ0h7q2D8/s1600/P8200386.JPG" imageanchor="1"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-LfQZhC332kc/Tk_69k7AYYI/AAAAAAAAAOU/7OiQ0h7q2D8/s320/P8200386.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Y lo mejor de todo es la posibilidad de desplegar imágenes:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-xcu9MPlZMVM/Tk_gjT00D-I/AAAAAAAAAOQ/stuClP39r2k/s1600/P8200389.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-xcu9MPlZMVM/Tk_gjT00D-I/AAAAAAAAAOQ/stuClP39r2k/s400/P8200389.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;La Bibliotecas que he usado son: Nokia_lcd de Gravitech y ColorLCDShield del Arduino y las he combinado en una para aprovechar lo mejor de las dos. He cambiado el tipo de fuente y organizando la biblioteca para que se pueda editar con mayor facilidad.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Nokia%20LCD%20Library/NokiaLCD.zip/download"&gt;Descargar Biblioteca NokiaLCD-ColorLCDShield Savage Electronics.&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Espero sus comentarios. :D&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-2573570106472006174?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qqqTIVP-3TT8lUFxuSVhD8eI1Bs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qqqTIVP-3TT8lUFxuSVhD8eI1Bs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qqqTIVP-3TT8lUFxuSVhD8eI1Bs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qqqTIVP-3TT8lUFxuSVhD8eI1Bs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/4Jx1vRc1xiU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/2573570106472006174/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/08/lcd-nokia-132x132px-color-de-12-bits.html#comment-form" title="0 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/2573570106472006174?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/2573570106472006174?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/4Jx1vRc1xiU/lcd-nokia-132x132px-color-de-12-bits.html" title="LCD Nokia 132x132px. Color 12-bits." /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-OBc_fgazN_A/Tk_aHVYuAEI/AAAAAAAAAOI/lcDuQ13bf5Y/s72-c/P8030339.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/08/lcd-nokia-132x132px-color-de-12-bits.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQFR3s6fSp7ImA9WhRUEU0.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-1159154133691691421</id><published>2011-08-11T21:10:00.000-07:00</published><updated>2012-01-20T16:05:16.515-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-20T16:05:16.515-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Acelerómetro" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><category scheme="http://www.blogger.com/atom/ns#" term="Controlador Bioloid" /><title>Simulado un Dispositivo Dynamixel en Controladores Bioloid</title><content type="html">Existe una forma de agregar sensores como acelerometros, gyros etc. a tu controlador Bioloid compatible con la comunicación de los servos Ax-12, esto se logra simulando ser un servo pero enviando datos de este tipo de sensores además de ser compatible con Daisy Chain lo cual ahorra conectores hacia tu placa controladora y conectandolos directamente a cualquiera de tus servos.&lt;br /&gt;
&lt;br /&gt;
Cuenta con características como tener un ID y solo responder tras ciertos comandos acordes con el protocolo que manejan los servos Dynamixel Ax-12, Ademas su pueden combinar varios sensores en un mismo dispositivo como lo es el Gyro, sensores de temperatura y todo tipo de sensor según tus necesidades.&lt;br /&gt;
&lt;br /&gt;
He usado un Arduino para el envío de datos hacia el controlador Bioloid por su fácil programación y gran variedad de códigos que te ayudaran a implementar nuevas funciones en el Dispositivo.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-ltMgA-eH6AA/TkSpgstWN5I/AAAAAAAAAOA/FWV1PKEHbzw/s1600/P8090358.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-ltMgA-eH6AA/TkSpgstWN5I/AAAAAAAAAOA/FWV1PKEHbzw/s400/P8090358.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
De esta forma ya no será necesario conectar una fuente en el Jack o USB ya que se alimentara de la misma fuente de los servos, evitando exceso de cables en tu robot. Posteriormente podrás construir tu propia placa arduino con componentes SMD para la reducción de su tamaño.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-PcT5JRTll7o/TkSrngsnZ5I/AAAAAAAAAOE/mMVWZOef21o/s1600/ArdSim.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="325" src="http://2.bp.blogspot.com/-PcT5JRTll7o/TkSrngsnZ5I/AAAAAAAAAOE/mMVWZOef21o/s400/ArdSim.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Debido a que la librería HardwareSerial no es tan rápida como los servos Ax-12 tendremos que sacrificar la velocidad a unos 200,000 bps para que al arduino no le cueste procesar las peticiones del controlador Bioloid, tendrás que reducir la velocidad de todos los servos a la misma que el Arduino para lograr una buena comunicación con todos los dispositivos.&lt;br /&gt;
&lt;br /&gt;
Los pines o cables &amp;nbsp;que saldran de este nuevo dispositivo serán los mismos que el de un servo Ax-12, Pin GND-&amp;gt; Conectado al GND del arduino, pin Vin-&amp;gt; Conectado al pin Vin del arduino y pin Data-&amp;gt; Conectado a los pines Tx y Rx del Arduino por ser un Half Duplex Usart.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/SE%20Blogspot/SEN_BIOLOID.zip/download"&gt;Descagar Sketch Arduino Half Duplex Usart Sensor for Bioloid.&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
En el Sketch la velocidad esta definida por BAUD_RATE &amp;nbsp;a 9600, cambiar este si se desea utilizar una diferente. El acelerómetro tendrá que ir conectado a A1 y A2 siendo eje x y eje y respectivamente.&lt;br /&gt;
&lt;br /&gt;
Solo sube este sketch a tu arduino haz las conexiones y estará listo para ser conectado al daisy chain de tu controlador Bioloid.*Puede ser que tengas que modificar un poco el coligo para ajustar tu sensor.&lt;br /&gt;
&lt;br /&gt;
Espero tus comentario.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-1159154133691691421?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/76LB7vAHXlLEo-lsVfdSzXYaj2I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/76LB7vAHXlLEo-lsVfdSzXYaj2I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/76LB7vAHXlLEo-lsVfdSzXYaj2I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/76LB7vAHXlLEo-lsVfdSzXYaj2I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/G5LVaz_jOZg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/1159154133691691421/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/08/simulado-un-dispositivo-dynamixel-en.html#comment-form" title="11 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/1159154133691691421?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/1159154133691691421?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/G5LVaz_jOZg/simulado-un-dispositivo-dynamixel-en.html" title="Simulado un Dispositivo Dynamixel en Controladores Bioloid" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-ltMgA-eH6AA/TkSpgstWN5I/AAAAAAAAAOA/FWV1PKEHbzw/s72-c/P8090358.JPG" height="72" width="72" /><thr:total>11</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/08/simulado-un-dispositivo-dynamixel-en.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkADQ305fCp7ImA9WhRUFEg.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-7333219467330129245</id><published>2011-08-11T19:13:00.000-07:00</published><updated>2012-01-24T18:32:52.324-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-24T18:32:52.324-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Dynamixel Ax-12+" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><title>Biblioteca Dynamixel Download</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-2XE3PHW6bXg/TxsrTXZBNLI/AAAAAAAAAfk/gH6At4Cw7fQ/s1600/Arduino_Dynamixel.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="254" src="http://4.bp.blogspot.com/-2XE3PHW6bXg/TxsrTXZBNLI/AAAAAAAAAfk/gH6At4Cw7fQ/s640/Arduino_Dynamixel.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;Actualizado 21/01/2012 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version 1.2.0&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;Importante: En la actualización de la biblioteca &lt;/span&gt;V1.2.0&lt;span class="Apple-style-span" style="color: black;"&gt; las instrucciones cambian de ser Ax12.instruccion a&lt;/span&gt; Dynamixel&lt;span class="Apple-style-span" style="color: black;"&gt;.&lt;/span&gt;instruccion&lt;span class="Apple-style-span" style="color: black;"&gt; ya que es capaz de trabajar con diferentes modelos de estos servomotores, también el nombre de la biblioteca a sido modificado siguiendo el estándar de notación CamelCase.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Biblioteca Dynamixel Serial&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Descripción:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; En esta versión se utilizan los
pines Seriales del Arduino 0 - Rx&amp;nbsp; y&amp;nbsp; 1 – Tx además de un pin de control de flujo
de datos si se desea utilizar el circuito 74LS241.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Enlace de descarga:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; &lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelSerial.zip/download" target="_blank"&gt;Biblioteca&lt;/a&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelLibrary.pdf/download" target="_blank"&gt;Documentación&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Hardware requerido:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; Servomotor Dynamixel ,
Arduino, IC 74LS241, USB2Serial Converter (opcional).&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular';"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Biblioteca Dynamixel Serial1&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Descripción:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; En esta versión se utilizan los
pines Seriales del Arduino Mega 19 – Rx1&amp;nbsp;
y&amp;nbsp; 18 – Tx1 además de un pin de
control de flujo de datos si se desea utilizar el circuito 74LS241.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Enlace de descarga:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; &lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelSerial1.zip/download" target="_blank"&gt;Biblioteca&lt;/a&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelLibrary.pdf/download" target="_blank"&gt; Documentación&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Hardware requerido:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; Servomotor Dynamixel ,
Arduino Mega, IC 74LS241.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular';"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Biblioteca Dynamixel Serial2&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Descripción:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; En esta versión se utilizan los
pines Seriales del Arduino Mega 17 – Rx2&amp;nbsp;
y&amp;nbsp; 16 – Tx2 además de un pin de
control de flujo de datos si se desea utilizar el circuito 74LS241.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Enlace de descarga:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; &lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelSerial2.zip/download" target="_blank"&gt;Biblioteca&lt;/a&gt;&amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp;&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelLibrary.pdf/download" target="_blank"&gt;Documentación&lt;/a&gt;. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Hardware requerido:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; Servomotor Dynamixel ,
Arduino Mega, IC 74LS241.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular';"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Biblioteca Dynamixel Serial3&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Descripción:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; En esta versión se utilizan los
pines Seriales del Arduino Mega 15 – Rx3&amp;nbsp;
y&amp;nbsp; 14 – Tx4 además de un pin de
control de flujo de datos si se desea utilizar el circuito 74LS241.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Enlace de descarga:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; &lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelSerial3.zip/download" target="_blank"&gt;Biblioteca&lt;/a&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; &lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelLibrary.pdf/download" target="_blank"&gt;Documentación&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Hardware requerido:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; Servomotor Dynamixel ,
Arduino Mega, IC 74LS241.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular';"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Biblioteca Dynamixel SoftSerial&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Descripción:&lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; En esta versión se pueden
escoger&amp;nbsp; los pines que se deseen para la
comunicación serial por medio de software, además de un pin de control de flujo
de datos si se desea utilizar el circuito 74LS241.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;Enlace de descarga:&lt;/span&gt;&amp;nbsp;&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelSoftSerial.zip/download" target="_blank"&gt;Biblioteca&lt;/a&gt;&amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp;&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/Dynamixel_1.2/DynamixelLibrary.pdf/download" target="_blank"&gt;Documentación&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Hardware requerido: &lt;/span&gt;&lt;span style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Servomotor Dynamixel ,
Arduino, IC 74LS241.&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class="MsoNormal"&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular';"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;"&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular';"&gt;&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;*SoftSerial remplazara al antiguo SoftwareSerial (El
remplazo no afecta el comportamiento del SoftwareSerial solo hace algunas
funciones publicas para poder ser llamadas por la Biblioteca Dynamixel )&amp;nbsp;y
es necesaria incluirla en el Sketch #include “SoftwareSerial.h”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular';"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;"&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular'; font-size: 15px;"&gt;**Las versiones de Dynamixel Serial1, Serial2 y Serial3
solo son para Arduino Mega ya que los otros arduinos no cuentan con estos
puertos seriales.&lt;/span&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular';"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;"&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular'; font-size: 15px;"&gt;***La velocidad por SoftSerial se vera reducida ya que la
comunicación es hecha a través de pines que no fueron diseñados para esa
actividad. (La lectura por SoftwareSerial aun no funciona ya que Softwareserial no realiza una lectura correcta )&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular'; font-size: 15px;"&gt;Recomiendo leer el Manual de estos servomotores para un mejor entendimiento.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular'; font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #6aa84f; font-family: 'Menlo Regular'; font-size: 15px;"&gt;Versiones anteriores de estas bibliotecas pueden ser descargados desde &lt;a href="http://sourceforge.net/projects/savelectronics.u/files/Dynamixel%20Library/" target="_blank"&gt;aquí&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-7333219467330129245?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KyyQnpxl4jEsMYmNdbF00B3-Zgw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KyyQnpxl4jEsMYmNdbF00B3-Zgw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KyyQnpxl4jEsMYmNdbF00B3-Zgw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KyyQnpxl4jEsMYmNdbF00B3-Zgw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/YV4VvmZ2pNY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/7333219467330129245/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/08/actualizacion-biblioteca-dynamixel.html#comment-form" title="18 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/7333219467330129245?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/7333219467330129245?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/YV4VvmZ2pNY/actualizacion-biblioteca-dynamixel.html" title="Biblioteca Dynamixel Download" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-2XE3PHW6bXg/TxsrTXZBNLI/AAAAAAAAAfk/gH6At4Cw7fQ/s72-c/Arduino_Dynamixel.png" height="72" width="72" /><thr:total>18</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/08/actualizacion-biblioteca-dynamixel.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EFQnczeSp7ImA9WhRaFk0.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-309855833605236269</id><published>2011-08-09T18:08:00.000-07:00</published><updated>2012-02-18T16:00:13.981-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-18T16:00:13.981-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Acelerómetro" /><category scheme="http://www.blogger.com/atom/ns#" term="Processing" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><title>Acelerómetro + Arduino</title><content type="html">Los acelerómetros son sensores muy útiles en el diseño de sistemas autónomos, los cuales puedan corregir o alterar su estado según los sean los datos, un acelerómetro como su nombre lo indica es aquel que es capaz de medir aceleraciones, existen de 1, 2 y 3 ejes (x,y,z), también pueden variar el tipo de interfaz ya sea analógico o digital, y entre los digitales varia el protocolo de comunicación (USART,I2C,SPI... etc.).&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-Sb8oU0_gHfI/TkHT8lSDQBI/AAAAAAAAANw/I7sOVRcoEnA/s1600/P8090357.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-Sb8oU0_gHfI/TkHT8lSDQBI/AAAAAAAAANw/I7sOVRcoEnA/s400/P8090357.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
En este caso se trata de un acelerómetro analógico a 3.3v, con selector de precisión (GS1,GS2) y Sleep.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
los pines x,y &amp;amp; z son las salidas de cada eje, las cuales tiene determinado voltaje según sea la aceleración medida en su respectivo eje. La conexión de este sensor con el arduino es muy sencillo ya que solo es necesario medir el voltaje con los ADC del arduino (A0,A1,A2...), para su fácil instalación decidí soldar un cable de vcc a sleep y conectarlos a 3v3 del arduino ya que a un voltaje más alto el sensor se quemaría.&lt;/div&gt;
&lt;div class="" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-HK6nyXeFk_4/TkHWFgTvf9I/AAAAAAAAAN0/O2p8excUTI4/s1600/P8090359.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-HK6nyXeFk_4/TkHWFgTvf9I/AAAAAAAAAN0/O2p8excUTI4/s400/P8090359.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Para este tipo de sensores no es necesaria ninguna Biblioteca y el código es bastante reducido:&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;void setup&lt;/span&gt;(){&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: orange;"&gt;Serial&lt;/span&gt;.&lt;span class="Apple-style-span" style="color: orange;"&gt;begin&lt;/span&gt;(115200);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;&amp;nbsp;pinMode&lt;/span&gt;(14,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;OUTPUT&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: orange;"&gt;pinMode&lt;/span&gt;(18,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;OUTPUT&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: orange;"&gt;pinMode&lt;/span&gt;(19,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;OUTPUT&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(14,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;LOW&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(18,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="color: orange;"&gt;digitalWrite&lt;/span&gt;(19,&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;HIGH&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
}&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;void loop&lt;/span&gt;(){&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;Serial&lt;/span&gt;.&lt;span class="Apple-style-span" style="color: orange;"&gt;print&lt;/span&gt;(&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;“ Eje x: &amp;nbsp; "&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;Serial&lt;/span&gt;.&lt;span class="Apple-style-span" style="color: orange;"&gt;println&lt;/span&gt;(&lt;span class="Apple-style-span" style="color: orange;"&gt;analogRead&lt;/span&gt;(A1));&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;Serial&lt;/span&gt;.&lt;span class="Apple-style-span" style="color: orange;"&gt;print&lt;/span&gt;(&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;“ Eje y: &amp;nbsp; "&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;Serial&lt;/span&gt;.&lt;span class="Apple-style-span" style="color: orange;"&gt;println&lt;/span&gt;(&lt;span class="Apple-style-span" style="color: orange;"&gt;analogRead&lt;/span&gt;(A2));&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;Serial&lt;/span&gt;.&lt;span class="Apple-style-span" style="color: orange;"&gt;print&lt;/span&gt;(&lt;span class="Apple-style-span" style="color: #3d85c6;"&gt;“ Eje z: &amp;nbsp; "&lt;/span&gt;);&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &lt;span class="Apple-style-span" style="color: orange;"&gt;Serial&lt;/span&gt;.&lt;span class="Apple-style-span" style="color: orange;"&gt;println&lt;/span&gt;(&lt;span class="Apple-style-span" style="color: orange;"&gt;analogRead&lt;/span&gt;(A3));&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;
&lt;span class="Apple-style-span" style="color: orange;"&gt;delay&lt;/span&gt;(100);&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
}&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Con este sencillo programa podemos ver los datos de cada eje en la terminal, puede usarse map(); para ajustar los rangos de valores deseados para el procesamiento en acciones de ciertas aplicaciones.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Variable = map(sensorX,0,1023,0,255); &amp;nbsp;// con esto se pierde resolución pero puede resultar ser mas sencillo de manejar datos pequeños.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Ejemplo: Podemos visualizar la posición de nuestro sensor por medio de una animación 3D (Un cubo RGB) que se va a mover según la posición de nuestro Acelerómetro. A continuación dejo los códigos.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://sourceforge.net/projects/savelectronics.u/files/ArduinoProcessing/ACC_Aplication.zip/download"&gt;Descargar Ejemplo Cubo RGB Acelerómetro Arduino y Processing.&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-qiWJ0RRUGxU/TkL3K1j9UGI/AAAAAAAAAN4/2flX3D0B1fY/s1600/RGB_Cube.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="338" src="http://2.bp.blogspot.com/-qiWJ0RRUGxU/TkL3K1j9UGI/AAAAAAAAAN4/2flX3D0B1fY/s400/RGB_Cube.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Espero sus comentarios. :D&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-309855833605236269?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CXWMJvwrhcV2gK8PqY-VARfVvwE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CXWMJvwrhcV2gK8PqY-VARfVvwE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CXWMJvwrhcV2gK8PqY-VARfVvwE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CXWMJvwrhcV2gK8PqY-VARfVvwE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/KAEL3JmI_GE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/309855833605236269/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/08/acelerometro-arduino.html#comment-form" title="4 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/309855833605236269?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/309855833605236269?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/KAEL3JmI_GE/acelerometro-arduino.html" title="Acelerómetro + Arduino" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-Sb8oU0_gHfI/TkHT8lSDQBI/AAAAAAAAANw/I7sOVRcoEnA/s72-c/P8090357.JPG" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/08/acelerometro-arduino.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08HRH47fCp7ImA9WhdWFU8.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-6902473812268181353</id><published>2011-07-19T13:56:00.000-07:00</published><updated>2011-09-08T15:43:55.004-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-08T15:43:55.004-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Dynamixel Ax-12+" /><title>Reparar Servo Dynamixel Ax-12+</title><content type="html">&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-HJcGV5g9NNQ/TiXusp4zjXI/AAAAAAAAANQ/Gibj4fboC44/s1600/P7190314.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-HJcGV5g9NNQ/TiXusp4zjXI/AAAAAAAAANQ/Gibj4fboC44/s320/P7190314.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Existen varias formas de reparar un servo Dynamixel Ax-12+, si no recuerdas que ID y Baud Rate tiene configurado tu servo la solución es muy sencilla ya que el servo se puede reiniciar con el USB2Dynamixel y el Dynamixel Configurator, también se puede hacer esto mismo con un pequeño programa que he hecho con el Arduino, este programa regresa el servo o los servos conectados a un Baud Rate de 1Mbps y ID 1 y al terminar de ser reiniciado el servo se mueve en posiciones aleatorias con lo cual el servo ha sido reiniciado correctamente y esta listo para ser usado.&lt;br /&gt;
El programa requiere tener instalada la Biblioteca Dynamixel que he publicado anteriormente.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;a href="http://www.megaupload.com/?d=3O009RQH"&gt;Descargar Dynamixel Configurator&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;a href="http://www.megaupload.com/?d=REGFMWAO"&gt;Descargar Programa Arduino.&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.megaupload.com/?d=REGFMWAO"&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://www.megaupload.com/?d=NI6GUBX9"&gt;Descargar Biblioteca Dynamixel.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-1q4HbLp-VEU/TiXf3ObqHXI/AAAAAAAAAM4/kpmz7Yqv9Tg/s1600/P7190316.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-1q4HbLp-VEU/TiXf3ObqHXI/AAAAAAAAAM4/kpmz7Yqv9Tg/s400/P7190316.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
La siguiente forma de reiniciar un servo es un poco más difícil. El primer paso será abrir el servomotor hasta llegar al chip, no es necesario abrir la parte de los engranes, basta con abrir la tapa de atrás que da acceso a este.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-G81AW6DTyr0/TiYiDy1d-tI/AAAAAAAAANU/Y5zobZHwoA0/s1600/P7190322.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-G81AW6DTyr0/TiYiDy1d-tI/AAAAAAAAANU/Y5zobZHwoA0/s400/P7190322.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
El siguiente paso será soldar cables a los pines VCC, GND, RESET, SCK, MISO y MOSI que son los pines de programación de este chip (AVR ATmega8 - 16MHz), los puedes soldar directamente al circuito como yo lo he hecho o al puerto que se encuentra en el extremo derecho, no olvides alimentar el servo al programar y que vcc es 5v no los 10v con los que se alimenta el servo. &amp;nbsp; &amp;nbsp;&lt;a href="http://1.bp.blogspot.com/-5tJS2C0niIo/TmlEYejUcuI/AAAAAAAAARE/ViDxxqpyynM/s1600/TQFP.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="http://1.bp.blogspot.com/-5tJS2C0niIo/TmlEYejUcuI/AAAAAAAAARE/ViDxxqpyynM/s200/TQFP.jpg" width="200" /&gt;&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href="http://3.bp.blogspot.com/-8gwEcskYYvc/TiXpnRAE3jI/AAAAAAAAANE/EM89uH5g0d8/s1600/P7190322.JPG" imageanchor="1" style="display: inline !important; margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://3.bp.blogspot.com/-8gwEcskYYvc/TiXpnRAE3jI/AAAAAAAAANE/EM89uH5g0d8/s320/P7190322.JPG" width="320" /&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Ya soldados los cables solo hay que conectarlos a nuestro programador de AVR (AVRISP, DRAGON, etc. ) y grabar los archivos Dynamixel_Flash.hex, Dynamixel_EEPROM.hex y Dynamixel_elf.elf, los fuses son: High: 0xC8 Low: 0x1F y &amp;nbsp;LockBits: 0xEC.&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-pKaU4xf71iE/TiXrXtF32OI/AAAAAAAAANI/F0Hcu0eaWtw/s1600/P7190318.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-pKaU4xf71iE/TiXrXtF32OI/AAAAAAAAANI/F0Hcu0eaWtw/s400/P7190318.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://www.megaupload.com/?d=EKL5SQN0"&gt;Descargar Archivos Dynamixel Ax-12+ Program.&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Yo he utilizado el AVR Studio 4 para hacer esto pero puedes usar cualquier otra interfaz como AVRDUDE etc.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-c0EiJKX_KNU/TiXuGOSS3XI/AAAAAAAAANM/a-ITutZzNq8/s1600/P7190317.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-c0EiJKX_KNU/TiXuGOSS3XI/AAAAAAAAANM/a-ITutZzNq8/s400/P7190317.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Espero tus comentarios. :P&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-6902473812268181353?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JMgRVl01SaAkJSF2LLBfPp77tjs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JMgRVl01SaAkJSF2LLBfPp77tjs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JMgRVl01SaAkJSF2LLBfPp77tjs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JMgRVl01SaAkJSF2LLBfPp77tjs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/SBtNst-1-Uk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/6902473812268181353/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/07/reparar-servo-dynamixel-ax-12.html#comment-form" title="4 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/6902473812268181353?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/6902473812268181353?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/SBtNst-1-Uk/reparar-servo-dynamixel-ax-12.html" title="Reparar Servo Dynamixel Ax-12+" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-HJcGV5g9NNQ/TiXusp4zjXI/AAAAAAAAANQ/Gibj4fboC44/s72-c/P7190314.JPG" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/07/reparar-servo-dynamixel-ax-12.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEMHQXw6eip7ImA9WhdQEEw.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-5268568559436394200</id><published>2011-06-06T19:09:00.000-07:00</published><updated>2011-08-10T14:40:30.212-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-10T14:40:30.212-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Processing" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><category scheme="http://www.blogger.com/atom/ns#" term="Ultrasonico" /><title>Sen. Ultrasonico Arduino + Processing</title><content type="html">&lt;div class="separator" style="clear: both; text-align: left;"&gt;El sensor Ultrasonico ocupado en este proyecto es el SRF-02 - &lt;a href="http://www.robot-electronics.co.uk/htm/srf02techSer.htm"&gt;Datasheet&lt;/a&gt;.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href="http://3.bp.blogspot.com/-X0UCtHCPCDg/Te1_bPeMKGI/AAAAAAAAAI0/Cy4UnHOJ0ks/s1600/P6060260.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;img border="0" height="150" src="http://3.bp.blogspot.com/-X0UCtHCPCDg/Te1_bPeMKGI/AAAAAAAAAI0/Cy4UnHOJ0ks/s200/P6060260.JPG" width="200" /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: none; color: black;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-0HdBlkfI2kw/Te2AajPzSJI/AAAAAAAAAI8/Uadf_sPEEOo/s1600/P6060258.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="150" src="http://1.bp.blogspot.com/-0HdBlkfI2kw/Te2AajPzSJI/AAAAAAAAAI8/Uadf_sPEEOo/s200/P6060258.JPG" width="200" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Combinando un poco Arduino con Processing puede hacer que tu proyecto se vea mejor, un ejemplo de esto es lo que he hecho con un sensor Ultrasonico donde como en cualquier proyecto se pueden imprimir los datos en una LCD.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-_ZFNv5gFIwg/Te2Dp3fl8FI/AAAAAAAAAJA/JYqy4U2T_g0/s1600/P6060285.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-_ZFNv5gFIwg/Te2Dp3fl8FI/AAAAAAAAAJA/JYqy4U2T_g0/s320/P6060285.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;La lcd esta conectada a partir del pin 7 hacia el 0 y conectada con cables a los pines 13, 12 ... etc.esta es una forma portátil del medidor de distancias Ultrasonico o bien con processing:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-s3P5POFPD6E/Te2EseKagRI/AAAAAAAAAJE/WJuGEyO_nJs/s1600/Sensor_Arduino_Processing.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="204" src="http://3.bp.blogspot.com/-s3P5POFPD6E/Te2EseKagRI/AAAAAAAAAJE/WJuGEyO_nJs/s320/Sensor_Arduino_Processing.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Se nota bastante la diferencia apesar de que es el mismo proyecto, medir distancias con un sensor ultrasonico, ademas que es mas económico ya que no requerimos de una LCD si no que en nuestra misma pantalla podemos visualizar los datos.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://www.megaupload.com/?d=HNO8BADD"&gt;Descargar Proyecto.&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Dependencias:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Necesita la ultima version de NewSoftSerial.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-5268568559436394200?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1NiBAAnHLiNwekz9lW3nEKfZO3g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1NiBAAnHLiNwekz9lW3nEKfZO3g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1NiBAAnHLiNwekz9lW3nEKfZO3g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1NiBAAnHLiNwekz9lW3nEKfZO3g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/MpP_EyZAXeo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/5268568559436394200/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/06/sensor-ultrasonico-arduino-processing.html#comment-form" title="0 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/5268568559436394200?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/5268568559436394200?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/MpP_EyZAXeo/sensor-ultrasonico-arduino-processing.html" title="Sen. Ultrasonico Arduino + Processing" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-X0UCtHCPCDg/Te1_bPeMKGI/AAAAAAAAAI0/Cy4UnHOJ0ks/s72-c/P6060260.JPG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/06/sensor-ultrasonico-arduino-processing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cARHkzfyp7ImA9WhdSEU0.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-5390860701099017390</id><published>2011-04-24T13:48:00.000-07:00</published><updated>2011-07-19T13:57:25.787-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-19T13:57:25.787-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bluetooth" /><title>Configurando un Bluetooth</title><content type="html">Configurar un bluetooth es muy sencillo si se desea utilizar para tareas sencillas como una comunicación USART y algunas otras configuraciones para personalizar el dispositivo. A continuación les mostrare como configurar el Bluetooth RN-42 (&amp;nbsp;&lt;a href="http://www.sparkfun.com/products/10269"&gt;Sparkfun BlueSMiRF&lt;/a&gt;&amp;nbsp;), &amp;nbsp;Este es un bluetooth hecho por Roving Networks &amp;nbsp;de Clase 2, ósea con un alcance entre 10 y 20 mts.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-TAcppicULwg/TbSAoqXB58I/AAAAAAAAAHM/u4rWMSPYLeI/s1600/10269-01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="239" src="http://4.bp.blogspot.com/-TAcppicULwg/TbSAoqXB58I/AAAAAAAAAHM/u4rWMSPYLeI/s400/10269-01.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;Estos son los pasos que debes seguir para entrar a la configuración de tu Bluetooth:&lt;br /&gt;
-USART CONF: 115200bps, 8bits, Sin Paridad, 1bit de Stop.&lt;br /&gt;
Se puede entrar a la configuración del Bluetooth Inalambricamente o conectando un FTDI a este, una vez conectado hay que abrir nuestra terminal ya sea ZTerm o la propia terminal de Arduino enviamos ' $$$ ' con ( No line ending ) y nos responderá con un ' CMD ' eso quiere decir que ya estamos dentro y listos para configurar.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-RaizvPbIUP0/TbSFKVKuYkI/AAAAAAAAAHY/gDwUhdEVNx0/s1600/Terminal1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="260" src="http://2.bp.blogspot.com/-RaizvPbIUP0/TbSFKVKuYkI/AAAAAAAAAHY/gDwUhdEVNx0/s640/Terminal1.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;cr&gt; significa que en nuestra terminal ahora utilizaremos el Carriage Return&lt;/cr&gt;&lt;br /&gt;
Después de cada instrucción nos regresara un AOK si se hizo el cambio correctamente un ERR si hubo un error en la instrucción y un ? si la instrucción no existe.&lt;br /&gt;
&lt;br /&gt;
Para cambiar el nombre de nuestro dispositivo usaremos:&lt;br /&gt;
SN,&lt;nombre&gt;&lt;cr&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;SN,Mi_Bluetooth &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Ahora nuestro dispositivo se llama Mi_Bluetooth&amp;nbsp;&lt;/cr&gt;&lt;/nombre&gt;&lt;br /&gt;
&lt;br /&gt;
Para cambiar el código de seguridad:&lt;br /&gt;
SP,&lt;texto&gt;&lt;cr&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SP,0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // La clave puede ser desde números a letras.&lt;/cr&gt;&lt;/texto&gt;&lt;br /&gt;
&lt;br /&gt;
Para cambiar el Baud Rate:&lt;br /&gt;
SU,&lt;rate&gt;&lt;cr&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SU,96 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Solo se necesitan los primeros dos números.&lt;/cr&gt;&lt;/rate&gt;&lt;br /&gt;
&lt;br /&gt;
Baudrate,{1200, 2400, 4800, 9600, 19.2, 28.8, 38.4, 57.6, 115K, 230K, 460K, 921K }&lt;br /&gt;
&lt;br /&gt;
Para cambiar el Identificador del Dispositivo:&lt;br /&gt;
&lt;br /&gt;
SC (Service Class) Y SD (Device Class) sirven para decirle al bluetooth si es una computadora, un telefono etc. En esta pagina podremos armar nuestros propios CoD.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://bluetooth-pentest.narod.ru/software/bluetooth_class_of_device-service_generator.html"&gt;Bluetooth CoD&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
CoD: 0x980104 &amp;nbsp; // Este código indica que es una Computadora de escritorio.&lt;br /&gt;
&lt;br /&gt;
SC,00&lt;numero&gt;&lt;cr&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; SC,0098 &amp;nbsp; &amp;nbsp;// Solo los primero dos números&lt;br /&gt;
SD,&lt;numero&gt;&lt;cr&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SD,0104 &amp;nbsp; // Los últimos cuatro números.&lt;/cr&gt;&lt;/numero&gt;&lt;/cr&gt;&lt;/numero&gt;&lt;br /&gt;
&lt;numero&gt;&lt;cr&gt;&lt;numero&gt;&lt;cr&gt;&lt;br /&gt;
De esa forma hemos configurado nuestro bluetooth con un identificador de computadora.&lt;br /&gt;
&lt;br /&gt;
Todos los cambios que hemos hecho aplican una vez que se a reiniciado el dispositivo, para reiniciarlo se ocupa el siguiente comando:&lt;/cr&gt;&lt;/numero&gt;&lt;/cr&gt;&lt;/numero&gt;&lt;br /&gt;
&lt;numero&gt;&lt;cr&gt;&lt;numero&gt;&lt;cr&gt; R,1&lt;cr&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;R,1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Reboot!&lt;br /&gt;
&lt;br /&gt;
Esta es la configuración que yo he puesto para mi Bluetooth:&lt;br /&gt;
&lt;br /&gt;
&lt;/cr&gt;&lt;/cr&gt;&lt;/numero&gt;&lt;/cr&gt;&lt;/numero&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-agnqunbZur0/TbSLa7CcHdI/AAAAAAAAAHc/bk3_dhgi5bo/s1600/Terminal2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="554" src="http://2.bp.blogspot.com/-agnqunbZur0/TbSLa7CcHdI/AAAAAAAAAHc/bk3_dhgi5bo/s640/Terminal2.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font: 10.8px 'Times New Roman'; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;Recomiendo lean el PDF del Bluetooth para cambios más avanzados. &lt;a href="http://www.rovingnetworks.com/Docs/Bluetooth-RN-UM.pdf"&gt;PDF RN-42&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-5390860701099017390?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uNvPNF5uK8QT-o3fmHEJ5_tbgts/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uNvPNF5uK8QT-o3fmHEJ5_tbgts/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uNvPNF5uK8QT-o3fmHEJ5_tbgts/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uNvPNF5uK8QT-o3fmHEJ5_tbgts/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/Xb5CLpnpRts" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/5390860701099017390/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/04/configurando-un-bluetooth.html#comment-form" title="2 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/5390860701099017390?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/5390860701099017390?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/Xb5CLpnpRts/configurando-un-bluetooth.html" title="Configurando un Bluetooth" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-TAcppicULwg/TbSAoqXB58I/AAAAAAAAAHM/u4rWMSPYLeI/s72-c/10269-01.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/04/configurando-un-bluetooth.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cCRXwzeCp7ImA9WhdSEU0.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-6952944459520569224</id><published>2011-04-05T20:49:00.001-07:00</published><updated>2011-07-19T13:57:44.280-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-19T13:57:44.280-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Wiring" /><title>Placa Wiring ATmega2561 Casera.</title><content type="html">Desafortunadamente aqui en México no hay lugar en donde vendan la placa Wiring, que es como una placa Arduino Atmega328P pero más poderosa ya que cuenta con:&lt;br /&gt;
&lt;br /&gt;
Comunicación: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Puertos: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Capacidad:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;- 2 puertos USART &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; - 54 puertos digitales I/O &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;- 256KB de FLASH&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;- 1 puerto I2C &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- 8 puertos Analógicos &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;- 4KB de EEPROM&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;- 1 puerto SPI &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- 6 puertos PWM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;- 8KB de RAM&lt;br /&gt;
&lt;br /&gt;
Esta es mi tarjeta Wiring:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-4w2wdxLNTSc/TZve2R9Yz1I/AAAAAAAAAGk/cbCwVjtNA0o/s1600/P4010233.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-4w2wdxLNTSc/TZve2R9Yz1I/AAAAAAAAAGk/cbCwVjtNA0o/s400/P4010233.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Aqui les dejo los BootLoaders que utilice para esta tarjeta, funcionan a la perfección.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://www.megaupload.com/?d=ORCV609H"&gt;Descargar BootLoaders&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Los Fuses son: &amp;nbsp;LOW: FF &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HIGH: D0&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;EXTENDED: FD&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Realmente recomiendo este microcontrolador, es bastante bueno para aplicaciones de medio nivel.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Solo recuerden que puede llegar a ser bastante difícil soldar un SMD por lo que les recomiendo tomarse su tiempo limpiar bien su cautin y tener a la mano un Multimetro para revisar si hay cortos antes de conectarlo y empezar a jugar con el.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Si ya están listos en wiring así esta la configuración:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-GR1z-NBP-FQ/TZvhyTOq3II/AAAAAAAAAGo/EvG4IazNApM/s1600/SavWiring.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="600" src="http://3.bp.blogspot.com/-GR1z-NBP-FQ/TZvhyTOq3II/AAAAAAAAAGo/EvG4IazNApM/s640/SavWiring.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Bueno pues mucha suerte a todos los que decidan hacer su propia placa y ya saben no duden en comentar y/o preguntar cualquier cosa. :P&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-6952944459520569224?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0rMidLHcqc7dXr7eBvSE-4l-kDU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0rMidLHcqc7dXr7eBvSE-4l-kDU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0rMidLHcqc7dXr7eBvSE-4l-kDU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0rMidLHcqc7dXr7eBvSE-4l-kDU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/9aSn482ojuA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/6952944459520569224/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/04/placa-wiring-atmega2561-casera.html#comment-form" title="3 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/6952944459520569224?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/6952944459520569224?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/9aSn482ojuA/placa-wiring-atmega2561-casera.html" title="Placa Wiring ATmega2561 Casera." /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-4w2wdxLNTSc/TZve2R9Yz1I/AAAAAAAAAGk/cbCwVjtNA0o/s72-c/P4010233.JPG" height="72" width="72" /><thr:total>3</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/04/placa-wiring-atmega2561-casera.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4ARn4yeip7ImA9WhRaEUo.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-7515092337664949869</id><published>2011-03-14T17:33:00.000-07:00</published><updated>2012-02-13T14:59:07.092-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-13T14:59:07.092-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><category scheme="http://www.blogger.com/atom/ns#" term="EEPROM" /><title>Arduino y las Memorias EEPROM I2C</title><content type="html">El control de una memoria EEPROM con una placa Arduino es bastante sencillo ya que tenemos a nuestro alcance la Biblioteca Wire, que no es otra cosa si que la comunicación I2C que necesitamos para accesar a este tipo de memoria sin importar si el fabricante.&lt;br /&gt;
&lt;br /&gt;
Una aplicación que me pareció muy adecuada para este tipo de memoria es el control en las posiciones de un robot, con ayuda de la Biblioteca del Post pasado podremos grabar una serie de movimientos del Servomotor Ax-12+ de tal manera que programar un robot sea tan sencillo como apretar un botón Grabar. para almacenar las posiciones de nuestro robot y otro botón Reproducir para que el robot se mueva con las posiciones que ya le hemos grabado.&lt;br /&gt;
&lt;br /&gt;
A continuación un esquema de como conectar la EEPROM.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-ESz6FqPlibI/TzmQfmI46ZI/AAAAAAAAAmE/rTXIiCvj4G4/s1600/ArduinoI2C.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-ESz6FqPlibI/TzmQfmI46ZI/AAAAAAAAAmE/rTXIiCvj4G4/s640/ArduinoI2C.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
Código:&lt;br /&gt;
&lt;blockquote&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
//***********************************************************************&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #7c492e;"&gt;#include &lt;/span&gt;&lt;span style="color: #da2e24;"&gt;"Wire.h"&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;        &lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #da2e24; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #7c492e;"&gt;#include &lt;/span&gt;"DynamixelSerial.h"&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;      &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #da2e24; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: #7c492e;"&gt;#include &lt;/span&gt;"NewSoftSerial.h"&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;           &lt;/span&gt;NewSoftSerial XSerial(&lt;span style="color: #2526d3;"&gt;5&lt;/span&gt;,&lt;span style="color: #2526d3;"&gt;6&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;char&lt;/span&gt; deviceADD = &lt;span style="color: #2526d3;"&gt;0x50&lt;/span&gt;;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;char&lt;/span&gt; Page = &lt;span style="color: #2526d3;"&gt;0&lt;/span&gt;, PageR = &lt;span style="color: #2526d3;"&gt;0&lt;/span&gt;;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;unsigned&lt;/span&gt; &lt;span style="color: #c22a9f;"&gt;char&lt;/span&gt; Position_Low_Byte;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;unsigned&lt;/span&gt; &lt;span style="color: #c22a9f;"&gt;char&lt;/span&gt; Position_High_Byte;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;unsigned&lt;/span&gt; &lt;span style="color: #c22a9f;"&gt;char&lt;/span&gt; Position_H, Position_L;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;long&lt;/span&gt; Position_Long_Byte, Position;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;     &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;void&lt;/span&gt; setup (){&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;XSerial.begin(&lt;span style="color: #2526d3;"&gt;9600&lt;/span&gt;); &lt;span style="color: #008419;"&gt;// Serial PC&lt;/span&gt;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;Wire.begin(); &lt;span style="color: #008419;"&gt;// I2C EEPROM&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: #008419; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;Dynamixel.begin(&lt;/span&gt;&lt;span style="color: #2526d3;"&gt;1000000&lt;/span&gt;&lt;span style="color: black;"&gt;,&lt;/span&gt;&lt;span style="color: #2526d3;"&gt;2&lt;/span&gt;&lt;span style="color: black;"&gt;); &lt;/span&gt;// Half Duplex USART Dynamixel Ax-12+&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;pinMode(&lt;span style="color: #2526d3;"&gt;13&lt;/span&gt;,OUTPUT);&lt;/div&gt;
&lt;div style="color: #da2e24; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span style="color: black;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;XSerial.println(&lt;/span&gt;"+ Comunicacion USART e I2C +"&lt;span style="color: black;"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;delay(&lt;span style="color: #2526d3;"&gt;1000&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;}&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;                     &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;void&lt;/span&gt; loop (){&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;if&lt;/span&gt; (digitalRead(&lt;span style="color: #2526d3;"&gt;3&lt;/span&gt;) == &lt;span style="color: #2526d3;"&gt;1&lt;/span&gt;){&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;digitalWrite(&lt;span style="color: #2526d3;"&gt;13&lt;/span&gt;,HIGH);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;delay(&lt;span style="color: #2526d3;"&gt;300&lt;/span&gt;)&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; Position = Dynamixel.readPosition(&lt;span style="color: #2526d3;"&gt;1&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; Position_H = Position &amp;gt;&amp;gt; &lt;span style="color: #2526d3;"&gt;8&lt;/span&gt;;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; Position_L = Position;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; XSerial.print(&lt;span style="color: #da2e24;"&gt;"Ax-12+: "&lt;/span&gt;);XSerial.println(Position);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; Wire.beginTransmission(deviceADD);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; Wire.send(&lt;span style="color: #2526d3;"&gt;0x00&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; Wire.send(Page);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; Wire.send(Position_L);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Wire.endTransmission();&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;delay(&lt;span style="color: #2526d3;"&gt;3&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Page++;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Wire.beginTransmission(deviceADD);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Wire.send(&lt;span style="color: #2526d3;"&gt;0x00&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Wire.send(Page);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Wire.send(Position_H);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Wire.endTransmission();&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;delay(&lt;span style="color: #2526d3;"&gt;3&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;digitalWrite(&lt;span style="color: #2526d3;"&gt;13&lt;/span&gt;,LOW);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Page++;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span style="color: #c22a9f;"&gt;if&lt;/span&gt; (digitalRead(&lt;span style="color: #2526d3;"&gt;4&lt;/span&gt;) == &lt;span style="color: #2526d3;"&gt;1&lt;/span&gt;){&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; digitalWrite(&lt;span style="color: #2526d3;"&gt;13&lt;/span&gt;,HIGH);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; delay(&lt;span style="color: #2526d3;"&gt;100&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; Wire.beginTransmission(deviceADD);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; Wire.send(&lt;span style="color: #2526d3;"&gt;0x00&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; Wire.send(&lt;span style="color: #2526d3;"&gt;0x00&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; Wire.endTransmission();&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; Wire.requestFrom(deviceADD,Page);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: #c22a9f;"&gt;while&lt;/span&gt; (Wire.available() &amp;lt; Page)&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; delay(&lt;span style="color: #2526d3;"&gt;1&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span style="color: #c22a9f;"&gt;for&lt;/span&gt;(&lt;span style="color: #c22a9f;"&gt;int&lt;/span&gt; i = &lt;span style="color: #2526d3;"&gt;0&lt;/span&gt;; i &amp;lt;(Page/&lt;span style="color: #2526d3;"&gt;2&lt;/span&gt;);i++){&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; Position_Low_Byte = Wire.receive();&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; Position_High_Byte = Wire.receive();&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; Wire.endTransmission();&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; Position_Long_Byte = Position_High_Byte &amp;lt;&amp;lt; &lt;span style="color: #2526d3;"&gt;8&lt;/span&gt;;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; Position_Long_Byte =Position_Long_Byte + Position_Low_Byte;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; XSerial.print(&lt;span style="color: #da2e24;"&gt;"EEPROM: "&lt;/span&gt;);XSerial.println(Position_Long_Byte);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; Dynamixel.move(&lt;span style="color: #2526d3;"&gt;1&lt;/span&gt;,Position_Long_Byte);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; delay(&lt;span style="color: #2526d3;"&gt;1000&lt;/span&gt;);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;digitalWrite(&lt;span style="color: #2526d3;"&gt;13&lt;/span&gt;,LOW);&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Page = &lt;span style="color: #2526d3;"&gt;0&lt;/span&gt;;&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;Dynamixel.torqueStatus(&lt;span style="color: #2526d3;"&gt;1&lt;/span&gt;,OFF);&lt;span class="Apple-style-span" style="font-family: Times; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
}&lt;/div&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
}&lt;span class="Apple-style-span" style="font-family: Times; font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;div style="font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;
//************************************************************************&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt;
Posibles Problemas:&lt;/div&gt;
&lt;div&gt;
Estos problemas son muy comunes en este tipo de proyectos.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
- Conectar el pin WP de la EEPROM a GND.&lt;/div&gt;
&lt;div&gt;
-Verificar el Voltaje que soporta la EEPROM ya que puedes quemarla.&lt;/div&gt;
&lt;div&gt;
- Algunos Capacitores son recomendados para evitar ruidos.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-7515092337664949869?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/90kvxmuNuehXtA5sH6gDVZeH05E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/90kvxmuNuehXtA5sH6gDVZeH05E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/90kvxmuNuehXtA5sH6gDVZeH05E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/90kvxmuNuehXtA5sH6gDVZeH05E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/m1pH_SFgimw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/7515092337664949869/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/03/arduino-y-las-memorias-eeprom-i2c.html#comment-form" title="0 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/7515092337664949869?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/7515092337664949869?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/m1pH_SFgimw/arduino-y-las-memorias-eeprom-i2c.html" title="Arduino y las Memorias EEPROM I2C" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-ESz6FqPlibI/TzmQfmI46ZI/AAAAAAAAAmE/rTXIiCvj4G4/s72-c/ArduinoI2C.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/03/arduino-y-las-memorias-eeprom-i2c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkINR3cyfCp7ImA9WhRaGEU.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-1115468473592582062</id><published>2011-01-22T17:46:00.000-08:00</published><updated>2012-02-21T20:23:16.994-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-21T20:23:16.994-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Dynamixel Ax-12+" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><title>Arduino y Dynamixel AX-12</title><content type="html">&lt;div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span class="Apple-style-span" style="font-family: georgia;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;a href="http://2.bp.blogspot.com/-ahU9nDL2fRU/Tv-tWgBKzOI/AAAAAAAAAc4/V87EVMn1SCk/s1600/Dynamixel.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="304" src="http://2.bp.blogspot.com/-ahU9nDL2fRU/Tv-tWgBKzOI/AAAAAAAAAc4/V87EVMn1SCk/s320/Dynamixel.png" width="320" /&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="color: #1b1d1d; font-family: 'Menlo Regular'; font-size: 15px;"&gt;Después de un largo tiempo he aquí una
Biblioteca para controlar los actuadores &lt;/span&gt;&lt;span class="Apple-style-span" style="color: #1b1d1d; font-family: 'Menlo Regular'; font-size: 15px;"&gt;&lt;span style="color: #246bfe; text-decoration: none;"&gt;Ax-12A de Dynamixel.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;span lang="ES" style="color: #1b1d1d; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Estos Servos son bastante increíbles,
parece que no les podría faltar nada, ya que pueden devolver Temperatura
interna, Voltaje, Posición y Velocidad; Esto lo logra ya que tiene un
microcontrolador ATmega8 el cual se comunica atravez de Half Duplex UART-TTL.&lt;/span&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;i style="mso-bidi-font-style: normal;"&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Estas bibliotecas sirven para comunicarse con
los servomotores Dynamixel de varias formas en diferentes pines de las placas
Arduino.&lt;/span&gt;&lt;br /&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;La comunicación se realiza a través del
puerto Serie (UART o USART) del Arduino por lo que estos puertos utilizados se
volverán exclusivos para comunicarse con el servomotor Dynamixel.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;La alimentación de estos Servos es con una
fuente de 9.6v y uniendo la tierra del arduino con la tierra de la fuente del
Servo para que la comunicación no tenga errores de interpretación y la
biblioteca pueda funcionar correctamente.&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular'; font-size: 15px;"&gt;La alimentación del Servo y del Arduino
también puede ser de la misma fuente por lo que Vin del Arduino tendrá que
tener un voltaje de 9.6v (Este es el voltaje sugerido por Robotis).&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: georgia; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-P6VqlKsifvY/Tv-nsgx5JrI/AAAAAAAAAlU/68xLMfFXooo/s1600/PW_Arduino.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="244" src="http://3.bp.blogspot.com/-P6VqlKsifvY/Tv-nsgx5JrI/AAAAAAAAAlU/68xLMfFXooo/s640/PW_Arduino.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style="text-align: center;"&gt;
&lt;div style="text-align: left;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Las conexiones de alimentación del Servo con
otras versiones y modelos de arduino funcionan de la misma forma.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;div&gt;
&lt;div style="font-family: georgia;"&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;Para utilizar estas bibliotecas se necesita
un buffer tri-estado, se puede hacer con dos circuitos integrados &lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;74HC04 y 74HC126&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; tal como recomienda Bioloid y utiliza en sus
controladores o pueden usar un solo circuito integrado &lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;74LS&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;241 que yo
recomiendo ya que es más sencillo de utilizar y/o conectar.&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular'; font-size: 15px;"&gt;Los pines de comunicación
cambiaran según sea la Biblioteca que se quiera utilizar.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: georgia;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular'; font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: georgia; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-lT6U7RctOW0/TyczHKk4mOI/AAAAAAAAAkA/OqNihkvTsYU/s1600/DynamixelCom.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="254" src="http://2.bp.blogspot.com/-lT6U7RctOW0/TyczHKk4mOI/AAAAAAAAAkA/OqNihkvTsYU/s640/DynamixelCom.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular';"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; font-family: georgia; text-align: center;"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia; text-align: left;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;Circuito Savage Electronics&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; -
&lt;/span&gt;&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Dynamixel Serial&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-Cjhc4F9or4k/Tv_T6XOaCVI/AAAAAAAAAdc/2jM0UELYrc4/s1600/DA_Serial.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="272" src="http://4.bp.blogspot.com/-Cjhc4F9or4k/Tv_T6XOaCVI/AAAAAAAAAdc/2jM0UELYrc4/s640/DA_Serial.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;



















&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;Circuito Savage Electronics&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; -
&lt;/span&gt;&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Dynamixel Serial1&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-a9mEbZuD08M/Tv_UXhUN97I/AAAAAAAAAdk/oN5moloYEzY/s1600/DA_Serial1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="308" src="http://4.bp.blogspot.com/-a9mEbZuD08M/Tv_UXhUN97I/AAAAAAAAAdk/oN5moloYEzY/s640/DA_Serial1.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;



















&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;Circuito Savage Electronics&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; -
&lt;/span&gt;&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Dynamixel Serial2&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-jboDTDVi_rA/Tv_UqSkVfXI/AAAAAAAAAds/RKDGxjboRdM/s1600/DA_Serial2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="308" src="http://2.bp.blogspot.com/-jboDTDVi_rA/Tv_UqSkVfXI/AAAAAAAAAds/RKDGxjboRdM/s640/DA_Serial2.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; color: black; text-align: center;"&gt;
&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular';"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="font-family: georgia;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;



















&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;Circuito Savage Electronics&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; -
&lt;/span&gt;&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Dynamixel Serial3&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-vnMI6AbwJi8/Tv_VAKzt3dI/AAAAAAAAAd0/GMZkFawHsCY/s1600/DA_Serial3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="308" src="http://3.bp.blogspot.com/-vnMI6AbwJi8/Tv_VAKzt3dI/AAAAAAAAAd0/GMZkFawHsCY/s640/DA_Serial3.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: 'Menlo Regular';"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;



















&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: #6fa8dc;"&gt;Circuito Savage Electronics&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt; -
&lt;/span&gt;&lt;span lang="ES" style="font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;span class="Apple-style-span" style="color: orange;"&gt;Dynamixel SoftSerial&lt;/span&gt;&lt;/span&gt;&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-NxrFImWndaQ/Tv_Va3OY07I/AAAAAAAAAlY/EeWXiR3LheA/s1600/DA_SoftSerial.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="272" src="http://4.bp.blogspot.com/-NxrFImWndaQ/Tv_Va3OY07I/AAAAAAAAAlY/EeWXiR3LheA/s640/DA_SoftSerial.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;span lang="ES" style="color: black; font-family: 'Menlo Regular';"&gt;&lt;a href="http://savageelectronics.blogspot.com/2011/08/actualizacion-biblioteca-dynamixel.html" target=""&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Descarga aquí la biblioteca que más se te acomode junto con documentación y ejemplos.&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: 11pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: left;"&gt;
&lt;div style="text-align: center;"&gt;
&lt;span lang="ES" style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;b&gt;Video Demostrativo:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;span lang="ES" style="color: #3d85c6; font-family: 'Menlo Regular'; font-size: 11pt;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: center;"&gt;
&lt;div style="text-align: left;"&gt;
&lt;div style="text-align: center;"&gt;
&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: georgia;"&gt;&lt;iframe allowfullscreen="" frameborder="0" height="295" src="http://www.youtube.com/embed/5CStCa2ISt8?fs=1" width="480"&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: center;"&gt;
&lt;div style="text-align: left;"&gt;
&lt;div style="text-align: center;"&gt;
&lt;span class="Apple-style-span" style="font-family: georgia;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-1115468473592582062?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/t4YfC0zAXFrsqlqWKtB4cHzgbN4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/t4YfC0zAXFrsqlqWKtB4cHzgbN4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/t4YfC0zAXFrsqlqWKtB4cHzgbN4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/t4YfC0zAXFrsqlqWKtB4cHzgbN4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/R07mz4R0zfI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/1115468473592582062/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2011/01/arduino-y-dynamixel-ax-12.html#comment-form" title="141 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/1115468473592582062?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/1115468473592582062?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/R07mz4R0zfI/arduino-y-dynamixel-ax-12.html" title="Arduino y Dynamixel AX-12" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-ahU9nDL2fRU/Tv-tWgBKzOI/AAAAAAAAAc4/V87EVMn1SCk/s72-c/Dynamixel.png" height="72" width="72" /><thr:total>141</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2011/01/arduino-y-dynamixel-ax-12.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YFSXk4eyp7ImA9WhdSEU0.&quot;"><id>tag:blogger.com,1999:blog-4082701463892798889.post-4309471980628629273</id><published>2010-06-16T09:39:00.000-07:00</published><updated>2011-07-19T13:58:38.733-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-19T13:58:38.733-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="APR9600" /><title>Circuito Grabador de Audio APR9600</title><content type="html">Hola, APlus diseño un circuito que es capaz de grabar y reproducir audio por 60 segundos en un solo chip y para hacerlo funcionar solo hace falta unos cuantos componentes como resistencias capacitores y por supuesto un micrófono, La calidad del audio y la duración de este depende de la resistencia "OscR" la cual le va a decir al chip de que calidad se debe guardar el audio.&lt;br /&gt;
&lt;br /&gt;
Para una grabación de 60 segundos se necesita de una resistencia "OscR" de 8K4 Ohms, para una grabación de 40 segundos se necesita una resistencia de 38 KOhms y para una grabación de 32 segundos se necesita una resistencia de 24 KOhms, por supuesto que para estas resistencias deberemos comprar valores comerciales por ejemplo para una grabación de 40 segundos pondremos una resistencia de 39 KOhms.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://4.bp.blogspot.com/_Ak7lDdVFJ84/TBj-zn4LpHI/AAAAAAAAACY/e9VTXA2AQHw/s1600/16062010114.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5483412709154989170" src="http://4.bp.blogspot.com/_Ak7lDdVFJ84/TBj-zn4LpHI/AAAAAAAAACY/e9VTXA2AQHw/s400/16062010114.jpg" style="cursor: hand; cursor: pointer; display: block; height: 300px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Un pequeño inconveniente de este circuito es que el audio que es capaz de emitir es de un volumen muy bajo por lo que es recomendable hacer un pequeño amplificador de audio, yo recomiendo el LM386 ya que esta al alcance de todos y ademas muy sencillo de usar.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://4.bp.blogspot.com/_Ak7lDdVFJ84/TBkCKybh_qI/AAAAAAAAACg/dasjrsa-Tog/s1600/16062010118.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5483416405659483810" src="http://4.bp.blogspot.com/_Ak7lDdVFJ84/TBkCKybh_qI/AAAAAAAAACg/dasjrsa-Tog/s400/16062010118.jpg" style="cursor: hand; cursor: pointer; display: block; height: 300px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Bueno y realmente es sencillo de armar, a mi me ha quedado así :P.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://4.bp.blogspot.com/_Ak7lDdVFJ84/TBkGJYzPsHI/AAAAAAAAACo/8zbgoOvT-e8/s1600/16062010122.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5483420779646267506" src="http://4.bp.blogspot.com/_Ak7lDdVFJ84/TBkGJYzPsHI/AAAAAAAAACo/8zbgoOvT-e8/s400/16062010122.jpg" style="cursor: hand; cursor: pointer; display: block; height: 300px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4082701463892798889-4309471980628629273?l=savageelectronics.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TF17rWsRTCAyl_T4BmYa_iHxbIo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TF17rWsRTCAyl_T4BmYa_iHxbIo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TF17rWsRTCAyl_T4BmYa_iHxbIo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TF17rWsRTCAyl_T4BmYa_iHxbIo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SavageElectronics/~4/b2Ro5ohUk8o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://savageelectronics.blogspot.com/feeds/4309471980628629273/comments/default" title="Enviar comentarios" /><link rel="replies" type="text/html" href="http://savageelectronics.blogspot.com/2010/06/circuito-grabador-de-audio-apr9600.html#comment-form" title="19 comentarios" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/4309471980628629273?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4082701463892798889/posts/default/4309471980628629273?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SavageElectronics/~3/b2Ro5ohUk8o/circuito-grabador-de-audio-apr9600.html" title="Circuito Grabador de Audio APR9600" /><author><name>Josué Alejandro Savage</name><uri>https://profiles.google.com/104378350389712354860</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-eevr06_W4hY/AAAAAAAAAAI/AAAAAAAAAS8/0JwuHUvbZmo/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_Ak7lDdVFJ84/TBj-zn4LpHI/AAAAAAAAACY/e9VTXA2AQHw/s72-c/16062010114.jpg" height="72" width="72" /><thr:total>19</thr:total><feedburner:origLink>http://savageelectronics.blogspot.com/2010/06/circuito-grabador-de-audio-apr9600.html</feedburner:origLink></entry></feed>

