<?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>Alex Corbi &#187; arduino</title>
	<atom:link href="http://49ers.es/corbi/tag/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://49ers.es/corbi</link>
	<description></description>
	<lastBuildDate>Wed, 19 Oct 2011 23:10:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>B.A.S.S Bike Automatic Signalisation System [On Work]</title>
		<link>http://49ers.es/corbi/bass-bike-automatic-signalisation-system-on-work/</link>
		<comments>http://49ers.es/corbi/bass-bike-automatic-signalisation-system-on-work/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 15:55:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[led matrix]]></category>

		<guid isPermaLink="false">http://49ers.es/corbi/?p=396</guid>
		<description><![CDATA[ABSTRACT In some countries , bicycles are a widely used as transport medium inside the cities, its more ecological and also can save you some time when going to some place by avoiding traffic jams. Bikes do not need to much apparell to make its task, all accessories a user can find on stores are [...]]]></description>
			<content:encoded><![CDATA[<h3 style="text-align: left;"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030106.jpg"><img class="alignnone size-medium wp-image-484" title="p1030106" src="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030106-500x375.jpg" alt="p1030106" width="500" height="375" /></a></h3>
<h3 style="text-align: left;"><span id="more-396"></span></h3>
<h3 style="text-align: left;"><strong>ABSTRACT</strong></h3>
<p style="text-align: left;">In some countries , bicycles are a widely used as transport medium inside the cities, its more ecological and also can save you some time when going to some place by avoiding traffic jams.</p>
<p style="text-align: left;">Bikes do not need to much apparell to make its task, all accessories a user can find on stores are related to security:</p>
<ol>
<li><span style="text-decoration: underline;">PROTECTION :</span> Helmet , gloves.</li>
<li><span style="text-decoration: underline;">SIGNALISATION</span>: Reflective clothes , blinking back light.</li>
</ol>
<p style="text-align: left;">Security is an important issue , so i decided to push the blinkling light signalisation system a bit further, the reason is that current systems only provide a mechanism to make others (cars, pedestrians, bikers) see your position, but if you need to turn you still have to take your hand off your steering control and signalise using your arms.</p>
<p style="text-align: left;">The idea behind B.A.S.S is to automatise the signalisation completely so the biker can focus only on riding, the following features are provided:</p>
<ul style="text-align: left;">
<li><span style="text-decoration: underline;">POSITION SIGNALISATION:</span> Green Blinking.</li>
<li><span style="text-decoration: underline;">TURNING</span>: When the bike starts to turn, the inclination is detected by the accelerometer and an orange arrow starts blinking indicating the direction of the turn,  the faster the turn is the faster the light blinks.</li>
<li><span style="text-decoration: underline;">BRAKE</span>: When a deceleration is detected, red light is presented to indicate the reduction of speed, the bigger the reduction the faster the light blinks.</li>
<li><span style="text-decoration: underline;">TEXT PRESENTING:</span> Some text strings can be stored on the Arduino&#8217;s memory and be displayed on the run.</li>
</ul>
<h3 style="text-align: left;">PARTS</h3>
<table style="height: 184px;" border="0" width="427">
<tbody>
<tr>
<td style="text-align:center;padding:5px 5px 5px 5px"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030080.jpg"></a></p>
<p style="text-align: center;"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030080.jpg"><img class="size-thumbnail wp-image-400 aligncenter" title="p1030080" src="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030080-80x80.jpg" alt="p1030080" width="80" height="80" /></a></p>
</td>
<td style="text-align:center;padding:5px 5px 5px 5px"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030081.jpg"></a></p>
<p style="text-align: center;"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030081.jpg"><img class="size-thumbnail wp-image-400 aligncenter" title="p1030081" src="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030081-80x80.jpg" alt="p1030082" width="80" height="80" /></a></p>
</td>
<td style="text-align:center;padding:5px 5px 5px 5px"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030082.jpg"></a></p>
<p style="text-align: center;"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030082.jpg"><img class="size-thumbnail wp-image-400 aligncenter" title="p1030082" src="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030082-80x80.jpg" alt="p1030082" width="80" height="80" /></a></p>
</td>
<td style="text-align:center;padding:5px 5px 5px 5px"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030083.jpg"></a></p>
<p style="text-align: center;"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030083.jpg"><img class="size-thumbnail wp-image-401 aligncenter" title="p1030083" src="http://49ers.es/corbi/wp-content/uploads/2009/03/p1030083-80x80.jpg" alt="p1030083" width="80" height="80" /></a></p>
</td>
<td style="text-align:center;padding:5px 5px 5px 5px"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p10300841.jpg"></a></p>
<p style="text-align: center;"><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/p10300841.jpg"><img class="size-thumbnail wp-image-403 aligncenter" title="p10300841" src="http://49ers.es/corbi/wp-content/uploads/2009/03/p10300841-80x80.jpg" alt="p10300841" width="80" height="80" /></a></p>
</td>
</tr>
<tr>
<td style="text-align:center;">ADXL330 Acceleromer: Measures the acceleration &amp; deceleration and turning.</td>
<td style="text-align:center;">MAX7219: To interface the two led matrixes with arduino.</td>
<td style="text-align:center;">2x Led Matrix: Red, green, orange 8&#215;8 led.</td>
<td style="text-align:center;">Arduino: Mircroprocessor and i/o</td>
<td style="text-align:center;">9V battery</td>
</tr>
</tbody>
</table>
<h3 style="text-align: left;"><strong>DEVELOPMENT DETAILS</strong></h3>
<p style="text-align: left;">
<p style="text-align: left;">In this projects 3 main goals are to be archieved:</p>
<h4 style="text-align: left;">Processing Data from Accelerometer ADLX330. <strong>[DONE]</strong></h4>
<p style="text-align: left;">Taking the code from <a href="http://www.arduino.cc/playground/Main/ADXL330">this tutorial at arduino playground</a> is quite easy to start obtaining the values messured by the Accelerometer. Thanks to Ed&#8217;s work we obtain continuosly the acceleration values of each axis but also the rotation angle and its pitch.</p>
<h4 style="text-align: left;">Interfacing Two LED Matrixes with arduino using 4 MAX7219. <strong>[IN PROGRESS]</strong></h4>
<p style="text-align: left;">This LED Matrixes are wonderfull for this project, they consist on 64 (8&#215;8) Two coloured leds, this colors are Red and Green, if the two of them are set at a time, an orange color is emitted, this fits our requirements perfectly. But controling them with an arduino is not easy, they have 24 pins , so the digital outputs of our arduino are not enough, there are some <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=759">Sparkfun Matrixes with an spi interface</a> that makes it really easy and minimizes the requirements, but they are like 5 times more expensive.</p>
<p style="text-align: left;">So what we are doing is , buiLow deceleration/inclinationlding this interface from scratch, using MAX7219 chips and following<a href="http://www.arduino.cc/playground/Main/LEDMatrix"> this tutorial,</a> again at arduino playground.</p>
<p style="text-align: left;">At the very beginning i tried to solder all elements on a <span style="text-decoration: line-through;">prototyping board like this </span>but the number of wires is simply to big and making a mistake by making joints was to easy. So i decided to buy some copper clad laminate and design the PCB myself using<a href="http://www.cadsoft.de/"> EagleCad Layout</a> design software.</p>
<p><a href="http://49ers.es/corbi/wp-content/uploads/2009/03/bass_bottom.png"><img class="size-thumbnail wp-image-485 alignnone" title="bass_top1" src="http://49ers.es/corbi/wp-content/uploads/2009/03/bass_top1-80x80.png" alt="bass_top1" width="80" height="80" /> <img class="size-thumbnail wp-image-488 alignnone" title="bass_bottom" src="http://49ers.es/corbi/wp-content/uploads/2009/03/bass_bottom-80x80.png" alt="bass_bottom" width="80" height="80" /></a></p>
<p style="text-align: left;">
<h4 style="text-align: left;">Calibrating values from Accelerometer to obtain correct results <strong>[TO BE DONE]</strong></h4>
<p style="text-align: left;">Once we have all the setup done, a calibration process must be done. The idea is to search for the correct values of inclination and deceleration to make the system responsive and accurate, there would be 3 diferent intervals to measure:</p>
<ul>
<li>Low deceleration/inclination   &#8212;&gt;  2 blinks/second T=0,5s</li>
<li>Medium deceleration/inclination  &#8212;&gt;  4 blinks/second T=0,25s</li>
<li>High deceleration/inclination  &#8212;&gt; 8 blinks/second T=0,125s</li>
</ul>
<h3 style="text-align: left;"><strong>REFERENCE</strong></h3>
<p style="text-align: left;">http://gizmodo.com/367988/signal-jacket-for-cyclists</p>
<p>http://www.pocket-lint.com/news/news.phtml/13904/14928/reactiv-jackets-wins-dyson-award.phtml</p>
<p>http://www.arduino.cc/playground/Main/LEDMatrix</p>
<p>http://www.arduino.cc/playground/Main/ADXL330</p>
<h3 style="text-align: left;"><strong>PARTS</strong></h3>
<p style="text-align: left;">http://www.sparkfun.com/commerce/product_info.php?products_id=682</p>
<p>http://www.sparkfun.com/commerce/product_info.php?products_id=692</p>
]]></content:encoded>
			<wfw:commentRss>http://49ers.es/corbi/bass-bike-automatic-signalisation-system-on-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino and Processing over Serial</title>
		<link>http://49ers.es/corbi/arduino-and-processing-over-serial/</link>
		<comments>http://49ers.es/corbi/arduino-and-processing-over-serial/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 22:12:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://49ers.es/corbi/?p=295</guid>
		<description><![CDATA[What is Processing? For those of you that don´t know it yet .Processing is an open-source enviroment that makes graphic design  easy and totally intuitive for software programmers. Based on a easy-to-learn languaje very very similar to java ( also it can be intergrated with Eclipse or Netbeans) it provides the developer with a very [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://49ers.es/corbi/wp-content/uploads/2008/12/p1030020.jpg"><img class="alignnone size-full wp-image-296" title="p1030020" src="http://49ers.es/corbi/wp-content/uploads/2008/12/p1030020.jpg" alt="" width="500" height="300" /></a></p>
<p><span id="more-295"></span></p>
<h3><strong>What is Processing?<br />
</strong></h3>
<p>For those of you that don´t know it yet .<a href="http://www.processing.org/">Processing</a> is an open-source enviroment that makes graphic design  easy and totally intuitive for software programmers. Based on a easy-to-learn languaje very very similar to java ( also it can be intergrated with <a href="http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1117133941">Eclipse </a>or <a href="http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1191468953">Netbeans</a>) it provides the developer with a very well designed structure and methods that allows points, lines, shapes to be painted on a virtual canvas.</p>
<p>It fits perfect for those who want to give their developments a &#8220;pretty face&#8221; without having to learn something completely different as we are used to.</p>
<h3><strong>Why connecting pc to arduino?</strong></h3>
<p><strong> </strong></p>
<p><strong><span style="font-weight: normal;">The goal of doing this is obvious, arduino allows us to play with sensors and design interfaces and prototypes over a small/cheap device , all those generated  signals with this sweet tool can be shown by using leds, lcds, servos etc. But the flexibility to design whatever you want to present these data is worthless.</span></strong></p>
<p>I wonder wich video-&#8221;techy&#8221;-artist does not use it.</p>
<h3><strong>What did i implement?</strong></h3>
<p>Taking my <a href="http://49ers.es/corbi/?p=277">Capacitive Bar Sensor</a> , i&#8217;ve written some code to make all that input signals come to &#8220;reality&#8221; , the code ( found below ) reads from serial interface of the laptop ( usb ) a stream of bytes sent by Arduino, each byte represent the pressed position of the bar.</p>
<p>The processing code reads these bytes and makes the correspondent box react. Also, i tried to make these programm recognise some patterns, the possibilities are not too big, so these are the two input patterns detected:</p>
<p><strong>Scroll Up / Down </strong>: All the sent bytes are stored in a buffer so we can check wheter they came in a sequential order or not [0][1][2][3][4][5] -&gt; UP  [5][4][3][2][1][0] -&gt; DOWN<br />
<strong>Scratch in the middle :</strong> if the central positions are &#8220;pressed&#8221; alternatively [2][3][2][3] -&gt; MIDDLE</p>
<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=2496033&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=2496033&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object><br />
<a href="http://vimeo.com/2496033">Arduino and Processing over Serial</a> from <a href="http://vimeo.com/user1008286">Alejandro Corbi</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<h3><strong>Sound</strong></h3>
<p><strong> </strong></p>
<p><strong><span style="font-weight: normal;">I though that adding sound could be a nice feature, so this implementation can act as a music-interface. It was sooo easy as importing <a href="http://code.compartmental.net/tools/minim/">Minim Sound Library</a> to the enviroment and start playing around that i was fully surprised. </span></strong></p>
<h3><strong>Code and sounds</strong></h3>
<p><a href="http://49ers.es/corbi/wp-content/uploads/2008/12/capbardemo.rar">capbardemo.rar</a></p>
]]></content:encoded>
			<wfw:commentRss>http://49ers.es/corbi/arduino-and-processing-over-serial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Capacitive Scroll Bar</title>
		<link>http://49ers.es/corbi/arduino-capacitive-scroll-bar/</link>
		<comments>http://49ers.es/corbi/arduino-capacitive-scroll-bar/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 21:01:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[capacitance]]></category>
		<category><![CDATA[interface]]></category>

		<guid isPermaLink="false">http://49ers.es/corbi/?p=277</guid>
		<description><![CDATA[Arduino Capacitive Scroll Bar from Alejandro Corbi on Vimeo. What is capbar? Is a user input interface concept. Cap stands for &#8220;Capacitance&#8221; , wich allows us to use nothing but our finger to generate input signals to communicate , in this case with Arduino. By using very little and cheap amount of materials, just cable [...]]]></description>
			<content:encoded><![CDATA[<p><object width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=2439665&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=2439665&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object><br />
<a href="http://vimeo.com/2439665">Arduino Capacitive Scroll Bar</a> from <a href="http://vimeo.com/user1008286">Alejandro Corbi</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><span id="more-277"></span></p>
<h3><strong>What is capbar?</strong></h3>
<p>Is a user input interface concept. Cap stands for &#8220;<a href="http://en.wikipedia.org/wiki/Capacitance">Capacitance</a>&#8221; , wich allows us to use nothing but our finger to generate input signals to communicate , in this case with <a href="http://arduino.cc/" target="_blank">Arduino</a>.</p>
<p>By using very little and cheap amount of materials, just cable and something conductive, a haptic interface can be created and used to provide a posible prototype with an alternative input interface than potentiometers, buttons or switchers.</p>
<h3><strong>The good part of it</strong></h3>
<p><strong>Easy:</strong> So as setting <em>n </em>separated conductive pieces connected each of them to one input pin on arduino.<br />
<strong>Cheap:</strong> I used conductive tape (something like <a href="http://www.lairdtech.com/pages/products/EMI-ConductiveTape.asp" target="_blank">this</a>) that i found somewhere , you can use whatever conductive material . In addition, the design is quite flexible, a bar is just the easiest  way to implement it.<br />
<strong>Responsive:</strong> As you can see on the video, the input pins register quite accuratelly the contact between finger and surface. More than one segments can be pressed and detected at the same time.</p>
<h3><strong>The bad part of it</strong></h3>
<div>The number of inputs on a platform like Arduino are not infinite , so this idea is quite limited and of course not optimal. The use of some kind of Multiplexing would be a logic improvement.</div>
<h3><strong>Future Roadmap</strong></h3>
<div>
<ul>
<li>Ipod-like wheel controller</li>
<li>Reduce number of inputs/values (at least under 1:1)</li>
</ul>
<div>
<h3><strong>References</strong></h3>
<div>[Arduino Playground]  <a href="http://www.arduino.cc/playground/Code/CapacitiveSensor">Native Capacitive Sensors without additional Hardware</a></div>
</div>
</div>
<div><a href="http://49ers.es/corbi/wp-content/uploads/2008/12/p1030013.jpg"><img class="size-thumbnail wp-image-279 alignnone" title="p1030013" src="http://49ers.es/corbi/wp-content/uploads/2008/12/p1030013-80x80.jpg" alt="" width="80" height="80" /></a> <a href="http://49ers.es/corbi/wp-content/uploads/2008/12/capbar1.jpg"><img class="size-thumbnail wp-image-280 alignnone" title="capbar1" src="http://49ers.es/corbi/wp-content/uploads/2008/12/capbar1-80x80.jpg" alt="" width="80" height="80" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://49ers.es/corbi/arduino-capacitive-scroll-bar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

