<?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>YourITronics &#187; LED</title>
	<atom:link href="http://www.youritronics.com/tag/led/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.youritronics.com</link>
	<description>DIY, Electronics, IT, Gadgets</description>
	<lastBuildDate>Fri, 16 Dec 2011 19:22:15 +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>TPS54232 constant current source</title>
		<link>http://www.youritronics.com/tps54232-constant-current-source/</link>
		<comments>http://www.youritronics.com/tps54232-constant-current-source/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 18:55:03 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[constant current]]></category>
		<category><![CDATA[Power]]></category>
		<category><![CDATA[TPS54232]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3391</guid>
		<description><![CDATA[In this article I continue my project where I needed a constant current source. In the previous article I talked about the first approach the LM317 constant current source which didn&#8217;t worked out that well but could of been improved as suggested by some of my readers in the comments. So I decided to use [...]]]></description>
			<content:encoded><![CDATA[<p>In this article I continue my project where I needed a <strong>constant current source</strong>. In the previous article I talked about the first approach the <a href="http://www.youritronics.com/lm317-constant-current-source/">LM317 constant current source</a> which didn&#8217;t worked out that well but could of been improved as suggested by some of my readers in the comments. So I decided to use a dc-dc converter and turn it into a constant current source. Since I&#8217;m using the <a href="http://focus.ti.com/lit/ds/symlink/tps54232.pdf">TPS54232</a> in another project and I have it around I decided to use it. This technique can also be applied to other dc-dc converters with a bit of reading on the subject.</p>
<p>I&#8217;ve started by reading <a title="TPS54160 60-V, Step-Down LED Driver Design Guide" href="http://focus.ti.com/lit/an/slva374/slva374.pdf">SLVA374</a> app report from TI which is a Step-Down LED Driver Design Guide based on the <strong>TPS54160</strong> dc-dc converter, normally used as a buck voltage regulator. The schematic from the app report can be easily adapted to our device with a few changes like adding a sense resistor and an output capacitor:</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-schematic.png"><img class="alignnone size-medium wp-image-3402" title="TPS24232 constant current source schematic" src="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-schematic-300x123.png" alt="TPS24232 constant current source schematic" width="300" height="123" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-board.png"><img class="alignnone size-medium wp-image-3401" title="TPS24232 constant current source board" src="http://www.youritronics.com/wp-content/uploads/2010/10/TPS24232-constant-current-source-board-300x135.png" alt="TPS24232 constant current source board" width="270" height="122" /></a></p>
<p>If you remember from my last post I needed 1.12 A to power the two led packs that I&#8217;ve  build connected in parallel. We have a simple equation that we use to find out the feedback resistor value: <strong>R=Vref/Io </strong>In our case Vref is 0.8V taken from TPS54232 datasheet, Io is our desired current of 1.12 A. Doing the math we get the R value = 0.71 ohms. This is not a standard value, but we can use two 1.5 ohms resistors in parallel(R1 and R2) to get 0.75 ohms which is pretty close. With 0.75 ohms feedback resistor I have 1.06A at the output which divided by 56(the number of white LED&#8217;s) means 18.9 mA for each white led.</p>
<p>We must consider the <strong>power dissipation for this resistor</strong> and we can calculate it : <strong>Pdis = Vref^2/R</strong> In our case we have Pdis = 0.8^2/0.75 = 0.85W. The only 1.5 ohms resistors that I could find locally were 5 W so I had to work with a bigger package. The EN pin is used to enable and adjust the Undervoltage Lockout but I&#8217;m not going to use that feature since my input voltage is always gonna be high enough not to cause any problems. The resistors are placed on the pcb anyways so you could use those pads and soldere the necessary resistors.</p>
<p>We also must consider the <strong>power dissipation in the low side diode</strong>. During the converter on time, the output current is provided by the internal switching FET. During the off time, the output current flows through the catch diode. The average power in the diode is given by: <strong>Pdiode = (1-Voled/Vin) * Vfd * Io , </strong>where: Vfd is the led forward voltage, Voled is the supplied output voltage and is approximated by: Voled = Nled * VLed + Vref where : Nled = number of LEDs, Vled = forward voltage drop of each LED. In my case Pdiode = (1-(4.2/12))*0.75*1.06=0.51W so I used a 2A 40V schottky diode part number CDBA240-G.</p>
<p>You would also have to consider the inductor and the input and output capacitors, but you can read all about that in the datasheet of the <strong>TPS54232</strong> or in the app report mentioned above. After I had all of my circuit figured out, I routed the board and etched it using my <a title="diy photo etching technique for pcb" href="http://www.youritronics.com/diy-printed-circuit-board-using-photo-etching-method/">photo etching technique</a>. For such a small board its not worth taking out the solder paste so I soldered it using the soldering iron, as you can see its a mix of through hole and surface mount parts but they fit together quite nice.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08303-Large.jpg"><img class="alignnone size-large wp-image-3406" title="TPS54232 LED constant current source " src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08303-Large-1024x768.jpg" alt="TPS54232 LED constant current source pcb assembled" width="342" height="242" /></a><img class="alignnone size-large wp-image-3407" title="TPS54232 constant current source pcb" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08304-Large-1024x768.jpg" alt="TPS54232 constant current source pcb back side" width="333" height="242" /></p>
<p>The solder drops that you can see on the back of the board are a sort of DIY thermal vias. I&#8217;m not sure how efficient they are but I gave them a try with this board, probably because I had too much time available <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . First when I designed the board I included a area of copper in the top layer right beside the resistors. Next I drilled some 0.7 mm holes and I placed 0.7 copper wire in the wholes securing it by soldering on both sides. The trick is to make the solder joint as small as possible so it doesn&#8217;t spaces your component from the board. As I&#8217;ve said I don&#8217;t know their efficiency but I think they work, I can feel the heat transferring from one side to the other faster. If you like them you can try them.</p>
<p>The testing went smooth, the LED&#8217;s light up perfectly, no problems at all. During the testing I noticed one bug though: if the input wires are not firmly attached or secured and there is an imperfect contact the converter will tend to output less current than the programmed 1.02A. I&#8217;m not sure why this is happening, it might have something to do with the Undervoltage Lockout feature that I skipped on but I&#8217;m not sure. Anyway its not that much of a problem since once in place the power source will have the cables firmly attached so no worries. That&#8217;s why I used the cable connectors on the PCB in the first place, I knew it would save me some trouble later.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08314-Large.jpg"><img class="alignnone size-large wp-image-3395" title="56 white LED " src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08314-Large-1024x768.jpg" alt="56 white LED " width="645" height="484" /></a></p>
<p>Now I had one last thing to do. Since this circuit is going to be operated in the outdoors the corrosion would set in pretty quickly so I improvised once again. I had this idea for quite a long time but never actually tried it. So I used my Bison universal hobby glue, which is transparent, and covered the copper traces on the PCB in glue. After it hardened, it looks like you could dip these board into water and nothing would happen to them. Well, except from the terminals which stick out of the PCB <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Nonetheless I think these boards will run no problems even after a few years. If you&#8217;re wondering where the bubbles come from, they form when the glue dries out <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08310-Large.jpg"><img class="alignnone size-medium wp-image-3393" title="TPS54232 constant current source covered in glue" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08310-Large-300x225.jpg" alt="TPS54232 constant current source covered in glue" width="300" height="225" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08309-Large.jpg"><img class="alignnone size-medium wp-image-3392" title="white led packs pcb's covered in glue" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08309-Large-300x225.jpg" alt="white led packs pcb's covered in glue" width="300" height="225" /></a></p>
<p>I&#8217;m pretty happy how this project ended up and I feel like I know more about LED&#8217;s and ways to power them. I&#8217;ll definitely need to experiment more with some high power LED&#8217;s, maybe use them to light my workbench. As for the efficiency of this circuit I don&#8217;t know if I&#8217;m calculating the right way because I&#8217;m using the equations from page 16 of TPS54232 datasheet, and those are clearly stated to be used only under continuous conduction mode. Since the circuit has been modified to act as a constant current source I&#8217;m not sure the same equations apply. But I did the math anyway and I got an efficiency of 75.36% and according to the same equation if I would connect the two led packs in series I would get an efficiency of 79.01%. Once again I&#8217;m not sure these calculations are correct and I ask the readers to comment on these.</p>
<p>There is more that you can do to improve the efficiency of this circuit. It turns out you can reduce the power losses in the current sense resistor by lowering the voltage across the resistor. The solution is to inject a bias voltage, but I&#8217;m not going to try this solution since I&#8217;m already happy with my design. You can read more about it in <a title="Extending Battery Life With the TPS61040 White Light LED Driver" href="http://focus.ti.com/lit/an/slea004/slea004.pdf">SLEA004</a> app report from TI.</p>
<p>Downloads:</p>
<ul>
<li><a href="http://www.youritronics.com/wp-content/uploads/2010/10/TPS54232-constant-current-source1.zip">TPS54232 constant current source Eagle files</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/tps54232-constant-current-source/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>LM317 constant current source</title>
		<link>http://www.youritronics.com/lm317-constant-current-source/</link>
		<comments>http://www.youritronics.com/lm317-constant-current-source/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 09:53:00 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[LM317]]></category>
		<category><![CDATA[Power]]></category>
		<category><![CDATA[White]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3355</guid>
		<description><![CDATA[Recently a friend of mine asked my help about replacing some 12V light bulbs with LED&#8217;s for longer battery life. After doing some searches the cheapest solution was to use a bunch of 5 mm white LED&#8217;s powered from a constant current source. A constant current source is not cheap to buy and since were [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a friend of mine asked my help about replacing some 12V light bulbs with LED&#8217;s for longer battery life. After doing some searches the cheapest solution was to use a bunch of 5 mm white LED&#8217;s powered from a constant current source. A constant current source is not cheap to buy and since were in the spirit of making why not make that also. But where to start ? there are voltage regulators that you can turn into constant current sources, dc-dc converters that you can turn into constant current sources or you can choose a specialized circuit designed exactly for powering LED&#8217;s. Obviously the first option is the cheapest and simplest to implement but it comes with its drawbacks.</p>
<p>Anyway, I had everything needed on hand so I proceeded and designed a PCB in Eagle. I used two <a title="LM317 voltage regulator" href="http://www.national.com/ds/LM/LM117.pdf">LM317</a> voltage regulators because I want to power two sets of LED&#8217;s. Each set of LED&#8217;s is composed of 28 LED&#8217;s tied in parallel. I&#8217;m gonna set the current on each LED to 20 mA so that is 560mA for each set of LED&#8217;s. I wanted to spread all that load on two LM317 so I used two.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/28-LEDs-in-parallel.png"><img class="alignnone size-medium wp-image-3359" title="28 LEDs in parallel" src="http://www.youritronics.com/wp-content/uploads/2010/10/28-LEDs-in-parallel-300x120.png" alt="28 x 5mm white LEDs wired in parallel " width="300" height="120" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/Dual-LM317-constant-current-source.png"><img class="alignnone size-medium wp-image-3360" title="Dual LM317 constant current source schematic" src="http://www.youritronics.com/wp-content/uploads/2010/10/Dual-LM317-constant-current-source-300x105.png" alt="Dual LM317 constant current source schematic" width="315" height="120" /></a></p>
<p>The PCB were easy to route and ended up like this:</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/28-LEDs-in-parallel-PCB.png"><img class="alignnone size-medium wp-image-3358" title="28 x white LEDs in parallel PCB" src="http://www.youritronics.com/wp-content/uploads/2010/10/28-LEDs-in-parallel-PCB-300x149.png" alt="28 x white LEDs in parallel PCB" width="300" height="149" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/LM317-constant-current-source-PCB.png"><img class="alignnone size-medium wp-image-3361" title="Dual LM317 constant current source PCB" src="http://www.youritronics.com/wp-content/uploads/2010/10/LM317-constant-current-source-PCB-300x292.png" alt="Dual LM317 constant current source PCB" width="151" height="148" /></a></p>
<p>Kind of small and nice looking. The LED pack could of been smaller but since LED&#8217;s don&#8217;t spread light on a wide angle I decided to spread the LED&#8217;s a bit to spread the light. The LM317 board was designed so that it would fit perfectly under a heatsink I had around. Actually the heatsink is from an old video card I had in my junk box; its nice to reuse these things, its like recycling.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08294-Large.jpg"><img class="alignnone size-medium wp-image-3373" title="old video card ripped out of heatsink" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08294-Large-300x225.jpg" alt="old video card ripped out of heatsink" width="300" height="225" /></a></p>
<p>I proceeded and used my <a href="http://www.youritronics.com/diy-printed-circuit-board-using-photo-etching-method/">DIY photo etching method</a> but something went wrong and I messed up all of the PCB&#8217;s, they ended up looking like this:</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08295-Large.jpg"><img class="alignnone size-medium wp-image-3374" title="messed up PCB" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08295-Large-300x225.jpg" alt="messed up PCB" width="300" height="225" /></a></p>
<p>The thing is I stopped using ferric chloride a while ago. Instead I turned to ammonium persulfate which comes as a white powder that you need to dissolve in watter. The watter stays clear, it doesn&#8217;t smell and it doesn&#8217;t stain (not checked yet). It only catches a blueish color after you&#8217;ve used it and copper accumulates in it. The only disadvantage for using ammonium persulfate is that it etches slower than ferric chloride, other than that is great. The problem with mine is that it was mixed with water more than 6 months ago and it turns out it doesn&#8217;t last that long when mixed with water, so keep it as powder and only mix it when you need it. Unfortunately I couldn&#8217;t get more of it locally so I had to return to the good old ferric chloride. I did all the process again and the boards came out great this time.</p>
<p>The assembled LED packs look like this:</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08281-Large.jpg"><img class="alignnone size-medium wp-image-3366" title="Assembled 28 led packs" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08281-Large-300x225.jpg" alt="Assembled 28 led packs" width="300" height="225" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08286-Large.jpg"><img class="alignnone size-medium wp-image-3367" title="Assembled 28 led packs back" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08286-Large-300x225.jpg" alt="Assembled 28 led packs back" width="300" height="225" /></a></p>
<p>and the assembled LM317 board look like this:</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08293-Large.jpg"><img class="alignnone size-medium wp-image-3372" title="dual LM317 constant current source assembled" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08293-Large-300x225.jpg" alt="dual LM317 constant current source assembled" width="300" height="225" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08287-Large.jpg"><img class="alignnone size-medium wp-image-3368" title="dual LM317 constant current source assembled" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08287-Large-300x225.jpg" alt="dual LM317 constant current source assembled" width="300" height="225" /></a></p>
<p>Notice how I designed the board to fit just over the raised part of the heatsink? its the little things that count <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  (and I&#8217;m not referring to the heatsink as you will read next). The LM317 pair was mounted on the back so that it sits firmly attached to the heatsink transferring all that heat.</p>
<p>here&#8217;s a photo between the heatsink and the pcb:</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08292-Large.jpg"><img class="alignnone size-medium wp-image-3371" title="LM317 constant current source - between heatsink and pcb" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08292-Large-300x225.jpg" alt="LM317 constant current source - between heatsink and pcb" width="300" height="225" /></a><a href="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08291-Large.jpg"><img class="alignnone size-medium wp-image-3370" title="LM317 constant current source - between heatsink and pcb" src="http://www.youritronics.com/wp-content/uploads/2010/10/DSC08291-Large-300x225.jpg" alt="LM317 constant current source - between heatsink and pcb" width="300" height="225" /></a></p>
<p>I was pretty happy with the overall result until I actually run it. The heatsink got very hot pretty fast and it was clear it was not dissipating enough heat. With 12 V in, LED Vf of 3.4V , 560mA and an ambient temperature of 28 degrees C, the heatsink reached almost 80 degrees C. It turns out The LM317 is not very efficient in this setup and together with the sense resistor has to dissipate allot of heat. And a simple calculation would of shown this from the beginning if I paid attention to it.  (Vin-Vf.Led-Vadj)xIo =&gt; (12V-3.4V-1.25V)x0.56A= 4.116 W for each regulator, double that and the heatsink is just too small to dissipate that kind of heat. Not to mention the poor efficiency of the circuit. Its the little things that count , I would of done that calculation earlier I wouldn&#8217;t of made that circuit just to realize that is not good for my setup.</p>
<p>At this point I knew this option is not good and I had to find something else to power the LED&#8217;s. I could use a specialized circuit like the <a title="LM3406 1.5A Constant Current Buck Regulator for Driving High Power LEDs" href="http://www.national.com/ds/LM/LM3406.pdf">LM3406</a> which would give me the best efficiency but I would have to wait for delivery and get some more parts, or I could use a dc-dc converter modified as constant current source which would give me decent efficiency and I could build it with parts that I already have. I decided to go with the dc-dc converter modified as constant current source. I already have the <a href="http://focus.ti.com/lit/ds/symlink/tps54232.pdf">TPS54232</a> from another project of mine; the TPS54232 is a 2A, 28V, 1MHz, step down SWIFT™ dc-dc converter. Now its time to design a new PCB for the new power source but more about this in the <a href="http://www.youritronics.com/tps54232-constant-current-source/">next article.</a></p>
<p>Downloads:</p>
<ul>
<li><a href="http://www.youritronics.com/wp-content/uploads/2010/10/LM317-constant-current-source.zip">LM317 constant current source design files</a></li>
<li><a href="http://www.youritronics.com/wp-content/uploads/2010/10/28-LED-pack-PCB.zip">28 LED pack design files</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/lm317-constant-current-source/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Happy new year 2010 POV</title>
		<link>http://www.youritronics.com/happy-new-year-2010-pov/</link>
		<comments>http://www.youritronics.com/happy-new-year-2010-pov/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 23:39:51 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[ATtiny26]]></category>
		<category><![CDATA[Display]]></category>
		<category><![CDATA[POV]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3156</guid>
		<description><![CDATA[I would like to wish my readers a Happy New Year and may all your wishes come true. As you may have experienced, during the holidays,  hobbyists get some free time and they like spending it building stuff. In this case the author, Infernoz, build this 8 LED POV display, which seems like a fun [...]]]></description>
			<content:encoded><![CDATA[<a href="http://www.youritronics.com/happy-new-year-2010-pov/"><img src="http://img.youtube.com/vi/8h52IbpyK9w/default.jpg" width="130" height="97" border=0></a>
<p>I would like to wish my readers a Happy New Year and may all your wishes come true. As you may have experienced, during the holidays,  hobbyists get some free time and they like spending it building stuff. In this case the author, Infernoz, build this 8 LED POV display, which seems like a fun way of wishing a happy new year. The device is based on the Attiny26 from ATMEL and from the video we can see it works quite nice, but unfortunately I was unable to locate any source code posted on the project page, but this is not that bad as you can find POV source code from others projects(<a href="http://www.youritronics.com/silent-ceiling-pov-display/">POV1</a> <a href="http://www.youritronics.com/wearable-pov-unit/">POV2</a> <a href="http://www.youritronics.com/simple-handheld-pov/">POV3</a>) if you&#8217;re interested in building one.</p>
<p><strong>Happy new year 2010 POV: </strong><a href="http://www.elektronika.ba/728/new-years-pov-project/">[via]</a><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/happy-new-year-2010-pov/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bicycle Tail Light</title>
		<link>http://www.youritronics.com/bicycle-tail-light/</link>
		<comments>http://www.youritronics.com/bicycle-tail-light/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 10:42:06 +0000</pubDate>
		<dc:creator>Andrei</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Bicycle]]></category>
		<category><![CDATA[Light]]></category>
		<category><![CDATA[LM3410]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2982</guid>
		<description><![CDATA[You want to learn more about DC to DC boost converters? Here is a good and practical application of such converters, an LED tail light for your bicycle. Why do you need a boost converter for that you might ask, when you can simply have a battery power up some LEDs. Well, this way you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/08/Bicycle-tail-light.jpg"><img class="alignnone size-medium wp-image-2983" src="http://www.youritronics.com/wp-content/uploads/2009/08/Bicycle-tail-light-300x225.jpg" alt="Bicycle tail light" width="300" height="225" /></a></p>
<p>You want to learn more about DC to DC boost converters? Here is a good and practical application of such converters, an LED tail light for your <a href="http://www.youritronics.com/bike-led-lighting-system/">bicycle</a>. Why do you need a boost converter for that you might ask, when you can simply have a battery power up some LEDs. Well, this way you greatly increase efficiency, you increase the number of LEDs you can drive and thus increase the perceived power of light. And yes, you will learn about them.</p>
<p>This project makes use of the National Semiconductor LM3410 chip. This chip provides a current regulation rather than a voltage regulation and makes it suitable when working with LEDs. This current regulation is done by switching a NMOS gate at constant frequency of 525Khz ( you can also chose 1.6Mhz) and varying the duty cycle, the so called pulse width modulation. Given a constant frequency varying the pulse width results in varying the mean value in time. The regulation is done by providing a feedback current that causes a voltage drop on a resistor which in turn is fed into a comparator.</p>
<p>The output of this comparator goes to the PWM comparator where it faces the output of the amplifier that reads the switched current through an inductor. The result will be a PWM signal attacking the NMOS gate and thus providing a steady mean output current value. The current sensing amplifier also provides an output for switched current limiting. Some nice features of LM3410 makes things easier, it&#8217;s internally compensated,  has a very low stand-by current, has dimming possibilities and thermal shutdown.</p>
<p>As the author states in his article you have to be careful when choosing components. Since the operation frequency is pretty high the diodes through which the inductor discharges must be high speed or you risk blowing the chip. Taking things a step forward he added a PIC12F683 microcontroller to provide some light effects selected by a pressing a button.</p>
<p>If we look closer at this project we can see it can be further developed, using the dimming possibility of LM3410 you can also turn it into a stop light. Whenever you break light intensity goes higher. Another development is to adapt it to be used with a dynamo. Have fun.</p>
<p><strong>Bicycle Tail Light:</strong> <a href="http://projects.dimension-x.net/archives/211">[Link]</a><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/bicycle-tail-light/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mini-car Light Installation</title>
		<link>http://www.youritronics.com/mini-car-light-installation/</link>
		<comments>http://www.youritronics.com/mini-car-light-installation/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 12:00:19 +0000</pubDate>
		<dc:creator>Tiberiu</dc:creator>
				<category><![CDATA[Car Projects]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Kyosho Mini-Z car]]></category>
		<category><![CDATA[LED]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2962</guid>
		<description><![CDATA[Toy cars are something that everybody has encountered during the childhood and even a non-car enthusiast like myself has had his share of toy car playing, racing, garage and road building and all that good stuff. You&#8217;d think that something like this would be more suited for kids, but what if you&#8217;re a grown-up, you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/08/mini_car_light_installation.jpg"><img class="alignnone size-medium wp-image-2963" src="http://www.youritronics.com/wp-content/uploads/2009/08/mini_car_light_installation-300x225.jpg" alt="Mini-car Light Installation" width="300" height="225" /></a></p>
<p><a href="http://uk.shopping.com/xDN-toys-toy_cars--vehicles_and_raceways">Toy cars</a> are something that everybody has encountered during the childhood and even a non-car enthusiast like myself has had his share of toy car playing, racing, garage and road building and all that good stuff. You&#8217;d think that something like this would be more suited for kids, but what if you&#8217;re a grown-up, you have a small car at your disposal AND possess the knowledge to make some cool hardware improvements? That&#8217;s right, awesomeness occurs!</p>
<p>This is a DIY project that enhances a Kyosho Mini-Z car with some incredibly useful features: front, rear and under car lights! The model is actually a VW Golf R32 and, as you can see from the picture, it looks terrific, in true Fast and Furious fashion. The lights are LEDs, two white ones for the front, two red ones for the rear and two bars with 4 LEDs for under the car. The circuit keeping them all on uses a NE555 timer that generates a delay and keeps them on regardless of what the car is doing. Other parts include three capacitors, three resistors and three diodes (you can find a complete parts list and detailed schematics in the link provided, as well as other cool pics).</p>
<p>This is a truly astonishing piece of art, soldering a bunch of LEDs on a toy car, especially with the blue under car lights. If you&#8217;re a girl, then I suspect this amazing achievement of science might appear&#8230; uninteresting. But if that&#8217;s the case, then perhaps an <a href="http://www.youritronics.com/twinkling-led-heart-of-love/">LED Heart of Love</a> would be more appropriate.</p>
<p><strong>Mini-car Light Installation: </strong><a href="http://www.mictronics.de/?page=mini_z">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/mini-car-light-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIY UV LED Exposure Box</title>
		<link>http://www.youritronics.com/diy-uv-led-exposure-box/</link>
		<comments>http://www.youritronics.com/diy-uv-led-exposure-box/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:44:54 +0000</pubDate>
		<dc:creator>Tiberiu</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[UV]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2674</guid>
		<description><![CDATA[A valuable item in a hardware enthusiast&#8217;s arsenal, an ultra violet LED exposure box can be used with good results in making quality PCBs. LEDs are cheaper and safer than usual fluorescent lamps and also have a longer life span, so using high brightness UV LEDs is a great choice for an exposure box. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/07/uv_led_exposure_box.jpg"><img class="alignnone size-medium wp-image-2675" src="http://www.youritronics.com/wp-content/uploads/2009/07/uv_led_exposure_box-300x225.jpg" alt="UV LED Exposure Box" width="300" height="225" /></a></p>
<p>A valuable item in a hardware enthusiast&#8217;s arsenal, an ultra violet LED exposure box can be used with good results in making quality PCBs. LEDs are cheaper and safer than usual fluorescent lamps and also have a longer life span, so using high brightness UV LEDs is a great choice for an exposure box. The only downside is the longer exposure time, but this is an acceptable trade-off for most hobbyists.</p>
<p>The Exposure Box described here is a double sided one, with 84 5 mm UV LEDs on each side which need 700mA at 12V (that means 8.4 Watts for each panel). Therefore, the Exposure Box possesses 168 LEDs that add up to 16.8 Watts. It is important that the LEDs have at least 2000mcd brightness, a peak wavelength of less than 400nm and a viewing angle of at least 20 degrees. Other important components are the resistors (you will need 56 of them), the boards on which the LEDs are mounted and a power supply unit (this design uses 2x 160mm x 100mm pieces of Veroboard and a 12 Volt 24 Watt switch mode power supply).</p>
<p>The box itself is made of 6mm MDF, which can be easily shaped to build the case. The walls of the box are glued together and you will also have to drill holes for screws and the PSU connector. Take precautions when soldering the LEDs (check the polarity and don&#8217;t look directly to them when powered). You will also need a power switch and wiring to connect both panels to the PSU. When everything is done you could test the Exposure Box to see how it works using a piece of metal with photo resist.</p>
<p>A great project for home use, the UV LED Exposure Box can come in handy when <a title="photo etching pcb" href="http://www.youritronics.com/diy-printed-circuit-board-using-photo-etching-method/">making PCBs</a>. Details on the components, assembly, soldering as well as schematics and other useful information in the link.</p>
<p><strong>DIY UV LED Exposure Box: </strong><a href="http://www.instructables.com/id/UV-LED-Exposure-Box/">[Link]</a> &#8211; <a href="http://www.electronics-lab.com/blog/?p=3270">[via]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/diy-uv-led-exposure-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twinkling LED Heart of Love</title>
		<link>http://www.youritronics.com/twinkling-led-heart-of-love/</link>
		<comments>http://www.youritronics.com/twinkling-led-heart-of-love/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 10:05:24 +0000</pubDate>
		<dc:creator>Tiberiu</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[love]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2617</guid>
		<description><![CDATA[&#8220;Love is a smoke raised with the fume of sighs, Being purged, a fire sparkling in lovers&#8217; eyes, Being vexed, a sea nourished with lovers&#8217; tears. What is it else? A madness most discreet, A choking gall and a preserving sweet.&#8221; (William Shakespeare) When in love it can be important to find the right gifts [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/07/twinkling_led_heart_of_love.jpg"><img class="alignnone size-medium wp-image-2618" src="http://www.youritronics.com/wp-content/uploads/2009/07/twinkling_led_heart_of_love-300x225.jpg" alt="Twinkling LED Heart of Love" width="300" height="225" /></a></p>
<p>&#8220;Love is a smoke raised with the fume of sighs,</p>
<p>Being purged, a fire sparkling in lovers&#8217; eyes,</p>
<p>Being vexed, a sea nourished with lovers&#8217; tears.</p>
<p>What is it else? A madness most discreet,</p>
<p>A choking gall and a preserving sweet.&#8221; (William Shakespeare)</p>
<p>When in love it can be important to find the right gifts for the right occasions. You know, the kind of thing that would bring a big smile to her face (followed by a wet kiss). It can be difficult to even remember to buy a present, let alone come up with something that will be appreciated. But fear not! I have found the solution to the problem and next Valentine&#8217;s Day you will be ready to really impress your sweetheart.</p>
<p>The Twinkling LED Heart of Love is a wonderful DIY project that will melt her heart and turn the next 14th of February into an unforgettable event. The Heart of Love is based on an Atmel AVR <strong>ATmega168</strong> microcontroller coupled with 20 red LEDs that&#8230; blink randomly! The heart itself can be made of cardboard and, although red is the usual color for love-related objects, you can show your creativity and paint it something meaningful to you and your damsel. Like orange, if you&#8217;re both Netherlands soccer fans. Or black, if you&#8217;re black metal fans (pentagram is optional). Originality is usually appreciated, so go for it!</p>
<p>Tips and tricks: your Heart of Love is awesome and will surely knock her socks off, but don&#8217;t start explaining how it&#8217;s made, how the microcontroller works and so on, because she might start yawning and eventually fall asleep.</p>
<p>As for me&#8230; I think I&#8217;ll settle for a big bouquet of red roses, thank you very much.</p>
<p><strong>Twinkling LED Heart of Love: </strong><a href="http://www.nerdkits.com/videos/ledheart/">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/twinkling-led-heart-of-love/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>9 Bits Visual Memory</title>
		<link>http://www.youritronics.com/9-bits-visual-memory/</link>
		<comments>http://www.youritronics.com/9-bits-visual-memory/#comments</comments>
		<pubDate>Mon, 11 May 2009 16:32:36 +0000</pubDate>
		<dc:creator>Andrei</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[TLC5940]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2168</guid>
		<description><![CDATA[When i first saw this project i thought this could be turned into one of those dance steps learning game. The device consists of a 3&#215;3 matrix of buttons. The system memorates the sequence in which you press the buttons and then plays it for you by lighting a LED under those buttons. You can [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-2169" src="http://www.youritronics.com/wp-content/uploads/2009/05/9-bit-visual-memory-300x192.jpg" alt="9 Bits Visual Memory" width="300" height="192" /></p>
<p>When i first saw this project i thought this could be turned into one of those dance steps learning game. The device consists of a 3&#215;3 matrix of buttons. The system memorates the sequence in which you press the buttons and then plays it for you by lighting a LED under those buttons. You can also program multiple sequences. If you don&#8217;t press any button for a longer period of time, 4 seconds i believe, the device goes from recording to playback.</p>
<p>It is quite an interesting memory game, and can be transformed into a larger project. Like in one of those smart houses&#8230; in case you get lost this device will show you what path you took. On the other hand the algorithm behind this project can be used in beat generators, sequencers, power distribution sequencers and many others.</p>
<p>The Nove Bit as it was called is using Arduino and a TLC 5940 microcontroller. Source code is available for download as well as some  instructions on how to build it.</p>
<p><strong><br />
</strong></p>
<p><strong>9 Bits Visual Memory: </strong><a href="http://nickhardeman.com/blog/?p=207">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/9-bits-visual-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2D Wireless POV Device</title>
		<link>http://www.youritronics.com/2d-wireless-pov-device/</link>
		<comments>http://www.youritronics.com/2d-wireless-pov-device/#comments</comments>
		<pubDate>Sun, 10 May 2009 18:23:03 +0000</pubDate>
		<dc:creator>Andrei</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[atmega644]]></category>
		<category><![CDATA[Display]]></category>
		<category><![CDATA[POV]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2156</guid>
		<description><![CDATA[When POVs first appeared in advertising panels i used to wonder how are the characters diplayed. Seemed like magic. Later on i found out its because of our eyes&#8217; inertia. Where you needed a large number of LEDs to display a message, now you just need to spin a few LEDs. The rotation speed must [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-2158" src="http://www.youritronics.com/wp-content/uploads/2009/05/2d-wireless-pov-device-300x275.png" alt="2D Wireless POV Device" width="300" height="275" /></p>
<p>When POVs first appeared in advertising panels i used to wonder how are the characters diplayed. Seemed like magic. Later on i found out its because of our eyes&#8217; inertia.  Where you needed a large number of LEDs to display a message, now you just need to spin a few LEDs. The rotation speed must be fast enough to display at least 10 frames per second, complex graphics may require a higher value between 15 and 30 fps, movies usually have between 24 and 30 fps.</p>
<p>This project will show you with great details how to build such a device. It is not an easy build, it takes a fair amount of tweaking to get it to work but the results can be spectacular. The developers of this project decided on a modular design, putting an emphasis on interactivity. In the end they came up with a very customizable <a href="http://www.youritronics.com/wearable-pov-unit/">POV</a> that can display images you upload wirelessly and that you can manage in real time.</p>
<p>The microcontroller used is the Atmega644, leds are driven with the MAX6971 IC and Xbee modules provide the wireless serial communication between the POV and the PC from which you upload the image. A GUI written in Java makes this task easy for you.</p>
<p>The LEDs are place on a different PCB than the rest of electronics, this way it can be easily upgraded to a 3D version. The motor part needs some attention because you will have to carefully balance the LED board, you will deal with a lot of vibrations and the speed of rotation can be quite dangerous. Also there will be some tweaking involved when you will build the brushing system to power up the LEDs.</p>
<p>The motor has a separate power supply so that the main PCB won&#8217;t pick up noise. A HALL sensor is used to count the rotations and give the position of the LED board. When real time management of the display is not desired, the POV can use the picture stored in its EEPROM.</p>
<p>In order to power it, you will need a 9v power adapter that can deliver at least 1.1A for the electronics boards. Since the motor is powered from different source, you will need to meet your motor&#8217;s requirments. The one used in the project had its own 5V/2.5A power supply.</p>
<p>The cost for building this project is a little higher than 50$ and you can further reduce that if you already have some of the needed parts . All schematics and code are found in the project, below you can see the POV in action.<br />
<a href="http://www.youritronics.com/2d-wireless-pov-device/"><img src="http://img.youtube.com/vi//default.jpg" width="130" height="97" border=0></a></p>
<p><strong>2D Wireless POV Device: </strong><a href="http://instruct1.cit.cornell.edu/courses/ee476/FinalProjects/s2009/ht227/index.html">[Link]</a> &#8211; <a href="http://hackaday.com/2009/05/06/pov-final-project/">[Via]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/2d-wireless-pov-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Space Invaders on a LED matrix</title>
		<link>http://www.youritronics.com/space-invaders-on-a-led-matrix/</link>
		<comments>http://www.youritronics.com/space-invaders-on-a-led-matrix/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 19:59:35 +0000</pubDate>
		<dc:creator>Andrei</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega16]]></category>
		<category><![CDATA[led matrix]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2008</guid>
		<description><![CDATA[Interesting weekend project for those who still remember the awesome game or just to awake in your kids the knack for electronics here is the Space Invaders Button. Fairly easy build, having the ATmega16P at the heart controlling an 8&#215;8 bicolor LED matrix which will display animations of the game’s spaceships. Principle of operation is [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-2016" src="http://www.youritronics.com/wp-content/uploads/2009/04/3437050307_bdcc51bcc0_b-300x225.jpg" alt="Space Invaders Button" width="300" height="225" /></p>
<p>Interesting weekend project for those who still remember the awesome game or just to awake in your kids the knack for electronics here is the Space Invaders Button.</p>
<p>Fairly easy build, having the ATmega16P at the heart controlling an 8&#215;8 bicolor LED matrix which will display animations of the game’s spaceships. Principle of operation is simple, the rows of the matrix are driven by a npn transistor in an emitter follower configuration.</p>
<p>This transistor provides the boost of current needed when two or more leds from the same row are on. The state of the ports driving these transistors is set on “high” logic level. You can now command each LED to light the color you want by setting the assigned port to &#8220;0&#8243;.</p>
<p>The ATmega16P will draw a small amount of current and can be powered by a 3V cell battery. The PCB is of small dimensions since SMT components are used, it&#8217;s even smaller than the LED matrix and thus hides nicely behind it.</p>
<p>It&#8217;s an easy project with little chance of failing and offers a nice lesson on how to handle the ports of your microcontroller. If you are doing this just for fun and you don’t care about dimension than the SMT can be avoided so that you can use the controller for other projects.</p>
<p>Happy soldering!</p>
<p><strong>Space Invaders on a LED matrix: </strong><a href="http://interactive-matter.org/2009/04/space-invaders-button/">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/space-invaders-on-a-led-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

