<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Punksolid &#187; arduino</title>
	<atom:link href="http://www.punksolid.com/tag/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.punksolid.com</link>
	<description>Tecnologia, Curiosidades, Sistemas de Informacion y un poco de Religion</description>
	<lastBuildDate>Thu, 18 Aug 2011 13:06:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Encendido de LED por Proximidad por Bluetooth</title>
		<link>http://www.punksolid.com/apertura-de-puertas-por-proximidad-por-bluetooth/2008/</link>
		<comments>http://www.punksolid.com/apertura-de-puertas-por-proximidad-por-bluetooth/2008/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 08:16:22 +0000</pubDate>
		<dc:creator>Punksolid</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[blueooth]]></category>

		<guid isPermaLink="false">http://www.punksolid.com/?p=183</guid>
		<description><![CDATA[He hecho un proyecto para la escuela que consiste en abrir los seguros del carro al estar cerca de él, y de cerrarlos al alejarse, es solo un prototipo, para eso he utilizado un Arduino, un USB-Bluetooth, una laptop y el celular que se va a detectar. Video demo Todo está hecho sobre linux UBUNTU [...]]]></description>
			<content:encoded><![CDATA[<p>He hecho un proyecto para la escuela que consiste en abrir los seguros del carro al estar cerca de él, y de cerrarlos al alejarse, es solo un prototipo, para eso he utilizado un Arduino, un USB-Bluetooth, una laptop y el celular que se va a detectar.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ECcawVaYyAY&amp;hl=es&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/ECcawVaYyAY&amp;hl=es&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Video demo</p>
<p>Todo está hecho sobre linux UBUNTU 8.10, sobre windows no se me ocurre como integralo, solo haciendo una sola aplicacion completa.</p>
<p>1.- Se ensambla e USB-Bluetooth a la computadora y se empareja el dispositivo por medio de los asistentes.</p>
<p>2.- Se instala la aplicación Blueproximity desde Synaptics y se configura.</p>
<p>3.- Se baja una clase en C que tiene funciones para el manejo del puerto serial, la clase es <a href="http://todbot.com/arduino/host/arduino-serial/arduino-serial.c">arduino-serial.c</a>, al descargar accesas a la carpeta donde lo descargaste y desde la terminal ejecutas</p>
<blockquote><p><code>punksolid$ gcc -o arduino-serial arduino-serial.c</code></p></blockquote>
<p>con eso compilas la clase, para su uso solo basta</p>
<blockquote><p><code>punksolid$ ./arduino-serial</code></p></blockquote>
<p>y aparecerá el modo de uso, por ejemplo yo uso está linea para encender el led</p>
<blockquote><p>punksolid$ /home/punksolid/arduino-serial -b 19200 -p /dev/ttyUSB0 -s m</p></blockquote>
<p>y para apagarlo</p>
<blockquote><p>punksolid$ /home/punksolid/arduino-serial -b 19200 -p /dev/ttyUSB0 -s n</p></blockquote>
<p>el codigo de la placa arduino es el siguiente</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"> <span style="color: #339933;">*</span> Serial Read Blink
 <span style="color: #339933;">*</span> <span style="color: #339933;">-----------------</span>
 <span style="color: #339933;">*</span> Turns on and off a light emitting diode<span style="color: #009900;">&#40;</span>LED<span style="color: #009900;">&#41;</span> connected to digital
 <span style="color: #339933;">*</span> pin <span style="color: #0000dd;">13</span>. <span style="color: #202020;">The</span> LED will blink the number of times given by a
 <span style="color: #339933;">*</span> single<span style="color: #339933;">-</span>digit ASCII number read from the serial port.
 <span style="color: #339933;">*</span>
 <span style="color: #339933;">*</span> Created <span style="color: #0000dd;">18</span> October <span style="color: #0000dd;">2006</span>
 <span style="color: #339933;">*</span> copyleft <span style="color: #0000dd;">2006</span> Tod E. <span style="color: #202020;">Kurt</span> <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>tod@todbot.<span style="color: #202020;">com</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span>
 <span style="color: #339933;">*</span> http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//todbot.com/</span>
 <span style="color: #339933;">*</span>
 <span style="color: #339933;">*</span> based on <span style="color: #ff0000;">&quot;serial_read_advanced&quot;</span> example
 <span style="color: #339933;">*/</span>
&nbsp;
<span style="color: #993333;">int</span> ledPin <span style="color: #339933;">=</span> <span style="color: #0000dd;">13</span><span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">// select the pin for the LED</span>
<span style="color: #993333;">int</span> val <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>       <span style="color: #666666; font-style: italic;">// variable to store the data from the serial port</span>
&nbsp;
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  pinMode<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span>OUTPUT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>    <span style="color: #666666; font-style: italic;">// declare the LED's pin as output</span>
  Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">19200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>        <span style="color: #666666; font-style: italic;">// connect to the serial port</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> loop <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  val <span style="color: #339933;">=</span> Serial.<span style="color: #202020;">read</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>      <span style="color: #666666; font-style: italic;">// read the serial port</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// if the stored value is a single-digit number, blink the LED that number</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>val <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #ff0000;">'0'</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> val <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;=</span> <span style="color: #ff0000;">'9'</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    val <span style="color: #339933;">=</span> val <span style="color: #339933;">-</span> <span style="color: #ff0000;">'0'</span><span style="color: #339933;">;</span>          <span style="color: #666666; font-style: italic;">// convert from character to number</span>
    <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span> i<span style="color: #339933;">=</span><span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i<span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span>val<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;blink!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span>HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">150</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span> LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">150</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #666666; font-style: italic;">//Serial.println();</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>val<span style="color: #339933;">==</span><span style="color: #ff0000;">'m'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span>HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>val<span style="color: #339933;">==</span><span style="color: #ff0000;">'n'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span>LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>4.- Ya nada mas falta configurar Blueproximity en la pestaña de bloqueo para que se ejecute el comando de ejemplo que puse arriba.</p>
<p>Como utilidades he pensado en la apertura de serguros electricos para carro al acercarse ademas tambien bajar las ventanas, y viceversa para cuando el usuario se aleje, para hacer eso basta con un relay.</p>
<p>Cualquier duda comentarlo y responderé.</p>
<p>Referencias</p>
<p>Conectar <a href="http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to-arduino/">Arduino con el lenguaje C</a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.punksolid.com/apertura-de-puertas-por-proximidad-por-bluetooth/2008/&via=Punksolid&text=Encendido de LED por Proximidad por Bluetooth&related=José Palazuelos:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.punksolid.com/apertura-de-puertas-por-proximidad-por-bluetooth/2008/&via=Punksolid&text=Encendido de LED por Proximidad por Bluetooth&related=José Palazuelos:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.punksolid.com/apertura-de-puertas-por-proximidad-por-bluetooth/2008/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Conectar la placa Arduino con PHP a travez de PHP Serial</title>
		<link>http://www.punksolid.com/conectar-la-placa-arduino-con-php-a-travez-de-php-serial/2008/</link>
		<comments>http://www.punksolid.com/conectar-la-placa-arduino-con-php-a-travez-de-php-serial/2008/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 05:59:12 +0000</pubDate>
		<dc:creator>Punksolid</dc:creator>
				<category><![CDATA[Aplicaciones]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.punksolid.com/?p=114</guid>
		<description><![CDATA[Este tutorial sirve para conectar Arduino con PHP de manera mas directa sobre windows con XAMPP y la extensión PHP Serial, que prácticamente debería servir para cualquier dispositivo que se quiera conectar al puerto Serial de la computadora, aunque mi prueba es por USB. Guía Rápida Descarga e instala XAMPP. Descarga la extensión y los [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="XAMPP" src="http://www.noticiastech.com/wordpress/wp-content/uploads/2007/07/xammp.jpg" alt="" width="252" height="173" />Este tutorial sirve para conectar Arduino con PHP de manera mas directa sobre windows con XAMPP y la extensión <a href="http://www.easyvitools.com/phpserial/index.html">PHP Serial</a>, que prácticamente debería servir para cualquier dispositivo que se quiera conectar al puerto Serial de la computadora, aunque mi prueba es por USB.</p>
<p><strong>Guía Rápida<br />
</strong></p>
<ol>
<li><a href="http://sourceforge.net/projects/xampp/">Descarga e instala XAMPP</a>.</li>
<li>Descarga la extensión y los archivos de ejemplo de <a href="http://www.easyvitools.com/download/download.html">PHP Serial</a>.</li>
<li>Coloca el *.dll en las librerías de PHP y activalas en el php.ini.</li>
<li>Pon el Xampp en modo CGI.</li>
<li>Conecta y sube código de prueba al Arduino.</li>
<li>Inicia el Apache.</li>
<li>Usa archivo de prueba "sms_list.php" que viene en el paquete de PHP Serial .</li>
<li>Ejecútalo y Suerte.</li>
</ol>
<p><strong>Guía Detallada</strong></p>
<p>Una vez instalado XAMPP en windows descarga la extension y los archivos de <a href="http://www.easyvitools.com/download/download.html">PHP Serial</a> una vez descompreso copia el archivo <strong>php_ser.dll </strong>en la carpeta de extensiones de PHP que usualmente suele ser para PHP5</p>
<p><strong>C:/PHP/ext/</strong></p>
<p>ahora debes buscar el <strong>php.ini </strong>dentro de la carpeta<strong> C:\xampp\php</strong> en el caso de XAMPP y abrirlo con un bloc de notas, aunque recomiendo <a href="http://notepad-plus.sourceforge.net/es/site.htm">NOTEPAD+</a> que es el que uso, y agregar la extencion que copiamos anteriormente, para hacer eso solo debemos agregar la siguiente linea donde están las demas dll, ejemplo:</p>
<p><strong>extension=php_ser.dll</strong></p>
<p>guarda y cierra el php.ini.</p>
<p>si no estas usando XAMPP talvez asi ya puedas utilizarlo, solo reinicia el apache, pero si eres usuario de XAMPP debes configurarlo para que corra como CGI, ya que por default corre como modulo de apache, para cambiar esto debemos:</p>
<ol>
<li>Ir a<strong> C:\xampp\apache\conf\extra/httpd-xampp.conf </strong>y buscar donde estén las siguientes lineas y descomentar las lineas 1 y 2 y comentar la 3.<br />
<em> </em></p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">&lt;em&gt;<span style="color: #adadad; font-style: italic;">#ScriptAlias /php/ &quot;C:/xampp/php/&quot;</span>
<span style="color: #adadad; font-style: italic;">#Action application/x-httpd-php &quot;/php/php-cgi.exe&quot;</span>
<span style="color: #00007f;">LoadModule</span> php5_module <span style="color: #7f007f;">&quot;C:/xampp/apache/bin/php5apache2.dll&quot;</span>
<span style="color: #00007f;">AddType</span> application/x-httpd-php-source .phps&lt;/em&gt;</pre></div></div>

<p><em> </em></li>
<li>Ir a <em> </em><strong>C:\xampp\apache\conf/httpd.conf </strong>y buscar<strong> </strong><em>&lt;Directory /&gt; </em>y dejarlo como sigue:<em><br />
</em><em> </em></p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">&lt;em&gt;Options <span style="color: #0000ff;">FollowSymLinks</span>
<span style="color: #00007f;">AllowOverride</span> <span style="color: #0000ff;">None</span>
<span style="color: #adadad; font-style: italic;">#Order deny,allow</span>
<span style="color: #adadad; font-style: italic;">#Deny from all</span>
&lt;/em&gt;</pre></div></div>

<p><em> </em><br />
<em> </em></li>
</ol>
<p>Ahora si pueden reiniciar el Apache, algo que pude notar es que el tiempo de respuesta es algo lento, si alguien puede mejorarlo que me lo notifique, no sé si es la mejor manera de comunicarlo con PHP en windows, pero eso ya es cuestion de cada quien.</p>
<p><span id="more-114"></span></p>
<p><strong>Codigo Arduino</strong></p>
<p>He tomado el codigo prestado del proyecto de <a href="http://www.j4mie.org/2008/02/15/how-to-make-a-physical-gmail-notifier/">GMAIL_NOTIFIER_LAMP</a> que si la placa recibe el valor "M" enciende el led si recibe "N" lo apaga:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">int</span> outPin <span style="color: #339933;">=</span> <span style="color: #0000dd;">13</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Especificamos el pin de salida</span>
<span style="color: #993333;">int</span> mail <span style="color: #339933;">=</span> LOW<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Is there new mail?</span>
<span style="color: #993333;">int</span> val<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Value read from the serial port</span>
&nbsp;
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
 pinMode<span style="color: #009900;">&#40;</span>outPin<span style="color: #339933;">,</span> OUTPUT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// sets the digital pin as output</span>
 Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">19200</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 Serial.<span style="color: #202020;">flush</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// Read from serial port</span>
 <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>Serial.<span style="color: #202020;">available</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
 <span style="color: #009900;">&#123;</span>
  val <span style="color: #339933;">=</span> Serial.<span style="color: #202020;">read</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span>val<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>val <span style="color: #339933;">==</span> <span style="color: #ff0000;">'M'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  mail <span style="color: #339933;">=</span> HIGH<span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>val <span style="color: #339933;">==</span> <span style="color: #ff0000;">'N'</span><span style="color: #009900;">&#41;</span> mail <span style="color: #339933;">=</span> LOW<span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Set the status of the output pin</span>
 digitalWrite<span style="color: #009900;">&#40;</span>outPin<span style="color: #339933;">,</span> mail<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>El Codigo PHP para encendido pueden usar el de ejemplo de PHPSerial, el que lleva por nombre sms_list.php solo recuerden modificar por su puerto COM en mi caso es el COM4 y los baud a 19200 en caso de ser USB.</p>
<p>Suerte!! Cualquier problema lo publican en los comentarios</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=2024186&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=2024186&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/2024186?pg=embed&amp;sec=2024186">Arduino</a> from <a href="http://vimeo.com/user339787?pg=embed&amp;sec=2024186">Punksolid</a> on <a href="http://vimeo.com?pg=embed&amp;sec=2024186">Vimeo</a>.</p>
<h3>Actualización!! (22/Nov/09)</h3>
<p><em>Este articulo fue escrito hace tiempo,  creo que ya cambió la version de <strong>XAMPP </strong>con la que fue probado, e incluso ya salió una nueva version de PHP_Serial en la que ya no se ocupa el modo CGI, segun lo leido en los comentarios, este articulo parece ya no funcionar.</em></p>
<h3>Referencia</h3>
<p><a href="http://www.easyvitools.com/phpserial/php_ser_reference.html">Instrucciones de Instalación y API de PHP Serials (En Ingles)</a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.punksolid.com/conectar-la-placa-arduino-con-php-a-travez-de-php-serial/2008/&via=Punksolid&text=Conectar la placa Arduino con PHP a travez de PHP Serial &related=José Palazuelos:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.punksolid.com/conectar-la-placa-arduino-con-php-a-travez-de-php-serial/2008/&via=Punksolid&text=Conectar la placa Arduino con PHP a travez de PHP Serial &related=José Palazuelos:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.punksolid.com/conectar-la-placa-arduino-con-php-a-travez-de-php-serial/2008/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Arduino y PHP en Windows</title>
		<link>http://www.punksolid.com/arduino-y-php-en-windows/2008/</link>
		<comments>http://www.punksolid.com/arduino-y-php-en-windows/2008/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 06:57:48 +0000</pubDate>
		<dc:creator>Punksolid</dc:creator>
				<category><![CDATA[programación]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.punksolid.com/?p=110</guid>
		<description><![CDATA[Se me hace raro que en la web oficial de Arduino no venga como conectar la placa Arduino + PHP de manera directa, hay unos métodos a través de proxys o cosas similares, el caso es que lo he logrado implementando la extensión PHPSerials que descargué desde http://www.easyvitools.com/phpserial/index.html, son pocas pero suficientes funciones que permiten [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 208px"><img title="Arduino" src="http://arduino.cc/en/uploads/Main/arduino316.jpg" alt="Foto por Nicholas Zambetti" width="198" height="137" /><img title="Xampp" src="http://janckos.files.wordpress.com/2008/04/xampp_logo.jpg" alt="" width="205" height="181" /><p class="wp-caption-text">Foto por Nicholas Zambetti</p></div>
<p>Se me hace raro que en la <a href="http://www.arduino.cc/playground/Main/InterfacingWithSoftware">web oficial de Arduino</a> no venga como conectar la placa Arduino + PHP de manera directa, hay unos métodos a través de proxys o cosas similares, el caso es que lo he logrado implementando la extensión PHPSerials que descargué desde <a href="http://www.easyvitools.com/phpserial/index.html">http://www.easyvitools.com/phpserial/index.html</a>, son pocas pero suficientes funciones que permiten leer y escribir sobre el puerto serial, bajo windows XP y sobre XAMPP con Arduino USB,los únicos problemas que noté fue la velocidad, y que al parecer la versión de la extensión es solo para estudiantes o algo similar.</p>
<p>Si no puedes lograr la conexion, comentalo y te respondo detalladamente.</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.punksolid.com/arduino-y-php-en-windows/2008/&via=Punksolid&text=Arduino y PHP en Windows&related=José Palazuelos:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.punksolid.com/arduino-y-php-en-windows/2008/&via=Punksolid&text=Arduino y PHP en Windows&related=José Palazuelos:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://www.punksolid.com/arduino-y-php-en-windows/2008/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

