<?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>Carlitos&#039; Contraptions &#187; Electronics</title>
	<atom:link href="http://carlitoscontraptions.com/tag/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://carlitoscontraptions.com</link>
	<description>Gadget design, robotics, hacks, DIY technology and more.</description>
	<lastBuildDate>Sun, 15 Jan 2012 20:16:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Enough with the guesswork, I got Logic</title>
		<link>http://carlitoscontraptions.com/2009/12/enough-with-the-guesswork-i-got-logic/</link>
		<comments>http://carlitoscontraptions.com/2009/12/enough-with-the-guesswork-i-got-logic/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 06:30:45 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=455</guid>
		<description><![CDATA[I just got a shiny new Logic, a tiny 8-channel, 24 MHz logic analyzer from Saleae LLC, and it is beautiful. I&#8217;ve been wanting to get a logic analyzer for quite some time and this little guy is definitely worth the 150 bucks it costs. Logic Analyzer? (skip this if you already know what a ]]></description>
			<content:encoded><![CDATA[<p>I just got a shiny new <a title="The Logic" href="http://www.saleae.com/logic/">Logic</a>, a tiny 8-channel, 24 MHz logic analyzer from <a title="Saleae" href="http://www.saleae.com/home/">Saleae LLC</a>, and it is beautiful. I&#8217;ve been wanting to get a logic analyzer for quite some time and this little guy is definitely worth the 150 bucks it costs.</p>
<div id="attachment_458" class="wp-caption aligncenter" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/12/Logic.jpg"><img class="size-medium wp-image-458" title="Logic Unboxing" src="http://carlitoscontraptions.com/wp-content/uploads/2009/12/Logic-300x240.jpg" alt="Logic Unboxing" width="300" height="240" /></a><p class="wp-caption-text">Logic Unboxing</p></div>
<h3>Logic Analyzer?</h3>
<p><strong><span style="color: #808080;">(skip this if you already know what a logic analyzer is and do not want to be bored to death)</span></strong></p>
<p>A logic analyzer is a measurement instrument that allows you to record the logic level (e.g. high or low) of a digital signal throughout time. This means that if you are working with a micro-controller and want to know what is actually happening at the pins, you can use a logic analyzer to record the signals of interest and display them on a time-line on a computer screen. This is very convenient considering that debugging microcontrollers often implies guessing or using lame techniques such as slowing down the execution time and lighting up LEDs in order to see what the program is doing.</p>
<p>In short, a logic analyzer allows you to view digital signals and plot them with respect to time.</p>
<h3>Casing</h3>
<div id="attachment_457" class="wp-caption aligncenter" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/12/IMG_2566.JPG"><img class="size-medium wp-image-457" title="The Logic" src="http://carlitoscontraptions.com/wp-content/uploads/2009/12/IMG_2566-300x240.jpg" alt="The Logic, by Saleae" width="300" height="240" /></a><p class="wp-caption-text">The Logic, by Saleae</p></div>
<p>The Logic has a nice square anodized aluminum body which makes it very sturdy and looks awesome. It is very small (~ 4.5 cm on the side and ~ 0.7 cm high) and features some male headers on the front side and a mini USB port type B on the back. For some reason, I really like the four tiny hex screws that hold together the two aluminum plates that make the body.</p>
<h3>Accessories</h3>
<div id="attachment_461" class="wp-caption alignleft" style="width: 197px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/12/Logic2.jpg"><img class="size-medium wp-image-461" title="Cabels &amp; Hooks" src="http://carlitoscontraptions.com/wp-content/uploads/2009/12/Logic2-187x300.jpg" alt="Cabels &amp; Hooks" width="187" height="300" /></a><p class="wp-caption-text">Wires &amp; Hooks</p></div>
<p>The Logic comes in a nice Logic Case, usually intended for some other electronics such as external hard drives I suppose, that can accommodate itself  and its USB cable, its set of wires and the E-Z-hook clips.</p>
<p>What I enjoy the most is that the wires are robust and kink-proof, and they are terminated in female headers, which makes them very easy to use in breadboards and on male pins in general. Also, the hooks are removable and they can connect to harder-to-access pins in a secure way. The wire colour coding follows the resistor colour coding (i.e. Channel 0 is black, channel 1 is brown, etc) and this might be a bit confusing at the beginning since the Ground wire is grey instead of being the usual black.</p>
<p>Finally, the carrying case is a very nice feature since it allows you to have the Logic and all the related items in one single place. The case is a bit too big, but I the extra space could be used to store some extra accessories, such as headers gender-changers (for plugging into female headers) or wire extensions with special ports (e.g. DB-9, RJ-45). I also enjoy the fact that all the components come in their own little zipper-bag that allows you to store the unit in a nice pristine condition (it may not seem like it, but I like to preserve things in their original state, unless they come from the garbage in which case I mod them and unscrupulously use their pieces).</p>
<h3>Hardware</h3>
<p>I did not want to take the Logic apart in order to see its guts (so far) so I do not have too many details about the hardware other than what is listed in <a title="Logic features" href="http://www.saleae.com/logic/features/">Saleae&#8217;s website</a>: (1)the inputs are protected to you don&#8217;t fry anything, (2) it can sample at 24 MHz,  and (3) it is able to store up to 500 M samples.</p>
<h3>Software</h3>
<p>The software can be <a title="Saleae software" href="http://www.saleae.com/downloads/">downloaded for free</a> (and used in demo mode) looks really nice but unfortunately, the current stable version works only under the Redmond OS and it does not play very well with Wine in Linux or in my XP virtual machine. I would have really liked to test its <em>Protocol Analyzers</em>, a function that automatically sets the names of the signals and decodes the information accordingly to the protocol being analyzed (e.g. I2C, RS232, SPI, 1-Wire).</p>
<p>Anyways, there is an upcoming cross-platform version of the software that looks very promising and is currently under private beta at the moment. Of course, I could not resist the urge to join the beta testing and I can say that the new software is working very nicely (so far, I have not tested it extensively yet) under my 64-bit Kubuntu setup.</p>
<p>Needless to say, as soon as the software goes public, I will post a more thorough review, so keep posted.</p>
<p><strong>Conclusion</strong></p>
<p>The <a title="The Logic" href="http://www.saleae.com/logic/">Logic</a> is a very nice piece of equipment for any hobbyist or professional (provided you do not require to read signals faster than 24 MHz, which is rare specially while debugging). It is built to last fits very nicely in a hacker&#8217;s toolbox (or even pocket). I would recommend the Logic to anyone needing a sturdy and easy-to-use Logic analyzer, and I will be using it in my upcoming projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2009/12/enough-with-the-guesswork-i-got-logic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carlitos 1, Xilinx 0</title>
		<link>http://carlitoscontraptions.com/2009/11/carlitos-1-xilinx-0/</link>
		<comments>http://carlitoscontraptions.com/2009/11/carlitos-1-xilinx-0/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 08:02:31 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[FPGA]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=431</guid>
		<description><![CDATA[I spent countless hours trying to install the free version of the Xilinx software on may windoze Virtual machine and I have finally succeed. I must say that although I have never used Xilinx ISE Webpack, I already hate it. It come in a huge installation archive (2.7 GB) and an equally huge update archive ]]></description>
			<content:encoded><![CDATA[<div id="attachment_432" class="wp-caption alignright" style="width: 160px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/11/Fpga_xilinx_spartan.jpg"><img class="size-thumbnail wp-image-432" title="Xilinx Spartan" src="http://carlitoscontraptions.com/wp-content/uploads/2009/11/Fpga_xilinx_spartan-150x150.jpg" alt="Xilinx Spartan" width="150" height="150" /></a><p class="wp-caption-text">Xilinx Spartan</p></div>
<p>I spent countless hours trying to install the free version of the Xilinx software on may windoze Virtual machine and I have finally succeed.</p>
<p>I must say that although I have never used Xilinx ISE Webpack, I already hate it. It come in a huge installation archive (2.7 GB) and an equally huge update archive (2.4 GB). The option to use the &#8220;slim&#8221; installer (88 MB) is worthless since there is no ways of saving the required files for an eventual reinstallation (which was needed twice in my case).</p>
<p>Anyway, after installing/uninstalling/installing many times I finally got it to work. And this very lengthy and painful process reminded me why the Open Source world is so much more convenient. Installing a full linux distribution with tons of extra programs takes half the required storage and a third of the time. Too bad FPGA programming tools are ruled by the chip manufacturers.</p>
<p>All this painful process was required in order to get my new <a title="NanoBoard 3000" href="http://carlitoscontraptions.com/2009/11/i-am-the-luckiest-engineer-ever/">NanoBoard 3000</a> running. Hopefully I wont have to use Xilinx ISE anytime soon. Altium Designer was much easier to install and requires less storage.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2009/11/carlitos-1-xilinx-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I am the luckiest Engineer ever</title>
		<link>http://carlitoscontraptions.com/2009/11/i-am-the-luckiest-engineer-ever/</link>
		<comments>http://carlitoscontraptions.com/2009/11/i-am-the-luckiest-engineer-ever/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 17:14:22 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[FPGA]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=408</guid>
		<description><![CDATA[A few weeks ago, I received a very pleasant message: Altium, an FPGA development board manufacturer and IDE developer, contacted me asking If I wanted to try the (excessively cool) brand new development board (the NanoBoard 3000) for free.  Of course, I immediately (and quite emphatically) said YES. Now that I got it, I&#8217;m dying ]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I received a very pleasant message: <a title="Altium" href="http://altium.com/">Altium</a>, an FPGA development board manufacturer and IDE developer, contacted me asking If I wanted to try the (excessively cool) brand new development board (the <a title="NanoBoard 3000" href="http://nb3000.altium.com/intro.html">NanoBoard 3000</a>) for free.  Of course, I immediately (and quite emphatically) said <em>YES</em>.</p>
<div id="attachment_411" class="wp-caption aligncenter" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/11/IMG_2254.JPG"><img class="size-medium wp-image-411" title="Altium NanoBoard 3000" src="http://carlitoscontraptions.com/wp-content/uploads/2009/11/IMG_2254-300x225.jpg" alt="The Altium NanoBoard 3000" width="300" height="225" /></a><p class="wp-caption-text">The Altium NanoBoard 3000</p></div>
<p>Now that I got it, I&#8217;m dying to have some spear time in order to try out their awesome board with their quite intriguing IDE.</p>
<h3>About the Hardware</h3>
<p>The NanoBoard 3000 is a beautiful piece of equipment. It boasts lots of cool peripherals and is built and packed as a luxury electronics product. It is a very good looking piece of equipment while remaining perfectly functional, it beats by far all the other development boards I am familiar with (i.e. the Altera DE2 board and the Lattice Mico32 development board) while remaining much cheaper (around 50% of their price).</p>
<div id="attachment_416" class="wp-caption aligncenter" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/11/NanoBoard.jpg"><img class="size-medium wp-image-416" title="NanoBoard 3000 Unboxing" src="http://carlitoscontraptions.com/wp-content/uploads/2009/11/NanoBoard-300x240.jpg" alt="NanoBoard 3000 Unboxing" width="300" height="240" /></a><p class="wp-caption-text">NanoBoard 3000 Unboxing</p></div>
<h3>Features</h3>
<p>Here is a selection of the <a title="NanoBoard 3000 Wiki Page" href="http://wiki.altium.com/display/ADOH/NanoBoard+3000+Series">NanoBoard&#8217;s features</a> from <a title="Altium's Wiki" href="http://wiki.altium.com">Altium&#8217;s Wiki</a> I find most prominent:</p>
<ul>
<li>A Xilinx Spartan-3AN device (XC3S1400AN-4FGG676C)
<p><div id="attachment_421" class="wp-caption alignright" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/11/IMG_2251.JPG"><img class="size-medium wp-image-421" title="Nanoboard 3000 Front" src="http://carlitoscontraptions.com/wp-content/uploads/2009/11/IMG_2251-300x225.jpg" alt="Nanoboard 3000 Front" width="300" height="225" /></a><p class="wp-caption-text">Nanoboard 3000 Front</p></div></li>
<li>4 Serial SPI Flash memory devices</li>
<li>Programmable clock 6 to 200 MHz, accessible by Altium Designer or by an FPGA design</li>
<li>SPI Real-Time Clock with 3V battery backup</li>
<li>Adjustable voltage regulators set to generate 1.2V, 1.8V, 2.5V and 3.3V power</li>
<li>256K x 32-bit common-bus SRAM (1MB)</li>
<li>16M x 32-bit common-bus SDRAM (64MB)</li>
<li>8M x 16-bit common-bus 3.0V Page Mode Flash memory (16MB)</li>
<li>Dual 256K x 16-bit independent SRAM (512KB each)</li>
<li>256K x 16-bit independent SRAM (512KB)</li>
<li>8 RGB LEDS</li>
<li>5 generic push-button switches</li>
<li>4-channel 8-bit ADC, SPI-compatible</li>
<li>4-channel 8-bit DAC, SPI-compatible</li>
<li>4x isolated IM Relay channels</li>
<li>4x PWM power drivers</li>
<li> Screw terminal headers for ADC/DAC/Relay/PWM interfaces</li>
<li>SD (Secure Digital) card readers:
<ul>
<li>One for use by the Host Controller FPGA</li>
<li>One for use by the User FPGA</li>
</ul>
</li>
<li>SVGA interface (24-bit, 80MHz)
<p><div id="attachment_422" class="wp-caption alignright" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/11/IMG_2252.JPG"><img class="size-medium wp-image-422" title="NanoBoard 3000 Back" src="http://carlitoscontraptions.com/wp-content/uploads/2009/11/IMG_2252-300x225.jpg" alt="NanoBoard 3000 Back" width="300" height="225" /></a><p class="wp-caption-text">NanoBoard 3000 Back</p></div></li>
<li>10/100 Fast Ethernet interface</li>
<li>USB 2.0 High-Speed interface</li>
<li>RS-232 Serial Port – DB9M</li>
<li>RS-485 Serial Port – &#8216;RJ45&#8242;</li>
<li>240 x 320 TFT LCD with touch screen</li>
<li>8-way DIP-switch</li>
<li>Stereo 2W audio power amplifier with 3.5mm test input jack and DC volume control</li>
<li>24-bit Stereo Audio CODEC with I2S-compatible interface</li>
<li>Stereo audio jacks (3.5mm):
<ul>
<li>Line In / Line Out</li>
<li>Headphones</li>
</ul>
</li>
<li> Speakers on a separate (attached) board</li>
<li>MIDI interface</li>
<li>Diagnostics interface – PCI Express (PCIe) edge connector for connection of automated test equipment (ATE)</li>
<li>1.8&#8243; ATA/IDE connector providing access to user LED and generic switch I/O</li>
<li>Remote Control and IR interface.</li>
</ul>
<p>I should post some further details and perhaps even a simple test project soon (as soon as I get <a title="Altium Designer" href="http://www.altium.com/altiumsite/products/altium-designer/en/altium-designer_home.cfm">Altium Designer</a> and Xilinx ISE installed and running)</p>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2009/11/i-am-the-luckiest-engineer-ever/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Panoramic Camera &#8211; Prototype</title>
		<link>http://carlitoscontraptions.com/2009/09/panoramic-camera-prototype/</link>
		<comments>http://carlitoscontraptions.com/2009/09/panoramic-camera-prototype/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 05:46:45 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=333</guid>
		<description><![CDATA[This time, I built a panoramic camera. My main objective was to have a platform that can be used with pretty much any camera and that can produce panoramas with a minimum of work. If there is enough interest from the public and if this prototype is well received by the DIY community, I'm planning to produce (and hopefully sell) kits that would include all the parts to build this device]]></description>
			<content:encoded><![CDATA[<h2><span style="color: #ff0000;">Update: </span></h2>
<p style="padding-left: 30px;">Read the follow up posts: <a title="Panoramaker" href="http://carlitoscontraptions.com/2009/10/panoramaker/">Panoramaker</a>, where I expose the software, and <a title="Automatic Panoramas in Montreal" href="http://carlitoscontraptions.com/2009/10/automatic-panoramas-in-montreal/">Automatic Panoramas in Montreal</a>, where the final result can be seen.</p>
<p>I have finally completed my second project sponsored by <a title="RobotShop" href="http://www.robotshop.com/">RobotShop</a>. I apologize for the immense delay, I really missed my promise of rolling out a new project every two weeks. Let&#8217;s just say that I had a lot going on lately and I could barely keep up with my obligations, let alone blogging or building new projects.</p>
<div id="attachment_338" class="wp-caption aligncenter" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/09/ville_marie_2_fused.tif.jpg"><img class="size-medium wp-image-338" title="Place Ville-Marie" src="http://carlitoscontraptions.com/wp-content/uploads/2009/09/ville_marie_2_fused.tif-300x83.jpg" alt="Place Ville Marie Panorama" width="300" height="83" /></a><p class="wp-caption-text">Place Ville-Marie Panorama</p></div>
<p>This time, I built a panoramic camera. My main objective was to have a platform that can be used with pretty much any camera and that can produce panoramas with a minimum of work. If there is enough interest from the public and if this prototype is well received by the DIY community, I&#8217;m planning to produce (and hopefully sell) kits that would include all the parts to build this device.</p>
<h3>Materials</h3>
<ul>
<li><a title="Hitec HS-785HB Winch Servo Motor" href="http://www.robotshop.ca/hitec-hs785hb-servo-motor.html">Hitec HS-785HB Winch Servo Motor</a></li>
<li><a title="ServoCity SPT200 Direct Drive Pan &amp; Tilt System" href="http://www.robotshop.ca/servocity-spt200-pan-tilt.html">ServoCity SPT200 Direct Drive Pan &amp; Tilt System</a></li>
<li><a href="http://www.robotshop.ca/pololu-micro-serial-servo-controller.html">Pololu Micro Serial 8 Servo Controller</a></li>
<li><a title="Hitec HS-425BB Servo Motor" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.robotshop.ca');" href="http://www.robotshop.ca/Hitec-HS-425BB-Servo-Motor.html">Hitec HS-425BB Servo Motor</a></li>
<li>A digital camera</li>
<li>Small plastic container</li>
<li>Battery holders</li>
<li>(Rechargeable) Batteries</li>
<li>A piece of aluminum (I used an old heat sink)</li>
<li>A long nut (of the same size as a tripod screw)</li>
<li>A screw (that fits into the tripod attachment on the camera)</li>
<li>A tripod</li>
<li>Cable ties</li>
<li>A small piece of neoprene (or any other mushy substance)</li>
<li>A <a onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ftdichip.com');" href="http://www.ftdichip.com/Products/EvaluationKits/TTL-232R.htm">USB to Serial cable</a></li>
<li>Some female headers and wires</li>
</ul>
<h3>Putting It Together</h3>
<div id="attachment_341" class="wp-caption aligncenter" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/09/Canon31.jpg"><img class="size-medium wp-image-341" title="Panoramic Camera Mount" src="http://carlitoscontraptions.com/wp-content/uploads/2009/09/Canon31-300x240.jpg" alt="Panoramic Camera Mount" width="300" height="240" /></a><p class="wp-caption-text">Panoramic Camera Mount</p></div>
<p>The first step was to put together the ServoCity Pan and Tilt system. This took away much of the building work since it is really simple to put together in no time at all. Nevertheless, I applied some modifications to it: I discarded the bottom plate that should be attached to the panning servo (since I am using a larger winch servo that would not fit otherwise), and I drilled a hole on the top plate in order to be able to fasten the camera to the rig. Note that I also included a little piece of neoprene that was lying around in order to prevent the bottom of my camera from getting scratched.</p>
<p>The mounting hole for the camera must be placed so that the lens&#8217; pupil is at the centre of rotation. This way, the horizontal rotation axis will be close to the no-parallax-error point  (or whatever it is called) of the camera and will minimize the parallax errors.</p>
<p>Then, I used an old heat sink as the main structure since it is sturdy and basically free. I used the trusty Dremel to adapt it and cut the proper holes and slots in order to mount all the remaining pieces. The pieces to be mounted on the aluminum plate are the battery holders, the Pololu servo controller, and the winch servo motor. (or whatever it is called</p>
<p>I encapsulated the Pololu servo controller in a small plastic container I got from for free while on a trip with my girlfriend to the beauty/ soap/cream shop. I also used two 2-AA battery holders in order to provide power for the servo motors. I used 29000 mAh NiMH rechargeable batteries that gave me several hours of autonomy. In order to connect the battery holders to the controller, I soldered a two-position female header and insulated the leads with heat-shrink tubing.</p>
<p>I used almost exclusively cable ties to tie everything on the aluminum plate except for the winch servo motor that I screwed in and the long nut that was also screwed in place (after being drilled sideways).  I also had to drill the bottom aluminum face in order to allow for the tripod screw to be inserted into the nut.</p>
<h3>Operating it</h3>
<div id="attachment_343" class="wp-caption aligncenter" style="width: 310px"><a href="http://carlitoscontraptions.com/wp-content/uploads/2009/09/Panorama.jpg"><img class="size-medium wp-image-343" title="Panoramic camera in action" src="http://carlitoscontraptions.com/wp-content/uploads/2009/09/Panorama-300x240.jpg" alt="Panoramic camera in action" width="300" height="240" /></a><p class="wp-caption-text">Panoramic camera in action</p></div>
<p>This first prototype requires a laptop to be operated, which can be a little annoying.  I plan to use my EeePC in the immediate future and an embedded computer for an eventual commercial kit. It basically works as follows:</p>
<ol>
<li>The camera is set on the panoramic mount, which is fastened to the tripod.</li>
<li>The servo controller and the camera are connected to the computer trough their respective USB cables.</li>
<li>The controlling program is run.</li>
<li>The user waits in awe while the camera takes pictures by itself.</li>
</ol>
<p>In order to control the hardware, I use a python script that uses my <a title="Pololu Library" href="http://carlitoscontraptions.com/2009/07/pololu-python-library/">Pololu library</a> and <a title="gPhoto" href="http://gphoto.sourceforge.net/">gPhoto</a> in order to operate the servos and the camera respectively. I chose gPhoto since it supports a very wide range of cameras and it is very easy to use.</p>
<p>For now, taking a full 360 panorama takes about 15 minutes. This is a very long time and is mostly due to the fact that my script was hastily put together without care about the performance and in very little time. I will, very soon, post a cleaner version of the code, as well as all the panoramas I took properly processes and in full format, similarly to what I did with my <a title="San Francisco Panoramas" href="http://carlitoscontraptions.com/2009/05/making-panoramas/">San Francisco panoramas</a>.</p>
<h3>Acknowledgements</h3>
<div id="attachment_345" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.robotshop.com/"><img class="size-medium wp-image-345" title="RobotShop" src="http://carlitoscontraptions.com/wp-content/uploads/2009/09/robotshop_logoSIDE_001-300x128.jpg" alt="RobotShop.com" width="300" height="128" /></a><p class="wp-caption-text">RobotShop.com</p></div>
<p>I would like to thank the great people at <a title="RobotShop" href="http://www.robotshop.com/">RobotShop</a> for providing the <a title="Pololu servo controller" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.robotshop.ca');" href="http://www.robotshop.ca/pololu-micro-serial-servo-controller.html">Pololu Micro Serial Servo Controller</a>, the   <a title="ServoCity SPT200 Direct Drive Pan &amp; Tilt System" href="http://www.robotshop.ca/servocity-spt200-pan-tilt.html">ServoCity SPT200 Direct Drive Pan &amp; Tilt System</a>, and the <a title="Hitec HS-785HB Winch Servo Motor" href="http://www.robotshop.ca/hitec-hs785hb-servo-motor.html">Hitec HS-785HB Winch Servo Motor</a>. This is the second (and hopefully not the last) project they sponsor here at <a title="Carlitos' Contraptions" href="../">Carlitos’ Contraptions</a>. Without their help, I would have never been able to afford any of the materials (except for those that come straight from the garbage as usual).</p>
<p>They have also being very patient and understanding about my unexpected delay in rolling out this project.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1730px; width: 1px; height: 1px;">http://carlitoscontraptions.com/2009/05/making-panoramas/</div>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2009/09/panoramic-camera-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opus Smart Card</title>
		<link>http://carlitoscontraptions.com/2009/03/opus-smart-card/</link>
		<comments>http://carlitoscontraptions.com/2009/03/opus-smart-card/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 07:11:00 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[Work in progress]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=71</guid>
		<description><![CDATA[The Opus card is pretty much like an onion~ Oscar Wilde Here in Montreal, the public transportation system (STM) started to use a new system for paying the fares: a smartcard. This smartcard is called Opus and features contactless communication as well as regular metal pads (like those on telephone cards). This card can be ]]></description>
			<content:encoded><![CDATA[<blockquote><p><i>The Opus card is pretty much like an onion</i><br />~ <a href="http://uncyclopedia.wikia.com/wiki/Oscar_Wilde">Oscar Wilde</a></p></blockquote>
<p><a href="http://1.bp.blogspot.com/_940DBYqYeYo/SbdiT5WoCmI/AAAAAAAABds/ktXlx8yj4YM/s1600-h/IMG_1611.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img src="http://1.bp.blogspot.com/_940DBYqYeYo/SbdiT5WoCmI/AAAAAAAABds/ktXlx8yj4YM/s200/IMG_1611.JPG" style="cursor: move;" border="0" /></a>Here in Montreal, the public transportation system (<a href="http://stm.info/">STM</a>) started to use a new system for paying the fares: a smartcard.</p>
<p><a href="http://4.bp.blogspot.com/_940DBYqYeYo/SbdiWkScpzI/AAAAAAAABd0/tbml8SZJYDE/s1600-h/IMG_1614.JPG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img src="http://4.bp.blogspot.com/_940DBYqYeYo/SbdiWkScpzI/AAAAAAAABd0/tbml8SZJYDE/s200/IMG_1614.JPG" style="cursor: move;" border="0" /></a>This smartcard is called <a href="http://www.carteopus.info/en/main_nav/home/">Opus</a> and features contactless communication as well as regular metal pads (like those on telephone cards). This card can be recharged with various tickets, month passes, week passes, etc. More info on it can be found in its very own <a href="http://en.wikipedia.org/wiki/Opus_card">wiki page</a>.</p>
<p>Ever since it came out, I wanted to hack it and learn more about it. By searching a bit on the net, I found out that it is similar to other smart cards being used elsewhere in the world and this allowed me to learn some interesting things.</p>
<p>Similarly to the Hong Kong version of the system, the reader has a security feature that avoids writing to more than one card at the time. Let me explain: if you try to add fares to many cards at the same time (on the paying machine that features a contactless reader) by placing them on the reader, only the first one will get loaded with fares. This means that the cards are more than a simple memory, they feature a more complex and almost certainly encrypted communication system.</p>
<p>Also, each card has its own identification number.</p>
<p><b>Observations on the card behaviour:</b>
<ul>
<li>Cards loaded with a monthly pass will make the the readers shine a green light (or yellow for students) during the given month and grant access.</li>
<li>Cards loaded with tickets will make the reader say that one ticket has been used, shine a green light and grant access (same behaviour as with alternative magnetic band tickets). The ticket is then spent.</li>
<li>If the card with a ticket is read again within two hours of spending a ticket, the reader will shine a green light and grant access without spending another ticket. The readers also displays a message acknowledging this.</li>
<li>The process of loading a card with new fares takes around two seconds after the payment has been performed. While the card is being loaded, a yellow progress bar is shown. This means that writing to the card is a slow operation and cannot be performed on the fly while passing the card by the reader when entering the bus, for instance.</li>
<li>It is unlikely that the readers in the buses are connected in a network with all metro stations and themselves.</li>
</ul>
<p><b>How I think the card works:</b>
<ol>
<li>The card is put next to the reader which provides it with power (same as any contact less communication)</li>
<li>The reader sends the current time to the card.</li>
<li>The card checks if it can grant access to the transportation at the given time.</li>
<ol>
<li>If it has a month pass, the card only worries to see if the month is write.</li>
<li>If it has a ticket it stores the time and spends a ticket.</li>
<li>If it has spent the ticket in the previous two hours it does not decrement the ticket count</li>
</ol>
<li>In all the previous cases, the card sends the instruction to the reader to grant access and tells it what kind of message/light it should show.</li>
<li>If the card does not have tickets or month passes or transfers (a ticket spent in the last two hours) it less the reader so and the reader does not grant access.</li>
</ol>
<p>If this card is any similar to the ones in other countries, all the communication between the reader and the card are encrypted. The encryption may be symmetrical which means that there is a secret key shared by all the readers and the cards.</p>
<p>Also, at some point, the card may send its unique ID number to the reader.<br /><b><br /></b><br /><b>Some extra info:</b><br />I also wanted to see how the card is built, and the easiest way of doing so is to disassemble it.
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_940DBYqYeYo/SbdijhOB_lI/AAAAAAAABd8/ytuq6Ch8A6Q/s1600-h/IMG_1618.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img src="http://1.bp.blogspot.com/_940DBYqYeYo/SbdijhOB_lI/AAAAAAAABd8/ytuq6Ch8A6Q/s320/IMG_1618.JPG" border="0" /></a></div>
<p>Since it is made out of plastic, I put it to rest in a bath of acetone (nail polish remover) for a bit less than a day while periodically checking how it was doing. I poured the acetone in a old iPod metal casing since it has almost the same size as the card.
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_940DBYqYeYo/Sbdisf-uqFI/AAAAAAAABeE/hatxxrb7mXc/s1600-h/IMG_1627.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img src="http://1.bp.blogspot.com/_940DBYqYeYo/Sbdisf-uqFI/AAAAAAAABeE/hatxxrb7mXc/s320/IMG_1627.JPG" border="0" /></a></div>
<p>In the end I found out that the card is made up of several layers. This layers are very thin (or so are they after being soaked in acetone for 20 hours) but very sturdy.
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_940DBYqYeYo/SbdizVacEsI/AAAAAAAABeM/eWKtiOTZ8G8/s1600-h/IMG_1634.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img src="http://3.bp.blogspot.com/_940DBYqYeYo/SbdizVacEsI/AAAAAAAABeM/eWKtiOTZ8G8/s320/IMG_1634.JPG" border="0" /></a></div>
<p>The middle layer contains the antenna and contact pads in order to be connected to the microprocessor. The chip is merely sitting on the pads, this may explain why the cards are so prone to break: when it is bent, the pads do not touch the antenna any more and the the card becomes inactive.</p>
<p>Note that the dissolved plastic in acetone really stinks on the fingers when you manipulate the dissolved card and it is really a pain to clean.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2009/03/opus-smart-card/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Breadboard Bench</title>
		<link>http://carlitoscontraptions.com/2008/12/breadboard-bench/</link>
		<comments>http://carlitoscontraptions.com/2008/12/breadboard-bench/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 21:48:00 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Trash]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=66</guid>
		<description><![CDATA[I found a nice breadboard in McGill&#8217;s garbage a while ago and decided to convert it into an electronics bench. My main goal was to have a powerful power supply with regulated outputs combined with a breadboard and some useful connectors so I can build circuit prototypes easily. Also, I needed a new bench power ]]></description>
			<content:encoded><![CDATA[<p>I found a nice breadboard in McGill&#8217;s garbage a while ago and decided to convert it into an electronics bench. My main goal was to have a powerful power supply with regulated outputs combined with a breadboard and some useful connectors so I can build circuit prototypes easily. Also, I needed a new bench power supply since <a title="Bench Power Supply" href="http://carlitoscontraptions.com/2006/11/bench-power-supply/">mine</a> was lost in the <a title="Lunar Excavator" href="http://carlitoscontraptions.com/2008/08/lunar-excavator/">Lunar Excavator</a> shipment.</p>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://2.bp.blogspot.com/_940DBYqYeYo/SVv6RTuj7FI/AAAAAAAABTE/UpUFHaWbxSA/s1600-h/img_1043.jpg"><img src="http://2.bp.blogspot.com/_940DBYqYeYo/SVv6RTuj7FI/AAAAAAAABTE/UpUFHaWbxSA/s320/img_1043.jpg" border="0" alt="" /></a></div>
<p><strong>Materials</strong></p>
<ul>
<li>A nice breadboard found in the garbage</li>
<li>A computer power supply</li>
<li>An ATX motherboard power connector</li>
<li>Two LEDs with resistors for current limiting</li>
<li>A switch</li>
<li>Some cables</li>
</ul>
<p><strong>Putting it Together</strong></p>
<p>I wanted to build a modular system so I can replace the pieces easily, especially the power supply (since it comes from an old computer and may not work for very long).</p>
<p>I connected a switch and two LEDs (actually, my switch comes with an integrated light so I used only one LED) to the PS ON, 5V SB, and PWR OK pins so I can have an indicator of the power supply (PS) being plugged-in (D1) and another for the PS being turned ON (D2). The diagram below illustrates the connections.</p>
<div class="separator" style="clear: both; text-align: center;"><a style="margin-left: 1em; margin-right: 1em;" href="http://1.bp.blogspot.com/_940DBYqYeYo/SVv1oDvDfGI/AAAAAAAABS8/8PONosTWPmY/s1600-h/ATX_diagram.png"><img src="http://1.bp.blogspot.com/_940DBYqYeYo/SVv1oDvDfGI/AAAAAAAABS8/8PONosTWPmY/s320/ATX_diagram.png" border="0" alt="" /></a></div>
<div class="separator" style="clear: both; text-align: center;"><a style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" href="http://2.bp.blogspot.com/_940DBYqYeYo/SVv1blqy0iI/AAAAAAAABSs/vKuMqTdZj-M/s1600-h/img_1045.jpg"><img src="http://2.bp.blogspot.com/_940DBYqYeYo/SVv1blqy0iI/AAAAAAAABSs/vKuMqTdZj-M/s200/img_1045.jpg" border="0" alt="" /></a></div>
<p>I also connected the 12, 5, 3.3, 0, -5, and -12 V lines to the bottom-left banana connectors in order to have easy access to the power lines. Now, I can connect any ATX power supply to the box and it will work, which makes replacing a defective power supply very easy.</p>
<p><a style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" href="http://3.bp.blogspot.com/_940DBYqYeYo/SVv1nVrsZuI/AAAAAAAABS0/LLau1cKzwKM/s1600-h/img_1048.jpg"><img src="http://3.bp.blogspot.com/_940DBYqYeYo/SVv1nVrsZuI/AAAAAAAABS0/LLau1cKzwKM/s200/img_1048.jpg" border="0" alt="" /></a>After making the electrical connections, the switch and LED(s) have to be mounted to the box by drilling appropriate holes.</p>
<p>This was a fairly easy build, with the only difficult part being to find the appropriate materials in the garbage.</p>
<p>I may add a USB hub or some USB connectors as well in order to have more ways of connecting things to the box.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2008/12/breadboard-bench/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tony&#8217;s LEDs</title>
		<link>http://carlitoscontraptions.com/2008/10/tonys-leds/</link>
		<comments>http://carlitoscontraptions.com/2008/10/tonys-leds/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 19:40:00 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=62</guid>
		<description><![CDATA[I received many questions about the circuits driving the LEDs in many of my projects, especially for the Iron Man&#8217;s repulsor. LEDs are pretty neat devices. You make some current flow forward through it and you get some light as a result. Nevertheless, since they are diodes, they can allow an infinite amount of current ]]></description>
			<content:encoded><![CDATA[<p>I received many questions about the circuits driving the LEDs in many of my projects, especially for the Iron Man&#8217;s repulsor.</p>
<p>LEDs are pretty neat devices. You make some current flow forward through it and you get some light as a result. Nevertheless, since they are diodes, they can allow an infinite amount of current to flow (which in practice means a lot of current) and this can be problematic since, as any electrical device, it cannot handle that much current. In order to prevent them to pass too much current, a current limiting circuit is required (usually implemented as a resistor in series).</p>
<p>When you buy an LED, you (should) get two very important parameters, the voltage drop across them (say, V_LED), and the maximum continuous current  (I_LED).</p>
<p>So, for the trivial case where we have a battery (V_bat) in series with a resistor (R) and an LED, the value of R must obey the following inequation:
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_940DBYqYeYo/SQtqJBSrh1I/AAAAAAAAA3o/ExdAkldX0OU/s1600-h/eq1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img src="http://1.bp.blogspot.com/_940DBYqYeYo/SQtqJBSrh1I/AAAAAAAAA3o/j1sBKstmoKo/s320-R/eq1.png" border="0" /></a></div>
<p>If you decide to place many (say, n) LEDs in series, the inequation becomes:
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_940DBYqYeYo/SQtqKOiUzjI/AAAAAAAAA3w/l6gU6lG5wNo/s1600-h/eq2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img src="http://2.bp.blogspot.com/_940DBYqYeYo/SQtqKOiUzjI/AAAAAAAAA3w/W7Sx_sD0KO8/s320-R/eq2.png" border="0" /></a></div>
<p>Finally, if the LEDs are in parallel (as is the case for the repulsor), the inequation becomes:
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_940DBYqYeYo/SQtqLbqdonI/AAAAAAAAA34/EzzOtWjwzBA/s1600-h/eq3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img src="http://4.bp.blogspot.com/_940DBYqYeYo/SQtqLbqdonI/AAAAAAAAA34/cgeDhMSOq_w/s320-R/eq3.png" border="0" /></a></div>
<p>This result can be obtained by applying Ohm&#8217;s law (V= RI) to the circuits described above.  The proof is of course let as an exercise for the reader <img src='http://carlitoscontraptions.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .<br />This page has a very nice LED calculator which makes life really easy when calculating resistor values: <a href="http://alan-parekh.com/led_resistor_calculator.html">alan-parekh.com/led_resistor_calculator.html</a></p>
<p><b><span style="background-color: yellow;color:red;" >WARNING: the repulsor circuit may cause the LEDs to fail sooner or later. I&#8217;ll post an update as soon as I have one. Thanks to <a href="http://kd7jz.blogspot.com/">Tim</a> for the hint.</span></b></p>
<p>For those interested in the repulsor circuit, below you can find a diagram describing it. It is the same as the circuit with many LEDs in parallel but with a potentiometer added to regulate the light intensity. The only requisite for the potentiometer is to be large enough to attain the dimmest light according to your needs.
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_940DBYqYeYo/SQtfucqU7bI/AAAAAAAAA3g/gA_3WEfIZps/s1600-h/circuit.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img src="http://3.bp.blogspot.com/_940DBYqYeYo/SQtfucqU7bI/AAAAAAAAA3g/2jt7B0roQ2c/s320-R/circuit.png" border="0" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2008/10/tonys-leds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Lunar Excavator</title>
		<link>http://carlitoscontraptions.com/2008/08/lunar-excavator/</link>
		<comments>http://carlitoscontraptions.com/2008/08/lunar-excavator/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 02:46:00 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Mechanics]]></category>
		<category><![CDATA[Metal]]></category>
		<category><![CDATA[Robot]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=59</guid>
		<description><![CDATA[I was lucky enough to help my friend Stephen and his team to build a lunar excavator to participate in the Regolith Excavation Challenge, sponsored by NASA. We put lots of efforts and many hours to get the robot done in time and we managed to get it running before it had to be shipped ]]></description>
			<content:encoded><![CDATA[<p>I was lucky enough to help my friend Stephen and his team to build a <a href="http://lunarex.mcgill.ca/">lunar excavator</a> to participate in the <a href="http://regolith.csewi.org/">Regolith Excavation Challenge</a>, sponsored by NASA.</p>
<p>We put lots of efforts and many hours to get the robot done in time and we managed to get it running before it had to be shipped to California (from McGill University in Montreal).</p>
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_940DBYqYeYo/SKzgWu-B-bI/AAAAAAAAAzc/dNgiJ4sGLdo/s1600-h/ss852231.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img src="http://2.bp.blogspot.com/_940DBYqYeYo/SKzgWu-B-bI/AAAAAAAAAzc/ee4dII691GI/s320-R/ss852231.jpg" border="0" /></a></div>
<p>Unfortunately, despite the awesomeness of the lunar excavator and the fact that it was going to completely own the challenge, the UPS shipment went wrong and the robot could net get to the competition on time. Now the fight with UPS has begun to get a full reimbursement (~2000$) and the robot back.</p>
<p>UPS incompetence aside, I worked in putting all the electronics system together in the <i>electrical box</i>. This meant, I had to build two boards: one for the power management (transforming the provided 24V into a 12 and 5V in order to power the many devices and turning the latter ON and OFF), and one for the logic (interfacing the main computer with the various motor controllers and sensors).</p>
<p><a href="http://4.bp.blogspot.com/_940DBYqYeYo/SKzgJCzlPII/AAAAAAAAAzU/pEdwX45x6OQ/s1600-h/ss852227.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img src="http://4.bp.blogspot.com/_940DBYqYeYo/SKzgJCzlPII/AAAAAAAAAzU/UHehVHkCE6A/s320-R/ss852227.jpg" border="0" /></a>This task was done using perfboards and lots of solder since we did not have enough time to consider designing and fabricating proper PCBs with nice places for all the components.</p>
<p>Note the nice (and very classy) wood finish of the electrical box interior as shown in the picture.</p>
<p>I will not give away any details about the excavator since it will compete next year, provided there is another Regolith Challenge.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2008/08/lunar-excavator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I am Iron Man</title>
		<link>http://carlitoscontraptions.com/2008/06/i-am-ironman/</link>
		<comments>http://carlitoscontraptions.com/2008/06/i-am-ironman/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 00:14:00 +0000</pubDate>
		<dc:creator>Carlitos</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Craft]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://carlitoscontraptions.com/?p=56</guid>
		<description><![CDATA[When I saw the new Iron Man movie, I instantly knew I had to build some part of the suit (I like to wear gadgets). Luckily for me, I found an old hard drive that had just the pieces I needed for building a repulsor-like LED flashlight. (This picture comes from IDontLikeYouInThatWay.com) Objective To build ]]></description>
			<content:encoded><![CDATA[<p>When I saw the new Iron Man movie, I instantly knew I had to build some part of the suit (I like to wear gadgets). Luckily for me, I found an old hard drive that had just the pieces I needed for building a repulsor-like LED flashlight.</p>
<div style="text-align: center;"><a href="http://1.bp.blogspot.com/_940DBYqYeYo/SGbWmZV7fxI/AAAAAAAAAv8/C4FI2XwkYM8/s1600-h/ironman1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5217093173481537298" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_940DBYqYeYo/SGbWmZV7fxI/AAAAAAAAAv8/C4FI2XwkYM8/s320/ironman1.jpg" border="0" alt="" /></a>(This picture comes from <a href="http://www.idontlikeyouinthatway.com/pictures/20080505/iron%20man%20premiere/big_ironman1.html">IDontLikeYouInThatWay.com</a>)</div>
<p><span style="font-weight: bold;">Objective</span></p>
<p>To build a very powerful LED flashlight mounted on my hand palm that would turn on and produce brighter light as I move my hand back (and the angle between my hand and my arm decreases and gets roughly to 90°). Also, the flashlight should be comfortable, allow my hand to move freely, be very sturdy, and of course look as much as possible like the repulsor Tony Starks wears on the picture above.</p>
<p>For those who have not guessed yet, this is what <a href="http://carlitoscontraptions.blogspot.com/2008/05/what-am-i-building.html">I was building</a>.</p>
<p><a href="http://2.bp.blogspot.com/_940DBYqYeYo/SGb-9bpUfCI/AAAAAAAAAwk/oI3m_EvAfag/s1600-h/ss851627.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5217137549701839906" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_940DBYqYeYo/SGb-9bpUfCI/AAAAAAAAAwk/oI3m_EvAfag/s320/ss851627.jpg" border="0" alt="" /></a><br />
<span style="font-weight: bold;">Materials</span></p>
<ul>
<li>An old (aluminum) heat sink (from a broken computer monitor I believe)</li>
<li>A long and thin aluminum piece from a copy machine</li>
<li>A street cleaner brush bristle (like the one used to build a <a title="Bogota Rake" href="http://carlitoscontraptions.com/2006/12/bogot-rake/">Bogota Rake</a>)</li>
<li>An aluminum disk and a thick aluminum ring (they were the holder and separator for the plates on a very old hard drive)</li>
<li>6 <a href="http://alan-parekh.vstore.ca/product_info.php/cPath/4_6/products_id/14">5 mm</a> and one <a href="http://alan-parekh.vstore.ca/product_info.php/cPath/4_9/products_id/36">10 mm</a> ultra bright LEDs</li>
<li>A linear potentiometer (from an old sound system equalizer)</li>
<li>A switch</li>
<li>An old laptop battery</li>
<li>Some cable, some female and male headers, heat shrink tubbing, a paperclip, a plastic cable tie, and lots of love.</li>
</ul>
<p><span style="font-weight: bold;">How to do it</span></p>
<p>Since my materials are pretty specific and it is quite unlikely that some reader may get the exact same set of materials, I won&#8217;t give a detailed description of how it is built, but rather how I did some of the key parts of this contraption.</p>
<p><span style="font-weight: bold;">Shaping and shining the metal:</span><br />
Since the heat sinks and the other peace of metal I found were not flat (they had many 90° bends) I hammered them on a piece of thick steel until they became perfectly flat. Then, they were sanded with a fine sand paper and polisher until they where nice and shiny with some tell wool (the kind used for cleaning). I always sand and rub the metal along the same direction so it gets a consistent brushed look .</p>
<p><a href="http://3.bp.blogspot.com/_940DBYqYeYo/SGb-8vYoskI/AAAAAAAAAwU/jIGL0yF3fxU/s1600-h/ss851633.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5217137537820701250" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_940DBYqYeYo/SGb-8vYoskI/AAAAAAAAAwU/jIGL0yF3fxU/s320/ss851633.jpg" border="0" alt="" /></a>I bent the metal with my hand and worked the bends with a heavy steel rod so they are round and smooth instead of straight edges.</p>
<p><span style="font-weight: bold;">Linking the hand and wrist pieces:</span><br />
The wrist and hand pieces are linked together bu a street cleaner brush bristle. The bristle is bent in a &#8220;Z&#8221; shape and goes into a hole at center top of the hand piece. The other end of the bristle is slightly bent upwards (so it doesn&#8217;t go into my arm when I move my hand) and goes trough a wire tie loop on the top of the wrist. A paper clip is soldered into this end and is connected to the linear potentiometer. The I heated and Inserted the clip into the plastic potentiometer tab, this creates a nice and strong link. The paperclip provides flexibility and allows the and to move beyond the range of motion of the potentiometer.</p>
<p><a href="http://4.bp.blogspot.com/_940DBYqYeYo/SGb-9BYDjQI/AAAAAAAAAwc/PXbCAiR7Gtk/s1600-h/ss851632.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5217137542650105090" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_940DBYqYeYo/SGb-9BYDjQI/AAAAAAAAAwc/PXbCAiR7Gtk/s320/ss851632.jpg" border="0" alt="" /></a>I&#8217;m very proud of this link since it is flexible, robust, and is rather easy to build.</p>
<p>Light:</p>
<p><a href="http://3.bp.blogspot.com/_940DBYqYeYo/SGb_jwcjSeI/AAAAAAAAAws/jHaCn8nbyQ0/s1600-h/ss851626.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5217138208120457698" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_940DBYqYeYo/SGb_jwcjSeI/AAAAAAAAAws/jHaCn8nbyQ0/s320/ss851626.jpg" border="0" alt="" /></a>I used seven LEDs connected in parallel (since they have roughly the same voltage and current needs). They fit nicely into the seven holes in my metal disk. In order to avoid the LED leads to short when in contact with the metal, I applied a thick layer of transparent nail polish to the metal plate previous to inserting the LEDs. The nail polish works very well as an insulator and is, for all practical purposes, invisible.</p>
<p><a href="http://3.bp.blogspot.com/_940DBYqYeYo/SGb-8L5a5NI/AAAAAAAAAwE/MJ3b6hWnLmo/s1600-h/ss851656.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5217137528294532306" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_940DBYqYeYo/SGb-8L5a5NI/AAAAAAAAAwE/MJ3b6hWnLmo/s320/ss851656.jpg" border="0" alt="" /></a>The LEDs are connected in series to the potentiometer which in turn is connected to a regular resistor. The regular resistor is used to limit the current and set the appropriate voltage for the LEDs and the potentiometer determines the light intensity. You can determine the appropriate value for the resistor by using this <a href="http://alan-parekh.com/led_resistor_calculator.html">LED calculator</a>.</p>
<p>I hope you enjoyed the information and you like the end result.</p>
<p><a href="http://3.bp.blogspot.com/_940DBYqYeYo/SGb-8fhNx7I/AAAAAAAAAwM/Cin5dxAr3ms/s1600-h/ss851643.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5217137533561718706" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_940DBYqYeYo/SGb-8fhNx7I/AAAAAAAAAwM/Cin5dxAr3ms/s320/ss851643.jpg" border="0" alt="" /></a>Below is a video of the repulsor beam. I know it lacks the repulsive action but still, I think it looks nice. Enjoy.</p>
<div style="text-align: center;"><script src="http://flash.revver.com/player/1.0/player.js?mediaId:968026;affiliateId:78575;backColor:#3465A4;frontColor:#F57900;gradColor:#000000;width:480;height:392;shareUrl:revver;pngLogo:http://static2.revver.com/player/logo/revverLogo__________.png" type="text/javascript"></script></div>
]]></content:encoded>
			<wfw:commentRss>http://carlitoscontraptions.com/2008/06/i-am-ironman/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
	</channel>
</rss>

