<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9089997477056955832</id><updated>2025-04-29T17:16:35.900-07:00</updated><title type='text'>Cómputo Integrado</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-1973813743688724114</id><published>2012-05-08T14:50:00.000-07:00</published><updated>2012-05-08T14:50:40.216-07:00</updated><title type='text'>Proyecto PIC : Generador de números pseudoaleatorios</title><content type='html'>La idea de este proyecto es por medio de un microcontrolador pic generar número pseudoaleatorios en un display de 7 segmentos de cátodo común.&lt;br /&gt;
&lt;br /&gt;
Para ello se necesitaron los siguientes materiales:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Cables&amp;nbsp; macho&lt;/li&gt;
&lt;li&gt;8 resistencias de 330 ohms&lt;/li&gt;
&lt;li&gt;1 Display de 7 segmentos de cátodo común&lt;/li&gt;
&lt;li&gt;Protoboard&lt;/li&gt;
&lt;/ul&gt;
Y la fuente de energía es un Arduino, donde le doy 5V.&lt;br /&gt;
&lt;br /&gt;
El código fue hecho en basic con la IDE de MicroCode Studio&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=smK8PBf8&quot; style=&quot;border: none; height: 100%; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
En el código se hizo un arreglo el cuál cada número se representa en binario hacía el PIC el cuál lo interpretará y dará la salida hacía las salidas B, para tomar el número pseudoaleatorio se tomó por medio de un algoritmo &lt;a href=&quot;http://en.wikipedia.org/wiki/Linear_congruential_generator&quot;&gt;&quot;Generador de congruencia lineal &lt;/a&gt;&quot; donde c y m son números relativamente primos (que no tienen factores en común), a-1 es divisible entre todos los factores primos de m.&lt;br /&gt;
&lt;br /&gt;
Video del proyecto funcionando:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dxM2EP2cDXOCM2L8gND37yv-15y-ZbHKiwaDmB7rCQzXxR6wkgU-nfg3Quvo_fXGzphzxcKSP7r1uFBVLegrA&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/1973813743688724114/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/05/proyecto-pic-generador-de-numeros.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/1973813743688724114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/1973813743688724114'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/05/proyecto-pic-generador-de-numeros.html' title='Proyecto PIC : Generador de números pseudoaleatorios'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-1565702607351536998</id><published>2012-04-13T18:20:00.002-07:00</published><updated>2012-04-13T18:20:51.890-07:00</updated><title type='text'>Usando potenciómetro de membrana SoftPod con Arduino</title><content type='html'>Ahora hablaremos del potenciómetro de membrana SoftPot, en si es un potenciómetro variable muy delgado, el cual si es presionado hacia abajo en varias partes de la tira, la resistencia cambia linealmente desde 100 ohms a 10,000 ohmios y este te permite calcular con gran precisión la posición relativa en la tira, estos potenciómetros gracias a que trabajan muy bien con el dedo son utilizados en dispositivos como iPod Classic, algunos reproductores mp4, blue ray, televisiones, entre otros más.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkzIqwk8lG3cQxCm4d337jWGivUcwfLbq4Oc_MOTw_vl0H6U1brzAm3XbqcC8CVw4wz40zhGy8Q8Zec8DBd9NuSVD9NdQfBNX-29og0xeQqR9Ll3Fwgf0lz4zEerWjFB85tkPs8BD-rdGN/s1600/2012-04-13+17.31.25.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkzIqwk8lG3cQxCm4d337jWGivUcwfLbq4Oc_MOTw_vl0H6U1brzAm3XbqcC8CVw4wz40zhGy8Q8Zec8DBd9NuSVD9NdQfBNX-29og0xeQqR9Ll3Fwgf0lz4zEerWjFB85tkPs8BD-rdGN/s400/2012-04-13+17.31.25.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Como vemos el primer pin es de corriente, el segundo pin es de salida y el tercer pin es de tierra.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJF1-bMvrgmbDhRGoyTL34KSE6Bvz6fnQL6f8P7fEve9vWZDDCoh50t0cN_I9IbQYVzhhKvB3fzgG9GTEhpRWwSqDAmEWpx2FZ8FqASdlyoziIQc3Z2MV6PxaDLPZSLz5pmlY7BTnG6myR/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+18.58.13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJF1-bMvrgmbDhRGoyTL34KSE6Bvz6fnQL6f8P7fEve9vWZDDCoh50t0cN_I9IbQYVzhhKvB3fzgG9GTEhpRWwSqDAmEWpx2FZ8FqASdlyoziIQc3Z2MV6PxaDLPZSLz5pmlY7BTnG6myR/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+18.58.13.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Para nuestro circuito necesitaremos una resistencia 10 k ohms y el potenciómetro de membrana SoftPod, ahora mostrare como quedará nuestro circuito.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFal8d3GtZ_QEn8o3e4FhUEKV2Esr7bhmhMTffGbsonJUFBRI15REjMh-zZl4_GZ3-gVLHjThdaatzOi3o_TFnlPw5VMJLGjHB6lfGgZRrRAr2hvcfLBsFVWO0mh4oqgmf05jEip1N7MsP/s1600/2012-04-13+18.13.53.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFal8d3GtZ_QEn8o3e4FhUEKV2Esr7bhmhMTffGbsonJUFBRI15REjMh-zZl4_GZ3-gVLHjThdaatzOi3o_TFnlPw5VMJLGjHB6lfGgZRrRAr2hvcfLBsFVWO0mh4oqgmf05jEip1N7MsP/s640/2012-04-13+18.13.53.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj17cgw5Ukc4q6JoiwwCRUyH0ct0hcvJD2ZGP5Zc2BZBflbuieuqtlzwdXShq8QQDKYkk8BCqBFAOAzatWsq3LCNTFD9QEr-WSlLAT-yn0yKH-ALWJkAJriuGohvjOGStii_8w3RRX_bQ3B/s1600/2012-04-13+18.14.12.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj17cgw5Ukc4q6JoiwwCRUyH0ct0hcvJD2ZGP5Zc2BZBflbuieuqtlzwdXShq8QQDKYkk8BCqBFAOAzatWsq3LCNTFD9QEr-WSlLAT-yn0yKH-ALWJkAJriuGohvjOGStii_8w3RRX_bQ3B/s640/2012-04-13+18.14.12.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Ahora veamos el código:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=MEc7etpC&quot; style=&quot;border: none; height: 55%; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
Una vez cargado el sketch en el Serial Monitor podremos ver algo como debajo, existen valores de 0 a 1023 donde si presionas o tocas la parte de arriba tiene valor de 0 así hasta llegar a 1023 de arriba hacia abajo.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2ldby9qg9PBnqscVxmMU2pIr7HshA5C7Ha6m7_C4RDImyPTLb8Zm48exupPIlYPVemY1aelmhKUIZVTQr8R2iCGyWnFNkeuXT8KVQtDr7xgMoYTRGUXickrXx8pl-A9nBjfABzocuP98O/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+19.07.33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2ldby9qg9PBnqscVxmMU2pIr7HshA5C7Ha6m7_C4RDImyPTLb8Zm48exupPIlYPVemY1aelmhKUIZVTQr8R2iCGyWnFNkeuXT8KVQtDr7xgMoYTRGUXickrXx8pl-A9nBjfABzocuP98O/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+19.07.33.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Si quieres encontrar el lado divertido a este componente y disfrutar de ello,&amp;nbsp; puedes correr este código el cual es un juego en el que usas como mando este potenciómetro que está hecho en processing y corre bajo la misma IDE de Processing.Dicho código lo encontre en está&lt;a href=&quot;http://ee.walfas.org/2010/12/05/arduino-softpot-potentiometer-game/&quot; target=&quot;_blank&quot;&gt; página&lt;/a&gt; así que no soy el autor de el mismo.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://ee.walfas.org/2010/12/05/arduino-softpot-potentiometer-game/&quot;&gt;http://ee.walfas.org/2010/12/05/arduino-softpot-potentiometer-game/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Para ello tienes que modificar la línea 12 y colocar el nombre del puerto tuyo, al igual que crear en la carpeta donde guardaras el juego un archivo llamado &quot;score.dat&quot; donde la primer línea será un número cualquiera.&lt;br /&gt;
&lt;br /&gt;
Aquí está una captura del juego:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg8R6cARGpcVBa_YPL-hM269t1rT6G9NtcDm8h-nN2tQRdH_pUXrEXZdxdG7NO6YRZzfE3PFDfb8aBYE31aUld0bXWFIr6OCtCT6DBOKOYAgkXg-OoknT5rotx4iyNj11cBbYKFzqXR0oA/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+19.41.00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg8R6cARGpcVBa_YPL-hM269t1rT6G9NtcDm8h-nN2tQRdH_pUXrEXZdxdG7NO6YRZzfE3PFDfb8aBYE31aUld0bXWFIr6OCtCT6DBOKOYAgkXg-OoknT5rotx4iyNj11cBbYKFzqXR0oA/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+19.41.00.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Se recomienda usar una pluma con tapón para poder manejar de una manera agradable.&lt;br /&gt;
&lt;br /&gt;
Ahora veremos un video del juego:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dwzrNfkTO4rjUExEjqoxSuf6AI-qmB6YLb3_nMLQjFg-Efs8GH61TfkRZhXBgsOeTOp8nVRddiQQz7T9_jv-Q&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
Links de referencia:&lt;br /&gt;
&lt;br /&gt;
Información del potenciómetro&lt;br /&gt;
&lt;a href=&quot;http://www.tiendaderobotica.com/tienda/Sensores/FlexibleFuerza/PotenciometroMembranaSoftPot50mm&quot;&gt;http://www.tiendaderobotica.com/tienda/Sensores/FlexibleFuerza/PotenciometroMembranaSoftPot50mm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Juego&lt;br /&gt;
&lt;a href=&quot;http://ee.walfas.org/2010/12/05/arduino-softpot-potentiometer-game/&quot;&gt;http://ee.walfas.org/2010/12/05/arduino-softpot-potentiometer-game/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/1565702607351536998/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/04/usando-potenciometro-de-membrana.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/1565702607351536998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/1565702607351536998'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/04/usando-potenciometro-de-membrana.html' title='Usando potenciómetro de membrana SoftPod con Arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkzIqwk8lG3cQxCm4d337jWGivUcwfLbq4Oc_MOTw_vl0H6U1brzAm3XbqcC8CVw4wz40zhGy8Q8Zec8DBd9NuSVD9NdQfBNX-29og0xeQqR9Ll3Fwgf0lz4zEerWjFB85tkPs8BD-rdGN/s72-c/2012-04-13+17.31.25.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-5010168528542937259</id><published>2012-04-13T14:54:00.000-07:00</published><updated>2012-04-13T18:03:27.063-07:00</updated><title type='text'>Usando un buzzer con Arduino</title><content type='html'>De lo que hablaremos será de los buzzer o también conocidos como zumbador , el cual es un transductor electroacústico que produce un sonido o zumbido continuo o intermitente de un mismo tono, es usado como mecanismo de señalización o aviso, y son utilizados en múltiples sistemas como en autos o en electrodomésticos.Este consta de dos componentes, un electroimán y una lámina metálica de acero.&lt;br /&gt;
&lt;br /&gt;
Ya definido esto veremos los pines del buzzer.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdmJcWZHZWsj_JIQVDv33TDsNHSlud-tvZ2pUnaXhm_7LS02ZjYmtjFIDR1RpwSOuYYsB61pCxYMC-yNZNFeTbkhZxNZQKJzoMuRZE9Mbong1S4avfm-JmVTeZOa1uCLGYqAJ52KRipdad/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+15.17.27.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdmJcWZHZWsj_JIQVDv33TDsNHSlud-tvZ2pUnaXhm_7LS02ZjYmtjFIDR1RpwSOuYYsB61pCxYMC-yNZNFeTbkhZxNZQKJzoMuRZE9Mbong1S4avfm-JmVTeZOa1uCLGYqAJ52KRipdad/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+15.17.27.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Antes de ir al circuito necesitaremos una resistencia de 100 ohms y el buzzer.Una vez obtenidos los materiales pasaremos al circuito.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhENNlQkEOko1v2GGYXPzNMeEHukPQs6kw15GC2HmI7KHYOE7ur9eDPSP-D3BWUcJYRtwXATRDa4CwI5HsvipBvAeTsk3yxKlwPuHbsmDDjBjzCdXI4gdiVwE8lKO65NzYDaUAmj4osgqVJ/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+15.20.35.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhENNlQkEOko1v2GGYXPzNMeEHukPQs6kw15GC2HmI7KHYOE7ur9eDPSP-D3BWUcJYRtwXATRDa4CwI5HsvipBvAeTsk3yxKlwPuHbsmDDjBjzCdXI4gdiVwE8lKO65NzYDaUAmj4osgqVJ/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+15.20.35.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Ahora veamos el código:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=mZN3vS2Z&quot; style=&quot;border: none; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
Ahora vemos el video de como funciona nuestro código :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dzp_U_R0r6Ee5C_26VJwpI21Dn1aSSrMDQqt0FOE_nfnN3rOk9fgenqgHVzfaWeGnhILpnMdC-Mdi_-8y7l&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
Ahora probemos un código ejemplo con una melodía muy conocida, pero primero oigamos la melodia:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;344&quot; src=&quot;http://www.youtube.com/embed/4Diu2N8TGKA?fs=1&quot; width=&quot;459&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Código debajo fue tomado de está &lt;a href=&quot;http://www.instructables.com/id/Play-the-French-Can-Can-Using-an-Arduino-and-Buzze/step9/Play-the-Can-Can/&quot; target=&quot;_blank&quot;&gt;página&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=uNTTTLKs&quot; style=&quot;border: none; height: 100%; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
Ahora veamos el sonido que nos genera:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dwCg3deAnsrWtKgmhXPfqtQl489xpSXYg75FcvBHGRcBbBlxL5Xd-8F_icTp2TKjM2D0C1Y7lY-pJRXzr9_rg&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/5010168528542937259/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/04/usando-un-buzzer-con-arduino.html#comment-form' title='6 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/5010168528542937259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/5010168528542937259'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/04/usando-un-buzzer-con-arduino.html' title='Usando un buzzer con Arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdmJcWZHZWsj_JIQVDv33TDsNHSlud-tvZ2pUnaXhm_7LS02ZjYmtjFIDR1RpwSOuYYsB61pCxYMC-yNZNFeTbkhZxNZQKJzoMuRZE9Mbong1S4avfm-JmVTeZOa1uCLGYqAJ52KRipdad/s72-c/Captura+de+pantalla+2012-04-13+a+la%28s%29+15.17.27.png" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-8801290631465286940</id><published>2012-04-13T12:23:00.001-07:00</published><updated>2012-04-13T12:23:11.756-07:00</updated><title type='text'>Uso de Flex Sensor con Arduino</title><content type='html'>Ahora hablemos primero del flex sensor para saber&amp;nbsp; que estamos usando, dicho sensor tiene en sí varios sensores que cambian en la resistencia en función de la cantidad de curvatura que se le emplea, convierten el cambio en la curva a la resistencia eléctrica a mayor sea la curva, mayor será el valor de la resistencia.Se emplean en los guantes para detectar el movimiento del dedo, para controlar automóviles, productos de fitness, aparatos de medición , tecnología de asistencia, instrumentos musicales, smartphones, entre otros.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvP8gfSqqD0Ij3_9jkeZFn1ABUxUalj_IBcbOSQsKYOB9pRs5FFBbs5jESGLRNXDU9qikQgJ0P4fDZqd1sj5PX6Zt1nl-RyMh969J0RNVRt33rRuqSJxIec_sfA2E70HpAhOgkVdlT-CKP/s1600/hypersenseglove.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvP8gfSqqD0Ij3_9jkeZFn1ABUxUalj_IBcbOSQsKYOB9pRs5FFBbs5jESGLRNXDU9qikQgJ0P4fDZqd1sj5PX6Zt1nl-RyMh969J0RNVRt33rRuqSJxIec_sfA2E70HpAhOgkVdlT-CKP/s1600/hypersenseglove.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Su principal desarrolló inicial fue para las bolsas de aire para los carros, hoy en día se usa hasta en bocinas de los carros, juguetes que detectan diferentes grados de presión o de flexión entre otros.&lt;br /&gt;
&lt;br /&gt;
Ahora veamos los pines del flex sensor:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguVyCudYbv7yaqIo7sB1vzdztTchfL5ec6LGHEv5RYhOM30DyEjV_7OCcPk4qm3U5uRtw-hSXkTuPzL5N-607jRlfTqwMMkFepbLtnHkDIMceY61iL687DQYWXmGYqKmyCCBGW2kDcv8dU/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+13.46.31.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguVyCudYbv7yaqIo7sB1vzdztTchfL5ec6LGHEv5RYhOM30DyEjV_7OCcPk4qm3U5uRtw-hSXkTuPzL5N-607jRlfTqwMMkFepbLtnHkDIMceY61iL687DQYWXmGYqKmyCCBGW2kDcv8dU/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+13.46.31.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Ahora que entendemos que es, necesitaremos una resistencia de 330 ohms y el flex sensor.Una vez obtenido el material pasaremos al circuito.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-bwqYnPl2ACskNI-mVyeQwgM1tmzrIf_P08dNMEd55GYad-zUkdZRgEVRxKRveA6JZVOruJ6Vht3lbq7Lam1O7cy0jPygNSAEMimiAqjAimNlflCKrpWUu-PjeV7U4NO_xy8ZZ-_o88DG/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+13.45.11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-bwqYnPl2ACskNI-mVyeQwgM1tmzrIf_P08dNMEd55GYad-zUkdZRgEVRxKRveA6JZVOruJ6Vht3lbq7Lam1O7cy0jPygNSAEMimiAqjAimNlflCKrpWUu-PjeV7U4NO_xy8ZZ-_o88DG/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+13.45.11.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;Ahora veamos código:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=AJaaK2Az&quot; style=&quot;border: none; height: 55%; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
Obtendremos algo como esto:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuSG8C0pBBfLbfn7q5mSt6VNSKWh866-HhiavxlZOsX-L7dmgaos2oQI0BCtEfYGxP7jB-Z28gJJquqWBQj-yf_I-cz9aInqVraZx-e2eIsEb6A7Yu_U3cHdKRv2fjUmsHxRXPLGnRv9Sh/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+14.21.51.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuSG8C0pBBfLbfn7q5mSt6VNSKWh866-HhiavxlZOsX-L7dmgaos2oQI0BCtEfYGxP7jB-Z28gJJquqWBQj-yf_I-cz9aInqVraZx-e2eIsEb6A7Yu_U3cHdKRv2fjUmsHxRXPLGnRv9Sh/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+14.21.51.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Links de referencia:&lt;br /&gt;
Imagen guante&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/createdigitalmusic.com&quot;&gt;http://www.createdigitalmusic.com&lt;/a&gt;
&lt;br /&gt;
Información de flex sensor&lt;br /&gt;
&amp;nbsp;&lt;a href=&quot;http://itp.nyu.edu/physcomp/sensors/Reports/Flex&quot;&gt;http://itp.nyu.edu/physcomp/sensors/Reports/Flex&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/8801290631465286940/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/04/uso-de-flex-sensor-con-arduino.html#comment-form' title='6 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8801290631465286940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8801290631465286940'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/04/uso-de-flex-sensor-con-arduino.html' title='Uso de Flex Sensor con Arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvP8gfSqqD0Ij3_9jkeZFn1ABUxUalj_IBcbOSQsKYOB9pRs5FFBbs5jESGLRNXDU9qikQgJ0P4fDZqd1sj5PX6Zt1nl-RyMh969J0RNVRt33rRuqSJxIec_sfA2E70HpAhOgkVdlT-CKP/s72-c/hypersenseglove.jpg" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-8122399991094462531</id><published>2012-04-13T10:36:00.001-07:00</published><updated>2012-04-13T10:47:01.380-07:00</updated><title type='text'>Usando un LED RBG con Arduino</title><content type='html'>En está entrada explicaremos un ejemplo usando un LED RGB, para ello necesitaremos 1 resistencia de 330 ohms, 2 de 220 ohms y por lógica un LED RGB, si no tienes ninguna resistencia así puedes sustituirlas por un de 100 ohms y dos de 150 ohms o de igual manera siempre y cuando se mantenga cerca del valor, muchas veces depende del LED RGB, para ello es recomendado ver su datasheet.&lt;br /&gt;
&lt;br /&gt;
Antes de crear el circuito debemos entender para que es cada pin del LED.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdNF6DLOgZUNG9nzoYVBSlXH3VPiFYRWbEtzqw20sGm-F2xinec0FEHx095hdEQlM5WU-a99pdA9wv2BOMnDyUCDnUyfvqlmHqY7Y-siJdj8hIWjv-r81aub3KKhgzNWh0wdPFPpkP6ro0/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+11.58.27.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdNF6DLOgZUNG9nzoYVBSlXH3VPiFYRWbEtzqw20sGm-F2xinec0FEHx095hdEQlM5WU-a99pdA9wv2BOMnDyUCDnUyfvqlmHqY7Y-siJdj8hIWjv-r81aub3KKhgzNWh0wdPFPpkP6ro0/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+11.58.27.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
El circuito debe quedar de la siguiente manera:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYOsK7hUidSSCSquqX_e9GGsp7RU17xVFm5XEugacMuypfp238X-jalQXm4U4l0ODhegnu6zoF_uZtwO27NaZjjHW5so9WnNw3rL9CaVF0T6UJTzw0WbtgXrrZwCQ7C4_HPE6yxi57UrEv/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+11.59.58.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYOsK7hUidSSCSquqX_e9GGsp7RU17xVFm5XEugacMuypfp238X-jalQXm4U4l0ODhegnu6zoF_uZtwO27NaZjjHW5so9WnNw3rL9CaVF0T6UJTzw0WbtgXrrZwCQ7C4_HPE6yxi57UrEv/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+11.59.58.png&quot; /&gt;&lt;/a&gt; &lt;/div&gt;
&lt;br /&gt;
Donde el primer wire que está conectado al pin 9 va al primer pin del LED, la resistencia que está usando este mismo wire es de 330 ohms y las demás son de 220 ohms.El segundo wire del pin 10 va conectado al pin 4 del LED, el pin 11 va conectado al pin 3 del LED y el pin tierra que va al segundo pin del LED.&lt;br /&gt;
&lt;br /&gt;
Ahora veamos código:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=HkVT4REr&quot; style=&quot;border: none; height: 100%; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
Ahora veamos un video del cambio de colores:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dyJLRv2lUcKHAwkKy-XpfQu931mCgEaNKaJ8vjMxMdWXeT-74OPtdGYzeg0Bj5_to1sX_tUR-rOjzJX9Q_w4w&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
Ahora modifiquemos el código para generar más colores:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=pkWuKQDu&quot; style=&quot;border: none; height: 100%; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
Ahora veamos el video :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.blogger.com/video.g?token=AD6v5dwQqnSDt3XaSA05juEoXD-RUpFRwlOF7S8B1wLequ4uz0wbgIg80-JksuSrZvH2yjO2IXHsT_lCb3pDFvL9fg&#39; class=&#39;b-hbp-video b-uploaded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/8122399991094462531/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/04/usando-un-led-rbg-con-arduino.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8122399991094462531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8122399991094462531'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/04/usando-un-led-rbg-con-arduino.html' title='Usando un LED RBG con Arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdNF6DLOgZUNG9nzoYVBSlXH3VPiFYRWbEtzqw20sGm-F2xinec0FEHx095hdEQlM5WU-a99pdA9wv2BOMnDyUCDnUyfvqlmHqY7Y-siJdj8hIWjv-r81aub3KKhgzNWh0wdPFPpkP6ro0/s72-c/Captura+de+pantalla+2012-04-13+a+la%28s%29+11.58.27.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-5281309451428823572</id><published>2012-04-13T09:31:00.001-07:00</published><updated>2012-04-13T10:36:44.441-07:00</updated><title type='text'>Aprendiendo a usar un sensor de luz con Arduino</title><content type='html'>Una de las cosas que se utilizan en muchos proyectos son los sensores de luz, por ello explicaré un ejemplo usando un sensor de luz en arduino para ello necesitaremos un sensor de luz (o también llamado fotocelda) está cambia su resistencia dependiendo de la cantidad de luz a la que es expuesta, al igual que un arduino y una resistencia de 10 k.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Para comenzar colocare debajo un diagrama de como quedará el primer circuito de ejemplo.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcU4CY3OboeaTNjVQyG6QDZ3hO9cz-G_jCdBsWs7aCaouUg-njsZbhhd6vOzA6TRURU9NhpaT4CPuu4kcbncC6xV86SM76O1KHDs8W4MnApg-BuMNBwDkFbPBO1eq1i01UaliMFsl0y-rJ/s1600/Captura+de+pantalla+2012-04-13+a+la%2528s%2529+11.14.07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcU4CY3OboeaTNjVQyG6QDZ3hO9cz-G_jCdBsWs7aCaouUg-njsZbhhd6vOzA6TRURU9NhpaT4CPuu4kcbncC6xV86SM76O1KHDs8W4MnApg-BuMNBwDkFbPBO1eq1i01UaliMFsl0y-rJ/s1600/Captura+de+pantalla+2012-04-13+a+la%2528s%2529+11.14.07.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Explicaré de izquierda a derecha donde el primer wire es una carga de 5V, luego una entrada analógica en A0 y por un último tenemos tierra.Dicha fotocelda puede soportar hasta 120V, usamos la resistencia de 10k haciendo está aclaración, ya que en el diagrama se usa uno de 220 ohms y está resistencia es necesaria para evitar problemas en el arduino al momento de recibir voltaje de la fotocelda, por que como habíamos comentado todo depende de la luz a la que es expuesta está varia.&lt;/div&gt;
&lt;br /&gt;
Ahora pasaremos a la programación donde tenemos lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=pGiFd9V5&quot; style=&quot;border: none; height: 50%; width: 100%;&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;
&lt;br /&gt;
Ahora vemos que nos da de salida en serial monitor, podríamos ver algo como esto donde se expone de 0 a 1023 donde 0 no recepta luz y 1023 lo hace.Todo esto depende del voltaje que recibimos de la fotocelda, si recibimos un voltaje de 2.5V entocnes registraremos val como 512.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisLupg-39sQhbER0cZjkQyoYadRdvt_Jb-ocm3A7DNsVZUCggE9uGVm7qJnVa5uX7tWeaJxtLfA7DPPX3FcUWcxZlwZwScWiWmxSsmOPGuj0WwW4RtAPVMSC_bB5x3thea7EGPrlx4SyoO/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+11.30.15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisLupg-39sQhbER0cZjkQyoYadRdvt_Jb-ocm3A7DNsVZUCggE9uGVm7qJnVa5uX7tWeaJxtLfA7DPPX3FcUWcxZlwZwScWiWmxSsmOPGuj0WwW4RtAPVMSC_bB5x3thea7EGPrlx4SyoO/s1600/Captura+de+pantalla+2012-04-13+a+la%28s%29+11.30.15.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/5281309451428823572/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/04/aprendiendo-usar-un-sensor-de-luz-con.html#comment-form' title='9 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/5281309451428823572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/5281309451428823572'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/04/aprendiendo-usar-un-sensor-de-luz-con.html' title='Aprendiendo a usar un sensor de luz con Arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcU4CY3OboeaTNjVQyG6QDZ3hO9cz-G_jCdBsWs7aCaouUg-njsZbhhd6vOzA6TRURU9NhpaT4CPuu4kcbncC6xV86SM76O1KHDs8W4MnApg-BuMNBwDkFbPBO1eq1i01UaliMFsl0y-rJ/s72-c/Captura+de+pantalla+2012-04-13+a+la%2528s%2529+11.14.07.png" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-5830818302473783208</id><published>2012-03-29T08:56:00.000-07:00</published><updated>2012-11-27T11:04:36.098-08:00</updated><title type='text'>Creación de un programa en Ensamblador</title><content type='html'>El programa ha realizar será la Serie de Fibonacci( donde es una secuencia infinita de número que comienza por:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
1,&amp;nbsp; 1,&amp;nbsp; 2,&amp;nbsp; 3,&amp;nbsp; 5, 8, 13, ...&lt;/div&gt;
&lt;br /&gt;
En la que cada uno de ellos es la suma de los dos anteriores:
 &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
