<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Warranty Voider</title>
	<atom:link href="http://vlxs.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vlxs.wordpress.com</link>
	<description>“La capacidad de percibir o pensar de manera diferente, es más improtante que el conocimiento adquirido” David Bohm.</description>
	<lastBuildDate>Sun, 19 May 2013 04:57:06 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vlxs.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Warranty Voider</title>
		<link>http://vlxs.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vlxs.wordpress.com/osd.xml" title="Warranty Voider" />
	<atom:link rel='hub' href='http://vlxs.wordpress.com/?pushpress=hub'/>
		<item>
		<title>An(other) Arduino-Based Line-Follower Robot</title>
		<link>http://vlxs.wordpress.com/2010/10/29/another-arduino-based-line-follower-robot/</link>
		<comments>http://vlxs.wordpress.com/2010/10/29/another-arduino-based-line-follower-robot/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 22:26:22 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Sin categoría]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=508</guid>
		<description><![CDATA[After more than half a year from the MadridBot competition, I&#8217;ve decided to rescue the documentation and pictures of the robot that we built for a line-following (speed) competition. It&#8217;s basically a 1:28 scale RC car hacked with a servo for direction and an home-made arduino based board. In the front there can be seen [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=508&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/10/fotomadridbot.jpg"><img class="aligncenter size-full wp-image-509" title="FotoMadridbot" src="http://vlxs.files.wordpress.com/2010/10/fotomadridbot.jpg?w=510&#038;h=382" alt="" width="510" height="382" /></a>After more than half a year from the MadridBot competition, I&#8217;ve decided to rescue the documentation and pictures of the robot that we built for a line-following (speed) competition.</p>
<p>It&#8217;s basically a 1:28 scale RC car hacked with a servo for direction and an home-made arduino based board. In the front there can be seen 5 x CNY70 line sensors (IR reflection), shielded from light and crashes with foam. The rest of the car is described in the pdf below.</p>
<p><span id="more-508"></span></p>
<p>This has been the first competition robot we have made, and OK, I can say that I have learned a lot with it&#8230; Now I know that EVERYTHING can fail if you are sufficiently close to the challenge date. As any of my projects, the main reason to our partial failure was the lack of time (and planning). Apart from this, we had a very crude fight with some noise created by the DC motor, which interacted with the electronics of the servo. Eventually noise won, and we had to divide our power sources in two separate ones. Huge botch&#8230;</p>
<p>So, the competition day we met at 7:00 AM and tried to make some adjustments on the software, and we achieved speeds over 1m/s, what seemed a good value (although usually competition level line-followers reach up to 2.5m/s). But the funny part was this: We used to test the robot in a concrete, even surface; but the competition track was made from a soft foam, which was deformed by the weight of the robot, making the sensor array touch the ground and brake the entire car&#8230; Although this technical problem, we got the 12th position out of 40, and we spent a quite good time.</p>
<p>This is the document we attached to our inscription:<br />
<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/40363165/content?start_page=1&view_mode=list&access_key=key-2785sbm7vb7metziep5r" data-auto-height="true" scrolling="no" id="scribd_40363165" width="100%" height="500" frameborder="0"></iframe>
<div style="font-size:10px;text-align:center;width:100%"><a href="http://www.scribd.com/doc/40363165">View this document on Scribd</a></div></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/508/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=508&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/10/29/another-arduino-based-line-follower-robot/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/10/fotomadridbot.jpg" medium="image">
			<media:title type="html">FotoMadridbot</media:title>
		</media:content>
	</item>
		<item>
		<title>New section of my blog: Tinkering Today!</title>
		<link>http://vlxs.wordpress.com/2010/09/15/new-section-of-my-blog-tinkering-today/</link>
		<comments>http://vlxs.wordpress.com/2010/09/15/new-section-of-my-blog-tinkering-today/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 22:47:54 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Bitácora]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=502</guid>
		<description><![CDATA[Tinkering Today, posted with vodpod &#160; Any blogger will agree with me: There are a LOT of situations in which you think about writing a new post and, after some time, you realize that the article is not interesting enough to finally publish it. This happens to me everyday, and yesterday I reached the conclusion [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=502&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><span style="display:block;width:425px;margin:0 auto;"> <embed src='http://widgets.vodpod.com/w/video_embed/Video.4438397' type='application/x-shockwave-flash' AllowScriptAccess='sameDomain' pluginspage='http://www.macromedia.com/go/getflashplayer' wmode='transparent' flashvars='offsite=true&amp;lang=en-us&amp;page_show_url=%2Fphotos%2F8442583%40N05%2Fsets%2F72157624950213364%2Fshow%2F&amp;page_show_back_url=%2Fphotos%2F8442583%40N05%2Fsets%2F72157624950213364%2F&amp;set_id=72157624950213364&amp;jump_to=' width='425' height='350' /></span></p>
<div style="font-size:10px;"><a href="http://vodpod.com/watch/4438397-tinkering-today?pod=">Tinkering Today</a>, posted with <a href="http://vodpod.com?r=wp">vodpod</a></div>
<p>&nbsp;</p>
<p>Any blogger will agree with me: <strong>There are a LOT of situations in which you think about writing a new post and, after some time, you realize that the article is not interesting enough to finally publish it.</strong> This happens to me everyday, and yesterday I reached the conclusion that I had to create a place to keep all this &#8220;small projects&#8221; together, and share them with the world (Ok, the vast majority of them are unlikely to be interesting, but this is better than leaving them unpublished)</p>
<p>With this in mind, yesterday I re-opened my Flickr account and I created a new set called &#8220;Tinkering Today&#8230;&#8221; in which I will try to upload one picture a day summarizing what I&#8217;ve spent my time in. So this is going to be quite strange because this Flickr set is more similar to a blog than this site, which I will keep for publishing finished projects. You can find the latest updates at the right of this page or the full set in the &#8220;Tinkering Today&#8230;&#8221; page of the blog.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/502/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=502&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/09/15/new-section-of-my-blog-tinkering-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>
	</item>
		<item>
		<title>Ctrl key Pendrive: What to do with a broken Keyboard</title>
		<link>http://vlxs.wordpress.com/2010/07/14/what-to-do-with-a-broken-keyboard-or-how-to-make-a-keyboard-case-for-your-pendrive/</link>
		<comments>http://vlxs.wordpress.com/2010/07/14/what-to-do-with-a-broken-keyboard-or-how-to-make-a-keyboard-case-for-your-pendrive/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 14:47:21 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[broken keyboard]]></category>
		<category><![CDATA[ctrl key]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=479</guid>
		<description><![CDATA[This morning I was trying to tidy up my workbench when I found an old PS2 keyboard that I was keeping for disassembly. After removing some screws I realized that, as usual, the electronics of the keyboard were substituted by a black blob of epoxi, so few things apart from some connectors and some meters [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=479&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/07/keydrive3.jpg"><img class="aligncenter size-full wp-image-482" title="KeyDrive3" src="http://vlxs.files.wordpress.com/2010/07/keydrive3.jpg?w=510&#038;h=382" alt="" width="510" height="382" /></a></p>
<p>This morning I was trying to tidy up my workbench when I found an old  PS2 keyboard that I was keeping for disassembly. After removing some  screws I realized that, as usual, the electronics of the keyboard were  substituted by a black blob of epoxi, so few things apart from some  connectors and some meters of AWG26 cable could be savaged.</p>
<p>But then I remembered that I had a tiny USB broken pendrive with a  metal enclosure. I opened it and found that the only problem with it was  that the crystal was desoldered, something quite easy to fix.</p>
<p>After that, the only remaining thing to do was to find a new  enclosure for the pendrive, so I took a Ctrl key from the keyboard,  hollowed it and cut it in a shape that could allow the &#8220;naked&#8221; pendrive  to fit in it. In the bottom part it is covered with a piece of plastic  from a VHS tape box.</p>
<p><span id="more-479"></span></p>
<p><a href="http://vlxs.files.wordpress.com/2010/07/keydrive.jpg"><img class="aligncenter size-full wp-image-480" title="KeyDrive" src="http://vlxs.files.wordpress.com/2010/07/keydrive.jpg?w=510&#038;h=315" alt="" width="510" height="315" /></a></p>
<p><a href="http://vlxs.files.wordpress.com/2010/07/keydrive2.jpg"><img class="aligncenter size-full wp-image-481" title="KeyDrive2" src="http://vlxs.files.wordpress.com/2010/07/keydrive2.jpg?w=510&#038;h=382" alt="" width="510" height="382" /></a><span style="text-decoration:line-through;">Excuse me for the silly post!</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/479/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/479/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=479&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/07/14/what-to-do-with-a-broken-keyboard-or-how-to-make-a-keyboard-case-for-your-pendrive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/keydrive3.jpg" medium="image">
			<media:title type="html">KeyDrive3</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/keydrive.jpg" medium="image">
			<media:title type="html">KeyDrive</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/keydrive2.jpg" medium="image">
			<media:title type="html">KeyDrive2</media:title>
		</media:content>
	</item>
		<item>
		<title>Ard_O_Scope: An Extremely Simple Voltage Visualizer (oscilloscope) for Arduino</title>
		<link>http://vlxs.wordpress.com/2010/07/12/ard_o_scope-2/</link>
		<comments>http://vlxs.wordpress.com/2010/07/12/ard_o_scope-2/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 12:28:18 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino oscilloscope]]></category>
		<category><![CDATA[arduino scope]]></category>
		<category><![CDATA[osciloscopio]]></category>
		<category><![CDATA[serial port]]></category>
		<category><![CDATA[serial scope]]></category>
		<category><![CDATA[voltage visualizer]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=469</guid>
		<description><![CDATA[While I was investigating some noise-filtering and smoothing algorithms for analogRead in Arduino, I realized that I needed some way to test the influence of some parameters over a certain signal. I usually do this just by sending the reading of a potentiometer through the serial port of the Arduino and see how these number [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=469&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/07/ard-o-scope_round.png"><img class="aligncenter size-full wp-image-470" title="Ard-O-Scope_round" src="http://vlxs.files.wordpress.com/2010/07/ard-o-scope_round.png?w=510&#038;h=323" alt="" width="510" height="323" /></a><br />
While I was investigating some noise-filtering and smoothing algorithms for analogRead in Arduino, I realized that I needed some way to test the influence of some parameters over a certain signal. I usually do this just by sending the reading of a potentiometer through the serial port of the Arduino and see how these number changed while sweeping my potentiometer.</p>
<p>But this is not a very graphical way to see a signal, so I wanted something similar to an oscilloscope, to to see the data I was pushing through the serial port in a comfortable way. So with only some lines of code I have created a nice arduino voltage visualizer, in the Old School way: It just prints to the Arduino serial console a real time bar chart with the readings of your input, with a refresh frequency of about 350 samples per second (When using 115200 bauds). No comparison with an oscilloscope, but useful when measuring inputs from potentiometers or LDRs&#8230;</p>
<p>Watch it in action after the break!</p>
<p><span id="more-469"></span></p>
<p>Here is an example of the output of the program:</p>
<blockquote>
<pre>--------------------------
Extremely Simple Voltage
visualizer for Arduino
-------------------------- 

Created by Sergio Vilches
vlxs.wordpress.com
--------o                 1.67 V
--------o                 1.50 V
-------o                  1.38 V
------o                   1.26 V
------o                   1.11 V
-----o                    0.92 V
----o                     0.72 V
---o                      0.55 V
--o                       0.42 V
--o                       0.37 V
-o                        0.37 V
-o                        0.39 V
-o                        0.73 V
--o                       1.46 V
-----o                    2.39 V
--------o                 3.06 V
-----------o              3.46 V
--------------o           3.68 V
----------------o         3.93 V
-----------------o        4.22 V
-------------------o      4.45 V
--------------------o     4.55 V
---------------------o    4.50 V
---------------------o    4.12 V
--------------------o     3.59 V
------------------o       2.94 V
----------------o         2.35 V
-------------o            1.70 V
</pre>
</blockquote>
<blockquote><p>And here is the sketch:</p>
<pre><span style="color:#7e7e7e;">/*</span>
<span style="color:#7e7e7e;">                          Ard_o_Scope</span>
<span style="color:#7e7e7e;">                          </span>
<span style="color:#7e7e7e;">      Extremely Simple Voltage Visualizer (oscilloscope) for Arduino</span>
<span style="color:#7e7e7e;">  </span>
<span style="color:#7e7e7e;">  This program shows the (smoothed) reading of analog input (0) as an horizontal bar chart in the Serial Monitor of Arduino.</span>

<span style="color:#7e7e7e;">  The circuit:</span>
<span style="color:#7e7e7e;">  Analog sensor (potentiometer will do) attached to analog input 0</span>

<span style="color:#7e7e7e;">  Created 12 July 2010</span>
<span style="color:#7e7e7e;">  By Sergio Vilches  </span>

<span style="color:#7e7e7e;">  http://vlxs.wordpress.com</span>
<span style="color:#7e7e7e;">  </span>
<span style="color:#7e7e7e;">  This sketch is in the public domain. Feel free to modify or distribute it. Have fun!</span>

<span style="color:#7e7e7e;">*/</span>

<span style="color:#cc6600;">int</span> val;
<span style="color:#cc6600;">int</span> ScreenWidth = 25;  <span style="color:#7e7e7e;">// Use this parameter to choose the maximum number of characters that will be sent for each reading</span>
                       <span style="color:#7e7e7e;">// (the number of "-"). Please note that the sampling frequency will decrease when using a large value.</span>

<span style="color:#cc6600;">float</span> smoothingFactor = 0.5; <span style="color:#7e7e7e;">//Vary this value from 0 (no smoothing of the signal) to 0.99 (a lot of smoothing). 0.8 works well</span>

<span style="color:#cc6600;">void</span> <span style="color:#cc6600;"><strong>setup</strong></span>()
{
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">begin</span>(9600);
  val = <span style="color:#cc6600;">analogRead</span>(0) * ScreenWidth / 1024.0;

  <span style="color:#7e7e7e;">//Let's print a heading</span>
  <span style="color:#cc6600;">delay</span>(500);
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(<span style="color:#006699;">"--------------------------"</span>);
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(<span style="color:#006699;">"Extremely Simple Voltage"</span>);
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(<span style="color:#006699;">"visualizer for Arduino"</span>);
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(<span style="color:#006699;">"--------------------------"</span>);
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>();
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(<span style="color:#006699;">"Created by Sergio Vilches"</span>);
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(<span style="color:#006699;">"vlxs.wordpress.com"</span>);
  <span style="color:#cc6600;">delay</span>(1500);
}

<span style="color:#cc6600;">void</span> <span style="color:#cc6600;"><strong>loop</strong></span>()
{
  val = (smoothingFactor * val + (1-smoothingFactor) * <span style="color:#cc6600;">analogRead</span>(0) * ScreenWidth / 1024.0) ;  <span style="color:#7e7e7e;">//This line smooths the data</span>

  <span style="color:#cc6600;">for</span> (<span style="color:#cc6600;">int</span> i = 0 ; i &lt; val ; i++)    <span style="color:#7e7e7e;">//We print as many "-" as val</span>
    <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">print</span>(<span style="color:#006699;">"-"</span>);

  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">print</span>(<span style="color:#006699;">"o"</span>);    <span style="color:#7e7e7e;">//We print the marker</span>

  <span style="color:#cc6600;">for</span> (<span style="color:#cc6600;">int</span> i = 0 ; i &lt; ScreenWidth - val ; i++)
    <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">print</span>(<span style="color:#006699;">" "</span>);

  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">print</span>(<span style="color:#cc6600;">analogRead</span>(0)*5/1024.0);  <span style="color:#7e7e7e;">//And the voltage of the reading</span>
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(<span style="color:#006699;">" V"</span>);
  }
</pre>
</blockquote>
<p>Here is the result of measuring the voltage output from a slider, using a serial speed of 9600 bauds. You can improve the sampling speed by changing this value in void setup, setting Serial.begin(115200).</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='510' height='317' src='http://www.youtube.com/embed/6L3TSn0IEO4?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/469/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=469&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/07/12/ard_o_scope-2/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/ard-o-scope_round.png" medium="image">
			<media:title type="html">Ard-O-Scope_round</media:title>
		</media:content>
	</item>
		<item>
		<title>ShiftBrite Shield &#8211; A color mixer for Arduino</title>
		<link>http://vlxs.wordpress.com/2010/07/08/shiftbrite-shield-a-color-mixer-for-arduino/</link>
		<comments>http://vlxs.wordpress.com/2010/07/08/shiftbrite-shield-a-color-mixer-for-arduino/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 15:55:12 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[colour mixer]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[HSV]]></category>
		<category><![CDATA[leds]]></category>
		<category><![CDATA[megabrite]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[proyectos]]></category>
		<category><![CDATA[RGB]]></category>
		<category><![CDATA[RGB LEDs]]></category>
		<category><![CDATA[shiftbrite]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=435</guid>
		<description><![CDATA[LEDs&#8230; The beauty of electronics, the soul of a project. What can I say, I love LEDs!! Each time I see a project involving RGB LEDs, several ideas come to my mind and I&#8217;ve always wondered I had a good hardware platform to mess around with them! So, after some days surfing through datasheets, online [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=435&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/07/shiftbriteshield_s_round.jpg"><img class="aligncenter size-full wp-image-453" title="ShiftBriteShield_s_round" src="http://vlxs.files.wordpress.com/2010/07/shiftbriteshield_s_round.jpg?w=510&#038;h=430" alt="" width="510" height="430" /></a></p>
<p>LEDs&#8230; The beauty of electronics, the soul of a project. What can I say, I love LEDs!! Each time I see a project involving RGB LEDs, several ideas come to my mind and I&#8217;ve always wondered I had a good hardware platform to mess around with them!</p>
<p><span id="more-435"></span>So, after some days surfing through datasheets, online shops and tech documents, I reached one conclusion: Controlling several High-intensity RGB LEDs IS DIFFICULT. You need to supply the correct voltage to each one of the LEDs (without using resistors: when you are dealing with a 3A current, each tiny resistor can dissipate more energy in heat that your LED does, what is not very efficient&#8230;), you need a very good heatsink and an amplifier stage to control them using your Arduino. Dealing with these handicaps can be very though, or it can be <em>just</em> expensive. Guess which is the option that I chose&#8230;</p>
<div id="attachment_441" class="wp-caption aligncenter" style="width: 520px"><a href="http://vlxs.files.wordpress.com/2010/07/shiftbrite_s.jpg"><img class="size-full wp-image-441" title="ShiftBrite_s" src="http://vlxs.files.wordpress.com/2010/07/shiftbrite_s.jpg?w=510&#038;h=264" alt="" width="510" height="264" /></a><p class="wp-caption-text">MegaBrite, from Macetech Industries</p></div>
<p>This tiny piece of hardware simplifies a LOT your life if you want to make some microcontroller-driven illumination project. It is composed by three high-intensity LEDs (Actually inside each one of the encapsulations there are 5 small dyes, totalling 15 x 20mA LEDs = 300mA of pure colour in each MegaBrite). But the cool thing about this component is that each MegaBrite has an Allegro A6281 chip that does all the hard work in your project if you want to light a huge strip of RGB LEDs. You can find more about ShiftBrites and MegaBrites at <a href="http://docs.macetech.com/doku.php/shiftbrite" target="_blank">Macetech</a>, but roughly they work like this: Your microcontroller passes an binary word containing the values you want for each R, G and B LED to the first MegaBrite. Then, toggling one pin you can shift this information to the next MegaBrite of your strip, and so on, setting each one of the LEDs the colour you want. Easy enough for me!!</p>
<p style="text-align:center;"><a href="http://vlxs.files.wordpress.com/2010/07/shiftbrite_ic_conectiondiagram.png"><img class="size-full wp-image-444 aligncenter" title="Shiftbrite_IC_ConectionDiagram" src="http://vlxs.files.wordpress.com/2010/07/shiftbrite_ic_conectiondiagram.png?w=510" alt="" /></a></p>
<p>I ordered 5 MegaBrites from the Macetech online store for 10$ each one (yes, this hobby is expensive, and more if you are a beginner in electronics like me&#8230;) and then I was ready to start the interesting thing.</p>
<p>Making them to work with Arduino was as easy as looking for the libraries at Macetech, and after modifying some examples, I was confident enough to start doing some maths. The problem that appears when using any RGB space (yes, the color space is an R³ space, like points in space) is that it is not <em>human-friendly</em>: If you want to change frome a bright blue (ie R86 G30 B229) to a darker one (R50 G14 B140) you have to change all RGB coordinates, what is not very intuitive. In order to solve this problem, some decades ago the HSV space was developed. In it, the RGB coordinates are transformed into a kind of distorted polar coordinates, where you can determine a colour by its Hue (tone), Saturation (more or less colourful) and Value (brightness). This is quiiite more human-friendly, and it is widely used in colour pickers for computer graphic programs as GIMP.</p>
<p><a href="http://vlxs.files.wordpress.com/2010/07/gimpcolour.png"><img class="aligncenter size-full wp-image-445" title="GimpColour" src="http://vlxs.files.wordpress.com/2010/07/gimpcolour.png?w=510&#038;h=338" alt="" width="510" height="338" /></a></p>
<p>Which is the next step? Of course, creating a real-world color mixer for interfacing ShiftBrite LEDs with Arduino in an easy way!</p>
<p>So, as I really avoid as far as possible using the protoboard (wires messing around, false contacts, noise, fragility&#8230;), soon I was designing a PCB in Eagle (I have to say that I have installed Kicad, an open-source alternative for creating PCBs, but I&#8217;m too lazy to learn how to use it now, although sooner or later I will try to use it).</p>
<p>I decided to create this board without going to the electronic components shop, using only recycled components that I&#8217;ve savaged from different sources. This means that I had to create my own library for Eagle, what is really easy following the <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=110">Sparkfun&#8217;s tutorial</a>.</p>
<p>At the end, this is what I achieved:</p>
<p>· <a href="http://sites.google.com/site/vlxslab/files/sbshield_final01_Pour.sch?attredirects=0&amp;d=1">Schematic</a></p>
<p>· <a href="http://sites.google.com/site/vlxslab/files/sbshield_final01_Pour.brd?attredirects=0&amp;d=1">Board</a></p>
<p>And the Arduino code:</p>
<pre>#define clockpin 13 <span style="color:#7e7e7e;">// CI</span>
#define enablepin 10 <span style="color:#7e7e7e;">// EI</span>
#define latchpin 9 <span style="color:#7e7e7e;">// LI</span>
#define datapin 11 <span style="color:#7e7e7e;">// DI</span>

#define NumLEDs 1

<span style="color:#cc6600;">void</span> hsv2rgb(<span style="color:#cc6600;">float</span> h, <span style="color:#cc6600;">float</span> s, <span style="color:#cc6600;">float</span> v, <span style="color:#cc6600;">int</span> &amp;R, <span style="color:#cc6600;">int</span> &amp;G, <span style="color:#cc6600;">int</span> &amp;B);
<span style="color:#cc6600;">void</span> SB_SendPacket();
<span style="color:#cc6600;">void</span> WriteLEDArray();

<span style="color:#cc6600;">int</span> LEDChannels[NumLEDs][3] = {
  0};
<span style="color:#cc6600;">int</span> SB_CommandMode;
<span style="color:#cc6600;">int</span> SB_RedCommand;
<span style="color:#cc6600;">int</span> SB_GreenCommand;
<span style="color:#cc6600;">int</span> SB_BlueCommand;
<span style="color:#cc6600;">float</span> hue, sat, val;
<span style="color:#cc6600;">int</span> R, G, B;

<span style="color:#cc6600;">void</span> <span style="color:#cc6600;"><strong>setup</strong></span>() {

  <span style="color:#cc6600;">pinMode</span>(datapin, <span style="color:#006699;">OUTPUT</span>);
  <span style="color:#cc6600;">pinMode</span>(latchpin, <span style="color:#006699;">OUTPUT</span>);
  <span style="color:#cc6600;">pinMode</span>(enablepin, <span style="color:#006699;">OUTPUT</span>);
  <span style="color:#cc6600;">pinMode</span>(clockpin, <span style="color:#006699;">OUTPUT</span>);
  SPCR = (1&lt;&lt;&lt;&lt;<span style="color:#cc6600;">digitalWrite</span>(latchpin, <span style="color:#006699;">LOW</span>);
  <span style="color:#cc6600;">digitalWrite</span>(enablepin, <span style="color:#006699;">LOW</span>);
  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">begin</span>(9600);
}

<span style="color:#cc6600;">void</span> <span style="color:#cc6600;"><strong>loop</strong></span>() {

  hue = (<span style="color:#cc6600;">analogRead</span>(0)/1024.0);
  sat = (<span style="color:#cc6600;">analogRead</span>(1)/1024.0);
  val = (1-<span style="color:#cc6600;">analogRead</span>(2)/1024.0);

  <span style="color:#7e7e7e;">//sat = 1 - (0.58198*(exp(sat*sat)-1));    // This transformation intends to make saturation more linear, although it doesn't seem to really work</span>

  <span style="color:#cc6600;"><strong>Serial</strong></span>.<span style="color:#cc6600;">println</span>(sat);

  hsv2rgb(hue, sat, val, R, G, B);

  R = R*4;
  G = G*4;
  B = B*4;

  LEDChannels[0][0] = R;
  LEDChannels[0][1] = G;
  LEDChannels[0][2] = B;

  WriteLEDArray();
  <span style="color:#7e7e7e;">//delay(100);</span>

}

<span style="color:#cc6600;">void</span> SB_SendPacket() {

  <span style="color:#cc6600;">if</span> (SB_CommandMode == <span style="color:#006699;">B01</span>) {
    SB_RedCommand = 120;
    SB_GreenCommand = 100;
    SB_BlueCommand = 100;
  }

  SPDR = SB_CommandMode &lt;&lt; 6 | SB_BlueCommand&gt;&gt;4;
  <span style="color:#cc6600;">while</span>(!(SPSR &amp; (1&lt;&gt;6;
  <span style="color:#cc6600;">while</span>(!(SPSR &amp; (1&lt;&gt;8;
  <span style="color:#cc6600;">while</span>(!(SPSR &amp; (1&lt;<span style="color:#cc6600;">while</span>(!(SPSR &amp; (1&lt;<span style="color:#cc6600;">void</span> WriteLEDArray() {

  SB_CommandMode = <span style="color:#006699;">B00</span>; <span style="color:#7e7e7e;">// Write to PWM control registers</span>
  <span style="color:#cc6600;">for</span> (<span style="color:#cc6600;">int</span> h = 0;h<span style="color:#cc6600;">delayMicroseconds</span>(15);
  <span style="color:#cc6600;">digitalWrite</span>(latchpin,<span style="color:#006699;">HIGH</span>); <span style="color:#7e7e7e;">// latch data into registers</span>
  <span style="color:#cc6600;">delayMicroseconds</span>(15);
  <span style="color:#cc6600;">digitalWrite</span>(latchpin,<span style="color:#006699;">LOW</span>);

  SB_CommandMode = <span style="color:#006699;">B01</span>; <span style="color:#7e7e7e;">// Write to current control registers</span>
  <span style="color:#cc6600;">for</span> (<span style="color:#cc6600;">int</span> z = 0; z &lt; NumLEDs; z++) SB_SendPacket();
  <span style="color:#cc6600;">delayMicroseconds</span>(15);
  <span style="color:#cc6600;">digitalWrite</span>(latchpin,<span style="color:#006699;">HIGH</span>); <span style="color:#7e7e7e;">// latch data into registers</span>
  <span style="color:#cc6600;">delayMicroseconds</span>(15);
  <span style="color:#cc6600;">digitalWrite</span>(latchpin,<span style="color:#006699;">LOW</span>);

}

<span style="color:#cc6600;">void</span> hsv2rgb(<span style="color:#cc6600;">float</span> H, <span style="color:#cc6600;">float</span> V, <span style="color:#cc6600;">float</span> S, <span style="color:#cc6600;">int</span>&amp; R, <span style="color:#cc6600;">int</span>&amp; G, <span style="color:#cc6600;">int</span>&amp; B) {

  <span style="color:#cc6600;">int</span> var_i;
  <span style="color:#cc6600;">float</span> var_1, var_2, var_3, var_h, var_r, var_g, var_b;

  <span style="color:#7e7e7e;">/*if ( S == 0 )                       //HSV values = 0 ÷ 1</span>
<span style="color:#7e7e7e;">    {</span>
<span style="color:#7e7e7e;">     R = V * 255;</span>
<span style="color:#7e7e7e;">     G = V * 255;</span>
<span style="color:#7e7e7e;">     B = V * 255;</span>
<span style="color:#7e7e7e;">     }</span>
<span style="color:#7e7e7e;">     */</span>

{
  var_h = H * 6;
  <span style="color:#cc6600;">if</span> ( var_h == 6 ) var_h = 0;      <span style="color:#7e7e7e;">//H must be &lt; 1</span>
  var_i = <span style="color:#cc6600;">int</span>( var_h ) ;            <span style="color:#7e7e7e;">//Or ... var_i = floor( var_h )</span>
  var_1 = V * ( 1 - S );
  var_2 = V * ( 1 - S * ( var_h - var_i ) );
  var_3 = V * ( 1 - S * ( 1 - ( var_h - var_i ) ) );

  <span style="color:#cc6600;">if</span>      ( var_i == 0 ) {
    var_r = V     ;
    var_g = var_3 ;
    var_b = var_1 ;
  }
  <span style="color:#cc6600;">else</span> <span style="color:#cc6600;">if</span> ( var_i == 1 ) {
    var_r = var_2 ;
    var_g = V     ;
    var_b = var_1 ;
  }
  <span style="color:#cc6600;">else</span> <span style="color:#cc6600;">if</span> ( var_i == 2 ) {
    var_r = var_1 ;
    var_g = V     ;
    var_b = var_3 ;
  }
  <span style="color:#cc6600;">else</span> <span style="color:#cc6600;">if</span> ( var_i == 3 ) {
    var_r = var_1 ;
    var_g = var_2 ;
    var_b = V     ;
  }
  <span style="color:#cc6600;">else</span> <span style="color:#cc6600;">if</span> ( var_i == 4 ) {
    var_r = var_3 ;
    var_g = var_1 ;
    var_b = V     ;
  }
  <span style="color:#cc6600;">else</span>                   {
    var_r = V     ;
    var_g = var_1 ;
    var_b = var_2 ;
  }

  R = (1-var_r) * 255;                  <span style="color:#7e7e7e;">//RGB results = 0 ÷ 255</span>
  G = (1-var_g) * 255;
  B = (1-var_b) * 255;
}
}
</pre>
<p>Videos soon!!!<br />
(Here I don&#8217;t have enough 3G signal to upload them!)</p>
<p>LAST HOUR!!!!<br />
I&#8217;ve been published in PCB Heaven!! Thanks very much for your attention!<br />
<a href="http://pcbheaven.com/opendir/index.php?show=277wb476pl31799a5c"><img class="aligncenter" src="http://pcbheaven.com/pics/main/topbanner.jpg" alt="" width="474" height="60" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/435/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=435&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/07/08/shiftbrite-shield-a-color-mixer-for-arduino/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/shiftbriteshield_s_round.jpg" medium="image">
			<media:title type="html">ShiftBriteShield_s_round</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/shiftbrite_s.jpg" medium="image">
			<media:title type="html">ShiftBrite_s</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/shiftbrite_ic_conectiondiagram.png" medium="image">
			<media:title type="html">Shiftbrite_IC_ConectionDiagram</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/07/gimpcolour.png" medium="image">
			<media:title type="html">GimpColour</media:title>
		</media:content>

		<media:content url="http://pcbheaven.com/pics/main/topbanner.jpg" medium="image" />
	</item>
		<item>
		<title>Present from the sky</title>
		<link>http://vlxs.wordpress.com/2010/06/07/present-from-the-sky/</link>
		<comments>http://vlxs.wordpress.com/2010/06/07/present-from-the-sky/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 14:01:23 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Astronomía]]></category>
		<category><![CDATA[Ciencia]]></category>
		<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[meteo]]></category>
		<category><![CDATA[meteorological balloon]]></category>
		<category><![CDATA[radiosonde]]></category>
		<category><![CDATA[vaisala]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=425</guid>
		<description><![CDATA[Some days ago, I received a very weird and exciting SMS from a friend asking me if I wanted the pieces from a &#8220;meteorological balloon&#8221;. The only words that came to my mind were &#8220;What the hell!!??&#8221;, so I took my bike and cycled quickly to my friend&#8217;s home. From the outside of the house [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=425&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/06/meteo_in.jpg"><img class="aligncenter size-full wp-image-428" title="Meteo_in" src="http://vlxs.files.wordpress.com/2010/06/meteo_in.jpg?w=510&#038;h=632" alt="" width="510" height="632" /></a></p>
<p>Some days ago, I received a very weird and exciting SMS from a friend asking me if I wanted the pieces from a &#8220;meteorological balloon&#8221;. The only words that came to my mind were &#8220;What the hell!!??&#8221;, so I took my bike and cycled quickly to my friend&#8217;s home.</p>
<p><span id="more-425"></span></p>
<div id="attachment_426" class="wp-caption aligncenter" style="width: 520px"><a href="http://vlxs.files.wordpress.com/2010/06/meteo.png"><img class="size-full wp-image-426" title="SMS" src="http://vlxs.files.wordpress.com/2010/06/meteo.png?w=510&#038;h=238" alt="" width="510" height="238" /></a><p class="wp-caption-text">Do you want the pieces from a meteorological balloon?</p></div>
<p>From the outside of the house I was able to distinguish some pieces of a huge latex balloon in the floor. From it, a thin rope climbed to the roof. Mmmm, interesting&#8230;</p>
<p>At last, my friend explained me that while he was eating in its garden, a strange thing tied to a parachute hit the floor few meters from him, crashing with violence and breaking into pieces instantaneously. When I went into its garden, I could see what he said to me: A little white box (100x60x150mm approx.) tied to the rope, and pieces of dry carbon batteries everywhere.</p>
<p><a href="http://vlxs.files.wordpress.com/2010/06/meteo_out.jpg"><img class="aligncenter size-full wp-image-427" title="Meteo_out" src="http://vlxs.files.wordpress.com/2010/06/meteo_out.jpg?w=510&#038;h=510" alt="" width="510" height="510" /></a>Of course, I managed to get it to my home in order to inspect it carefully. First of all I search the Internet for some information: The company is called <a href="http://www.vaisala.com/weather/products/rs92.html" target="_blank">Vaisala</a>, and makes meteorological sensors and radiosondes. In their web page there was a little note with instructions in case you found a sonde: just throw it in the right place. But that&#8217;s not fun!</p>
<p>This model is a Pressure, Humidity and Temperature sensor. It has an autonomy of 1h40&#8242; and <em>may</em> have GPS (I don&#8217;t know yet, there are very similar models with and without GPS)</p>
<p>In the first picture you can see the PCB of the sonde: a lot of smd components, a cool antenna (I don&#8217;t know what&#8217;s its use), an FM antenna and a strap with some sensors. The only one I&#8217;ve recognized is the one at the middle.</p>
<div id="attachment_430" class="wp-caption aligncenter" style="width: 510px"><a href="http://vlxs.files.wordpress.com/2010/06/meteo_humidity.jpg"><img class="size-full wp-image-430" title="Meteo_humidity" src="http://vlxs.files.wordpress.com/2010/06/meteo_humidity.jpg?w=510" alt="Thin film capacitor heated twin sensor"   /></a><p class="wp-caption-text">Thin film capacitor heated twin sensor</p></div>
<p style="text-align:left;">So, the datasheet says that it&#8217;s a Thin film capacitor heated twin sensor, used to measure relative humidity (rH). During the next days I&#8217;ll try to get it working (although it seems quite difficult, I don&#8217;t like capacitive sensors, too complex for me!)</p>
<p style="text-align:left;">Inspecting the PCB, I got disappointed when I saw that ALL the big chips were property of Vaisala, and therefore, useless for me. I think that the only components I&#8217;m going to reuse are some SMD passives, an LM1117 adjustable power supply and this beauty chip:</p>
<div id="attachment_429" class="wp-caption aligncenter" style="width: 520px"><a href="http://vlxs.files.wordpress.com/2010/06/meteo_memory.jpg"><img class="size-full wp-image-429 " title="Meteo_memory" src="http://vlxs.files.wordpress.com/2010/06/meteo_memory.jpg?w=510&#038;h=501" alt="" width="510" height="501" /></a><p class="wp-caption-text">M95256W: 256 Kbit serial SPI bus EEPROM with high-speed clock</p></div>
<p style="text-align:left;">As the legend of the picture says, it&#8217;s a serial EEPROM 256Kbit memory that can be interfaced with Arduino (<a href="http://www.arduino.cc/en/Tutorial/SPIEEPROM" target="_blank">link</a>). That is veeery useful combined with some Universal Time Chip, as you can create very cool dataloggers.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/425/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/425/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=425&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/06/07/present-from-the-sky/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/06/meteo_in.jpg" medium="image">
			<media:title type="html">Meteo_in</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/06/meteo.png" medium="image">
			<media:title type="html">SMS</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/06/meteo_out.jpg" medium="image">
			<media:title type="html">Meteo_out</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/06/meteo_humidity.jpg" medium="image">
			<media:title type="html">Meteo_humidity</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/06/meteo_memory.jpg" medium="image">
			<media:title type="html">Meteo_memory</media:title>
		</media:content>
	</item>
		<item>
		<title>Full-mess</title>
		<link>http://vlxs.wordpress.com/2010/02/27/full-mess/</link>
		<comments>http://vlxs.wordpress.com/2010/02/27/full-mess/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 15:35:01 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[ingeniería inversa]]></category>
		<category><![CDATA[reverse engineering]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=422</guid>
		<description><![CDATA[Esta tarde me he dado cuenta de lo que es la ingeniería inversa&#8230; Muchos cables, mucha paciencia, y olor a silicio quemado. Un grupo de colegas estamos desarrollando un robot velocista (siguelíneas) para presentar a varias competiciones de robótica. Como base estoy utilizando un pequeño coche RC que tenía cogiendo polvo desde hace 4 años, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=422&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/02/fullmess.jpg"><img class="aligncenter size-full wp-image-421" title="FullMess" src="http://vlxs.files.wordpress.com/2010/02/fullmess.jpg?w=510&#038;h=313" alt="" width="510" height="313" /></a>Esta tarde me he dado cuenta de lo que es la ingeniería inversa&#8230; Muchos cables, mucha paciencia, y olor a silicio quemado.</p>
<p>Un grupo de colegas estamos desarrollando un robot velocista (siguelíneas) para presentar a varias competiciones de robótica. Como base estoy utilizando un pequeño coche RC que tenía cogiendo polvo desde hace 4 años, y que ahora estoy intentando que responda a las ordenes de mi Arduino. Eso lleva un proceso bastante complicado, que va desde meter osciloscopio y voltímetro en la electrónica del coche para ver cómo controlar motores y dirección, aislar los componentes necesarios para su funcionamiento, emular el resto con el Arduino, y luego&#8230; quemarlos al conectarlos a un voltaje no muy adecuado (hice hervir un FET al conectarlo a 9V en vez de 6).</p>
<p>Lo que se ve en la imágen es el Arduino con mi LCD shield enviando una señal PWM para controlar la velocidad del motor del coche (el cual está conectado a través de un transistor de 3 amperios). Esta señal se vigila con el osciloscopio, y mientras el polímetro me asegura que no está pasando demasiada corriente por el transistor o motor.</p>
<p>Vamos, que hacer bién las cosas cuesta su trabajo, pero al final arroja resultados.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/422/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/422/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=422&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/02/27/full-mess/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/fullmess.jpg" medium="image">
			<media:title type="html">FullMess</media:title>
		</media:content>
	</item>
		<item>
		<title>SOIC to DIL8 Breakout board</title>
		<link>http://vlxs.wordpress.com/2010/02/14/soic-to-dil8-breakout-board/</link>
		<comments>http://vlxs.wordpress.com/2010/02/14/soic-to-dil8-breakout-board/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 18:36:36 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[breakout board]]></category>
		<category><![CDATA[dil]]></category>
		<category><![CDATA[electrónica]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[smd]]></category>
		<category><![CDATA[soic]]></category>
		<category><![CDATA[soic to dil]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=415</guid>
		<description><![CDATA[En el desarrollo de nuestro robot siguelíneas FET_0x08 nos hemos visto obligados a reutilizar componentes SMD de la electrónica del coche RC que estamos usando como base. Para hacer pruebas, no hay nada más cómodo que usar una breadboard, así que he creado esta pequeña PCB para poder usar componentes SOIC8 de 3.8mm de ancho [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=415&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/02/soic2dil8_pcb.png"><img class="aligncenter size-full wp-image-419" title="SOIC2DIL8_PCB" src="http://vlxs.files.wordpress.com/2010/02/soic2dil8_pcb.png?w=510&#038;h=381" alt="" width="510" height="381" /></a></p>
<p>En el desarrollo de nuestro robot siguelíneas FET_0x08 nos hemos visto obligados a reutilizar componentes SMD de la electrónica del coche RC que estamos usando como base. Para hacer pruebas, no hay nada más cómodo que usar una breadboard, así que he creado esta pequeña PCB para poder usar componentes SOIC8 de 3.8mm de ancho como si fuesen integrados normales (DIP).</p>
<p>Imágen de la PCB y fichero Eagle tras la pausa.</p>
<p><span id="more-415"></span></p>
<p><a href="http://vlxs.files.wordpress.com/2010/02/soic2dil8.png"><img class="aligncenter size-full wp-image-416" title="SOIC2DIL8" src="http://vlxs.files.wordpress.com/2010/02/soic2dil8.png?w=510&#038;h=388" alt="" width="510" height="388" /></a></p>
<p>Tenéis a vuestra disposición el fichero de Eagle con la PCB <a href="http://sites.google.com/site/vlxslab/files/SOIC2DILBoard.brd?attredirects=0&amp;d=1">aquí</a> y PDF listo para imprimir <a href="http://sites.google.com/site/vlxslab/files/SOIC2DILBoard.pdf?attredirects=0&amp;d=1">aquí</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/415/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/415/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=415&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/02/14/soic-to-dil8-breakout-board/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/soic2dil8_pcb.png" medium="image">
			<media:title type="html">SOIC2DIL8_PCB</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/soic2dil8.png" medium="image">
			<media:title type="html">SOIC2DIL8</media:title>
		</media:content>
	</item>
		<item>
		<title>Feel the power in your hands: Jyetech Digital Storage Oscilloscope</title>
		<link>http://vlxs.wordpress.com/2010/02/13/feel-the-power-in-your-hands-jyetech-digital-storage-oscilloscope/</link>
		<comments>http://vlxs.wordpress.com/2010/02/13/feel-the-power-in-your-hands-jyetech-digital-storage-oscilloscope/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 13:41:27 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[jyetech]]></category>
		<category><![CDATA[oscilloscope]]></category>
		<category><![CDATA[osciloscopio]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=407</guid>
		<description><![CDATA[El osciloscopio: el mejor amigo del ingeniero. Tarde o temprano, todo electrónico que se precie tiene que conseguir uno de estos cacharros, y yo no iba a ser menos&#8230; Desde que comencé a manejar estos aparatos en el instituto, siempre he tenido ganas de comprar uno, pero normalmete, problemas de espacio y presupuesto me lo [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=407&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="attachment_408" class="wp-caption aligncenter" style="width: 520px"><a href="http://vlxs.files.wordpress.com/2010/02/oscilloscope_hand.jpg"><img class="size-full wp-image-408" title="Oscilloscope_hand" src="http://vlxs.files.wordpress.com/2010/02/oscilloscope_hand.jpg?w=510&#038;h=350" alt="" width="510" height="350" /></a><p class="wp-caption-text">Señal de vídeo compuesto (TV)</p></div>
<p style="text-align:center;">
<p>El osciloscopio: el mejor amigo del ingeniero. Tarde o temprano, todo electrónico que se precie tiene que conseguir uno de estos cacharros, y yo no iba a ser menos&#8230;<br />
Desde que comencé a manejar estos aparatos en el instituto, siempre he tenido ganas de comprar uno, pero normalmete, problemas de espacio y presupuesto me lo impedían. Hasta que vi esta maravilla en internet: El osciloscopio de almacenamiento digital de Jyetech.<br />
Es un pequeño osciloscopio con pantalla LCD, bajo coste (unos 40€) y que se puede comprar en kit.</p>
<p><span id="more-407"></span><br />
Características:</p>
<div>
<li>Max sample rate &#8211; 5M/s (AUTO mode)，8 bits</li>
<li>Sample memory depth &#8211; 256 bytes</li>
<li>Analog bandwidth &#8211; 1MHz</li>
<li>Vertical sensitivity &#8211; 100mV/Div &#8211; 5V/Div</li>
<li>Vertical position adjustable with indicator</li>
<li>Input impedance &#8211; 1MΩ</li>
<li>Max input voltage &#8211; 50Vpp</li>
<li>DC/AC coupling</li>
<li>Horizontal &#8211; 2μs/Div &#8211; 10m(minute)/Div</li>
<li>Auto, normal and single trig modes</li>
<li>Rising/falling edge trigger</li>
<li>External trig available</li>
<li>Trig level adjustable with indicator</li>
<li>Hold/run feature</li>
<li>Save up to 6 captures to EEPROM and retain after power down</li>
<li>Retrieve and display saved captures</li>
<li>Transfer its screen to PC as bitmap file via serial connection</li>
<li>Built-in 500Hz/5Vpp test signal</li>
<li>Frequency counter (only for TTL level input signal)</li>
<li>9 DC power supply</li>
<li>Dimension: 110mm X 65mm X 25mm (without case)</li>
</div>
<div id="attachment_409" class="wp-caption aligncenter" style="width: 520px"><a href="http://vlxs.files.wordpress.com/2010/02/oscilloscope_boards.jpg"><img class="size-full wp-image-409" title="Oscilloscope_boards" src="http://vlxs.files.wordpress.com/2010/02/oscilloscope_boards.jpg?w=510&#038;h=386" alt="" width="510" height="386" /></a><p class="wp-caption-text">Kit osciloscopio</p></div>
<p>Yo pedí el kit con componentes SMD pre-soldados (no me atrevía a soldar cientos de patillas sin un solo error), y me llevó menos de 2 horas ponerlo en funcionamiento y aprender a manejarlo, y hay que decir que te mejora bastante la vida, a la vez que te abre las puertas al interesantísimo mundo de la ingeniería inversa.</p>
<div id="attachment_410" class="wp-caption aligncenter" style="width: 520px"><a href="http://vlxs.files.wordpress.com/2010/02/oscilloscope_car.jpg"><img class="size-full wp-image-410" title="Oscilloscope_car" src="http://vlxs.files.wordpress.com/2010/02/oscilloscope_car.jpg?w=510&#038;h=322" alt="" width="510" height="322" /></a><p class="wp-caption-text">Interpretando señales en la electrónica de un coche RC escala 1:28 con fin de poder manejarlo usando Arduino</p></div>
<p><a href="http://jyetech.com/en/default.html" target="_blank">Enlace a la página del fabricante</a> (Puede encontrarse en <a href="http://www.bricogeek.com/shop/169-osciloscopio-jyetech.html">BricoGeek</a> y en <a href="http://seeedstudio.com/">SeedStudio</a>)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/407/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=407&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/02/13/feel-the-power-in-your-hands-jyetech-digital-storage-oscilloscope/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/oscilloscope_hand.jpg" medium="image">
			<media:title type="html">Oscilloscope_hand</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/oscilloscope_boards.jpg" medium="image">
			<media:title type="html">Oscilloscope_boards</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/oscilloscope_car.jpg" medium="image">
			<media:title type="html">Oscilloscope_car</media:title>
		</media:content>
	</item>
		<item>
		<title>El poder del &#8220;Made in China&#8221;</title>
		<link>http://vlxs.wordpress.com/2010/02/13/el-poder-del-made-in-china/</link>
		<comments>http://vlxs.wordpress.com/2010/02/13/el-poder-del-made-in-china/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 13:07:29 +0000</pubDate>
		<dc:creator>vilxes91</dc:creator>
				<category><![CDATA[Electrónica]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[leds]]></category>
		<category><![CDATA[linterna]]></category>
		<category><![CDATA[linterna LED]]></category>
		<category><![CDATA[linterna solar]]></category>
		<category><![CDATA[torch light LED]]></category>

		<guid isPermaLink="false">http://vlxs.wordpress.com/?p=402</guid>
		<description><![CDATA[Linterna LED Solar: 1€ Con esto me he encontrado hoy en el hipermercado de turno (Alcampo), y no he podido resistir a la tentación. Lo que no sabía era la cantidad de piezas que iba a poder obtener de ella&#8230; Esta entrada es una reflexión al poder que tiene la producción en masa. Cada vez [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=402&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://vlxs.files.wordpress.com/2010/02/china-powaa.jpg"><img class="aligncenter size-full wp-image-403" title="china powaa" src="http://vlxs.files.wordpress.com/2010/02/china-powaa.jpg?w=510" alt=""   /></a>Linterna LED Solar: 1€</p>
<p>Con esto me he encontrado hoy en el hipermercado de turno (Alcampo), y no he podido resistir a la tentación. Lo que no sabía era la cantidad de piezas que iba a poder obtener de ella&#8230;</p>
<p><span id="more-402"></span></p>
<p>Esta entrada es una reflexión al poder que tiene la producción en masa. Cada vez que veo los juguetes que regalan en McDonalds, me paro a pensar en los meses que me hubiese llevado a mí construirlos: regalan &#8220;videoconsolas&#8221; con pantalla LCD con un  Happy Meal de 3€!! Me imagino las partes que yo tendría que utilizar: microcontrolador de 5€, una LCD de 80&#215;80 píxels, driver para la LCD, 4 pulsadores, pilas, y unas cuantos cientos de líneas de código&#8230; increíble que el precio de producción en masa no llegue a los 0.5€.</p>
<p><a href="http://vlxs.files.wordpress.com/2010/02/china-powaa_a.jpg"><img class="aligncenter size-full wp-image-404" title="china powaa_a" src="http://vlxs.files.wordpress.com/2010/02/china-powaa_a.jpg?w=510&#038;h=289" alt="" width="510" height="289" /></a></p>
<p>Pues con esta linterna lo mismo. Esta misma tarde voy a comprar unas cuantas más, ya que por 1€ te llevas a casa una linterna con cuerpo de aluminio, 4 LEDs blancos (me cobran el la tienda de electrónica 0.8€ por cada uno&#8230;), 4 placas solares, una batería de Ni-Mh de 1.2V, un transformador DC-DC que pasa de 1.2V de la batería a los 4V que necesitan los LEDs y un interruptor. ¿Qué mas puede pedir un Maker?</p>
<p><a href="http://vlxs.files.wordpress.com/2010/02/china-powaa_b.jpg"><img class="aligncenter size-full wp-image-405" title="china powaa_b" src="http://vlxs.files.wordpress.com/2010/02/china-powaa_b.jpg?w=510&#038;h=384" alt="" width="510" height="384" /></a></p>
<p>Ya iré comentando para qué voy a utilizar cada cosa&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vlxs.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vlxs.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vlxs.wordpress.com&#038;blog=1863156&#038;post=402&#038;subd=vlxs&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vlxs.wordpress.com/2010/02/13/el-poder-del-made-in-china/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/400c73673da63acd87e9b90a4bf132f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vilxes91</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/china-powaa.jpg" medium="image">
			<media:title type="html">china powaa</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/china-powaa_a.jpg" medium="image">
			<media:title type="html">china powaa_a</media:title>
		</media:content>

		<media:content url="http://vlxs.files.wordpress.com/2010/02/china-powaa_b.jpg" medium="image">
			<media:title type="html">china powaa_b</media:title>
		</media:content>
	</item>
	</channel>
</rss>
