<?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>LEDs &#8211; semifluid.com</title>
	<atom:link href="/category/electronics/leds/feed/" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Intermediate in flow properties between solids and liquids; highly viscous.</description>
	<lastBuildDate>Thu, 26 Jan 2017 21:21:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>8&#215;8 RGB LED Display</title>
		<link>/2010/06/28/8x8-rgb-led-display/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Tue, 29 Jun 2010 02:21:23 +0000</pubDate>
				<category><![CDATA[C Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[PIC Projects]]></category>
		<category><![CDATA[PIC16F628]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[RGB]]></category>
		<guid isPermaLink="false">/?p=213</guid>

					<description><![CDATA[So, this project was sidelined until I had to make another BatchPCB purchase.  Thankfully it wasn&#8217;t too long until I had the opportunity to work on it again! The current setup is basically 4 of the original 4 RGB LED Controller boards and 12 of the updated DR1r3 boards. All 16 are wired in parallel [&#8230;]]]></description>
										<content:encoded><![CDATA[<p style="text-align: left;">So, this project was sidelined until I had to make another BatchPCB purchase.  Thankfully it wasn&#8217;t too long until I had the opportunity to work on it again!  The current setup is basically 4 of the <a href="http://semifluid.com/2009/01/06/pic16f628-4-rgb-led-pwm-controller/">original 4 RGB LED Controller boards</a> and 12 of the <a href="http://semifluid.com/2010/02/16/4-rgb-led-controller-update/">updated DR1r3 boards</a>.  All 16 are wired in parallel and being controlled by my desktop machine.  You can see an extended version of this RGB test sequence after the break and I&#8217;m also including the (uncommented, sorry!) <a href="http://processing.org/" target="_blank">Processing 1.1</a> code that I used to control the boards.</p>
<p><center><br />
<iframe title="8x8 RGB LED Display - Closeup" width="648" height="486" src="https://www.youtube.com/embed/ImFNgAgYKUY?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><br />
</center></p>
<p><span id="more-213"></span></p>
<p>Here&#8217;s an extended cut of the video display (which is displaying an RGB Test Sequence).  Note that the current maximum throughput is approximately 12-13 frames per second due to the RS-232 baud rate bottleneck, but I&#8217;m looking for ways to speed up the data transfer without requiring a faster oscillator.:</p>
<p><center><br />
<iframe title="8x8 RGB LED Display" width="648" height="486" src="https://www.youtube.com/embed/gtfMJSERY3o?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><br />
</center></p>
<p>The <a href="http://processing.org/" target="_blank">Processing 1.1</a> code:<br />
<a href="/wp-content/uploads/2010/06/VideoDisplay.zip">VideoDisplay</a> (includes the .pde file and the video used)</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>4 RGB LED Controller Update</title>
		<link>/2010/02/16/4-rgb-led-controller-update/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 17:44:18 +0000</pubDate>
				<category><![CDATA[C Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[PIC Projects]]></category>
		<category><![CDATA[PIC16F628]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Lights]]></category>
		<category><![CDATA[RGB]]></category>
		<guid isPermaLink="false">/?p=191</guid>

					<description><![CDATA[I recently began working on a consulting project that required the creation of some PCBs.  Since I have had such great success with BatchPCB.com in the past, I decided to use them again to fab the custom PCBs.  The BatchPCB purchasing system adds a few static fees (set-up, handling, and shipping), so I felt that [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I recently began working on a consulting project that required the creation of some PCBs.  Since I have had such great success with BatchPCB.com in the <a href="http://semifluid.com/2009/01/06/pic16f628-4-rgb-led-pwm-controller/" target="_self">past</a>, I decided to use them again to fab the custom PCBs.  The BatchPCB purchasing system adds a few static fees (set-up, handling, and shipping), so I felt that this was as good a time as any to make some additional of my <a href="http://semifluid.com/2009/01/06/pic16f628-4-rgb-led-pwm-controller/" target="_self">PIC16F628 4 RGB LED PWM Controller</a> boards with a couple of modifications.</p>
<p><a href="/wp-content/uploads/2010/02/DSC_1877.jpg"><img fetchpriority="high" decoding="async" class="aligncenter size-medium wp-image-197" title="4 RGB LED Controller Boards" src="/wp-content/uploads/2010/02/DSC_1877-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><span id="more-191"></span>As I noted in the previous post, there was an error on the first revision of the board and a pull-up resistor on RA5 (pin 4 in the schematic above) was necessary.  I added the MCLR resistor to the board along with a couple of other modifications:</p>
<ul>
<li>Removed the extraneous capacitors, we only need one.</li>
<li>Added a breakout for the one remaining I/O pin.</li>
<li>Added a small perfboard to the PCB with +5V and ground lines.</li>
<li>Relocated the resistors to make them <em>much easier </em>to solder.  I may use a SIL resistor array in the future.</li>
</ul>
<p>I kept the LED locations exactly the same because, hey, if I put all of the time and effort into the 4 boards that I previously ordered, then I might as well keep the same form factor.  My scheme for the short-term is to create a 4&#215;4 array of the 4 RGB LED Controller boards, which will give me a 20cmx20cm 8&#215;8 RGB LED display.</p>
<p>Here are some pictures of the boards:</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2010/02/DSC_1874.jpg"><img loading="lazy" decoding="async" class="size-thumbnail wp-image-196 alignnone" title="4 RGB LED Controller Board Front" src="/wp-content/uploads/2010/02/DSC_1874-150x150.jpg" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2010/02/DSC_1872.jpg"><img loading="lazy" decoding="async" class="size-thumbnail wp-image-195 alignnone" title="4 RGB LED Controller Board Back" src="/wp-content/uploads/2010/02/DSC_1872-150x150.jpg" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2010/02/DSC_1871.jpg"><img loading="lazy" decoding="async" class="size-thumbnail wp-image-194 alignnone" title="4 RGB LED Controller Board Front and Back" src="/wp-content/uploads/2010/02/DSC_1871-150x150.jpg" alt="" width="150" height="150" /></a><a href="/wp-content/uploads/2010/02/DSC_1868.jpg"> <img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-193" title="4 RGB LED Controller Boards Group" src="/wp-content/uploads/2010/02/DSC_1868-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: left;">Here is the updated schematic and board (note, you can open the BRD and SCH files in <a href="http://www.cadsoftusa.com/" target="_blank">Eagle Layout Editor</a>):</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2010/02/PIC16F628-4-RGB-LED-DR1r3-Eagle-Schematic.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-206" title="PIC16F628 4 RGB LED DR1r3 Eagle Schematic" src="/wp-content/uploads/2010/02/PIC16F628-4-RGB-LED-DR1r3-Eagle-Schematic-150x150.png" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2010/02/PIC16F628-4-RGB-LED-DR1r3-Eagle-Board.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-205" title="PIC16F628 4 RGB LED DR1r3 Eagle Board" src="/wp-content/uploads/2010/02/PIC16F628-4-RGB-LED-DR1r3-Eagle-Board-150x150.png" alt="" width="150" height="150" /></a></p>
<ul>
<li><a href="/wp-content/uploads/2010/02/PIC16F628-4-RGB-LED-DR1r3.brd">PIC16F628 4 RGB LED DR1r3 Eagle Board</a></li>
</ul>
<p style="text-align: left;">And finally, here is an updated firmware that improves the PWM performance:</p>
<ul>
<li><a href="/wp-content/uploads/2010/02/16F628-Serial-4-LED-PWM-4-bit-exp-DR1r8.c">16F628 Serial 4 LED PWM &#8211; 4-bit exp DR1r8.c</a></li>
<li><a href="/wp-content/uploads/2010/02/16F628-Serial-4-LED-PWM-4-bit-exp-DR1r8.hex">16F628 Serial 4 LED PWM &#8211; 4-bit exp DR1r8.hex</a></li>
</ul>
<p>I will make sure to post when I have the full array put together (I currently only have 12 of the 16 boards I need for the 4&#215;4 array).</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PIC16F628 4 RGB LED PWM Controller</title>
		<link>/2009/01/06/pic16f628-4-rgb-led-pwm-controller/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Tue, 06 Jan 2009 19:36:53 +0000</pubDate>
				<category><![CDATA[C Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[PIC Projects]]></category>
		<guid isPermaLink="false">/?p=147</guid>

					<description><![CDATA[I am a big fan of LEDs.  Bright, colorful, flashing LEDs.  So, given my affinity for LEDs, I decided to work on a controller that me and a few of my friends could use as an art project/passive information display.  I have posted videos from the first prototypes (here and here), but it has been [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I am a big fan of <a href="http://en.wikipedia.org/wiki/LED" target="_blank">LEDs</a>.  Bright, colorful, flashing LEDs.  So, given my affinity for LEDs, I decided to work on a controller that me and a few of my friends could use as an art project/passive information display.  I have posted videos from the first prototypes (<a href="http://semifluid.com/2008/10/06/pic16f628-serial-4-led-pwm/" target="_self">here</a> and <a href="http://semifluid.com/2008/12/05/pic16f628-serial-4-led-pwm-dr1r6/" target="_self">here</a>), but it has been tough to dedicate time to further development given my research, so I thought I would post the information so that anyone can take the design and modify it to their liking!</p>
<p><a href="/wp-content/uploads/2009/01/4rgbled-angle-rainbow.jpg" target="_blank"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-152" title="4rgbled-angle-rainbow_thumb" src="/wp-content/uploads/2009/01/4rgbled-angle-rainbow_thumb.jpg" alt="" width="500" height="334" /><span id="more-147"></span></a></p>
<p>Some insipration came from the <a href="http://thingm.com/products/blinkm/" target="_blank">BlinkM</a> &#8220;smart LED&#8221; and the <a href="http://www.macetech.com/blog/node/54" target="_blank">ShiftBrite</a> RGB LED Module, but I was interested in using RS232 serial control.  Therefore, I chose one of my favorite simple-to-use microcontrollers, the PIC16F628.  The advantages include the built-in 4MHz oscillator, hardware USART, and ease of reprogramming.  A couple of features I had in mind during the design:</p>
<ol>
<li>Multiple intensities for each color (using PWM)</li>
<li>Multiple individually controllable RGB LEDs</li>
<li>High-speed update rate</li>
<li>Daisy-chainable and addressable</li>
<li>Simple serial control</li>
</ol>
<p style="text-align: left;"><strong>Schematic</strong><a href="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r1-schematic.png" target="_blank"><br />
Here</a> is the full schematic for the driver.  I chose to use a <a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010209" target="_blank">PIC16F628</a> as the microcontroller because it is cheap, has a internal oscillator (4 MHz) and an internal USART. NOTE: There is an error in this schematic and a pull-up resistor on RA5 (pin 4 in the schematic) is necessary.  See the bottom of the post for an updated schematic and board.
</p>
<p style="text-align: left;"><a href="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r1-schematic.png" target="_blank"><img loading="lazy" decoding="async" class="size-thumbnail wp-image-164 aligncenter" title="pic16f628-4-rgb-led-dr1r1-schematic" src="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r1-schematic-150x150.png" alt="" width="150" height="150" /></a></p>
<p><strong>Board<br />
</strong>I decided I would try getting a PCB printed for the first time, so I got boards created at BatchPCB.com for $5 each.  The total for 4 boards shipped was $32.36 (4 x $5 for the boards and $12.36 for shipping and handling).  They took a long time to arrive, but the quality was well worth the wait.  NOTE: There is an error on the first revision of the board and a pull-up resistor on RA5 (pin 4 in the schematic above) is necessary.  You can see how I compensated for the mistake in the <a href="/wp-content/uploads/2009/01/4rgbled-front-off.jpg" target="_blank">second picture</a> below (look on the back of the upper-left board).  This will be corrected in future revisions.  See the bottom of the post for an updated schematic and board.</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r1-board.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-165" title="pic16f628-4-rgb-led-dr1r1-board" src="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r1-board-150x150.png" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2009/01/4rgbled-front-off.jpg"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-157" title="4rgbled-front-off" src="/wp-content/uploads/2009/01/4rgbled-front-off-150x150.jpg" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2009/01/4rgbled-angle-off.jpg"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-153" title="4rgbled-angle-off" src="/wp-content/uploads/2009/01/4rgbled-angle-off-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><strong>Control Format<br />
</strong>The current firmware has 8 commands (the 9th, self-test was removed to save space).  See the source code for the firmware for how the commands are implemented, but here is some example usage:</p>
<ul>
<li>Turn off all LEDs: 0h2000FF</li>
<li>Make all LEDs full-intensity red: 0h2F00FF</li>
<li>Make all LEDs full-intensity red: 0h1F00F00F00F00FF</li>
<li>Make all LEDs at address 1 half-intensity green: 0h207001</li>
<li>Make LED 2 at address 1 half-intensity green: 0h100007000000001</li>
<li>Load start-up settings for all controllers: 0h40FF</li>
</ul>
<p>Commands:</p>
<ol>
<li>Update individual LEDs using 4-bit exponential update<br />
Byte 1, Nibble 1 = led1Red;   Byte 1, Nibble 2 = led1Green<br />
Byte 2, Nibble 1 = led1Blue;  Byte 2, Nibble 2 = led2Red<br />
Byte 3, Nibble 1 = led2Green; Byte 3, Nibble 2 = led2Blue<br />
Byte 4, Nibble 1 = led3Red;   Byte 4, Nibble 2 = led3Green<br />
Byte 5, Nibble 1 = led3Blue;  Byte 5, Nibble 2 = led4Red<br />
Byte 6, Nibble 1 = led4Green; Byte 6, Nibble 2 = led4Blue<br />
Byte 7 = theAddress</li>
<li>Update all LEDs using 4-bit exponential update<br />
Byte 0, Nibble 2 = led1Red = led2Red = led3Red = led4Red<br />
Byte 1, Nibble 1 = led1Green = led2Green = led3Green = led4Green<br />
Byte 1, Nibble 2 = led1Blue = led2Blue = led3Blue = led4Blue<br />
Byte 2 = theAddress</li>
<li>Save start-up settings<br />
Byte 1 = theAddress</li>
<li>Load start-up settings<br />
Byte 1 = theAddress</li>
<li>Get address<br />
Byte 1 = theAddress</li>
<li>Set address (one-time set)<br />
Byte 1 = theAddress to save<br />
Byte 2 = theAddress</li>
<li><strong><em>Disabled in this release.<br />
</em></strong>Self test<br />
Byte 1 = theAddress</li>
<li>Update individual LEDs using 6-bit update<br />
Byte 1 = led1Red;    Byte 2 = led1Green<br />
Byte 3 = led1Blue;   Byte 4 = led2Red<br />
Byte 5 = led2Green;  Byte 6 = led2Blue<br />
Byte 7 = led3Red;    Byte 8 = led3Green<br />
Byte 9 = led3Blue;   Byte 10 = led4Red<br />
Byte 11 = led4Green; Byte 12 = led4Blue<br />
Byte 13 = theAddress</li>
<li>Update all LEDs using 6-bit update<br />
Byte 1 = led1Red = led2Red = led3Red = led4Red<br />
Byte 2 = led1Green = led2Green = led3Green = led4Green<br />
Byte 3 = led1Blue = led2Blue = led3Blue = led4Blue<br />
Byte 4 = theAddress</li>
</ol>
<p><strong>Source Code<br />
</strong>The PIC16F628 needs to be programmed with the firmware below.  The Windows application is included as an example of how one could control a 2&#215;2 array of the PIC16F628 4 RGB LED PWM Controller boards (4&#215;4 LEDs).</p>
<ul>
<li><a href="/wp-content/uploads/2009/01/16f628-serial-4-led-pwm-4-bit-exp-dr1r7.c">16f628-serial-4-led-pwm-4-bit-exp-dr1r7.c</a> (<a href="/wp-content/uploads/2009/01/16f628-serial-4-led-pwm-4-bit-exp-dr1r7.hex">hex</a>)</li>
<li><a href="/wp-content/uploads/2009/01/16-led-sequencer-dr1r2.zip">16 Led Sequencer DR1r2</a></li>
</ul>
<p>The first couple of prototypes have worked well, but I am still working on refining the PCB, circuit, firmware, and software design.  Here are a few pictures of the boards:</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2009/01/4rgbled-angle-rainbow.jpg"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-163" title="4rgbled-angle-rainbow" src="/wp-content/uploads/2009/01/4rgbled-angle-rainbow-150x150.jpg" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2009/01/4rgbled-front-rainbow.jpg"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-159" title="4rgbled-front-rainbow" src="/wp-content/uploads/2009/01/4rgbled-front-rainbow-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: center;"><a href="/wp-content/uploads/2009/01/4rgbled-angle-white.jpg"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-151" title="4rgbled-angle-white" src="/wp-content/uploads/2009/01/4rgbled-angle-white-150x150.jpg" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2009/01/4rgbled-front-white.jpg"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-161" title="4rgbled-front-white" src="/wp-content/uploads/2009/01/4rgbled-front-white-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: left;"><strong><em>Update (01/06/2008)</em><br />
</strong>Here is an updated schematic and board with the corrected MCLR pullup:
</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r2-schematic.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-175" title="pic16f628-4-rgb-led-dr1r2-schematic" src="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r2-schematic-150x150.png" alt="" width="150" height="150" /></a> <a href="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r2-board.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-176" title="pic16f628-4-rgb-led-dr1r2-board" src="/wp-content/uploads/2009/01/pic16f628-4-rgb-led-dr1r2-board-150x150.png" alt="" width="150" height="150" /></a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PIC16F628 Serial 4 LED PWM DR1r6</title>
		<link>/2008/12/05/pic16f628-serial-4-led-pwm-dr1r6/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Fri, 05 Dec 2008 19:33:16 +0000</pubDate>
				<category><![CDATA[C Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[PIC Projects]]></category>
		<category><![CDATA[PIC16F628]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">/?p=139</guid>

					<description><![CDATA[I&#8217;ve been working on a project in my spare time with two friends to create some ambient light controllers, so I thought I&#8217;d just post two short videos to demonstrate the current state of the project.  In the current iteration, they can be used as wall-washers or they can be enclosed to create ambient light [&#8230;]]]></description>
										<content:encoded><![CDATA[<p style="text-align: left;">I&#8217;ve been working on a <a href="http://semifluid.com/2008/10/06/pic16f628-serial-4-led-pwm/" target="_self">project</a> in my spare time with two friends to create some ambient light controllers, so I thought I&#8217;d just post two short videos to demonstrate the current state of the project.  In the current iteration, they can be used as wall-washers or they can be enclosed to create ambient light cubes/spheres/<a href="http://en.wikipedia.org/wiki/Pentagonal_cupola" target="_self">pentagonal cupolas</a>/<a href="http://en.wikipedia.org/wiki/Rhombo-hexagonal_dodecahedron" target="_blank">rhombo-hexagonal dodecahedrons</a>/etc.  Each module is addressable and uses a PIC16F628 to control each of the RGB LEDs (which were purchased from the eBay seller <a href="http://myworld.ebay.com/jeledhk/" target="_blank">jeledhk</a> with the description &#8220;Superflux RGB 5mm R/H LEDLamp 8Kmcd COMMON CATHODE&#8221;).  The PCBs were created using BatchPCB.com for $5 each (+ ~$15 total for S&amp;H and setup) and are beautifully etched, drilled, and silkscreened (although it took about 1.5 months to receive them).  Ok, less talk, more videos; one video on the front page and another after the jump:</p>
<p><center><br />
<iframe loading="lazy" title="PIC16F628 Serial 4 LED PWM DR1r6 Demo" width="648" height="486" src="https://www.youtube.com/embed/iiQMxkn_BJo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><br />
</center></p>
<p><span id="more-139"></span></p>
<p><center><br />
<iframe loading="lazy" title="PIC16F628 Serial 4 LED PWM DR1r6 Random Noise" width="648" height="486" src="https://www.youtube.com/embed/Zky58Ku6aD0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><br />
</center></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>PIC16F628 Serial 4 LED PWM</title>
		<link>/2008/10/06/pic16f628-serial-4-led-pwm/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Mon, 06 Oct 2008 15:37:00 +0000</pubDate>
				<category><![CDATA[C Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[PIC Projects]]></category>
		<category><![CDATA[PIC16F628]]></category>
		<guid isPermaLink="false">/?p=127</guid>

					<description><![CDATA[It has been a long time since I&#8217;ve done any microcontroller work, so I decided to get back into the swing of things when 2 of my friends and I decided on collaborating on an interactive &#8220;art&#8221; piece.  Details are forthcoming, but in the meantime, a photo and a video of one of the LED [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>It has been a long time since I&#8217;ve done any microcontroller work, so I decided to get back into the swing of things when 2 of my friends and I decided on collaborating on an interactive &#8220;art&#8221; piece.  Details are forthcoming, but in the meantime, a photo and a video of one of the LED components (video after the break):</p>
<p style="text-align: center;"><a href="/wp-content/uploads/2008/10/cimg9028.jpg" target="_blank"><img loading="lazy" decoding="async" class="size-full wp-image-128 aligncenter" title="cimg9028_tn" src="/wp-content/uploads/2008/10/cimg9028_tn.jpg" alt="" width="500" height="509" /></a></p>
<p style="text-align: left;"><span id="more-127"></span></p>
<p><center><br />
<iframe loading="lazy" title="PIC16F628 Serial 4 LED PWM 4-bit exp DR1r2" width="648" height="486" src="https://www.youtube.com/embed/XIAShJc-6vI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><br />
</center></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMC7135 Driver Boards &#038; Luxeon K2s</title>
		<link>/2008/01/29/amc7135-driver-boards-luxeon-k2s/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Wed, 30 Jan 2008 03:26:54 +0000</pubDate>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[Photos]]></category>
		<guid isPermaLink="false">/?p=105</guid>

					<description><![CDATA[I know it&#8217;s been a looooong time since I&#8217;ve posted any new electronics projects, but that&#8217;s primarily been due to my increased course load now that I&#8217;m in graduate school. Well, I&#8217;ve finally picked up some 1050 ma constant current driver boards for the Luxeon K2 LEDs that I mentioned a while ago and hopefully [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I know it&#8217;s been a looooong time since I&#8217;ve posted any new electronics projects, but that&#8217;s primarily been due to my increased course load now that I&#8217;m in <a href="http://semifluid.com/about/graduate-course-list/">graduate school</a>.  Well, I&#8217;ve finally picked up some 1050 ma constant current driver boards for the <a href="http://semifluid.com/2006/11/15/luxeon-k2-led-show-off/">Luxeon K2 LEDs</a> that I mentioned a while ago and hopefully I&#8217;ll get these up and running in just a little bit.  I just wanted to post some pictures because I think they&#8217;re nice little boards.</p>
<p style="text-align: center"><a href="/wp-content/uploads/2008/01/amc7135-1050ma-drivers.jpg" target="_blank"><img decoding="async" src="/wp-content/uploads/2008/01/amc7135-1050ma-drivers_thumb.jpg" alt="AMC7135 1050ma Drivers Thumbnail" /></a></p>
<p><span id="more-105"></span>The driver boards utilize 3 <a href="http://www.alldatasheet.com/datasheet-pdf/pdf/202788/ADDTEK/AMC7135.html" target="_blank">AMC7135</a> constant current ICs, which supply 350 ma each, wired in parallel.  I picked the driver boards from <a href="http://www.dealextreme.com/p/amc7135-1050ma-regulated-circuit-board-for-diy-flashlights-10-pack-1885" target="_blank">DealExtreme</a>, but judging from the forum comments on the page, I&#8217;m not going to expect these to have very tight tolerances.  I could have picked up 1400 ma boards, but the increase in brightness is negligble for the 33% increase in power drawn.  Once I pull together MOSFETs to drive them I should be good-to-go.</p>
<p style="text-align: center"><a href="/wp-content/uploads/2008/01/luxeon-k2-leds.jpg" target="_blank"><img decoding="async" src="/wp-content/uploads/2008/01/luxeon-k2-leds_thumb.jpg" alt="Luxeon K2 LEDs Thumbnail" /></a></p>
<p>I also finally mounted the K2 emitters on aluminum breakout boards/heatsinks that I purchased from SparkFun, although admittedly the SparkFun boards are way too expensive at <a href="http://www.sparkfun.com/products/8475" target="_blank">$2.95</a> each.  DealExtreme sells similar boards for <a href="http://www.dealextreme.com/p/star-connection-board-for-cree-led-emiters-5-pack-4512" target="_blank">$1.91</a> for a 5 pack, but they appear to be <a href="http://www.dealextreme.com/feedbacks/browseCustomerPhotos.dx/sku.4512~id.2817" target="_blank">too small</a> for Luxeon K2s&#8230; I purchased the SparkFun breakout boards using a gift certificate that I won from <a href="http://hackedgadgets.com/2007/06/16/name-the-thing-contest-8/" target="_blank">Hacked Gadgets</a>, so I&#8217;m happy (thanks <a href="http://alan-parekh.com/" target="_blank">Alan</a>!).</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Royal Blue Luxeon K2</title>
		<link>/2007/01/09/royal-blue-luxeon-k2/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Tue, 09 Jan 2007 17:35:13 +0000</pubDate>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<guid isPermaLink="false">/?p=39</guid>

					<description><![CDATA[Lowe&#8217;s had a 1 Watt Luxeon Plastic Flashlight on sale for $2.50 recently. I ordered one online for in-store pickup and was able to get one of the last flashlights available at the store closest to me (they actually didn&#8217;t have enough to fulfill all of the orders, but I was able to convince them [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a title="Photo Sharing" href="http://www.flickr.com/photos/scholewiak/351744817/"><img decoding="async" title="Royal Blue Luexon K2" alt="Royal Blue Luexon K2" src="http://farm1.static.flickr.com/141/351744817_b60b2c47f8_m.jpg" class="alignleft" /></a><a target="_blank" href="https://www.lowes.com/">Lowe&#8217;s</a> had a <a target="_blank" href="https://www.lowes.com/lowes/lkn?action=productDetail&amp;productId=102786-50584-FT-60111W&amp;lpage=none">1 Watt Luxeon Plastic Flashlight</a> on sale for <a target="_blank" href="http://archive.slickdeals.net/f/357031-dead-Task-Force-Luxeon-LED-Flashlight-2-50-Lowes?sduid=0">$2.50</a> recently. I ordered one online for in-store pickup and was able to get one of the last flashlights available at the store closest to me (they actually didn&#8217;t have enough to fulfill all of the orders, but I was able to convince them that I deserved one).  When I brought it home and <a target="_blank" href="https://en.wikipedia.org/wiki/Reverse_engineering">broke it open</a> I found a nice white 1 watt Luxeon star hex (LXHL-MW1D) bolted to the top.  The flashlight itself felt relatively cheap and flimsy, so I decided to find out what I would do with it and how I could modify it. The flashlight used 3 1.5V AA batteries in series (i.e. 4.5V open circuit) and had a 1 Ohm resistor in series to limit the current to the LED. White flashlights are nice, but sometimes you need to just have fun.  So, I took one of the Luxeon K2 Royal Blue LEDs (LXK2-PR12-L00) that I had <a href="http://semifluid.com/2006/11/15/luxeon-k2-led-show-off/">purchased</a> with <a target="_blank" href="http://matt.kocsis.ws/">Matt Kocsis</a> and dropped it in.<span id="more-39"></span></p>
<p>I removed the 1 Ohm resistor and found that the LXK2-PR12-L00 drew about 0.7 Amps (due to the internal resistance of the batteries), which is the max current for this emitter binning.  Powering the emitter without a current limiting resistor is a non-ideal solution because different batteries (i.e. <a target="_blank" href="https://en.wikipedia.org/wiki/NiMH">NiMH</a>, <a target="_blank" href="https://en.wikipedia.org/wiki/Alkaline_battery">Alkaline</a>, <a target="_blank" href="https://en.wikipedia.org/wiki/Nickel-cadmium_battery">NiCd</a>, etc.) have different voltages and <a target="_blank" href="https://en.wikipedia.org/wiki/Internal_resistance">internal resistances</a>.</p>
<p>Another consideration is heatsinking the emitter.  The flashlight had an aluminum ingot that acted as a heatsink for the LXHL-MW1D, so I used a dab of heatsink compound to secure the LXK2-PR12-L00 emitter to the ingot.  As the emitter heated up, it drew more current, which in turn heated it up more.  Therefore, I&#8217;ve made sure not to operate the flashlight without a current limiting resistor for more than 30 seconds with a 50% <a target="_blank" href="https://en.wikipedia.org/wiki/Duty_cycle">duty cycle</a>.</p>
<p>The LXK2-PR12-L00 emitter&#8217;s radiometric power is ~200 mW and has a dominant wavelength of 455 nm (min = 440 nm, max = 460 nm).  What does this mean?  Well, the radiometric power is a measure of the electromagnetic radiation&#8217;s energy.  Because the human eye is less sensitive to electromagnetic radiation greater than ~700 nm and less than ~400 nm, some blue LEDs (like the Royal Blue), IR LEDs, and UV LEDs will use radiometric power instead of lumens for a more accurate statement of energy output.  While the human eye is less sensitive to the colors, the total energy output can still be dangerously high (as is the case with IR lasers and <a target="_blank" href="https://en.wikipedia.org/wiki/Ultraviolet#Safety_aspects_of_UV">UVB and UVC light</a>).  The wavelength of blue light is normally between approximately 440-490 nm.  The Royal Blue emitter&#8217;s output has a shorter wavelength than the average blue light (465 nm), so it&#8217;s output is stated in radiometric power instead of lumens.  The interesting thing about having a shorter wavelength is that it can make certain colors and pigments <a target="_blank" href="https://en.wikipedia.org/wiki/Fluorescence">fluoresce</a>.</p>
<p>Playing around with my modified Luxeon flashlight, I found that some yellows and certain oranges and pinks fluoresced.  Here are some before and after pictures:</p>
<div align="center">Afghan &#8211; Before (with fluorescent ambient lighting):<br />
<a title="Photo Sharing" href="http://www.flickr.com/photos/scholewiak/351744803/"><img loading="lazy" decoding="async" width="500" height="375" alt="Afghan - Fluorescent" src="http://farm1.static.flickr.com/166/351744803_28b9eaf066.jpg" /></a></div>
<div align="center">Afghan &#8211; After (with modifed Luxeon K2 Royal Blue Flashlight):<br />
<a title="Photo Sharing" href="http://www.flickr.com/photos/scholewiak/351744806/"><img loading="lazy" decoding="async" width="500" height="375" alt="Afghan - Royal Blue" src="http://farm1.static.flickr.com/150/351744806_6144b9ca56.jpg" /></a></div>
<div align="center">Magazines &#8211; Before (with fluorescent ambient lighting):<br />
<a title="Photo Sharing" href="http://www.flickr.com/photos/scholewiak/351744813/"><img loading="lazy" decoding="async" width="500" height="375" alt="Magazines - Fluorescent" src="http://farm1.static.flickr.com/123/351744813_b491a60c4c.jpg" /></a></div>
<div align="center">Magazines &#8211; After (with modifed Luxeon K2 Royal Blue Flashlight):<br />
<a title="Photo Sharing" href="http://www.flickr.com/photos/scholewiak/351744817/"><img loading="lazy" decoding="async" width="500" height="375" alt="Magazines - Royal Blue" src="http://farm1.static.flickr.com/141/351744817_b60b2c47f8.jpg" /></a></div>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Luxeon K2 LED show-off</title>
		<link>/2006/11/15/luxeon-k2-led-show-off/</link>
		
		<dc:creator><![CDATA[Steven A. Cholewiak]]></dc:creator>
		<pubDate>Wed, 15 Nov 2006 15:54:25 +0000</pubDate>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LEDs]]></category>
		<guid isPermaLink="false">/?p=35</guid>

					<description><![CDATA[A friend (Matt Kocsis) and I purchased some Luxeon K2 LED emitters from Lumileds and I&#8217;m looking forward to building some constant current PWM drivers for them. I&#8217;ve found a couple of constant current driver schematics, but I&#8217;m planning on pulsing the outputs (which can draw up to 1.5A), so I want to make sure [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://semifluid.com/wp-content/uploads/2006/11/Profile.jpg"><img loading="lazy" decoding="async" src="http://semifluid.com/wp-content/uploads/2006/11/Profile-300x207.jpg" alt="" title="Luxeon K2 LED Profile" width="300" height="207" class="alignleft size-medium wp-image-990" srcset="/wp-content/uploads/2006/11/Profile-300x207.jpg 300w, /wp-content/uploads/2006/11/Profile.jpg 1024w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a>A friend (<a target="_blank" href="http://matt.kocsis.ws/">Matt Kocsis</a>) and I purchased some <a target="_blank" href="http://www.philipslumileds.com/uploads/54/DS51-pdf">Luxeon K2</a> LED emitters from Lumileds and I&#8217;m looking forward to building some constant current PWM drivers for them.  I&#8217;ve found a couple of constant current driver <a target="_blank" href="http://led.linear1.org/a-cheap-current-regulated-luxeon-star-driver-design/">schematics</a>, but I&#8217;m planning on pulsing the outputs (which can draw up to 1.5A), so I want to make sure that the circuits will work with the high-frequency PWM.  Matt and I are also working on a heatsink that will effectively cool these LEDs.  The plan is to create a programmable high-intensity RGB spot/wash light with pan/tilt and optic (i.e. focus) control.  We&#8217;ll see how this project pans out, but in the meantime, playing with these incredibly high intensity LEDs has been quite fun.<span id="more-35"></span></p>
<p>The LED emitters pictured below are:</p>
<blockquote><p>3 x LXK2-PD12-Q00 (Red)<br />
3 x LXK2-PM14-U00 (Green)<br />
3 x LXK2-PB14-N00 (Blue)<br />
3 x LXK2-PR14-Q00 (Royal Blue)<br />
2 x LXK2-PR12-L00 (Royal Blue)<br />
2 x LXK2-PW14-U00 (White)</p>
<p>1 x LXHL-MW1D (White Luxeon Star)</p></blockquote>
<p>Here are a couple of pictures comparing the different LED emitters:</p>
<p><a href="http://semifluid.com/wp-content/uploads/2006/11/Labeled.jpg"><img loading="lazy" decoding="async" src="http://semifluid.com/wp-content/uploads/2006/11/Labeled-300x194.jpg" alt="" title="Luxeon K2 LED Labeled" width="300" height="194" class="aligncenter size-medium wp-image-989" srcset="/wp-content/uploads/2006/11/Labeled-300x194.jpg 300w, /wp-content/uploads/2006/11/Labeled.jpg 1024w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="http://semifluid.com/wp-content/uploads/2006/11/Profile.jpg"><img loading="lazy" decoding="async" src="http://semifluid.com/wp-content/uploads/2006/11/Profile-300x207.jpg" alt="" title="Luxeon K2 LED Profile" width="300" height="207" class="aligncenter size-medium wp-image-990" srcset="/wp-content/uploads/2006/11/Profile-300x207.jpg 300w, /wp-content/uploads/2006/11/Profile.jpg 1024w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="http://semifluid.com/wp-content/uploads/2006/11/Close-up.jpg"><img loading="lazy" decoding="async" src="http://semifluid.com/wp-content/uploads/2006/11/Close-up-300x191.jpg" alt="" title="Luxeon K2 LED Close-up" width="300" height="191" class="aligncenter size-medium wp-image-988" srcset="/wp-content/uploads/2006/11/Close-up-300x191.jpg 300w, /wp-content/uploads/2006/11/Close-up.jpg 1024w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