2=1+1, 3=2+1, 5=3+2, 13=8+5&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Ya explicado esto mostrare el código de como fue programado.&lt;/div&gt;
&lt;div class=&quot;code_box&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;iframe src=&quot;http://pastebin.com/embed_iframe.php?i=D5NwajXb&quot; style=&quot;border: none; width: 100%;&quot;&gt;&lt;/iframe&gt;

&lt;br /&gt;
Luego compilamos por medio de los siguientes comandos:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMVWVQttWGY95xI43ZqCRudEnIoTUpwJeXhp5leyNtzwubY03w7Fwmp-TwkDmgAYQQiKK1cRR7NpIi24fGQ4sJZ8KhyphenhyphenI3RvVnPZILVrg_RA-3oBkFZi4MjCUst3u7ICuUXWPwSDgYUTUU3/s1600/Captura+de+pantalla+2012-03-29+a+la%28s%29+09.47.55.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMVWVQttWGY95xI43ZqCRudEnIoTUpwJeXhp5leyNtzwubY03w7Fwmp-TwkDmgAYQQiKK1cRR7NpIi24fGQ4sJZ8KhyphenhyphenI3RvVnPZILVrg_RA-3oBkFZi4MjCUst3u7ICuUXWPwSDgYUTUU3/s1600/Captura+de+pantalla+2012-03-29+a+la%28s%29+09.47.55.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Luego nos crea un ejecutable:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9mfbYReP6oCZBM8GE8HJR3V2kZi57wgnxlQUBDFvJCwakgCVRph08xeuHjv_k3CR39_AFnGSku7crXpuQ-Q-UXueL7zQjGiOJ8JCc2yfe02I9pvwzzxl3P_V6XTe5hZEvsoM4u2OBHyll/s1600/Captura+de+pantalla+2012-03-29+a+la%28s%29+09.51.49.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9mfbYReP6oCZBM8GE8HJR3V2kZi57wgnxlQUBDFvJCwakgCVRph08xeuHjv_k3CR39_AFnGSku7crXpuQ-Q-UXueL7zQjGiOJ8JCc2yfe02I9pvwzzxl3P_V6XTe5hZEvsoM4u2OBHyll/s1600/Captura+de+pantalla+2012-03-29+a+la%28s%29+09.51.49.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Impresión:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9Xv9a-2qnU6XKvPzjTyPeaXpX6EnSI8Y1h3IGyMrPXEdm7ehyHl1fWaxI8Dh9QweQ1WU0a3a26bXDYd81Ja6DAceHRncXtCoCp_uujM3HhYd28axm8Dn9sCFf-L7srCyZ1_vrtCKtryrq/s1600/Captura+de+pantalla+2012-03-29+a+la%28s%29+09.53.41.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9Xv9a-2qnU6XKvPzjTyPeaXpX6EnSI8Y1h3IGyMrPXEdm7ehyHl1fWaxI8Dh9QweQ1WU0a3a26bXDYd81Ja6DAceHRncXtCoCp_uujM3HhYd28axm8Dn9sCFf-L7srCyZ1_vrtCKtryrq/s320/Captura+de+pantalla+2012-03-29+a+la%28s%29+09.53.41.png&quot; width=&quot;146&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Página que me ayudó a realizar lo anterior:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
http://learnassembler.com/&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/5830818302473783208/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/03/creacion-de-un-programa-en-ensamblador.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/5830818302473783208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/5830818302473783208'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/03/creacion-de-un-programa-en-ensamblador.html' title='Creación de un programa en Ensamblador'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMVWVQttWGY95xI43ZqCRudEnIoTUpwJeXhp5leyNtzwubY03w7Fwmp-TwkDmgAYQQiKK1cRR7NpIi24fGQ4sJZ8KhyphenhyphenI3RvVnPZILVrg_RA-3oBkFZi4MjCUst3u7ICuUXWPwSDgYUTUU3/s72-c/Captura+de+pantalla+2012-03-29+a+la%28s%29+09.47.55.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-7578801450629589288</id><published>2012-02-27T15:44:00.001-08:00</published><updated>2012-02-27T15:44:27.195-08:00</updated><title type='text'>¿Qué es fritzing?</title><content type='html'>En está entrada hablaremos de fritzing que es un programa de automatización de diseño electrónico libre que busca ayudar a diseñadores y artistas para que puedan pasar de prototipos a productos finales.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixLmUe7Pnbbz131EAUwtJaJE9wNZ89701zSjSOXtB3KNo7G3UzySOUZmtaJDEkkshrPhPBcahnErA06LlCMQtCaj-FO6pAI2hhxt9oxtXC-4U-CVABhEL-tP-t_E38rFhmRDVf8FrUz0wq/s1600/Captura+de+pantalla+2012-02-27+a+la%28s%29+13.24.22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixLmUe7Pnbbz131EAUwtJaJE9wNZ89701zSjSOXtB3KNo7G3UzySOUZmtaJDEkkshrPhPBcahnErA06LlCMQtCaj-FO6pAI2hhxt9oxtXC-4U-CVABhEL-tP-t_E38rFhmRDVf8FrUz0wq/s1600/Captura+de+pantalla+2012-02-27+a+la%28s%29+13.24.22.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Fritzing fue creado bajo los principios de Processing y Arduino, y permite a los diseñadores, artistas, investigadores y aficionados documentar sus prototipos basados en Arduino y crear esquemas de circuitos impresos para su posterior fabricación.Además cuenta con un sitio web complementario que ayuda a compartir y discutir bosquejos y experiencias y a reducir los costos de fabricación.&lt;br /&gt;
&lt;br /&gt;
Estos son unos de los prototipos que pueden ser hechos, estos que verán a continuación son de las entradas que he hecho anteriormente. &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivEQPGARpfWzBqHiAcDKk6Pyp7ydler0l9vcr052cfqiFVUSashxs8L-P08QRlNAuTFCiO7I5TNUynQpGVfn0fkcvGz0vCEYsXHED7ZbQmLEyovkAOucffCb6iL6J8sN-cLy5Q18Zwgrll/s1600/Captura+de+pantalla+2012-02-27+a+la%28s%29+16.51.07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;190&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivEQPGARpfWzBqHiAcDKk6Pyp7ydler0l9vcr052cfqiFVUSashxs8L-P08QRlNAuTFCiO7I5TNUynQpGVfn0fkcvGz0vCEYsXHED7ZbQmLEyovkAOucffCb6iL6J8sN-cLy5Q18Zwgrll/s320/Captura+de+pantalla+2012-02-27+a+la%28s%29+16.51.07.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiROivfmNA1JRowHlOucFtkboN8vroHQJvqF2uWowIHgWBAZlz4k3ygfBAP_ZHYMfXQK7MZ0sUqpJ4eKnHzGC0-XKam4DGroc4DDSKY-gJrAbcB1oV-BPqnH_hNpwyZ8QQSAtkmYvMHeVdG/s1600/Captura+de+pantalla+2012-02-27+a+la%28s%29+16.51.23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiROivfmNA1JRowHlOucFtkboN8vroHQJvqF2uWowIHgWBAZlz4k3ygfBAP_ZHYMfXQK7MZ0sUqpJ4eKnHzGC0-XKam4DGroc4DDSKY-gJrAbcB1oV-BPqnH_hNpwyZ8QQSAtkmYvMHeVdG/s320/Captura+de+pantalla+2012-02-27+a+la%28s%29+16.51.23.png&quot; width=&quot;282&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
En esta herramienta puedes encontrar desde el Arduino UNO, MEGA, resistencias, wires, protoboards e incluso hasta los componentes que venden SparkFun.&lt;br /&gt;
&lt;br /&gt;
Aquí se puede ver los Arduinos que pueden ser prototipiados.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1M0r9hlF8dWdOGxmcAzXOFKUIe9dbxk8PlOG0hyphenhyphen_gKRZatzLG1uYTGntj7lpsQowlP1Gh7oHXuewZbLbJfbfsYbgAtdM1P_YbHRc9t-LEnHbgImwkzDG_i2jSz9Z8N4-onsYFeQUu8rIt/s1600/Captura+de+pantalla+2012-02-27+a+la%28s%29+17.08.30.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1M0r9hlF8dWdOGxmcAzXOFKUIe9dbxk8PlOG0hyphenhyphen_gKRZatzLG1uYTGntj7lpsQowlP1Gh7oHXuewZbLbJfbfsYbgAtdM1P_YbHRc9t-LEnHbgImwkzDG_i2jSz9Z8N4-onsYFeQUu8rIt/s320/Captura+de+pantalla+2012-02-27+a+la%28s%29+17.08.30.png&quot; width=&quot;191&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Algunos componentes básicos de eléctronica.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH6Y_MOi6hwLpOP6HTp7t1EXMb55lXXoQvyxrVNuY8HwBMqAmBhnxk5tn9WOuzKzZxiNXC7StLQXS6FlVk2fnOOl6ipn-H6MKK-GgLd4GF9hGu2a-AeW-oI75YxKjK_hF94ysoHwdbPFJM/s1600/Captura+de+pantalla+2012-02-27+a+la%28s%29+17.08.42.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH6Y_MOi6hwLpOP6HTp7t1EXMb55lXXoQvyxrVNuY8HwBMqAmBhnxk5tn9WOuzKzZxiNXC7StLQXS6FlVk2fnOOl6ipn-H6MKK-GgLd4GF9hGu2a-AeW-oI75YxKjK_hF94ysoHwdbPFJM/s320/Captura+de+pantalla+2012-02-27+a+la%28s%29+17.08.42.png&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Y algunos componentes de SparkFun.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYxeS_YZQhmkAki6UMaY-9-Fv8jWCpKDle8QbuRBW2S2RdgTUx1T9wMxd48WmZQTAncOIO5peCaLZWU-K9gv4AlG0nnpQvVCS59OEopXgUUHoPWFja5rln_oJ5S8KnWgp_-64aoIOyKTdW/s1600/Captura+de+pantalla+2012-02-27+a+la%2528s%2529+17.08.15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYxeS_YZQhmkAki6UMaY-9-Fv8jWCpKDle8QbuRBW2S2RdgTUx1T9wMxd48WmZQTAncOIO5peCaLZWU-K9gv4AlG0nnpQvVCS59OEopXgUUHoPWFja5rln_oJ5S8KnWgp_-64aoIOyKTdW/s320/Captura+de+pantalla+2012-02-27+a+la%2528s%2529+17.08.15.png&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Está disponible para Mac, Linux y Windows y puede ser descargada por este link:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://fritzing.org/download/&quot;&gt;http://fritzing.org/download/&lt;/a&gt;&lt;/div&gt;
O en Linux desde la terminal:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;i&gt;sudo apt-get install fritzing&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Fuente:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;http://es.wikipedia.org/wiki/Fritzing&quot;&gt;http://es.wikipedia.org/wiki/Fritzing&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://fritzing.org/download/&quot;&gt;http://fritzing.org&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;span id=&quot;goog_960970268&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_960970269&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/7578801450629589288/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/02/que-es-fritzing.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/7578801450629589288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/7578801450629589288'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/02/que-es-fritzing.html' title='¿Qué es fritzing?'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixLmUe7Pnbbz131EAUwtJaJE9wNZ89701zSjSOXtB3KNo7G3UzySOUZmtaJDEkkshrPhPBcahnErA06LlCMQtCaj-FO6pAI2hhxt9oxtXC-4U-CVABhEL-tP-t_E38rFhmRDVf8FrUz0wq/s72-c/Captura+de+pantalla+2012-02-27+a+la%28s%29+13.24.22.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-3815065379495884313</id><published>2012-02-23T00:14:00.000-08:00</published><updated>2012-05-11T18:30:56.881-07:00</updated><title type='text'>Python + Arduino con modulo de Bluetooth</title><content type='html'>Una de las cosas que necesito implementar en mi proyecto es hacer un puente de comunicación por donde pasarán las señales del EGG a la computadora donde tendre un programa que este escuchando todos los datos que lleguen y así darle ordenes al carrito vía Bluetooth.Usaremos el lenguaje Python por que es muy amigable y por que tiene un modulo que se llama PySerial que nos será de gran ayuda para poder hacer una comunicación con el modulo de Bluetooth que tienen el Arduino.&lt;br /&gt;
&lt;br /&gt;
Para ello tenemos que ir al link que dejare debajo donde pueden descargar el modulo de PySerial.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://sourceforge.net/projects/pyserial/&quot;&gt;http://sourceforge.net/projects/pyserial/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Una vez descargado lo descomprimen, después entran a la carpeta descomprimida y teclean lo siguiente para instalar el modulo:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;sudo python setup.py install&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Ya hecho esto pasaremos a ver el material que utilizaré en Arduino, los materiales son los siguientes:&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Modulo Bluetooth - BlueSMiRF Silver&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Arduino&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;LED(con fines de testing)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Por si nunca han visto un modulo de bluetooth, les dejaré una imagen del modulo que usaré.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJThho6EDE9HIiw6CyvkCp-lrjZ3GuWqtlGgXROvc2kgAk_24BR1IA7z2giuyzUaKVQ20rVu6Rh2tkZgsBO_cpMtrCN9qltodWUAdHKdukiEJvnYgt6OQKqAtAljw5aZ6cSn8QlKb9cVf/s1600/2012-02-23+01.05.46.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJThho6EDE9HIiw6CyvkCp-lrjZ3GuWqtlGgXROvc2kgAk_24BR1IA7z2giuyzUaKVQ20rVu6Rh2tkZgsBO_cpMtrCN9qltodWUAdHKdukiEJvnYgt6OQKqAtAljw5aZ6cSn8QlKb9cVf/s320/2012-02-23+01.05.46.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Primero tenemos que saber como instalar todo el hardware.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFHMnTKkLBj4ZMEyGzesl-QFW1yDnrpaw177aztMsa0y2iEecajPbL2o2IIKhRD5l5r_KpN52f2o7KiWal1sRqT0BGG8QcRNNC_Py0B0HR9OLRs9Ob5XrMB9_J9A9ClQj0aOxGQBCvNXzf/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+00.46.13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFHMnTKkLBj4ZMEyGzesl-QFW1yDnrpaw177aztMsa0y2iEecajPbL2o2IIKhRD5l5r_KpN52f2o7KiWal1sRqT0BGG8QcRNNC_Py0B0HR9OLRs9Ob5XrMB9_J9A9ClQj0aOxGQBCvNXzf/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+00.46.13.png&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Aquí lo complicado será soldar los cables al modulo de bluetooth, el modulo varia aquí puse uno similar al que usaré con la diferencia de que los agujeros del modulo varian en el nombre.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Lo que haremos será conectar lo siguiente:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Arduino &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Modulo BT&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 5V &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VCC&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp; GND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GND&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&amp;nbsp; TX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp;&amp;nbsp; RX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Modulo BT&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
CTS -&amp;gt; RTS&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En lo último conectamos en el mismo modulo ya que no lo usaremos y por lo tanto no nos serán de utilidad.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Después de tener el hardware, crearemos nuestro sketch en la IDE de arduino.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1S8H0VwKc2TJUwsu6Neyo6UAXiX1GhENCCy_A7bl-1AshHXUmtpMVA98it_DjKj-kwzpgWqwWMWWBCVx5hz8FZq2Z6vsDb_1mSoQP2iDDgnVmf9RY0GVVCD5e6A_HWchb0YknTn3wBLO-/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+00.59.43.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1S8H0VwKc2TJUwsu6Neyo6UAXiX1GhENCCy_A7bl-1AshHXUmtpMVA98it_DjKj-kwzpgWqwWMWWBCVx5hz8FZq2Z6vsDb_1mSoQP2iDDgnVmf9RY0GVVCD5e6A_HWchb0YknTn3wBLO-/s400/Captura+de+pantalla+2012-02-23+a+la%28s%29+00.59.43.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Verificamos que no tenga ningún error y lo cargamos a nuestro Arduino.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Después de hacer eso estará activo nuestro Bluetooth, una vez que hayan comprobado que este activo pasaremos a progamar algo muy básico con Python.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmjqwecar5srBhK-oytM8qEIdG3SbkzTMUsvkGU4ITs15EmNe99Fdo-eBaDlut90TjJCkrBPs5gkUtDr_5dm4uFNNW5vGxEvJ9cDFmFA53fDHbKBHYXML55C4V_PSZY7uhGmJ0jOixgd2w/s1600/Captura+de+pantalla+2012-02-23+a+la%2528s%2529+01.54.01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmjqwecar5srBhK-oytM8qEIdG3SbkzTMUsvkGU4ITs15EmNe99Fdo-eBaDlut90TjJCkrBPs5gkUtDr_5dm4uFNNW5vGxEvJ9cDFmFA53fDHbKBHYXML55C4V_PSZY7uhGmJ0jOixgd2w/s1600/Captura+de+pantalla+2012-02-23+a+la%2528s%2529+01.54.01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En el mismo código se explica la funcionalidad de la misma.Para que esto funcione tenemos que conectarnos primero al modulo, para ello pondré algunas capturas de pantalla de lo que hice.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfbzMrDSEQDuL3vHOhsobCfqaaq0VeLye9k9tsQrxNWMw9jpBpogujkjIZLRnIxANtQ0q05pITwAhft8XJhIRlKvgbsgWqR7xLTBKRsMIjtkUTCmGg6Uy2BE7k0VO-fv3tOyYFZzaYwoYE/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.22.03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;422&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfbzMrDSEQDuL3vHOhsobCfqaaq0VeLye9k9tsQrxNWMw9jpBpogujkjIZLRnIxANtQ0q05pITwAhft8XJhIRlKvgbsgWqR7xLTBKRsMIjtkUTCmGg6Uy2BE7k0VO-fv3tOyYFZzaYwoYE/s640/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.22.03.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Una vez seleccionada daremos como password &lt;i&gt;&lt;b&gt;1234&lt;/b&gt;&lt;/i&gt; ya que este password lo tiene por default. &lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_rENzvH4yZhhfS69cfSwjHXTWsCS-VihjosGwDeDG8Hp8AW0eZPsVyKnjkXNFeJNkYU0fGnrUPrS7Xu7rtwDa1oXI6eUX-yDrtLq0bYFQCPyz9JQdyP7t2gbSHSTQAJakK9E7INZohMzC/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.22.25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_rENzvH4yZhhfS69cfSwjHXTWsCS-VihjosGwDeDG8Hp8AW0eZPsVyKnjkXNFeJNkYU0fGnrUPrS7Xu7rtwDa1oXI6eUX-yDrtLq0bYFQCPyz9JQdyP7t2gbSHSTQAJakK9E7INZohMzC/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.22.25.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego iremos a buscar la ruta, es la que se necesita en Serial para poder hacer la comunicación con dicho modulo.Para ello seleccione &lt;b&gt;&lt;i&gt;Abrir el panel de preferencias Bluetooth...&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE0VzjaciDmTp9DJ40DkdIlxqXioxLAt4pcUOL91ydnAuMhKtJtxYL2PsMJr3EVPcJokQG8aj5_MZLu3num8xOfQjT2MlbCgc703OxmJm6us7ccJzmkS8RJvec2bMpaiISNwZaNWwaY3vy/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.23.07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;288&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE0VzjaciDmTp9DJ40DkdIlxqXioxLAt4pcUOL91ydnAuMhKtJtxYL2PsMJr3EVPcJokQG8aj5_MZLu3num8xOfQjT2MlbCgc703OxmJm6us7ccJzmkS8RJvec2bMpaiISNwZaNWwaY3vy/s320/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.23.07.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego seleccionando el dispositivo, nos vamos a configuración luego a &lt;i&gt;&lt;b&gt;Editar puertos serie...&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqWsxkwSjlyiDTUJrWRCLYP7mYGuigji4xMnAZ_d3Jiov2sYdzs-F4ivBdRZq5PU-235O5FW0x5SfI6KdVcU7g1yeZOy737KrgEcR8E6Y44d6edbQzRmU3eOCIvu9bLUX-BIM6F33K6DP7/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.23.44.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqWsxkwSjlyiDTUJrWRCLYP7mYGuigji4xMnAZ_d3Jiov2sYdzs-F4ivBdRZq5PU-235O5FW0x5SfI6KdVcU7g1yeZOy737KrgEcR8E6Y44d6edbQzRmU3eOCIvu9bLUX-BIM6F33K6DP7/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.23.44.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Realizado esto, podrán ver debajo la ruta.Dicha ruta es sumamente necesaria si no no sabrá con quien referirse python y sin ello dará algún error.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTUf7CTs4Y03gMKH0smpp51yLSoBB-lOFLye_stYCTB3wjsLgdJNymQRgWmicKQ-4Z5qweCOzbXUvNdYvslfAOiARNXXzjpUZrbc0RS7Z9oryJwztBY2wYiR8IBSlK54p2i4COClzvE0ea/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.24.01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTUf7CTs4Y03gMKH0smpp51yLSoBB-lOFLye_stYCTB3wjsLgdJNymQRgWmicKQ-4Z5qweCOzbXUvNdYvslfAOiARNXXzjpUZrbc0RS7Z9oryJwztBY2wYiR8IBSlK54p2i4COClzvE0ea/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.24.01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Realizado esto verificamos que tengas la ruta respectiva, y pasaremos a ejecutar nuestro programa de python.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;Video demostrativo&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/mk_BixA-jh8&quot; width=&quot;420&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Típico error, es que cuando lo ejecutes se duerma el proceso que escucha los BT y esto te lo marca como ocupado, como en la siguiente imagen.La única solución que eh encotrado ha sido intentar varias veces hasta que se logre una conexión con éxito.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIncLGpV27Bjeyowz5k4sU8GpF5T1-4FK0dD_xkjQX8EDi96L9OfxH4KCbvY_QUEtdPqZCpdRmLoMIXmKq1l_cpDEIkuWTXEc-fk4ppyZ1Op_iCJCkx8s8ZUjqWTaURFEJd3K3f5vYSPB3/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.37.02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIncLGpV27Bjeyowz5k4sU8GpF5T1-4FK0dD_xkjQX8EDi96L9OfxH4KCbvY_QUEtdPqZCpdRmLoMIXmKq1l_cpDEIkuWTXEc-fk4ppyZ1Op_iCJCkx8s8ZUjqWTaURFEJd3K3f5vYSPB3/s1600/Captura+de+pantalla+2012-02-23+a+la%28s%29+01.37.02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Si les interesó la libreria pueden entrar a está wiki.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://pyserial.sourceforge.net/&quot;&gt;http://pyserial.sourceforge.net/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Página de referencia:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.arduino.cc/playground/Interfacing/Python&quot;&gt;http://www.arduino.cc/playground/Interfacing/Python&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/3815065379495884313/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/02/python-arduino-con-modulo-de-bluetooth.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/3815065379495884313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/3815065379495884313'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/02/python-arduino-con-modulo-de-bluetooth.html' title='Python + Arduino con modulo de Bluetooth'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJThho6EDE9HIiw6CyvkCp-lrjZ3GuWqtlGgXROvc2kgAk_24BR1IA7z2giuyzUaKVQ20rVu6Rh2tkZgsBO_cpMtrCN9qltodWUAdHKdukiEJvnYgt6OQKqAtAljw5aZ6cSn8QlKb9cVf/s72-c/2012-02-23+01.05.46.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-2785737589404328566</id><published>2012-02-06T20:03:00.000-08:00</published><updated>2012-02-06T20:03:58.893-08:00</updated><title type='text'>Como hacer un hack a un dispositivo EEG con Arduino</title><content type='html'>En este tutorial hablaremos de como hacer un hack a un dispositivo EEG con Arduino, pero primero antes de comenzar hablaremos de que es un dispositivo EEG para entender muy bien con lo que estamos tratando.Como &lt;a href=&quot;http://es.wikipedia.org/wiki/Electroencefalograf%C3%ADa&quot; target=&quot;_blank&quot;&gt;Wikipedia&lt;/a&gt; lo menciona EEG significa &lt;b&gt;&lt;i&gt;electroencefaloncelografía&lt;/i&gt;&lt;/b&gt;&amp;nbsp; y esto es una exploración neurofisiológica que se basa en el registro de la actividad bioeléctrica cerebral en condiciones basales de reposo, en vigilia o sueño, y durante diversas activaciones (habitualmente hiperpnea y estimulación luminosa intermitente) mediante un equipo de electroencefalografia, el cuál nosotros utilizaremos.&lt;br /&gt;
&lt;br /&gt;
Se encuentran diferentes dispositivos EEG que son realmente caros que rondan dentro de los $150.00 a $1,000.00 dólares de la compañia NeuroSky, aunque mas adelante verán que este no será nuestro caso nosotros usaremos un EEG hackeando un juguete de Star Wars llamado &quot;&lt;i&gt;&lt;b&gt;Star Wars Force Trainer&lt;/b&gt;&lt;/i&gt;&quot; que ronda dentro de los $70.00 a $100.00 dólares o bien también podríamos usar un juguete de MindFlex llamado &quot;&lt;i&gt;&lt;b&gt;MindFlex Blitz Game&lt;/b&gt;&lt;/i&gt;&quot; que este ronda dentro de los $40.00 a $70.00 dólares, dichos juguetes contienen un hardware que fueron desarrollados por NeuroSky.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;Juguete&amp;nbsp;&quot;&lt;i&gt;&lt;b&gt;Star Wars Force Trainer&lt;/b&gt;&lt;/i&gt;&quot;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5H0MdwaklHm-WdspGkHcOQkis4VAA5xruB9TicXD_SUREl6D0snKFdrAiW0uVkUWusefSCtnxI8vjCuldY0_PLNZebPMUYnkv2FIYdFaKp1_sTnJLi-uRPz_RsMi0_kW1tzyTtniRO8Pj/s1600/force-fuente-tuexperto.com.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5H0MdwaklHm-WdspGkHcOQkis4VAA5xruB9TicXD_SUREl6D0snKFdrAiW0uVkUWusefSCtnxI8vjCuldY0_PLNZebPMUYnkv2FIYdFaKp1_sTnJLi-uRPz_RsMi0_kW1tzyTtniRO8Pj/s320/force-fuente-tuexperto.com.jpg&quot; width=&quot;290&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Link de referencia:&lt;a href=&quot;http://www.tuexperto.com/2009/09/08/star-wars-force-trainer-el-juguete-dirigido-con-la-mente-que-afina-tus-poderes-jedi/&quot;&gt;www.tuexperto.com/2009/09/08/star-wars-force-trainer-el-juguete-dirigido-con-la-mente-que-afina-tus-poderes-jedi/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Juguete&amp;nbsp;&quot;&lt;i&gt;&lt;b&gt;MindFlex Blitz Game&lt;/b&gt;&lt;/i&gt;&quot;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLjbbV0wmHtEvsHmeGTlxF9t7kOe72iBSO1Uboy3U6g0ezafQ5daIOJR8OTyiQGpmtYd2JG20e-dhX8tP6bbgnxoyeD6-nCp5gCtS7FANLiU6zYBRy7GTCsnTxm5j_PB6gNrrY_d1Heni7/s1600/amazon.com.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLjbbV0wmHtEvsHmeGTlxF9t7kOe72iBSO1Uboy3U6g0ezafQ5daIOJR8OTyiQGpmtYd2JG20e-dhX8tP6bbgnxoyeD6-nCp5gCtS7FANLiU6zYBRy7GTCsnTxm5j_PB6gNrrY_d1Heni7/s320/amazon.com.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Link de referencia:&lt;a href=&quot;http://www.amazon.com/gp/product/B003CE6FJ6/&quot;&gt;http://www.amazon.com/gp/product/B003CE6FJ6/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Aquí verán las diferencias entre los distintos EEG&#39;s que podríamos encontrar, la siguiente imagen la tomé de está página&amp;nbsp;&lt;a href=&quot;http://frontiernerds.com/brain-hack&quot;&gt;http://frontiernerds.com/brain-hack&lt;/a&gt;&amp;nbsp;de la cuál agradezco al autor de ese post ya que fue de gran ayuda todo el material que tienen.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhddxsx3kbVBNizmZFsIanCjPXI28Ushlx9KH9aeB0rNZVmocOM3fs4wxIipBwoubna2rFZLQGw6IVh4Kek9hwzgShbj0EVel8mLRiOl0kCY23X4X8IB-LDV_9AJ2BKEgJufNbd694ZEFVv/s1600/Captura+de+pantalla+2012-01-18+a+la%2528s%2529+15.30.33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhddxsx3kbVBNizmZFsIanCjPXI28Ushlx9KH9aeB0rNZVmocOM3fs4wxIipBwoubna2rFZLQGw6IVh4Kek9hwzgShbj0EVel8mLRiOl0kCY23X4X8IB-LDV_9AJ2BKEgJufNbd694ZEFVv/s1600/Captura+de+pantalla+2012-01-18+a+la%2528s%2529+15.30.33.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Como habrán notado sobre salieron los dos del medio,lo que haremos es hacer que el chip de NeuroSky se comunique con nuestro Arduino soldando dos cables al EEG para esto necesitaremos lo siguiente.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Por parte del hardware:&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;1 Arduino&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;2 Cables&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;1 Cautin&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;1 Dispositivo EEG&#39;s el cual puede ser cualquiera de los dos presentados anteriormente&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Por parte del software:&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Necesitaremos la libreria de Brain para Arduino por supuesto que necesitamos tener instalado la IDE de Arduino.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Una ves cumplidos estos requisitos pasaremos al primer paso que es desarmar el EEG&#39;s de nuestro juguete que en mi caso será el de Star Wars Force Trainer como se muestra en la imagen.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic5BZxj2nKrdMnLeRqYqXw2AgDj_n2k1CXd4qXv2qzWF9_-aXVwJU6D4umKvJ2FQUFqUd3P-IKKadT_lScIhe3kwLbzXNNUt50Q_n3nAWXNUFwe4L3iJIEZtNntCj2MfWPfqnIzbYHJF7f/s1600/2012-01-06+12.17.05.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;359&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic5BZxj2nKrdMnLeRqYqXw2AgDj_n2k1CXd4qXv2qzWF9_-aXVwJU6D4umKvJ2FQUFqUd3P-IKKadT_lScIhe3kwLbzXNNUt50Q_n3nAWXNUFwe4L3iJIEZtNntCj2MfWPfqnIzbYHJF7f/s400/2012-01-06+12.17.05.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Ya abierto, nos iremos a identificar el pin llamado &quot;T&quot; que es el cuál vamos a soldar con un cable para que este mismo se comunique con nuestro Arduino y reciba lecturas de la actividad que hay en nuestra cerebro.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyW4_cEDm5vBe6tXYXUb572yn1Zig2qVPnbFWH3Fi4N5N3b3gnBh0JUADO333DPcU-tfmy6Xzd0xEATFX0vuUGdn8LGFmyQQGm8BTzazGfieTaShDfQmd-H70uFqYzIU_mjD52vkGDcPoX/s1600/2012-01-06+12.16.51.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyW4_cEDm5vBe6tXYXUb572yn1Zig2qVPnbFWH3Fi4N5N3b3gnBh0JUADO333DPcU-tfmy6Xzd0xEATFX0vuUGdn8LGFmyQQGm8BTzazGfieTaShDfQmd-H70uFqYzIU_mjD52vkGDcPoX/s640/2012-01-06+12.16.51.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Ahora que han sido identificados pasaremos a soldar los 2 cables,&amp;nbsp;de preferencia que cada uno tenga un color diferente para así identificar cada cable de donde es, ahora&amp;nbsp;con mucho cuidado al momento de soldar el pin &quot;T&quot;, en donde se soldará tierra tendremos que remover primero un capa protectora aislante para que así tengamos una buena soldadura.Ya terminado obtendremos algo como esto.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYuf6Xdg9SeGErge8OuerOuInlZwnrINwlfgOmHoBdn2t_bljrJvIvcVaMUWbFvWukaKxKO3DPd0KpE_-hYyOBKNOAvbWvH77t5Bws4pjWa-NaGMU64FD6gOpdYcWPFqcm7iSknr75JeIy/s1600/2012-01-26+10.27.17.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYuf6Xdg9SeGErge8OuerOuInlZwnrINwlfgOmHoBdn2t_bljrJvIvcVaMUWbFvWukaKxKO3DPd0KpE_-hYyOBKNOAvbWvH77t5Bws4pjWa-NaGMU64FD6gOpdYcWPFqcm7iSknr75JeIy/s640/2012-01-26+10.27.17.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Después de soldarlos pasaremos a cerrar el EEG dejando los cables afuera, para que estos puedan ser conectados con el Arduino.Una vez cerrado probaremos que funciona nuestro dispositivo conectando el cable de tierra al pin GND de nuestro Arduino y el pin T soldado en el EEG será conectado hacia el pin RX/0, regularmente este pin se utiliza para recibir datos como comunicación serial por puertos seriales para conocer mas sobre comunicación serial da click &lt;a href=&quot;http://arduino.cc/es/Reference/serial&quot; target=&quot;_blank&quot;&gt;aquí&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Antes de continuar a crear nuestro sketch, tendremos que descargar la libreria Brain para poder entender los datos recibidos del dispositivo.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://github.com/kitschpatrol/Arduino-Brain-Library&quot;&gt;https://github.com/kitschpatrol/Arduino-Brain-Library&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;Ya descargado, lo copiaremos en &amp;nbsp;~/Documents/Arduino/libraries/ si no existe la carpeta libraries entonces la crearemos.Una vez hecho eso pasaremos a crear nuestro sketch para poder recibir datos del dispositivo por medio de comunicación serial por el pin RX/0 como se muestra en la siguiente imagen.&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_WSzCuXAPCBqqVRXv9KQdCOCYvzYGp8wwFGlUgvBaQkPmHPZDpZELkZuoP9WRaRoWlu4PgwOBu9FmBCUF5VDnAiOZWl5nF0bblOOP7MSHPjeHY5TYzblnzkt9oZhkVd4oR9_OX-kmBms0/s1600/Captura+de+pantalla+2012-02-06+a+la(s)+21.10.54.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_WSzCuXAPCBqqVRXv9KQdCOCYvzYGp8wwFGlUgvBaQkPmHPZDpZELkZuoP9WRaRoWlu4PgwOBu9FmBCUF5VDnAiOZWl5nF0bblOOP7MSHPjeHY5TYzblnzkt9oZhkVd4oR9_OX-kmBms0/s1600/Captura+de+pantalla+2012-02-06+a+la(s)+21.10.54.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Primero se agrega la libreria Brain luego se dice que Brain usará Serial para recibirlo en el puerto 9600, después en el ciclo verificara cada segundo si han habido datos, los cuáles los imprimirá separados por commas como se muestra en la imagen.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcc-Ok40qTZ8TfjWBx-hrYHh_DrdmwUJwbXvoRsMVO699mUIzCaQZxsQkNerFXFUtTDCypnvH8ojCezmNq5HJD2JTZIANlI68uLjAstteqjuNFVKytXCH4-0osygPcroSjT8NGAOb2FnaP/s1600/Captura+de+pantalla+2012-02-06+a+la(s)+21.14.50.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcc-Ok40qTZ8TfjWBx-hrYHh_DrdmwUJwbXvoRsMVO699mUIzCaQZxsQkNerFXFUtTDCypnvH8ojCezmNq5HJD2JTZIANlI68uLjAstteqjuNFVKytXCH4-0osygPcroSjT8NGAOb2FnaP/s1600/Captura+de+pantalla+2012-02-06+a+la(s)+21.14.50.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: #333333; line-height: 14px;&quot;&gt;Esto significa separado por comas &quot;signal strength, attention, meditation, delta, theta, low alpha, high alpha, low beta, high beta, low gamma, high gamma&quot; 200,0,0,670531,17807,926,2&lt;/span&gt;&lt;wbr style=&quot;color: #333333; line-height: 14px;&quot;&gt;&lt;/wbr&gt;&lt;span class=&quot;word_break&quot; style=&quot;color: #333333; display: inline-block; line-height: 14px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; line-height: 14px;&quot;&gt;655,634,14620,5140,136.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 14px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 14px;&quot;&gt;El significado de cada valor separado por commas:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;line-height: 14px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;commentBody&quot; data-jsid=&quot;text&quot; style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;&quot;&gt;&lt;div class=&quot;text_exposed_root text_exposed&quot; id=&quot;id_4f309a9f8c36a0432404039&quot; style=&quot;display: inline;&quot;&gt;Delta (1-3Hz): Sueño&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;commentBody&quot; data-jsid=&quot;text&quot; style=&quot;background-color: white;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;&quot;&gt;Theta (4-7Hz): Relajado&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;text_exposed_root text_exposed&quot; id=&quot;id_4f309a9f8c36a0432404039&quot; style=&quot;display: inline;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;&quot;&gt;Low Alpha (8-9Hz): Ojos cerrados&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;High Alpha (10-12Hz)&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Low Beta (13-17Hz): Concentrado&lt;/div&gt;&lt;/span&gt;&lt;span class=&quot;text_exposed_show&quot; style=&quot;color: #333333; display: inline; font-family: &#39;lucida grande&#39;, tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;High Beta (18-30Hz)&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Low Gamma (31-40Hz): Multi-sensorial&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;High Gamma (41-50Hz)&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Ya hecho esto, nos parecera aburrido ver solamente números en el serial monitor.Gracias a un programa hecho en Processing nos facilitará una visualización elegante &amp;nbsp;para esto necesitamos descargar la IDE de Processing que puedes descargar la IDE y el programa de las siguientes páginas:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://processing.org/download/&quot;&gt;http://processing.org/download/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; color: blue; cursor: pointer; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 18px; text-align: -webkit-auto; text-decoration: none;&quot;&gt;&lt;a href=&quot;http://github.com/kitschpatrol/Processing-Brain-Grapher/zipball/master&quot; style=&quot;background-color: white; cursor: pointer; font-family: arial, helvetica, sans-serif; font-size: 14px; line-height: 18px; text-align: -webkit-auto; text-decoration: none;&quot;&gt;http://github.com/kitschpatrol/Processing-Brain-Grapher/zipball/master&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Y una libreria llamada controlP5 podremos gráficar los datos que vayamos recibiendo.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.sojamo.de/libraries/controlP5/&quot;&gt;http://www.sojamo.de/libraries/controlP5/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Para instalar la libreria tendremos que seguir los mismos pasos que las librerias de Arduino, pero en este caso cambiaría a algo como esto ~/Documents/Processing/libraries/ dentro de esa carpeta agregamos la carpeta descargada de controlP5, después abrimos nuestro programa que simplemente interpretará los datos recibidos con una interfaz con buena usabilidad como se muestra debajo.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9H2ZmeVlfR79soxKm9dTWMZbSwIbtkkv7o6bu6z_OH4S7pkkTALuD2-HNYRK8QS8Alx4Hrz_tZBix3Yau3J8kkSk3UYgWzTIIk7kPDCuisQUfcudt3xpAiWGeHUqwFDaoXC7nLuFP3ZvT/s1600/Captura+de+pantalla+2012-02-06+a+la(s)+21.53.56.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9H2ZmeVlfR79soxKm9dTWMZbSwIbtkkv7o6bu6z_OH4S7pkkTALuD2-HNYRK8QS8Alx4Hrz_tZBix3Yau3J8kkSk3UYgWzTIIk7kPDCuisQUfcudt3xpAiWGeHUqwFDaoXC7nLuFP3ZvT/s1600/Captura+de+pantalla+2012-02-06+a+la(s)+21.53.56.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Si seguiste el procedimiento tal cual no creo que tengas algún inconveniente, si no puedes dejar tu comentario debajo.Mas adelante publicaré una entrada donde mostrare un ejemplo de como manipular la intensidad de un led por medio de la concentración por el momento hasta pronto.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Links de referencia:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1811718834&quot;&gt;http://www.sojamo.de/libraries/controlP5/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1811718834&quot;&gt;http://frontiernerds.com/brain-hack&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/goog_1811718834&quot;&gt;http://processing.org/download/&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://github.com/kitschpatrol/Arduino-Brain-Library/zipball/master&quot;&gt;http://github.com/kitschpatrol/Arduino-Brain-Library/zipball/master&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/2785737589404328566/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/02/como-hacer-un-hack-un-dispositivo-eeg.html#comment-form' title='10 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/2785737589404328566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/2785737589404328566'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/02/como-hacer-un-hack-un-dispositivo-eeg.html' title='Como hacer un hack a un dispositivo EEG con Arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5H0MdwaklHm-WdspGkHcOQkis4VAA5xruB9TicXD_SUREl6D0snKFdrAiW0uVkUWusefSCtnxI8vjCuldY0_PLNZebPMUYnkv2FIYdFaKp1_sTnJLi-uRPz_RsMi0_kW1tzyTtniRO8Pj/s72-c/force-fuente-tuexperto.com.jpg" height="72" width="72"/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-8071852118042987936</id><published>2012-01-11T21:59:00.000-08:00</published><updated>2012-01-12T14:44:33.476-08:00</updated><title type='text'>Aprendiendo a controlar un LED con un push button</title><content type='html'>Ahora controlaremos un LED por medio de un push button, los requisitos serán los siguientes:&lt;br /&gt;
&lt;br /&gt;
1 LED&lt;br /&gt;
1 pequeño protoboard&lt;br /&gt;
1 push button&lt;br /&gt;
1 Arduino&lt;br /&gt;
1 Resistor de 10 Ohms&lt;br /&gt;
3 Tiras de cableado&lt;br /&gt;
&lt;br /&gt;
Después colocamos el hardware como en la siguiente imagen.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrFrY8iEYPcJA5lt6CW1pltPbUeqXrEe1yChywAzYQzMYbjcASob-NmecrdY9s4aFkrGjCzOOQ-hd-yjqetYKH6UKRMOTCi7gXqndXGTV4MTNtvL848CGOp7wSLGi4f6cs-s52KHbpZ_dh/s1600/PushButton.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrFrY8iEYPcJA5lt6CW1pltPbUeqXrEe1yChywAzYQzMYbjcASob-NmecrdY9s4aFkrGjCzOOQ-hd-yjqetYKH6UKRMOTCi7gXqndXGTV4MTNtvL848CGOp7wSLGi4f6cs-s52KHbpZ_dh/s1600/PushButton.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;La resistencia es para que module el voltaje ya que estamos usando 5V, el cual puede dañar el pin que usaremos como input.Una vez terminado procedemos a programar el Arduino en el IDE, lo que haremos será lo siguiente.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH4eAp3Qs1lGAS5z-avrP3eNR5DwDxojEEdxUCMnO7_DwmuXXAT7rhxqPU9JS7-kYVmPM5YZ0xirzs0G3Zqq3Nh7yFi_D4sMswSDoDD-IY0nc3CVUvDBUyWrGMAonX2Pi6TfhwWH6bTDxi/s1600/Captura+de+pantalla+2012-01-11+a+la%2528s%2529+23.52.25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH4eAp3Qs1lGAS5z-avrP3eNR5DwDxojEEdxUCMnO7_DwmuXXAT7rhxqPU9JS7-kYVmPM5YZ0xirzs0G3Zqq3Nh7yFi_D4sMswSDoDD-IY0nc3CVUvDBUyWrGMAonX2Pi6TfhwWH6bTDxi/s1600/Captura+de+pantalla+2012-01-11+a+la%2528s%2529+23.52.25.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
En el código se declararon LED Y BOTON para identificar los pines y estado para identificar el estado el push button que en este caso es la variable BOTON,después le decimos al Arduino que LED será como salida mientras que en BOTON será de entrada.Luego en el ciclo guardamos el estado de BOTON en la variable estado usando &lt;i&gt;digitalRead() &lt;/i&gt;lo que hace es leer el valor de entrada según el argumento que tenga, el valor de entrada puede ser HIGH si esta presionado el push button y LOW si no esta presionado el push button.Ahora nos encontramos con una condición en la cual verifica si estado es HIGH(si ha sido presionado el push button) enciende el LED y si no lo es apagara el LED.&lt;br /&gt;
&lt;br /&gt;
Ahora mejoramos el código para evitar el estar manteniendo presionado mientras queda encendido el LED, con este código nos daremos cuenta que podemos hacer muchas versiones de sketch manteniendo el hardware intacto.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6i-W2JQKRHZXDkYZ6v2EpymJBGa22h1Z0pKSoLxK426tfeI5tG78qdzu-mHjdGXEBy3F8KW382z8Pm5Gpc0de2KVr1sk2XMGgMehfzmNjwGM3-2zZG865TUpZDTWK7IZv9OKU5bjttLQ0/s1600/Captura+de+pantalla+2012-01-12+a+la%2528s%2529+16.35.23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6i-W2JQKRHZXDkYZ6v2EpymJBGa22h1Z0pKSoLxK426tfeI5tG78qdzu-mHjdGXEBy3F8KW382z8Pm5Gpc0de2KVr1sk2XMGgMehfzmNjwGM3-2zZG865TUpZDTWK7IZv9OKU5bjttLQ0/s1600/Captura+de+pantalla+2012-01-12+a+la%2528s%2529+16.35.23.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;La diferencia con el sketch anterior fue que agregamos 3 nuevas variables las cuales utilizamos para guardar el estado del LED, BOTON y el estado anterior del boton.Agregamos dos if en el cual el primero nos sirve para saber si el boton ha sido presionado, en caso de ser así se guarda el estado del LED y espera en esa transición 10 milisegundos la razón de la espera es por que el Arduino recorre el código a una velocidad realmente muy rápida y esto haría que tengamos problemas al presionar y se mantenga encendido el led, si te da alguna curiosidad intentalo y verás ese problema.Después guarda el estado como estado anterior esto sirve para saber si ya había sido presionado el botón luego entra a un if donde verifica el estado del led en caso de ser 1 se encenderá y en de no serlo se apagará.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/8071852118042987936/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/01/aprendiendo-controlar-un-led-con-un.html#comment-form' title='9 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8071852118042987936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8071852118042987936'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/01/aprendiendo-controlar-un-led-con-un.html' title='Aprendiendo a controlar un LED con un push button'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrFrY8iEYPcJA5lt6CW1pltPbUeqXrEe1yChywAzYQzMYbjcASob-NmecrdY9s4aFkrGjCzOOQ-hd-yjqetYKH6UKRMOTCi7gXqndXGTV4MTNtvL848CGOp7wSLGi4f6cs-s52KHbpZ_dh/s72-c/PushButton.jpg" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-8381378505320073598</id><published>2012-01-11T08:03:00.000-08:00</published><updated>2012-01-11T10:38:10.794-08:00</updated><title type='text'>Identificando las partes del Arduino</title><content type='html'>Una de las cosas que debemos saber antes de adentrarnos a programar los sketch es identificando las partes del Arduino, ya que sabiendo las partes del Arduino tendremos la idea conceptual de como programarlo.Tomaré como referencia el Arduino Uno por lo básico y común que es, comenzaremos explicando cada elemento del microcontrolador.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis_qranuyNy_rS8xgfe9Lavo7DsGgLKRueoX1fGR_hvjfVoPHilRcxsDdP0uIYa2OFpoVVfta91LT2QFVEm65q1rY_mgT1Jp5KPlxb-Q_s3Y4VEckdgr3sGh-xan01nEuTCkA26mzdkbrQ/s1600/2012-01-11+09.09.06.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis_qranuyNy_rS8xgfe9Lavo7DsGgLKRueoX1fGR_hvjfVoPHilRcxsDdP0uIYa2OFpoVVfta91LT2QFVEm65q1rY_mgT1Jp5KPlxb-Q_s3Y4VEckdgr3sGh-xan01nEuTCkA26mzdkbrQ/s640/2012-01-11+09.09.06.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Hay 14 pines digitales I/O de los cuales están enumerados del 0 al 13, estos pueden ser &quot;INPUTS&quot; o &quot;OUTPUTS&quot; valores de entrada o de salida que pueden ser especificados por el sketch que hayas hecho en la IDE.En la imagen se pueden apreciar con la letra A.&lt;br /&gt;
&lt;br /&gt;
Hay 6 pines analogicos de entrada de los cuales están enumerados del 0 al 5, estos pines toman valores analogicos de entrada como lo sería un voltaje leido desde un sensor y esto lo convierte valores de 0 a 1023, tal ves sea confuso al principio pero con unos ejemplos mas adelante podrás entender como usarlos.En la imagen se pueden apreciar con la letra B.&lt;br /&gt;
&lt;br /&gt;
Hay 6 pines analogicos de salida de los cuales están enumerados como 3,5,6,9,10 y 11 estos como te abras dado cuenta son pines digitales estos pueden ser reprogramados y pueden ser usados como pines analogicos de salida.Estos se pueden apreciar con tilde en la letra A.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
El Arduino puede tener como fuente de poder el cable con puerto USB que regularmente son usados para impresoras, modems, entre otros de igual manera puede tener un adaptador AC que lo recomendable es que sea de 9V.En la imagen se pueden apreciar en la letra D que es donde estaría el cable con puerto USB y debajo de ella esta el enchufe donde estaría conectado el adaptador AC.&lt;br /&gt;
&lt;br /&gt;
Existe un botón que se llama &quot;reset&quot; que sirve para reajustar estado predeterminado osea que borrara todo lo que fue cargado del Arduino y quedará en modo de fabrica casi todos lo conocen como &quot;reseteo&quot; pero esto es una costumbre que se ha hecho de la cuál dicha palabra no existe en realidad.&lt;br /&gt;
&lt;br /&gt;
Libro de referencia:&lt;br /&gt;
Tome como puntos de referencia el libro &quot;Getting Started With Arduino&quot;</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/8381378505320073598/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/01/identificando-las-partes-del-arduino.html#comment-form' title='4 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8381378505320073598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/8381378505320073598'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/01/identificando-las-partes-del-arduino.html' title='Identificando las partes del Arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis_qranuyNy_rS8xgfe9Lavo7DsGgLKRueoX1fGR_hvjfVoPHilRcxsDdP0uIYa2OFpoVVfta91LT2QFVEm65q1rY_mgT1Jp5KPlxb-Q_s3Y4VEckdgr3sGh-xan01nEuTCkA26mzdkbrQ/s72-c/2012-01-11+09.09.06.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-1186010383336351307</id><published>2012-01-10T21:51:00.000-08:00</published><updated>2012-01-11T10:39:43.496-08:00</updated><title type='text'>Creando un sketch básico usando un LED</title><content type='html'>A continuación crearemos nuestro primer sketch, usando solamente un LED y un Arduino está es una forma de decir Hello World pero en Arduino.&lt;br /&gt;
&lt;br /&gt;
Primero ya conocemos los requisitos:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1 LED&lt;br /&gt;
&amp;nbsp;1 Arduino&lt;br /&gt;
&lt;br /&gt;
Ya cumplidos los requerimientos de hardware, procederemos a programar nuestro primer sketch; para programarlo necesitas tener instalado la IDE de Arduino en caso de que no lo tenga puedes dar click &lt;a href=&quot;http://computointegrado.blogspot.com/2012/01/instalando-e-identificando-el-ambiente.html&quot; target=&quot;_blank&quot;&gt;aquí&lt;/a&gt;&amp;nbsp;para ver un tutorial básico del uso e instalación de igual manera necesitamos tener conocimiento básico de las partes del Arduino para entrar a esa entrada da click &lt;a href=&quot;http://computointegrado.blogspot.com/2012/01/identificando-las-partes-del-arduino.html&quot; target=&quot;_blank&quot;&gt;aquí&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
A continuación identificaremos que la pata corta del LED es negativa y es llamado catodo, la pata larga del LED es positiva y es llamado anodo.Identificando esos lados tendremos que conectar el catodo al pin llamado &quot;GND&quot; que significa tierra y el anodo al pin 13.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhOtijGEaRaf4OMrOGtQ3eJXWwtz0jhAohdJbRKfMcWkZGP2RpktBtCD-SQsCMDsUyadxDpEkncsN-dURYtcXvvCuRnb7LNx-EB_nfIMKUpz-75QR6YZDQzZSwisHFj61FHJsEGR795rPY/s1600/image+%25282%2529.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhOtijGEaRaf4OMrOGtQ3eJXWwtz0jhAohdJbRKfMcWkZGP2RpktBtCD-SQsCMDsUyadxDpEkncsN-dURYtcXvvCuRnb7LNx-EB_nfIMKUpz-75QR6YZDQzZSwisHFj61FHJsEGR795rPY/s640/image+%25282%2529.jpeg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Ahora que terminamos de colocar el LED pasaremos a decirle a nuestro Arduino que debe de hacer, por lo tanto, nos pasaremos a programar nuestro sketch en la IDE de Arduino.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxLvOG36KnknqvO9QpOAHRronRdJNGh_e9Uvvg-bDue-FxzKkYMGL0rR7zB_IXg7urdTv3D7njU7EppwbQxTkLMj8_jCM6xu8F0W7N8H29eh-ZVh11STp5vhgBaOrt4qhksaM1VVRapwf/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+21.49.16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxxLvOG36KnknqvO9QpOAHRronRdJNGh_e9Uvvg-bDue-FxzKkYMGL0rR7zB_IXg7urdTv3D7njU7EppwbQxTkLMj8_jCM6xu8F0W7N8H29eh-ZVh11STp5vhgBaOrt4qhksaM1VVRapwf/s400/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+21.49.16.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Explicaré linea por linea que es lo que esta pasando aqui para que entiendas lo fácil que es programarlo, primero veremos la constante LED que le asignamos el valor de 13 y por lo tanto este número sera reemplazado por LED, el número 13 es para hacer referencia al pin que vamos a usar en este caso usaremos el pin digital 13.&lt;br /&gt;
&lt;br /&gt;
Después usamos una función que es llamada &lt;i&gt;setup()&lt;/i&gt;; es donde le dices que pines estas usando y como deseas configurarlos, por medio de pinMode le dices al Arduino como configurar cierto pin en este caso estamos dando como parametros (LED,OUTPUT) donde LED es 13 y estamos diciendo que es un &quot;OUTPUT&quot; lo que queremos decir que es un &quot;OUTPUT&quot; es que es una salida ya que estamos usando un LED, hay casos en los que se usa &quot;INPUT&quot; el cual es entrada y un ejemplo de uso de ello es en los push button los cuales esperan por un valor de entrada para que estos tengan una función.&lt;br /&gt;
&lt;br /&gt;
Luego veremos la función &lt;i&gt;loop()&lt;/i&gt; que se refiere a un ciclo, este ciclo es infinito prácticamente y solo se detendrá hasta que el Arduino sea apagado.En la siguiente línea veremos &lt;i&gt;digitalWrite(LED, HIGH)&lt;/i&gt; que te permite decirle al Arduino que en el pin 13 encienda o apague el LED, cualquier pin que este configurado como &quot;OUTPUT&quot; tiene esa característica que le permite usar HIGH para encender y LOW para apagar, prácticamente le esta diciendo al Arduino que reduzca su voltaje de 5V a 0V cuando es LOW y viceversa con HIGH.&lt;br /&gt;
&lt;br /&gt;
Después veremos &lt;i&gt;delay&lt;/i&gt;&amp;nbsp;el cuál nos permite no hacer nada por el argumento dado este argumento sera tomado en milisegundos, en el código se muestran 3000 milisegundos que representan 3 segundos.&lt;br /&gt;
&lt;br /&gt;
Una vez entendido esto, procederemos a dar click &quot;Verify&quot; para verificar que no contenga algún error cuando se haya verificado haremos un &quot;Upload&quot; para cargar el sketch a nuestro Arduino.</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/1186010383336351307/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/01/creando-un-sketch-basico-usando-un-led.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/1186010383336351307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/1186010383336351307'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/01/creando-un-sketch-basico-usando-un-led.html' title='Creando un sketch básico usando un LED'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhOtijGEaRaf4OMrOGtQ3eJXWwtz0jhAohdJbRKfMcWkZGP2RpktBtCD-SQsCMDsUyadxDpEkncsN-dURYtcXvvCuRnb7LNx-EB_nfIMKUpz-75QR6YZDQzZSwisHFj61FHJsEGR795rPY/s72-c/image+%25282%2529.jpeg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9089997477056955832.post-7535726755552599772</id><published>2012-01-10T10:11:00.000-08:00</published><updated>2012-01-10T22:05:34.779-08:00</updated><title type='text'>Instalando e identificando el ambiente de desarrollo de arduino</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;La IDE de Arduino es donde podremos crear nuestros sketch y ¿qué es un sketch?, sketch es el programa que crearemos con la IDE de arduino, esto nos ayudara a decirle que hacer a nuestro arduino en un lenguaje de programación llamado Processing, la magia ocurre cuando presionamos&amp;nbsp;el boton de cargar el sketch a nuestro arduino.&lt;br /&gt;
&lt;br /&gt;
El código que se había escrito en Processing se traduce a C y después es pasado por un compilador &quot;avr-gcc&quot; es el que le da la ultima traducción&amp;nbsp;a un lenguaje que pueda entender el microcontrolador.&lt;/div&gt;&lt;br /&gt;
Esto se puede ver de una manera mas sencilla:&lt;br /&gt;
&lt;br /&gt;
1.- Conectar tu arduino al puerto USB de tu computadora.&lt;br /&gt;
2.- Escribir el sketch el cual le dara vida al arduino.&lt;br /&gt;
3.- Cargar el sketch al arduino por el puerto USB, hay que esperar&lt;br /&gt;
pocos segundos para que reinicie el arduino.&lt;br /&gt;
4.- El arduino ejecuta el sketch que escribiste.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Instalando el ambiente de desarrollo de Arduino&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
Lo primero que debemos hacer es ir a está página oficial de Arduino:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.arduino.cc/en/Main/Software&quot;&gt;www.arduino.cc/en/Main/Software&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;Una ves en la página puedes descargar el IDE conforme el sistema operativo que tienes.&lt;br /&gt;
&lt;br /&gt;
En Mac una vez instalado tendras que determinar tu Puerto serial que en inglés serías &quot;Serial Port&quot; este se encuentra el menú de &quot;Tool&quot; de la IDE, el puerto que seleccionaremos será el que comience con &lt;i&gt;/dev/cu.usbmodem&lt;/i&gt; este es el nombre por el que hace referencia Mac hacia el Arduino.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;NOTA:&lt;/b&gt; Necesitas tener conectado al puerto USB a tu Arduino, ya que si no lo tienes conectado no verás dicho puerto.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOkWzuIoj_vauRUMWuOy1C4dgVS6CQyk48PSGBnTcAlZBGWC4UWlj163nmjYF6dZ_AFQVgCCWid0wAP1ZW0cV7KDfo3YEUPlKCClVtxtdBjj-z9oN8pTzc3zrRkUtPcx9woWYCmRgMywNx/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.25.40.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOkWzuIoj_vauRUMWuOy1C4dgVS6CQyk48PSGBnTcAlZBGWC4UWlj163nmjYF6dZ_AFQVgCCWid0wAP1ZW0cV7KDfo3YEUPlKCClVtxtdBjj-z9oN8pTzc3zrRkUtPcx9woWYCmRgMywNx/s400/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.25.40.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Una vez instalado de forma correcta, procederemos a identificar algunas características importantes de la IDE para poder programar nuestro Arduino.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVNrWAy9swS5YPiaT8fn_9ziSuW4V2rRg4tt2EBgjWDQ_hOfjF7n9Vr1nKVmZaTb8RQfTRlQg4hih7XDSVAlA3f2IEl_xNTc-hUyjTGZ-R29H3yZuf6Ot8vt-4A1ogabEk1rgyz5beb8nr/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.36.09.png&quot; /&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Esta funcionalidad es llamada &quot;Verify&quot; el cuál nos permite verificar si tu código tiene errores.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqUrU2v7HY5aJLfFRFAXI2wNiypYhsBAC_yX0-2CMt54YSOGgzA2Ug1A2qzJc5-tO4GWfu0UInnODBzBWQPjN9FFYbU_IwlRNXRrmEOSls3_totDPSXr537A4lY3fppsLuTWccblSTpTvh/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.38.08.png&quot; /&gt;&amp;nbsp; &lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Esta funcionalidad es llamada &quot;Upload&quot; te permite compilar tu código y cargarlo al Arduino.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkUB7Df4EKgCMV1SW7myaBKRIZD0nk9JrsxdzBpuzkI_YtyXYfZYqHhwnnN5Jw1l7OiDcgdN1zBV_GjlYDzJ6ChqfX2a7ZbAHZKrbX1doJTs0hf4KnYCZ58crVfC-5gKHi3IrNLeuCgIwk/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.41.37.png&quot; /&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Esta funcionalidad es llamada &quot;New&quot; te permite crear un nuevo sketch.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9U-ajkEdIfFkWdQ4c8-1bnI8LIl_9FiAhRpXWj6c6Xbxa85vwUbErzR8qNbKk2JFNUJJWZQcfbTeLNfeToe5mqkpKq13ZBFzVbcz-b5kQsABYvUS_bR0m3I_5KJ_gVGTdMkJQuz9zgLGK/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.43.22.png&quot; /&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Esta funcionalidad es llamada &quot;Open&quot; te permite abrir un sketch por medio de un menú donde se despliegan varios sketch&#39;s dicho menú es llamado sketchbook.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMh4Vmq3O_fwhA5L2xj1igl6E5tkoQrOWhPPJ2U3ZYBeV1_cbPO-Bvy_g-fqV0yCqvyCMTNKOCwTGWPFR7kXvCdK-D5CvxIoTQzq692g3TjKhksX39DSU7tcLLYUQkUhFY5ZnvooShnbb4/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.46.57.png&quot; /&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Esta funcionalidad es llamada &quot;Save&quot; te permite guardar el sketch actual.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg__KGoaOzw9yTcmdNTgml379lR9Ge8xLMq0iedUc6ga5VHCbEg7c3MflH5LrPycPllmS5w13oTnRaS6JfkWEaa41htaOYK5xZX-HGrEx7rSHy1c34v5si01ZdzjDDtVA0TkxsJZspA-koI/s1600/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.48.24.png&quot; /&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Esta funcionalidad es llamada &quot;Serial Monitor&quot; te abre una ventana que es llamada Serial Monitor en esta ventana se despliega lo que quieres comunicar desde tu Arduino a tu computadora.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Links de referencia y libros:&lt;/div&gt;Tome como referencia algunos puntos del libro llamado &quot;Getting Started with Arduino&quot;&lt;br /&gt;
http://arduino.cc/en/Guide/Environment</content><link rel='replies' type='application/atom+xml' href='http://computointegrado.blogspot.com/feeds/7535726755552599772/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://computointegrado.blogspot.com/2012/01/instalando-e-identificando-el-ambiente.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/7535726755552599772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9089997477056955832/posts/default/7535726755552599772'/><link rel='alternate' type='text/html' href='http://computointegrado.blogspot.com/2012/01/instalando-e-identificando-el-ambiente.html' title='Instalando e identificando el ambiente de desarrollo de arduino'/><author><name>Saúl Gausin</name><uri>http://www.blogger.com/profile/00364409686961382810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOkWzuIoj_vauRUMWuOy1C4dgVS6CQyk48PSGBnTcAlZBGWC4UWlj163nmjYF6dZ_AFQVgCCWid0wAP1ZW0cV7KDfo3YEUPlKCClVtxtdBjj-z9oN8pTzc3zrRkUtPcx9woWYCmRgMywNx/s72-c/Captura+de+pantalla+2012-01-10+a+la%2528s%2529+11.25.40.png" height="72" width="72"/><thr:total>1</thr:total></entry></feed>