<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3561798115215934165</id><updated>2012-02-10T22:53:18.794-05:00</updated><title type='text'>bicycle lighting</title><subtitle type='html'>oddly obsessed with dynamo powered bicycle lights</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-3897227737013109663</id><published>2012-02-10T22:53:00.000-05:00</published><updated>2012-02-10T22:53:18.803-05:00</updated><title type='text'>Free CAD software: 3D, 2D, and PCB layout</title><content type='html'>I rely heavily on CAD freeware for all my weird obsessive bike light projects. &amp;nbsp;Never having been a professional engineer or designer, I haven't had the luxury of being able to snag a copy of any commercial CAD software from my workplace. &amp;nbsp;Licenses for such things run into the thousands of dollars (I emailed &lt;a href="http://www.solidworks.com/"&gt;Solidworks &lt;/a&gt;a few months ago to get a quote for an individual license for hobby use and they asked for a cool $2000). &amp;nbsp;No thank you!&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It took me a long time to discover the tools that I use to design parts in 3D, draft them in 2D, capture schematics and layout PCBs. &amp;nbsp;Here's a list of the free CAD software I find most useful:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style="color: #999999; font-family: Arial, Helvetica, sans-serif; font-size: x-large;"&gt;3D CAD&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://img.informer.com/icons/png/32/2887/2887882.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://img.informer.com/icons/png/32/2887/2887882.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.emachineshop.com/"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;eMachineShop&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Man, I really like this software. If you're a CAD veteran you might hate it but for the beginner I don't think it could get any easier than this. &amp;nbsp;The software is specifically for designing single machine parts and the design restrictions do a good a job of preventing you from designing something that can't be machined. &amp;nbsp;Living within the software's rules can be a frustrating limitation at times and I'm often forced to think outside the box (so to speak) to design a specific feature on a part &amp;nbsp;(cutting a feature out of a solid, for example, uses a kind of confusing 'air inside/outside' paradigm). &amp;nbsp;It kind of forces you to think like a CNC machine, which is no bad thing if you want your part design to actually be machinable. &amp;nbsp;Making parts by revolving a profile is very straightforward. &amp;nbsp;The autosnapping is fantastic - no key combinations are required to snap to midpoints, endpoints, centers, tangents, etc. &amp;nbsp;Best snapping interface I've encountered, allowing me to work fast. &amp;nbsp;However, complicated parts with many surface features on different axes are not this application's forte. &amp;nbsp;If I need to do more complicated&amp;nbsp;Boolean&amp;nbsp;shaping then I modify my part in FreeCAD.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;eMachineShop wants you to use their machining service and there's a handy online quote generator that allows you to get pricing for different materials and tolerances. &amp;nbsp;For pieces out of steel and aluminium, I find their prices competitive&amp;nbsp;with other big online CNC services like &lt;a href="http://www.quickcutcnc.com/"&gt;QuickCut &lt;/a&gt;and &lt;a href="http://www.firstcut.com/"&gt;Firstcut&lt;/a&gt;. &amp;nbsp;All three online machine services quote about 1.5-10 times higher for the same material than most of the prototype makers I've contacted in China. &amp;nbsp;I've used eMachineShop's fabrication service once and was disappointed with the quality of the material and the use of an inferior machining method (plus they&amp;nbsp;initially&amp;nbsp;over charged me for shipping - $128 UPS to Canada!). &amp;nbsp;The part was within tolerances and performed its function, but eMachineShop's off my list of prototype makers for now. &amp;nbsp;Most folks report a good experience, so I'm aware that my dissatisfaction was an exception.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To their credit, eMachineShop's CAD software allows you to export 3D IGES files as well as 2D DXF files. &amp;nbsp;The 3D export has a disclaimer that it's still a work in progress, but for the most part the original design survives the export. &amp;nbsp;For some reason, adding holes to curved surfaces starts to screw things up, a problem that can be solved by modifying the part in FreeCAD.&lt;br /&gt;&lt;br /&gt;Although I haven't used it, eMachineShop does support CNC bending, so you can design parts bent out of sheet metal. &amp;nbsp;Unfortunately, the bends are not exported in the 3D IGES file, so you wind up with a flat version of your part on export. &amp;nbsp;I'm not sure if the .igs file plus a 2D description of the bend locations, their radii and angles would be enough to get a quote from a third party fabricator.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://a.fsdn.com/con/icons/fr/free-cad@sf.net/freecad.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://a.fsdn.com/con/icons/fr/free-cad@sf.net/freecad.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="https://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;FreeCAD&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I love it and hate it. It's deep but challenging. &amp;nbsp;For &lt;i&gt;de novo&lt;/i&gt; part design of anything but the most basic fundamental shapes, I stick with eMachineShop and then modify the part in FreeCAD. &amp;nbsp;For the most part, I use FreeCAD to make part assemblies so I can see how everything fits together. &amp;nbsp;The Boolean operations are good for cutting one complicated shape from another, something that I can't do in eMachineShop. &amp;nbsp;FreeCAD is still under heavy development, which means it can be a bit buggy and frustrating to use sometimes. &amp;nbsp;It has a small &lt;a href="https://sourceforge.net/apps/phpbb/free-cad/"&gt;community of enthusiasts&lt;/a&gt; where you can get help. The forum is particularly valuable for finding scripts to make complicated features that would be difficult or impossible to do with just the GUI. &amp;nbsp;A &lt;a href="https://sourceforge.net/apps/phpbb/free-cad/viewtopic.php?f=3&amp;amp;t=2154"&gt;helical thread&lt;/a&gt;, for instance. &amp;nbsp;FreeCAD looks and feels very promising, but the frequently buggy Boolean operations and a lack of complete GUI implementation of all features is holding it back from a wider audience of prospective users. &amp;nbsp;For my purposes, though, it is perfectly adequate.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One feature I've discovered recently is the&amp;nbsp;&lt;a href="http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Drawing_Module"&gt;Drawing Module&lt;/a&gt;, which lets you generate 2D drawings of your part, including isometric views. &amp;nbsp;The GUI implementation is almost nil, so you spend a lot of time&amp;nbsp;manipulating&amp;nbsp;objects by command line, but the results are pretty cool:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-uiKKzcsF-74/TzVhYgZsHFI/AAAAAAAADPw/HBDmfwz2-dA/s1600/FreeCAD+lamp+shaded.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="328" src="http://4.bp.blogspot.com/-uiKKzcsF-74/TzVhYgZsHFI/AAAAAAAADPw/HBDmfwz2-dA/s400/FreeCAD+lamp+shaded.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Taillight concept 3D&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-yrcwvPWy7Tk/TzVhYp7lqAI/AAAAAAAADP0/MEVpp4pRNvE/s1600/FreeCAD+lamp+drawing.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="283" src="http://2.bp.blogspot.com/-yrcwvPWy7Tk/TzVhYp7lqAI/AAAAAAAADP0/MEVpp4pRNvE/s400/FreeCAD+lamp+drawing.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Taillight 2D isometric view&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;The results of the isometric projection can be cleaned up with DraftSight.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://igsviewer.com/IGS-file-viewer/Brand%20new.gif" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="111" src="http://igsviewer.com/IGS-file-viewer/Brand%20new.gif" width="100" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://igsviewer.com/"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;IGSViewer&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Prototyping services seem to like IGES format for quotations, so I use IGSViewer to check the outputs of both eMachineShop and FreeCAD to make sure nothing wonky has happened during export.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style="color: #999999; font-family: Arial, Helvetica, sans-serif; font-size: x-large;"&gt;2D CAD&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.solidworks.com/pages/programs/letsgodesign/images/downloads/DraftSightFiles.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="94" src="http://www.solidworks.com/pages/programs/letsgodesign/images/downloads/DraftSightFiles.jpg" width="100" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.3ds.com/products/draftsight/overview/"&gt;DraftSight&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;A new piece of software for 2D drafting, it is quite deep with a reasonably good interface. &amp;nbsp;Like eMachineShop, the implementation of snapping to endpoints, midpoints, tangents, perpendicular, etc. is very handy, although you need to turn it off if you don't want to snap to the nearest feature, no matter how far away it seems. &amp;nbsp;I usually import the DXF output from eMachineShop into DraftSight where I can build up my 2D drafts. &amp;nbsp;The isometric views that FreeCAD spits out in .svg format can be imported (via InkScape) and cleaned up to produce pretty nice looking technical drawings. &amp;nbsp;Dimensioning is pretty straightforward, although I often wind up fighting with the global attribute system. &amp;nbsp;For freeware this is very well-developed. Not sure the story behind it. &amp;nbsp;Perhaps it's just intended as a halo application for its super expensive big brother, Solidworks.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/256/Apps-inkscape-icon.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="100" src="http://icons.iconarchive.com/icons/oxygen-icons.org/oxygen/256/Apps-inkscape-icon.png" width="100" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://inkscape.org/"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;InkScape&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Big freeware competitor to Illustrator. I've only used it to convert .svg to .dxf for FreeCAD drawing import into DraftSight, but it looks pretty cool. &amp;nbsp;I've never been an Illustrator user, so I don't imagine using his much, but it sure is handy for the very specific file conversion I need to do.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="background-color: white; color: #999999; font-family: Arial, Helvetica, sans-serif; font-size: x-large;"&gt;PCB CAD&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://sensi.org/~svo/eagle/icon_cadsoft_eagle.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="100" src="http://sensi.org/~svo/eagle/icon_cadsoft_eagle.png" width="100" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.cadsoftusa.com/downloads/freeware/"&gt;Eagle CAD&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This software is an electronic hobbyist's dream come true. &amp;nbsp;I found the learning curve a bit steep, but once you get it Eagle CAD becomes a great all-in-one schematic capture and PCB layout application. &amp;nbsp;There is a good &lt;a href="http://www.sparkfun.com/tutorials/109"&gt;tutorial&lt;/a&gt;&amp;nbsp;from Sparkfun to get you started. The large libraries of components never seem to have the specific parts I want to use, so I've had to get used to designing my own schematic symbols, laying out the pads according to the datasheet's description of the device's footprint and adding the part to my own custom library. &amp;nbsp;This is kind of a pain in the butt, but I guess you can't expect the libraries to be completely exhaustive. &amp;nbsp;The freeware version has a limited board size (plenty of space for what I want to do) and only supports 2 layer designs (the PCB house I use only offers 2 layer fabrication). The autorouter seems to do a good job of routing the connections after placing the parts. I typically don't route manually, instead shifting parts around until the autorouter hits 100%. &amp;nbsp;In the world of PCB design, that makes me a bit of a loser. &amp;nbsp;So be it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;I'm sure I'm missing out on other great CAD tools. Let me know what your essential pieces of free CAD software are.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-3897227737013109663?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/3897227737013109663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/02/free-cad-software-3d-2d-and-pcb-layout.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3897227737013109663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3897227737013109663'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/02/free-cad-software-3d-2d-and-pcb-layout.html' title='Free CAD software: 3D, 2D, and PCB layout'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-uiKKzcsF-74/TzVhYgZsHFI/AAAAAAAADPw/HBDmfwz2-dA/s72-c/FreeCAD+lamp+shaded.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-5903148954872243999</id><published>2012-02-06T21:19:00.000-05:00</published><updated>2012-02-06T21:19:06.637-05:00</updated><title type='text'>Classic bicycle taillights</title><content type='html'>&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-w8YcafEBanI/Ty_ehySE6wI/AAAAAAAADO8/gu3itzUEHqk/s1600/3358073180_ff9ff88d29_b.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-w8YcafEBanI/Ty_ehySE6wI/AAAAAAAADO8/gu3itzUEHqk/s640/3358073180_ff9ff88d29_b.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Luxor Le Martelé taillight. Photo by &lt;a href="http://www.flickr.com/photos/36397392@N06/"&gt;J Ferguson&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;I love classically styled bicycle taillights, especially those of the French persuasion. &amp;nbsp;I have a handful of &lt;a href="http://www.google.ca/search?q=luxor+tail+light&amp;amp;hl=en&amp;amp;site=webhp&amp;amp;prmd=imvns&amp;amp;source=lnms&amp;amp;tbm=isch&amp;amp;ei=IN8vT8HaDoWW0QGP75HICg"&gt;Luxor tail lamps&lt;/a&gt;&amp;nbsp;waiting for the right project to come along (yes, I'm the type that would build a bike around a taillight). &amp;nbsp;I just discovered this &lt;a href="http://www.flickr.com/photos/aalpern/galleries/72157622502919702/"&gt;gallery on Flickr&lt;/a&gt; dedicated to curating photos of both vintage and handmade taillights. &amp;nbsp;As well, there's this &lt;a href="http://homepage3.nifty.com/ClassicBicycles/brands/brands.html"&gt;great Japanese site&lt;/a&gt; that has examples of classic lights from &lt;a href="http://homepage3.nifty.com/ClassicBicycles/brands/radios.html"&gt;Radios&lt;/a&gt;, &lt;a href="http://homepage3.nifty.com/ClassicBicycles/brands/luxor.html"&gt;Luxor&lt;/a&gt;, &lt;a href="http://homepage3.nifty.com/ClassicBicycles/brands/soubitez.html"&gt;Soubitez &lt;/a&gt;and &lt;a href="http://homepage3.nifty.com/ClassicBicycles/brands/jos.html"&gt;JOS&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Unfortunately, modern taillights are invariably plastic and utilitarian in nature. &amp;nbsp;&lt;a href="http://www.compasscycle.com/Home.html"&gt;Compass Bicycles&lt;/a&gt; had a &lt;a href="http://janheine.wordpress.com/2011/12/09/new-led-taillight-solutions/"&gt;recent post&lt;/a&gt; bemoaning the indifference to elegance in contemporary taillight offerings. &amp;nbsp;If you want a nicely designed light suitable for your modern classical build, you're looking at acquiring something vintage (these options from &lt;a href="http://www.jitensha.com/eng/kimura_lights.html"&gt;Kimura &lt;/a&gt;notwithstanding). If you're into classic randonneuring bikes, then vintage options can get very expensive.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Although I'm partial to the fender-mounted teardrop-shaped Luxor lights, I also really like the&lt;a href="http://www.blackbirdsf.org/jos/tail.html"&gt; JOS tail lamps&lt;/a&gt;,&amp;nbsp;especially the &lt;a href="http://www.blackbirdsf.org/jos/typefu.html"&gt;Fu model&lt;/a&gt;.&amp;nbsp; Here is a beautiful example from Flickr:&lt;/div&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-obUOaccyjC4/TzASAy5m78I/AAAAAAAADPY/0-vYuwWzrMQ/s1600/JOSFu.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;img border="0" height="422" src="http://3.bp.blogspot.com/-obUOaccyjC4/TzASAy5m78I/AAAAAAAADPY/0-vYuwWzrMQ/s400/JOSFu.jpg" width="430" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;JOS Fu taillight. Photo by s&lt;a href="http://www.flickr.com/photos/10703870@N06/"&gt;poke sniffer&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;It occurred to me that the symmetrical design would lend itself well to CNC machining. For fun I drafted up a concept:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-VVMQ7NUe78k/TzAR89rgeKI/AAAAAAAADPQ/D85qI5HREh4/s1600/FU44.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="357" src="http://2.bp.blogspot.com/-VVMQ7NUe78k/TzAR89rgeKI/AAAAAAAADPQ/D85qI5HREh4/s400/FU44.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;This would obviously be equipped with an LED, so the protruding bulb holder with it's knurled binding post isn't required, although it might be nice to incorporate it. &amp;nbsp;The bracket might be a bit of a challenge to have made, but the body could be turned on a lathe without much trouble. &amp;nbsp;The lens, on the other hand, would have to be injection molded, which is associated with high setup costs for unrealistically large volumes. &amp;nbsp;Perhaps a 3D printer could produce something that might work. &amp;nbsp;For now, my classically inspired taillight design will have to remain &lt;i&gt;in silico&lt;/i&gt;. &amp;nbsp;What do you think? Does the world need a new taillight?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-5903148954872243999?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/5903148954872243999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/02/classic-bicycle-taillights.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/5903148954872243999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/5903148954872243999'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/02/classic-bicycle-taillights.html' title='Classic bicycle taillights'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-w8YcafEBanI/Ty_ehySE6wI/AAAAAAAADO8/gu3itzUEHqk/s72-c/3358073180_ff9ff88d29_b.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-5116393959562506847</id><published>2012-02-03T00:37:00.001-05:00</published><updated>2012-02-03T00:37:14.054-05:00</updated><title type='text'>Ledil optic improves Sturmey Archer Cree XM-L upgrade</title><content type='html'>I recently &lt;a href="http://minisystem.blogspot.com/2012/01/sturmey-archer-headlight-cree-xm-l.html"&gt;posted&lt;/a&gt; about a Cree XM-L upgrade I designed for the vintage Sturmey Archer head lamp (at least the one seen most commonly on North American Raleighs from the 1970s). &amp;nbsp;The light output is high, but the beam shape has some &lt;a href="http://minisystem.blogspot.com/2012/02/incandescent-optics-versus-led-optics.html"&gt;significant shortcomings&lt;/a&gt;, rather embarrassing ones considering the centre of the beam from the original bulb was still brighter than the LED upgrade. &amp;nbsp;Yikes!&lt;br /&gt;&lt;br /&gt;The wise and wonderful people at &lt;a href="http://www.candlepowerforums.com/vb/showthread.php?332089-Single-LED-Dyno-Light-w-Standlight"&gt;CPF&lt;/a&gt;&amp;nbsp;suggested I try a small modern optic instead of relying solely on the vintage reflector. &amp;nbsp;The choice of sub 20mm optics for the XM-L is quite limited. &amp;nbsp;The best I could find was this &lt;a href="http://www.ledil.com/node/2/p/1296"&gt;16.1mm &amp;nbsp;37º optic&lt;/a&gt; from Ledil (This &lt;a href="http://www.ledil.com/node/2/p/1303"&gt;23º optic&lt;/a&gt;&amp;nbsp;would&amp;nbsp;probably&amp;nbsp;be better but wasn't stocked by either Mouser or Digikey). &amp;nbsp;It arrived from Mouser today. &amp;nbsp;I had to snip off the mounting posts, but it otherwise fit perfectly over the XM-L's PCB, attached firmly with its own adhesive tape:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-SUGftOdRlrQ/Tyswjsh3LwI/AAAAAAAADO0/r3BQ_oHxu78/s1600/IMG_5348.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-SUGftOdRlrQ/Tyswjsh3LwI/AAAAAAAADO0/r3BQ_oHxu78/s640/IMG_5348.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Ledil 16.1mm 37º optic mounted on XM-L&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;a href="http://minisystem.blogspot.com/2012/02/incandescent-optics-versus-led-optics.html"&gt;As before&lt;/a&gt;, I measured the beam profile at 2.5m from my lux meter's sensor. &amp;nbsp;Here's the data I would show if I was a savvy marketer:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-EYs_Cl_iOGY/TysuwGEz42I/AAAAAAAADOc/TuSxfg2fwGg/s1600/Ledil+lux+data.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="481" src="http://1.bp.blogspot.com/-EYs_Cl_iOGY/TysuwGEz42I/AAAAAAAADOc/TuSxfg2fwGg/s640/Ledil+lux+data.jpg" width="700" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Beam profile of Cree XM-L with Ledil optic compared to original incandescent bulb&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Well, that looks great. &amp;nbsp;Big fat wide beam compared to the puny and narrow beam of the original bulb. Of course, that doesn't tell the whole story. &amp;nbsp;Here's the same beam profile compared to not only the original but also to a 0.35A incandescent. &amp;nbsp;The profile of the untreated XM-L's beam is also plotted:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-eVmbjYSQ8HY/TysuuKCiwYI/AAAAAAAADOU/KKE7-xbhU3Q/s1600/SA+all+beam+data.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="486" src="http://1.bp.blogspot.com/-eVmbjYSQ8HY/TysuuKCiwYI/AAAAAAAADOU/KKE7-xbhU3Q/s640/SA+all+beam+data.jpg" width="700" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Beam profiles of Sturmey Archer lamp with different light sources&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;While the Ledil optic does a nice job of evening out the profile of the XM-L's beam and doubles its brightness in the center, the peak output is still a lot lower than a simple incandescent upgrade. &amp;nbsp;Granted, an original Dynohub barely puts out 0.35A at high speeds and the front bulb is usually run in parallel with a 0.1A taillight bulb. &amp;nbsp;What you get from the Cree XM-L is a bright wide beam with lots of spill. &amp;nbsp;This results in a nice amount of off axis visibility, which is important to me in the city traffic where I do most of my riding.&lt;br /&gt;&lt;br /&gt;With the Ledil optic I'm willing to declare my Sturmey Archer LED upgrade a success. &amp;nbsp;There's even the possibility of upgrading to the 23º optic if it ever makes its way over to North American shores.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-5116393959562506847?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/5116393959562506847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/02/ledil-optic-improves-sturmey-archer.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/5116393959562506847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/5116393959562506847'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/02/ledil-optic-improves-sturmey-archer.html' title='Ledil optic improves Sturmey Archer Cree XM-L upgrade'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-SUGftOdRlrQ/Tyswjsh3LwI/AAAAAAAADO0/r3BQ_oHxu78/s72-c/IMG_5348.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-3721960919670403861</id><published>2012-02-01T00:51:00.000-05:00</published><updated>2012-02-03T00:38:15.510-05:00</updated><title type='text'>Incandescent optics versus LED optics: implications for upgrading vintage lamps</title><content type='html'>Sometimes facts get in the way of a great idea. I've devoted a lot of time to the problem of upgrading vintage lamps to power LEDs. Power LEDs produce a ton of light, but they get hot and require adequate heat sinking to maintain their output and limit the chance of failure. This led me to develop a series of rather elaborate copper heat sinks. I've made a &lt;a href="http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html"&gt;screw base LED bulb&lt;/a&gt;, a &lt;a href="http://minisystem.blogspot.com/2011/12/upgrading-wedge-base-bulb-in-sturmey.html"&gt;wedge base LED bulb&lt;/a&gt;, and custom LED heat sinks to fit the &lt;a href="http://minisystem.blogspot.com/2012/01/sturmey-archer-headlight-cree-xm-l.html"&gt;classic Sturmey Archer headlight&lt;/a&gt; as well as the &lt;a href="http://minisystem.blogspot.com/2012/01/power-led-upgrade-for-luxor-65-bicycle.html"&gt;Luxor 65 series of vintage French lamps&lt;/a&gt;, all using Cree XP-G or XM-L power LEDs. &amp;nbsp;I fired them up from both a DC bench top supply and a hub dynamo and I was impressed with the results. &amp;nbsp;For the Sturmey Archer and Luxor headlamps, the outputs were bright, producing huge floody beams. &amp;nbsp;Before I could make claims about the superiority of these upgrades, though, I thought I should take some lux readings and compare the output of the LED upgrades to that of the original incandescent bulbs.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-B6RvpVI8QgA/TyS8TzJfAGI/AAAAAAAADJI/qF4mckpAyFg/s1600/IMG_5327.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-B6RvpVI8QgA/TyS8TzJfAGI/AAAAAAAADJI/qF4mckpAyFg/s640/IMG_5327.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Cree XM-L mounted in Sturmey Archer headlight&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Here is some lux data comparing the output of an original 6V bulb at 350 mA (in actual fact, the original bulb was 6V 0.2A with a parallel 0.1A taillight bulb), a 3W halogen bulb (&lt;a href="http://www.reflectalite.com/halogenpage.html"&gt;Reflectalite GH106&lt;/a&gt;) at 500 mA and the Cree XM-L upgrade at 500 mA (low end modern hub dynamo output) and 700 mA (high end hub dynamo output as well as &lt;a href="http://minisystem.blogspot.com/2011/12/sturmey-archer-dynohub-magnet-upgrade.html"&gt;Dynohub magnet upgrade&lt;/a&gt;). &amp;nbsp;Lastly, I measured the output of a Cree XP-G mounted in a &lt;a href="http://www.dealextreme.com/p/aluminum-textured-op-reflector-for-cree-mc-e-led-emitters-41-5mm-18mm-17385"&gt;41.5mm reflector&lt;/a&gt; designed specifically for Cree LEDs. The lux meter's sensor was placed 1M away from the light source and the centre hot spot of the beam was measured. &amp;nbsp; The lux reading recorded represents the brightest spot of the beam.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-x8YSd6pnFqM/TyYeeg6Yn_I/AAAAAAAADKM/sKBeTJHX1Hk/s1600/lux+data+LED+incandescent+SA.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="495" src="http://3.bp.blogspot.com/-x8YSd6pnFqM/TyYeeg6Yn_I/AAAAAAAADKM/sKBeTJHX1Hk/s640/lux+data+LED+incandescent+SA.jpg" width="700" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Lux output of Sturmey Archer headlight with different light sources compared to Cree XP-G with specialized reflector&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Well, what the heck? &amp;nbsp;Is ancient technology really winning? &amp;nbsp;Well........... yes, in a nutshell, it is. :(&lt;br /&gt;&lt;br /&gt;Although I haven't photographed the beams, allow me to emphasize how different the incandescent/halogen beam patterns were compared to the LED patterns. &amp;nbsp;The hot spot of the incandescent/halogen beams that yielded the highest lux reading was very concentrated. The slightest change in position of the beam could see the lux reading tumble by half or more; the focused hot spot was very small and the overall beam was quite narrow, certainly less than 45º. &amp;nbsp;In contrast, the LED upgrades mounted in the same&amp;nbsp;reflectors&amp;nbsp;produced a very diffuse hot spot and a very evenly illuminated flood of probably greater than 120º. &amp;nbsp;The LED upgrade is clearly putting out more light, but it isn't focused like the incandescent bulbs.&lt;br /&gt;&lt;br /&gt;To document this quantitively, I placed the sensor of my lux meter on a tripod and focused the center of the beam on it (highest lux reading). &amp;nbsp;I then took readings at finite distances from the centre of the beam while maintaining the same distance from the light source, essentially creating a brightness profile across the beam's diameter. I rather arbitrarily set the distance at 2.5m. &amp;nbsp;&lt;a href="http://www.lumicycle.com/product/237/single-xpg-systems-1500-lumens.htm"&gt;Some bike light makers&lt;/a&gt; measure performance by lux at 5m. &amp;nbsp;Lux at 1m also seems to be a common standard, however I was limited by the distance between my work bench and my wall, so 2.5m it is, which is fine for a relative measurement. &amp;nbsp;Here I compare the XM-L's beam to the beams of a 6V 0.35A incandescent as well as the 6V 0.2A&amp;nbsp;incandescent&amp;nbsp;that originally equipped the Sturmey Archer lamp.&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-2zbbVqA5lcM/TyjP6HQx1HI/AAAAAAAADN8/i27HUJ7TrQY/s1600/beam+pattern+lux+data.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="483" src="http://4.bp.blogspot.com/-2zbbVqA5lcM/TyjP6HQx1HI/AAAAAAAADN8/i27HUJ7TrQY/s640/beam+pattern+lux+data.jpg" width="700" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Brightness profile of Sturmey Archer headlight beam with three different light sources&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;As you can see, both incandescent bulbs produce a narrow symmetrical beam that drops off to zero between 40-50 cm from the center. &amp;nbsp;The 0.35A bulb has a surprisingly bright peak, whereas the original 0.2A bulb is considerably dimmer. The XM-L beam doesn't have much in the way of a center peak, but provides a wide profile of even illumination. &amp;nbsp;Unusually, it seems to have some&amp;nbsp;asymmetrical&amp;nbsp;artifacts, which I confirmed by measuring the beam in a different axis (not shown). &amp;nbsp;My room wasn't big enough to measure the full width of the XM-L's beam. &amp;nbsp;If was able to, I expect the area under the XM-L's profile curve would be a lot larger than the area under both incandescents' curve (ie. greater total light output).&lt;br /&gt;&lt;br /&gt;The 0.35A bulb isn't an especially fair comparison as the original configuration was a 0.2A bulb, however it does indicate that a simple incandescent upgrade can dramatically improve the light output. Although I didn't measure the beam profile, you can bet that the 0.5A halogen bulb would be even brighter!&lt;br /&gt;&lt;br /&gt;The obvious problem with the XM-L's performance is the optics. The vintage optics are optimized for incandescent bulbs. &amp;nbsp;The limited viewing angle of the LED means that, although a lot more light is coming out of the lamp, the optics aren't focusing it into a tight beam.&amp;nbsp;&amp;nbsp;I&amp;nbsp;had originally fretted that the LEDs weren't in the right position relative to the vertex of the reflector's parabola, but changing that position doesn't have much of an effect on beam pattern. &amp;nbsp;The glass globe of an incandescent lamp allows the filament's light to enjoy a greater than 180º viewing angle. It is my suspicion that it is this backward directed light that is collected and focused by the reflector.&lt;br /&gt;&lt;br /&gt;This LED/incandescent performance difference is less pronounced with the &lt;a href="http://minisystem.blogspot.com/2012/01/power-led-upgrade-for-luxor-65-bicycle.html"&gt;Luxor 65 reflector&lt;/a&gt;. &amp;nbsp;Interestingly, the results indicate that the Sturmey Archer lamp does a considerably better job of focusing incandescent light into a tight beam.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-YgM9ovr5WbI/TyS8BLTjB6I/AAAAAAAADGg/JTSh6Vx8GW8/s1600/IMG_5319.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://4.bp.blogspot.com/-YgM9ovr5WbI/TyS8BLTjB6I/AAAAAAAADGg/JTSh6Vx8GW8/s640/IMG_5319.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Cree XM-L mounted in Luxor 65 head lamp&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-LtlNk6zo3pk/TyYe5mnOfxI/AAAAAAAADKU/D0Dbt6o6EXg/s1600/lux+data+LED+incandescent+luxor.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="506" src="http://4.bp.blogspot.com/-LtlNk6zo3pk/TyYe5mnOfxI/AAAAAAAADKU/D0Dbt6o6EXg/s640/lux+data+LED+incandescent+luxor.jpg" width="700" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Lux output of Luxor 65 head lamp with different light sources&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;So, I think the lesson to be learned here is that there are rather strict limitations to what you can accomplish with a LED retrofit of a vintage lamp. You really are at &amp;nbsp;the mercy of the reflector, which does a&amp;nbsp;surprisingly&amp;nbsp;good job of focusing a small amount of incandescent light into a tight beam, but isn't very compatible with the narrower viewing angle of power LEDs. &lt;br /&gt;&lt;br /&gt;It also really emphasizes how deceiving lumen ratings of LEDs can be. &amp;nbsp; I suppose this is why Maglite uses 'Beam Distance' to measure the &lt;a href="http://www.maglite.com/flashlight_performance.asp"&gt;performance of their flashlights&lt;/a&gt; rather than total light output or lux at a finite distance (1m, 5m, etc). &amp;nbsp;This is the maximum distance at which a light source will produce 0.25 lux, thus taking into account both the total light output and the throw provided by the optics.&lt;br /&gt;&lt;br /&gt;Modifying or replacing the reflectors of vintage lamps isn't especially practical, so I think I've hit a performance wall here. &amp;nbsp;While the LED upgrades don't produce a tight focused beam, their output still produces a bright flood that is certainly adequate for riding around town at night and maybe along a dark bike path at normal speeds. I haven't done a side-by-side comparison yet, but I'm pretty sure the greater total light output from the LED upgrade will result in greater&amp;nbsp;noticeability&amp;nbsp;in traffic. &amp;nbsp;Careening down a long hill on a moonless night on your vintage French randonneuring bike is probably not advisable though...&lt;br /&gt;&lt;br /&gt;The bright side (forgive me) to all of this is that the rear red LEDs are much much brighter than their original incandescent counterparts. &amp;nbsp; I &lt;a href="http://minisystem.blogspot.com/2011/09/tail-lamps-to-flash-or-not-to-flash.html"&gt;fret constantly&lt;/a&gt;&amp;nbsp;about being visible from behind when I'm riding, so I'm more concerned about having highly optimized lighting for the taillight. &amp;nbsp;The LED upgrade offers a bright standlight and a super visible rear light (with the potential to flash!), which, for my purposes, &amp;nbsp;makes up for the fact that the head lamp beam pattern is less than optimal.&lt;br /&gt;&lt;br /&gt;Still, hope for a better beam shape is not lost. &amp;nbsp;The opening into the reflectors of both the Sturmey Archer and Luxor lamps is less than 20 mm, but there are modern plastic optics with a diameter less than that. &amp;nbsp;It's possible some modern optic made for the XM-L might improve the beam shape. &amp;nbsp;This one from &lt;a href="http://ledil.fi/node/2/p/1296"&gt;Ledil&lt;/a&gt; looks promising:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://ledil.fi/material/Tina3/Tina3-XM/FA11902/Tina3-W.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://ledil.fi/material/Tina3/Tina3-XM/FA11902/Tina3-W.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;a href="http://ledil.fi/material/Tina3/Tina3-XM/20110518_ah_Tina3-Series_XM-Assy_Datasheet_rev1.pdf"&gt;Ledil Cree XM-L 16.1mm optic&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Need to order a couple of these and see if they can improve the beam shape.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Update: &amp;nbsp;optics arrived and the results are &lt;a href="http://minisystem.blogspot.com/2012/02/ledil-optic-improves-sturmey-archer.html"&gt;pretty good&lt;/a&gt;.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-3721960919670403861?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/3721960919670403861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/02/incandescent-optics-versus-led-optics.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3721960919670403861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3721960919670403861'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/02/incandescent-optics-versus-led-optics.html' title='Incandescent optics versus LED optics: implications for upgrading vintage lamps'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-B6RvpVI8QgA/TyS8TzJfAGI/AAAAAAAADJI/qF4mckpAyFg/s72-c/IMG_5327.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-2804075160261749174</id><published>2012-01-31T00:33:00.000-05:00</published><updated>2012-01-31T19:10:23.703-05:00</updated><title type='text'>Power LED upgrade for Luxor 65 bicycle lamps</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-1v0YMIwNkHc/TyXyl-7JF3I/AAAAAAAADJ8/kg4ScyfqBLw/s1600/4931857031_01340d629a_b.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="426" src="http://1.bp.blogspot.com/-1v0YMIwNkHc/TyXyl-7JF3I/AAAAAAAADJ8/kg4ScyfqBLw/s640/4931857031_01340d629a_b.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Luxor 'Le Martelé' lamp set. Photo from &lt;a href="http://www.flickr.com/photos/49353569@N00/4931857031/sizes/l/in/photostream/"&gt;jp weigle&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;I'm a &lt;a href="http://minisystem.blogspot.com/2011/10/luxor-dynamo-lamps.html"&gt;huge fan&lt;/a&gt; of the &lt;a href="http://www.google.ca/search?hl=en&amp;amp;biw=1115&amp;amp;bih=750&amp;amp;tbm=isch&amp;amp;sa=1&amp;amp;q=luxor+65"&gt;Luxor 65&lt;/a&gt; series of bicycle lamps, especially the hammered aluminium&amp;nbsp;&amp;nbsp;'Le Martelé'. &amp;nbsp;It took me a while, but after a few months on French Ebay I managed to &lt;a href="http://minisystem.blogspot.com/2011/09/back-to-workbench.html"&gt;acquire a set&lt;/a&gt;. &amp;nbsp;Naturally, I want to upgrade them with modern power LEDs, as I've done with the &lt;a href="http://minisystem.blogspot.com/2012/01/sturmey-archer-headlight-cree-xm-l.html"&gt;classic Sturmey Archer lamp set&lt;/a&gt;. &amp;nbsp;Both front and rear lamps use a nicely designed lamp holder that snaps into the reflector/lens base with a pair of spring clips:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-iZS9UUCB0Nw/Tu5Z450-5WI/AAAAAAAAC4c/Es5V9GuzyfE/s1600/IMG_5106.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-iZS9UUCB0Nw/Tu5Z450-5WI/AAAAAAAAC4c/Es5V9GuzyfE/s400/IMG_5106.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;For the rear lamp I can use a &lt;a href="http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html"&gt;screw base bulb &lt;/a&gt;with a super bright red &lt;a href="http://www.cree.com/products/pdf/xlampxp-e.pdf"&gt;Cree XP-E&lt;/a&gt; LED. &amp;nbsp;For the front lamp, I wasn't satisfied with the way my LED bulb sat in the reflector, so designed a heat sink that could be clamped into the opening of the reflector with set screws:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-WZUlTG6RABs/TyX5ljGXQ5I/AAAAAAAADKE/IcmCbjQuWC8/s1600/luxor+heat+sink.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="335" src="http://1.bp.blogspot.com/-WZUlTG6RABs/TyX5ljGXQ5I/AAAAAAAADKE/IcmCbjQuWC8/s400/luxor+heat+sink.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Here it is machined in copper:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-5--ogWDaobw/TyS8gzCHR7I/AAAAAAAADHI/tOKWMzOCq9A/s1600/IMG_5310.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-5--ogWDaobw/TyS8gzCHR7I/AAAAAAAADHI/tOKWMzOCq9A/s640/IMG_5310.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Heat sink for Luxor 65 LED upgrade&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;and with a Cree XM-L LED mounted directly to the nub that pokes through a slot milled in the PCB:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-D3Ez3Q0UEA0/TyVlC5Ko6vI/AAAAAAAADIc/cW2vGhdz-NM/s1600/IMG_5336.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-D3Ez3Q0UEA0/TyVlC5Ko6vI/AAAAAAAADIc/cW2vGhdz-NM/s640/IMG_5336.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The holes for the set screws weren't quite in the right place to grab the base of the reflector so I had to drill and tap new ones for a 4-40 set screw. &amp;nbsp;Here's how the LED/heat sink assembly clamps onto the base of the reflector:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-qaR2cEJ0F8s/TyVlQigI6sI/AAAAAAAADIs/yjZxpFJOgUs/s1600/IMG_5340.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://1.bp.blogspot.com/-qaR2cEJ0F8s/TyVlQigI6sI/AAAAAAAADIs/yjZxpFJOgUs/s640/IMG_5340.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-oAH0h4xLQhs/TyVl7A-VPOI/AAAAAAAADI8/aZT7tYSBgwY/s1600/IMG_5341.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://4.bp.blogspot.com/-oAH0h4xLQhs/TyVl7A-VPOI/AAAAAAAADI8/aZT7tYSBgwY/s640/IMG_5341.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Original set screw hole was in the wrong spot!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;Here's how the original bulb holder fits:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-QbKjcWsGlBo/TyVlgCIGnPI/AAAAAAAADI0/lCWeQQNcOA4/s1600/IMG_5342.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-QbKjcWsGlBo/TyVlgCIGnPI/AAAAAAAADI0/lCWeQQNcOA4/s640/IMG_5342.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Notice the double dip in the middle of the edge of the reflector base. &amp;nbsp;I failed to notice this when placing the holes for the set screws!&lt;br /&gt;&lt;br /&gt;The final result:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-zXT0zwjSuTs/TyS7xyM4J5I/AAAAAAAADGI/mFi_t6CZs-E/s1600/IMG_5316.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://1.bp.blogspot.com/-zXT0zwjSuTs/TyS7xyM4J5I/AAAAAAAADGI/mFi_t6CZs-E/s640/IMG_5316.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-22kwb4YRTEM/TyS76LqFaJI/AAAAAAAADGQ/d5gJG9j0JpI/s1600/IMG_5317.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="478" src="http://4.bp.blogspot.com/-22kwb4YRTEM/TyS76LqFaJI/AAAAAAAADGQ/d5gJG9j0JpI/s640/IMG_5317.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;The light is bright and very floody, much like my &lt;a href="http://minisystem.blogspot.com/2012/01/sturmey-archer-headlight-cree-xm-l.html"&gt;LED upgrade to the Sturmey Archer headlight&lt;/a&gt;. The beam does not produce a concentrated hot spot, which makes me wonder if this is a limitation of using LEDs with 100-140º viewing angles in&amp;nbsp;reflectors&amp;nbsp;designed for&amp;nbsp;incandescent&amp;nbsp;bulbs with &amp;nbsp;&amp;gt;180º spreads. &amp;nbsp;Some lux data will be required to sort this out.&lt;br /&gt;&lt;br /&gt;Here's the matching Le&amp;nbsp;Martelé rear lamp with a&lt;a href="http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html"&gt; LED bulb&lt;/a&gt; replacement:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Tk0T5eazu6U/TyiCh7ZDN2I/AAAAAAAADNw/lJYiS9rS5xQ/s1600/IMG_5345.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-Tk0T5eazu6U/TyiCh7ZDN2I/AAAAAAAADNw/lJYiS9rS5xQ/s640/IMG_5345.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-2804075160261749174?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/2804075160261749174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/01/power-led-upgrade-for-luxor-65-bicycle.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2804075160261749174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2804075160261749174'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/01/power-led-upgrade-for-luxor-65-bicycle.html' title='Power LED upgrade for Luxor 65 bicycle lamps'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-1v0YMIwNkHc/TyXyl-7JF3I/AAAAAAAADJ8/kg4ScyfqBLw/s72-c/4931857031_01340d629a_b.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-380606749983093713</id><published>2012-01-29T22:22:00.000-05:00</published><updated>2012-01-29T22:22:18.697-05:00</updated><title type='text'>Sturmey Archer headlight Cree XM-L power LED upgrade</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-QDP_XNbvU4U/TyVvfzqGm8I/AAAAAAAADJQ/h1ExZh_Gc5s/s1600/superbe+lamp.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="396" src="http://1.bp.blogspot.com/-QDP_XNbvU4U/TyVvfzqGm8I/AAAAAAAADJQ/h1ExZh_Gc5s/s640/superbe+lamp.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Raleigh Superbe's Sturmey Archer headlight. Photo by&amp;nbsp;&lt;a href="http://www.flickr.com/photos/lowercasedesign/"&gt;lowercase design&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: left;"&gt;I really like the Sturmey Archer lamps that equipped later model &lt;a href="http://minisystem.blogspot.com/2011/09/ode-to-raleigh-superbe-and-its-dynohub.html"&gt;Raleigh Superbes&lt;/a&gt;. &amp;nbsp;The older Raleighs (and other &lt;a href="http://sheldonbrown.com/english-3.html"&gt;English 3 speeds&lt;/a&gt;) seem to have come with a variety of different lamp styles over the years. &amp;nbsp;My best guess is that when the Superbe hit North American shores in full force in the late 1960s and throughout the 1970s, Raleigh/Sturmey Archer had standardized their lamp offerings, which resulted in the now classic chromed bullet head lamp and tail lamp. &amp;nbsp;This version of the lamp set is what I see most commonly on the streets of Toronto, as well as in &lt;a href="http://www.flickr.com/search/?q=raleigh%20superbe"&gt;Flickr feeds.&lt;/a&gt;&amp;nbsp; They aren't especially rare and&amp;nbsp;certainly&amp;nbsp;don't show the craftsmanship and quality of the earlier French lamps, but a Sturmey Archer light set can still command &amp;nbsp;prices of well over $100 on Ebay. &amp;nbsp;They can even occasionally be found as a &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-lamps-second-attempt.html"&gt;NOS&lt;/a&gt;.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;The output from the incandescent bulb is rather pathetic. &amp;nbsp;This is mostly due to the low output from the Sturmey Archer Dynohub that typically powers the lamp, possibly exacerbated by the seemingly low quality of the reflector. &amp;nbsp;Halogen replacements are available from &lt;a href="http://www.reflectalite.com/halogenpage.html"&gt;Reflectalite&lt;/a&gt;, but even these are rated at a rather paltry 18 lumens. &amp;nbsp;I tried&lt;a href="http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html"&gt;&amp;nbsp;upgrading&amp;nbsp;the bulb with an screw base LED replacement&lt;/a&gt;, but found the output rather disappointing. I even went to the trouble of making a custom &lt;a href="http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html"&gt;screw base power LED mounted on a copper heat sink&lt;/a&gt;. &amp;nbsp;This produced a big floody beam, but&amp;nbsp;the flimsy&amp;nbsp;bulb holder that mounts the bulb in the&amp;nbsp;reflector&amp;nbsp;probably wasn't up to the task of supporting the extra weight of the power LED's heat sink.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;So, back to the drawing board. &amp;nbsp;To start, I thought I'd replace the flimsy stamped bulb holder with a copper heat sink. &amp;nbsp;The reflector is made of coated metal, so it shouldn't have any problem with carrying the weight of the heat sink, which can be wedged into the opening in the&amp;nbsp;reflector&amp;nbsp;in the same fashion as the original bulb holder. &amp;nbsp;This time I decided to use the super high output Cree &lt;a href="http://www.cree.com/products/pdf/xlampxm-l.pdf"&gt;XM-L&lt;/a&gt;, which is rated at &lt;a href="http://search.digikey.com/ca/en/products/XMLAWT-00-0000-0000T6053/XMLAWT-00-0000-0000T6053CT-ND/2451238"&gt;290 lumens @ 700 mA&lt;/a&gt;. &amp;nbsp;As in my previous designs for the Cree XPG, a nub pokes through the PCB so the LED's thermal pad can be soldered directly to the heat sink.&amp;nbsp;Something like this:&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-f7gx2Pa_rAs/TyTJ7X_PrmI/AAAAAAAADH8/2NEaUBGKEQY/s1600/SA+front+lamp+heat+sink.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/-f7gx2Pa_rAs/TyTJ7X_PrmI/AAAAAAAADH8/2NEaUBGKEQY/s400/SA+front+lamp+heat+sink.jpg" width="398" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Design for Sturmey Archer headlight heat sink&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Looks a bit like a top hat. Here it is machined in copper:&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-vziIJvt7IvQ/TyVmQz_W9KI/AAAAAAAADJE/ynhzwBi7q7I/s1600/IMG_5313.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-vziIJvt7IvQ/TyVmQz_W9KI/AAAAAAAADJE/ynhzwBi7q7I/s640/IMG_5313.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Copper heat sink for Sturmey Archer headlight power LED upgrade&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;It flares out a tiny bit where the bottom of the pillar meets the rim. &amp;nbsp;Here's the heat sink with a Cree XM-L soldered on to it:&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-JWD-vk7YsGY/TyVkw7OUXcI/AAAAAAAADIM/N2OWICs5_uY/s1600/IMG_5330.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-JWD-vk7YsGY/TyVkw7OUXcI/AAAAAAAADIM/N2OWICs5_uY/s640/IMG_5330.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;This is how the original bulb holder fits in the&amp;nbsp;reflector:&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Tph2zbhHoDk/TyVlJT8xX0I/AAAAAAAADIk/H96Gl3ohPMM/s1600/IMG_5338.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-Tph2zbhHoDk/TyVlJT8xX0I/AAAAAAAADIk/H96Gl3ohPMM/s640/IMG_5338.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div&gt;and here is the copper heat sink mounted in the same opening:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-rUFKPrS2lMU/TyS8FaiV43I/AAAAAAAADGo/_VRMkOnjDGA/s1600/IMG_5321.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://1.bp.blogspot.com/-rUFKPrS2lMU/TyS8FaiV43I/AAAAAAAADGo/_VRMkOnjDGA/s640/IMG_5321.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Copper heat sink mounted in reflector of Sturmey Archer headlight&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It fits very snugly in the reflector and doesn't feel like it's going anywhere. &amp;nbsp;A dab of Loctite wouldn't hurt though. &amp;nbsp;The LED sits low in the reflector, about where the original bulb's filament would be.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-B6RvpVI8QgA/TyS8TzJfAGI/AAAAAAAADJI/qF4mckpAyFg/s1600/IMG_5327.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-B6RvpVI8QgA/TyS8TzJfAGI/AAAAAAAADJI/qF4mckpAyFg/s640/IMG_5327.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Sturmey Archer headlight with Cree XM-L power LED upgrade on copper heat sink&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Coupled with an &lt;a href="http://minisystem.blogspot.com/2011/12/upgrading-wedge-base-bulb-in-sturmey.html"&gt;upgraded LED bulb for the rear lamp &lt;/a&gt;and a &lt;a href="http://minisystem.blogspot.com/2011/12/sturmey-archer-dynohub-magnet-upgrade.html"&gt;Dynohub magnet upgrade&lt;/a&gt;, a modern and powerful dynamo system emerges. &amp;nbsp;It will eventually even be possible to add a &lt;a href="http://minisystem.blogspot.com/2011/12/flashing-dynamo-light-prototype.html"&gt;standlight and flasher&lt;/a&gt;. &amp;nbsp;The lamp is still a victim of its original optics, which&amp;nbsp;obviously&amp;nbsp;aren't nearly as good as the highly optimized optics of modern bike lights, but the high output of the Cree XM-L does result in a bright, floody beam. &amp;nbsp;Certainly enough for cruising around city streets in relative safety and quite&amp;nbsp;possibly&amp;nbsp;enough to illuminate a poorly lit country bike path.&lt;br /&gt;&lt;br /&gt;I'm thinking of making this LED upgrade available, along with &lt;a href="http://minisystem.blogspot.com/2011/12/upgrading-wedge-base-bulb-in-sturmey.html"&gt;an LED upgrade for the matching taillight&lt;/a&gt;. &amp;nbsp;Let me know if you're interested either by commenting or by emailing me directly (bottom of page).&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The XM-L can be run at up to 3A to produce a whopping 943 lumens so a battery powered retrofit could produce an impressive amount of light, although it remains to be determined if the heat sink would be adequate. &amp;nbsp;That would require some &lt;a href="http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html"&gt;performance testing&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-380606749983093713?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/380606749983093713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/01/sturmey-archer-headlight-cree-xm-l.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/380606749983093713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/380606749983093713'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/01/sturmey-archer-headlight-cree-xm-l.html' title='Sturmey Archer headlight Cree XM-L power LED upgrade'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-QDP_XNbvU4U/TyVvfzqGm8I/AAAAAAAADJQ/h1ExZh_Gc5s/s72-c/superbe+lamp.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-7867696270563033207</id><published>2012-01-27T23:33:00.000-05:00</published><updated>2012-01-28T10:49:40.365-05:00</updated><title type='text'>Programming an Attiny10 with AVRISP mkII and AVR Studio 5</title><content type='html'>Jump to &lt;a href="http://minisystem.blogspot.com/2012/01/programming-attiny10-with-avrisp-mkii.html#attiny10tutorial"&gt;Attiny10 programming tutorial&lt;/a&gt; if you want to skip my long winded preamble.&lt;br /&gt;&lt;br /&gt;I've been tinkering with my&lt;a href="http://minisystem.blogspot.com/2011/12/flashing-dynamo-light-prototype.html" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;&amp;nbsp;dynamo powered LED flasher circuit&lt;/a&gt; recently. While the standlight works well, the blinking circuit requires that a 5W Zener diode shunt all 500-600 mA of dynamo current during the off cycle of the flash. At a frequency of about 2 Hz and a duty cycle of about 50%, I didn't think this would be a problem, but the damn Zener hits 100°C within a minute and showed no signs of slowing down, suggesting that I was taking it to within an inch of its life. I got some advice about using &lt;a href="http://sound.westhost.com/appnotes/an007.htm" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;a power transistor to shunt the current&lt;/a&gt;, but using a 20W transistor still resulted in the device getting too hot too fast. I don't have room to put a big heat sink on it so I finally gave up on trying to shunt the current and getting rid of the off cycle energy as heat. I'm sure there is an elegant solution out there that allows the energy to be recaptured rather than wasted, but I'm already running the rear red LED close to its maximum current. Instead, I decided that I could do away with a flashing front light and just flash the rear light. This way, the dynamo is never disconnected from the load and the Zener does not need to shunt any current except in the case of a connection failure. &amp;nbsp;A low side N-FET seems to do the trick, shorting out the red LED when the transistor is on:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://1.bp.blogspot.com/-ueIvMzhMLis/TyBC9Hcc-hI/AAAAAAAADFo/xStF_TS63Qo/s1600/IMG_5314.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="378" src="http://1.bp.blogspot.com/-ueIvMzhMLis/TyBC9Hcc-hI/AAAAAAAADFo/xStF_TS63Qo/s640/IMG_5314.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;N-MOSFET shorts red LED when ON&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Anyway, in the process I also decided that I wanted a flash that was below 50% duty cycle. &amp;nbsp;Ideally around 30% or so to better mimic the strobe pattern of commercial LED flashers. &amp;nbsp;You can&amp;nbsp;&lt;a href="http://www.kpsec.freeuk.com/555timer.htm#dutycycle" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;achieve this with a 555 by adding a diode&lt;/a&gt;, but I thought I'd try using a microcontroller to generate the flasher's pulse instead. &amp;nbsp;Why, you might ask, would I want to do something so complicated? Adding a microcontroller to a bike light seems kind of overkill. Well, it turns out I can do it in a smaller package with fewer parts for less money (and learn something along the way). Win!&lt;br /&gt;&lt;br /&gt;In my previous design I was using a 555 astable oscillator to generate the pulse. &amp;nbsp;The smallest package size is SOIC8, which is pretty bulky as far as surface mount devices go. &amp;nbsp;The smallest microcontroller I could find was the&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/products/product_card.asp?part_id=4558" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;Atmel AVR Attiny10&lt;/a&gt;&amp;nbsp;that comes in a breathtakingly small SOT23-6 package.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Y7kYbvNwxPM/TyA94YoQDAI/AAAAAAAADFc/m1lzIjz8UHw/s1600/IMG_5293.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://1.bp.blogspot.com/-Y7kYbvNwxPM/TyA94YoQDAI/AAAAAAAADFc/m1lzIjz8UHw/s640/IMG_5293.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;TI CMOS SOIC8 555 timer ($1.72) next to SOT23-6 Attiny10 ($0.89)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Surface mount&amp;nbsp;devices&amp;nbsp;are pretty annoying for prototyping, but the advantage of their tiny footprints becomes readily apparent when you need to cram a lot of parts into a small pace. &amp;nbsp;Once I realized how useful SMDs are for creating&amp;nbsp;physically&amp;nbsp;small circuits, I accepted that the prototyping complications were worth it. &amp;nbsp;Getting the Attiny10 onto a breadboard requires a little adapter from the nice people at&amp;nbsp;&lt;a href="http://www.proto-advantage.com/store/" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;Proto-Advantage&lt;/a&gt;. &amp;nbsp;I soldered it using a soldering iron. Not as tricky as it seems.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-nKRPydvCu3k/TyA9Kn1kK2I/AAAAAAAADEY/RWoMZa655tQ/s1600/IMG_5289.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="640" src="http://2.bp.blogspot.com/-nKRPydvCu3k/TyA9Kn1kK2I/AAAAAAAADEY/RWoMZa655tQ/s640/IMG_5289.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Attiny10 on SOT23-6 to SIP board&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: x-large;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=3561798115215934165" name="attiny10tutorial"&gt;&lt;/a&gt;&lt;span style="color: #999999; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Attiny10 programming tutorial&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Attiny10 part of the Atmel AVR family. &amp;nbsp;The Attinies are the baby siblings of the microcontrollers that are used in the&amp;nbsp;&lt;a href="http://arduino.cc/" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;Arduino&lt;/a&gt;&amp;nbsp;development platform. &amp;nbsp;You can even program&amp;nbsp;&lt;a href="http://hlt.media.mit.edu/?p=1695" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;some of the Attinies with the Arduino&lt;/a&gt;, such as the Attiny85.&lt;br /&gt;&lt;br /&gt;Unfortunately, the Attiny10 (and&amp;nbsp;variants&amp;nbsp;4/5/9) won't work with the Arduino IDE and it isn't&amp;nbsp;&lt;a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=printview&amp;amp;t=102177&amp;amp;start=0"&gt;entirely clear if you can compile C for it,&lt;/a&gt;&amp;nbsp;leaving assembler (ASM) as the most straightforward option for programming the whopping 1024 bytes of Flash ROM. &amp;nbsp; It took me a few days of fiddling around to get an Attiny10 to put out a pulse to blink my LEDs. &amp;nbsp;I've put together a little tutorial about programming the Attiny10 to fill in the blanks I found in online documentation, both official and in forums and the blogosphere. &amp;nbsp;Perhaps this &amp;nbsp;will make things a little easier on the very rare occasion that another layperson might want to program an Attiny10 using the available Atmel tools.&lt;br /&gt;&lt;br /&gt;[rant]&lt;br /&gt;Engineers seem to, rather annoyingly, assume that everyone using their products or protocols is also an engineer and their technical documentation reflects this assumption. &amp;nbsp; They seem to communicate by some Borg-like collective knowledge (otherwise known as an Engineering Degree) that is mostly&amp;nbsp;impenetrable&amp;nbsp;to the rest of us. &amp;nbsp;This is often a barrier to the minority of wannabe engineers who want to occasionally parachute into the engineering world to get something specific done without actually becoming, you know, an&lt;i&gt; engineer.&lt;/i&gt;&lt;br /&gt;[/rant]&lt;br /&gt;&lt;br /&gt;This is a tutorial aimed at programming the Attiny10 in assembler using the Atmel&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3808" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;AVRISP mkII&amp;nbsp;&lt;/a&gt;programmer and&amp;nbsp;&lt;a href="http://www.atmel.com/microsite/avr_studio_5/default.asp?category_id=163&amp;amp;family_id=607" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;AVR Studio 5&lt;/a&gt;. &amp;nbsp;By extension, it should also work for all members of the Attiny4/5/9/10 family. It really is just about connecting the Attiny10 to the AVRISP and being able to load hex code onto it because even this can be a frustrating challenge for the uninitiated. The&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/resources/prod_documents/doc8127.pdf" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;Attiny10 datasheet&lt;/a&gt;,&amp;nbsp;the AVR&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/resources/prod_documents/doc1022.pdf" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;Assembler User Guide&lt;/a&gt;&amp;nbsp;and &lt;span id="goog_1888869009"&gt;&lt;/span&gt;&lt;a href="http://www.atmel.com/dyn/resources/prod_documents/doc0856.pdf"&gt;Instruction Se&lt;span id="goog_1888869010"&gt;&lt;/span&gt;t&lt;/a&gt; are wonderfully indecipherable documents that you need to refer to for actual programming in assembler. &amp;nbsp;There is also this&amp;nbsp;&lt;a href="http://www.avr-asm-tutorial.net/avr_en/" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;huge tutorial&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Adding to the confusion is the fact that there are numerous accounts that AVR Studio 5 is either incompatible with the AVRISP mkII, the Attiny10 or both. &amp;nbsp;As of January 2012, I can say that AVRISP mkII, AVR Studio 5 and Attiny10 all play nicely together on Windows 7.&lt;br /&gt;&lt;br /&gt;So, let's start:&lt;br /&gt;&lt;br /&gt;&lt;b style="color: #999999; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: x-large;"&gt;Step One: Get what you need&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You need an&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3808" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;AVRISP mkII&lt;/a&gt;&amp;nbsp;programmer,&amp;nbsp;&lt;a href="http://www.atmel.com/microsite/avr_studio_5/default.asp?category_id=163&amp;amp;family_id=607" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;AVR Studio 5&lt;/a&gt;&amp;nbsp;and some &lt;a href="http://search.digikey.com/ca/en/products/ATTINY10-TSHR/ATTINY10-TSHRCT-ND/2136158"&gt;Attiny10s&lt;/a&gt; to get programming. &amp;nbsp;A breadboard and a SOT23-6 to&amp;nbsp;&lt;a href="http://www.proto-advantage.com/store/product_info.php?products_id=2400054" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;SIP&lt;/a&gt;/&lt;a href="http://www.sparkfun.com/products/717" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;DIP&lt;/a&gt;&amp;nbsp;adapter will also come in handy.&lt;br /&gt;&lt;br /&gt;There are a bunch of AVR programmers out there. I chose to use the AVR branded one, the AVRISP mkII, which is a little pricer than the&amp;nbsp;&lt;a href="http://www.ladyada.net/make/usbtinyisp/" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;USBTinyISP&lt;/a&gt;&amp;nbsp;but requires no assembly. &amp;nbsp;One gentleman was so averse to using the available Atmel tools that he made&amp;nbsp;&lt;a href="https://sites.google.com/site/wayneholder/attiny-4-5-9-10-assembly-ide-and-programmer" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;his own programmer and his own IDE&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;AVR Studio 5 is a rather huge and cumbersome piece of software that I'm sure is great for managing complicated multi-thousand line projects written in C. &amp;nbsp;&lt;a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=printview&amp;amp;t=102177&amp;amp;start=0"&gt;You may or may not be able to compile C for the Attiny10&lt;/a&gt;, but you can definitely use AVR Studio to write assembler and use the very handy simulator to debug your code before flashing your Attiny.&lt;br /&gt;&lt;br /&gt;I'm pretty sure you could also use AVR Studio 4, which is now mature. &amp;nbsp;In fact, many people seem to have delayed upgrading to AVRS5 because it is considered buggy.&lt;br /&gt;&lt;br /&gt;I'm sure you could also use &lt;a href="http://www.bsdhome.com/avrdude/"&gt;avrdude&lt;/a&gt;&amp;nbsp;instead of AVR Studio. &amp;nbsp;It has been &lt;a href="http://irq5.wordpress.com/2010/07/15/programming-the-attiny10/"&gt;documented&lt;/a&gt; to work with the Attiny10.&amp;nbsp;I have a strong aversion to command line interfaces, so avrdude was out (dead give away that I'm not an engineer...).&lt;br /&gt;&lt;br /&gt;&lt;b style="color: #999999; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: x-large;"&gt;Step Two: Connect the programmer&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;After downloading and installing AVR Studio 5 you should be able to connect the AVRISP mkII to your PC and see a green light glow inside, next to the USB connector. &amp;nbsp;An exterior LED is red to indicate that there is no external power (weirdly, the AVRISP, despite having Vcc and GND connections, cannot be used to power the Attiny during programming).&lt;br /&gt;&lt;br /&gt;Confusingly, the Attiny10 and its ilk are not programmed using the same 3 wire MISO/MOSI/SCK&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/resources/prod_documents/doc0943.pdf" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;ISP&lt;/a&gt;&amp;nbsp;protocol used by other AVR microcontrollers. &amp;nbsp;Instead, they use the 2 wire&amp;nbsp;&lt;u&gt;T&lt;/u&gt;iny&amp;nbsp;&lt;u&gt;P&lt;/u&gt;rogramming&amp;nbsp;&lt;u&gt;I&lt;/u&gt;nterface, or&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/resources/prod_documents/doc8373.pdf" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;TPI&lt;/a&gt;. &amp;nbsp;What wasn't at all clear to me from the various documentation available was how you connect the AVRISP mkII to an Attiny10. &amp;nbsp;The&amp;nbsp;&lt;a href="http://www.atmel.com/dyn/resources/prod_documents/AVRISPmkII_UG.pdf" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;AVRISP mkII User Guide&lt;/a&gt;&amp;nbsp;makes no mention of TPI. The mkII is documented as being compatible with the Attiny10, but I had to really hunt around to confirm the pin connections from the programmer to the Attiny10.&lt;br /&gt;&lt;br /&gt;Pin connections from&amp;nbsp;&lt;a href="http://www.nongnu.org/avrdude/user-manual/avrdude_20.html" style="color: #68c520; font-weight: bold; text-decoration: none;"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;table style="background-color: white; color: black;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;AVRISP mkII&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;Target&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;ATTINY10&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;connector&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;pin name&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;pin number&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;1 MISO&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;TPIDATA&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;2 VCC&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;VCC&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;5&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;3 SCK&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;TPICLK&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;3&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;4 MOSI&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;–&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;–&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;5 RESET&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;RESET&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;6&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="20%"&gt;&lt;b&gt;6 GND&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;GND&lt;/b&gt;&lt;/td&gt;&lt;td width="20%"&gt;&lt;b&gt;2&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://itp.nyu.edu/physcomp/images/tutorials/programmingc/image/isp/avrisppinout.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://itp.nyu.edu/physcomp/images/tutorials/programmingc/image/isp/avrisppinout.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The programmer's Pin 1 is opposite to the red mark on the cable and is marked with a hard-to-see arrow/triangle. &amp;nbsp;I hooked it up wrong the first time, so double check that you've identified pin 1 correctly!&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://2.bp.blogspot.com/-60Pk_jnSe2o/TyA-VkEhVQI/AAAAAAAADEw/M-yJ9Fj2i1Q/s1600/IMG_5295.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-60Pk_jnSe2o/TyA-VkEhVQI/AAAAAAAADEw/M-yJ9Fj2i1Q/s640/IMG_5295.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;&lt;span style="font-family: Times, 'Times New Roman', serif;"&gt;AVRISP mkII connected to Attiny10&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://4.bp.blogspot.com/-hDNRIH4L5b0/TyA-LF2K7HI/AAAAAAAADEo/P9T51XTbDGw/s1600/IMG_5298.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="478" src="http://4.bp.blogspot.com/-hDNRIH4L5b0/TyA-LF2K7HI/AAAAAAAADEo/P9T51XTbDGw/s640/IMG_5298.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;&lt;span style="font-family: Times, 'Times New Roman', serif;"&gt;From left to right: (1)MOSI/TPIDATA, (2)GND, (3)TIPCLK, (5)VCC, (6)RESET&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both;"&gt;You need to connect an external 1.8-5.5V power source to VCC and GND before you can program the &amp;nbsp;Attiny10. The programmer's exterior LED will go from red to green when it senses the external power. I use a 3.7V lithium ion battery for power.&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;b style="color: #999999; font-family: Arial, Helvetica, sans-serif; text-align: -webkit-auto;"&gt;&lt;span style="font-size: x-large;"&gt;Step Three: Program the Attiny10&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;Launch AVR Studio 5 and make a new assembler project: &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;File:New Project... &lt;/span&gt;In the dialog select the AVR Assembler Project template. &amp;nbsp;Then select Attiny10 from the Device Selection dialog that pops up. &amp;nbsp;Write your code (I wanted to blink an LED, so I grabbed and modified some ASM I found &lt;a href="http://www.attiny.com/assembly.htm"&gt;here&lt;/a&gt; - if you follow that link note that the Attiny10 has PORTB instead of PORTD). &amp;nbsp;This performs a nested decrement of registers. &amp;nbsp;Two registers for the ON delay and three registers for the OFF delay (ie. longer OFF time than ON time). This is what my code looks like:&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;/div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;rjmp&lt;/span&gt;&amp;nbsp;RESET&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;;go and set up PORTB as an output&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;span style="color: green;"&gt;;name registers (selected &amp;gt;r15 arbitrarily)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;.def&lt;/span&gt;&amp;nbsp; counter1&amp;nbsp; = r16&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;.def&lt;/span&gt;&amp;nbsp; counter2&amp;nbsp; = r17&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;.def&lt;/span&gt;&amp;nbsp; counter3&amp;nbsp; = r18&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;span style="color: green;"&gt;;set some variables&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: green; font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;;time1 and time2 set the value for the final loop in each delay&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;.equ&lt;/span&gt;&amp;nbsp; time1&amp;nbsp;&amp;nbsp; = 170&amp;nbsp;&lt;span style="color: green;"&gt;;between 0 and 255&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;.equ&lt;/span&gt;&amp;nbsp; time2&amp;nbsp;&amp;nbsp; = 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;.equ&lt;/span&gt;&amp;nbsp; led&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 2&amp;nbsp;&lt;span style="color: green;"&gt;;LED at PB2&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;RESET:&amp;nbsp;&lt;span style="color: green;"&gt;;set PB2 as an output in the Data Direction Register for PORTB&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;sbi&lt;/span&gt;&amp;nbsp;&amp;nbsp; DDRB, led&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;;connect LED to PB2 (Attiny10 pin 4)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;flash:&amp;nbsp;&lt;/span&gt;&lt;span style="color: green; font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;;main loop&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;cbi&lt;/span&gt;&amp;nbsp;&amp;nbsp; PORTB, led&amp;nbsp;&lt;span style="color: green;"&gt;;LED off - cbi/sbi swapped for N-FET switching (ie.LED is OFF when FET is ON)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;ldi&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter2, time1&amp;nbsp;&lt;span style="color: green;"&gt;;load counter1 delay&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;rcall&lt;/span&gt;&amp;nbsp;onDelay&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;sbi&lt;/span&gt;&amp;nbsp;&amp;nbsp; PORTB, led&amp;nbsp;&lt;span style="color: green;"&gt;;LED on&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;ldi&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter3, time2&amp;nbsp;&lt;span style="color: green;"&gt;;load counter3 delay&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;rcall&lt;/span&gt;&amp;nbsp;offDelay&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;rjmp&lt;/span&gt;&amp;nbsp; flash&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;;return to beginning of loop&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;onDelay:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;clr&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter1&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;;clear counter1&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;loop1:&amp;nbsp;&lt;span style="color: green;"&gt;;nested loop that decrements counter 1 (255) x counter2 (time1) times (ie. 255*time1)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;dec&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter1 &amp;nbsp;&lt;/span&gt;&lt;span style="color: green; font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;;decrement counter1&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;brne&lt;/span&gt;&amp;nbsp; loop1 &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: green; font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;;branch if not 0&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;dec&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter2 &amp;nbsp;&lt;/span&gt;&lt;span style="color: green; font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;;decrement counter2&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;brne&lt;/span&gt;&amp;nbsp; loop1 &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: green; font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;;branch if not 0&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;ret&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;offDelay:&amp;nbsp;&lt;span style="color: green;"&gt;;same as onDelay but with a third loop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;clr&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;clr&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter2&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;loop2:&amp;nbsp;&lt;span style="color: green;"&gt;;decrement counter 1(255) x counter2(255) x counter3(time2) (ie. 255*255*time2)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;dec&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;brne&lt;/span&gt;&amp;nbsp; loop2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;dec&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;brne&lt;/span&gt;&amp;nbsp; loop2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;dec&lt;/span&gt;&amp;nbsp;&amp;nbsp; counter3&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;brne&lt;/span&gt;&amp;nbsp; loop2&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;ret&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;This is pretty rudimentary. It basically just kills time by pushing bits around registers. &amp;nbsp;A more elegant solution would be to set up an interrupt triggered by the Attiny10's &lt;a href="http://www.atmel.com/dyn/resources/prod_documents/doc2505.pdf"&gt;16 bit timer&lt;/a&gt; (more on that another time).&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;Build your code by selecting &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Build:Build Solution&lt;/span&gt;. &amp;nbsp;This converts the ASM to machine code. &amp;nbsp;If it builds successfully it will generate a .hex file in the project's folder. This is the file you need to load onto the Attiny10. &amp;nbsp;You can simulate your code by going to &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Debug:Start Debugging and Break&lt;/span&gt; and and then hitting F10 to step through the instructions and looking at how the contents of registers and ports change, etc.&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;When satisfied, you program the chip using &lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Tools:AVR Programming&lt;/span&gt;. Select AVRISP mkII in the Tool drop down list and Attiny10 in the Device list. &amp;nbsp;TPI will come up in the Interface list by default. &amp;nbsp;Click 'Apply'. &amp;nbsp;If there is a connection problem, you will discover it here. &amp;nbsp;This is the time to make sure that the Attiny has its own power and is connected to the AVRISP correctly.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-CWaUvH8Oskk/TyA-yzENDGI/AAAAAAAADFA/ekE4aBie_kc/s1600/AVRStudio+programming.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-CWaUvH8Oskk/TyA-yzENDGI/AAAAAAAADFA/ekE4aBie_kc/s1600/AVRStudio+programming.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Times, 'Times New Roman', serif; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;/div&gt;Go to Memories and click '...' to select your project's .hex file if the contents of the Flash box aren't pointing to it already. &amp;nbsp;Then click 'Program'. &amp;nbsp;The programmer will load the code and then you can test it out.&lt;br /&gt;&lt;br /&gt;I found that the programmer needed to be reset by unplugging it from USB and then reconnecting it before I could get each upload to run properly on the Attiny10. &amp;nbsp;I chose PB2 (pin 4) to blink my LED because it isn't connected to any programmer &amp;nbsp;lines, but the other lines should work even if connected to the programmer, so long as it has USB power. If the programmer is off then the Attiny10 didn't like being connected to it. &amp;nbsp;Once satisfied with your program you can disconnect the programer lines and operate it stand alone:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-W0ynyLejT3Y/TyA-mjRfekI/AAAAAAAADE4/ch9TadEvxpc/s1600/IMG_5300.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="478" src="http://1.bp.blogspot.com/-W0ynyLejT3Y/TyA-mjRfekI/AAAAAAAADE4/ch9TadEvxpc/s640/IMG_5300.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Attiny10 blinking an LED&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;These are the two sites I found most useful for learning the ins and outs of Attiny10 programming:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://irq5.wordpress.com/2010/07/15/programming-the-attiny10/"&gt;http://irq5.wordpress.com/2010/07/15/programming-the-attiny10/&lt;/a&gt;&lt;br /&gt;&lt;a href="https://sites.google.com/site/wayneholder/attiny-4-5-9-10-assembly-ide-and-programmer"&gt;https://sites.google.com/site/wayneholder/attiny-4-5-9-10-assembly-ide-and-programmer&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There's also information scattered all over the &lt;a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=index"&gt;avrfreaks forums&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-7867696270563033207?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/7867696270563033207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/01/programming-attiny10-with-avrisp-mkii.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7867696270563033207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7867696270563033207'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/01/programming-attiny10-with-avrisp-mkii.html' title='Programming an Attiny10 with AVRISP mkII and AVR Studio 5'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ueIvMzhMLis/TyBC9Hcc-hI/AAAAAAAADFo/xStF_TS63Qo/s72-c/IMG_5314.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-6645291012231410323</id><published>2012-01-17T17:57:00.000-05:00</published><updated>2012-01-17T17:57:06.427-05:00</updated><title type='text'>Beautiful retro styled lights by Kimura from Jitensha Studio</title><content type='html'>Browsing around today I came across &lt;a href="http://www.jitensha.com/eng/kimura_lights.html"&gt;these&lt;/a&gt; for the first time:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.jitensha.com/eng/images/kimuraheadlt_400.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="345" src="http://www.jitensha.com/eng/images/kimuraheadlt_400.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Kimura flashlight&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.jitensha.com/eng/images/kimuratail_400t.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="351" src="http://www.jitensha.com/eng/images/kimuratail_400t.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Kimura tail lamp&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;They are &lt;a href="http://www.jitensha.com/eng/kimura_lights.html"&gt;Kimura lights&lt;/a&gt; from &lt;a href="http://www.jitensha.com/"&gt;Jitenshi Studio&lt;/a&gt;, a bicycle shop in Japan that specializes in high quality touring and randonneuring bikes. &amp;nbsp;The lights are handmade by one Mr. Kimura. &amp;nbsp;They're not inexpensive ($195 USD for the flashlight, $125 for the taillight), but the quality looks amazing, easily&amp;nbsp;rivalling similarly priced offerings by &lt;a href="http://www.nabendynamo.de/english/index.html"&gt;Schmidt&lt;/a&gt; or &lt;a href="http://www.supernova-lights.com/en/"&gt;Supernova&lt;/a&gt;, but with infinitely more retro charm. &amp;nbsp;Too bad Mr. Kimura isn't in the business of making dynamo lights.&lt;br /&gt;&lt;br /&gt;Mounting a vintage flashlight on a front rack seems to be a popular way to dress up your vintage (or modern classical) touring/randonneuring bike. &amp;nbsp;Historically I think these flashlights served as&amp;nbsp;auxiliary lighting for bottle dynamo systems when stopped. Here is a particularly gorgeous example from the &lt;a href="http://store.velo-orange.com/"&gt;Velo-Orange &lt;/a&gt;site:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://store.velo-orange.com/media/catalog/category/lights_header.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="209" src="http://store.velo-orange.com/media/catalog/category/lights_header.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Vintage flashlight on a bike. &amp;nbsp;Image from &lt;a href="http://store.velo-orange.com/"&gt;Velo-Orange&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The tail lamp is especially&amp;nbsp;intriguing. &amp;nbsp;I wonder if the lens is pulled from a mass-produced light or if it was made specially for this application. &amp;nbsp;They also have a nice selection of reflectors.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-6645291012231410323?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/6645291012231410323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/01/beautiful-retro-styled-lights-by-kimura.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6645291012231410323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6645291012231410323'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/01/beautiful-retro-styled-lights-by-kimura.html' title='Beautiful retro styled lights by Kimura from Jitensha Studio'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-7717298324137356282</id><published>2012-01-02T17:31:00.000-05:00</published><updated>2012-01-02T17:31:48.699-05:00</updated><title type='text'>Dynamo digital buck converter: progress report</title><content type='html'>Inspired by this&lt;a href="http://www.candlepowerforums.com/vb/showthread.php?316815-peak-power-trackers-for-bike-dynamos"&gt; thread at CPF&lt;/a&gt;, I built a prototype of a &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt;digital buck converter&lt;/a&gt; using the &lt;a href="http://arduino.cc/"&gt;Arduino&lt;/a&gt; development platform. &amp;nbsp;The point of it is to extract more power out of a hub dynamo without adding extra LEDs in series. &amp;nbsp;To rehash: modern hub dynamos typically saturate at about 500-600 mA and their voltage is primarily determined by the load, so the easiest way to passively get more power of them is to add more LEDs in series. &amp;nbsp;Each LED gets the same current in the series circuit, while Vf of the whole series circuit goes up by the forward voltage of each additional LED. White LEDs typically have forward voltages of about 3V, and most hub dynamos easily put out 6V at low speeds, making this a viable&amp;nbsp;arrangement. &amp;nbsp;Even 3 series LEDs with a Vf of 9V can produce a lot of light at low speeds, although the minimum speed that reaches Vf will, of course, be higher than with fewer LEDs. &amp;nbsp;However, I'm primarily interested in single LED designs for retrofitting into vintage lamp housings. &amp;nbsp;With proper heat sinking some white power LEDs can take well over 1A. &amp;nbsp;In order to extract more current out of the hub we need a buck converter that converts the higher voltage available from the dynamo at higher speeds into more current for the LEDs. &amp;nbsp;This is done by switching the buck converter with pulse widths below 100% duty cycle. &amp;nbsp;Here's the schematic:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-OETipbHcajw/TujsVvpnVCI/AAAAAAAAC1U/kuridKH12cY/s1600/buckconverter.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="333" src="http://3.bp.blogspot.com/-OETipbHcajw/TujsVvpnVCI/AAAAAAAAC1U/kuridKH12cY/s640/buckconverter.png" width="700" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Schematic for Arduino-controlled digital buck converter for hub dynamo&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;This is a &lt;a href="http://en.wikipedia.org/wiki/Buck_converter#Synchronous_rectification"&gt;synchronous&lt;/a&gt; buck converter that uses two switches rather than a single switch and diode. &amp;nbsp;This increases efficiency by reducing switching losses (ie. the voltage drop across the diode). &amp;nbsp;&lt;a href="http://ww1.microchip.com/downloads/en/DeviceDoc/22083a.pdf"&gt;MCP14628&lt;/a&gt; is a MOSFET driver specifically designed for digitally controlled SMPSs; &amp;nbsp;when UGATE is high, LGATE is low and there's a buil charge pump to drive the high side FET. &amp;nbsp;The &lt;a href="http://arduino.cc/en/Tutorial/SecretsOfArduinoPWM"&gt;PWM&lt;/a&gt; signal comes from the Arduino. &amp;nbsp; This circuit worked &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt;fine&lt;/a&gt; with a bench top power supply, taking a higher voltage input and converting it to a higher current at Vf of the series LEDs. &amp;nbsp;However, when I connected it to a dynamo Q1 kept getting fried. &amp;nbsp;This was probably due to Vdyn (rectified DC dynamo input) spiking when the load is disconnected while Q1 is off, exceeding Q1's maximum Vgs. &amp;nbsp; I added D3 to &amp;nbsp;take care of this (Vgs(max) of these FETs is 30V). &amp;nbsp;Despite this, I still would&amp;nbsp;occasionally&amp;nbsp;fry Q1. &amp;nbsp;C3 and D2 were added to protect the high side FET from getting zapped by exceeding its Vgs, this time perhaps due to&amp;nbsp;parasitic&amp;nbsp;inductance of the long wires in my messy breadboarded prototype. &amp;nbsp;C3 and D2 seem to work and during normal operation Q1 doesn't get fried anymore. However, when the load is disconnected or I mistakingly set the duty cycle to 0% in the software, Q1 gets toasted. &amp;nbsp;I asked for help &lt;a href="http://forum.allaboutcircuits.com/showthread.php?p=438247"&gt;here&lt;/a&gt;, and am starting to get some answers. &amp;nbsp;Making C3 larger might be a good start. &amp;nbsp;It is situations like this one where my complete lack of electrical engineering training becomes a bit of a barrier to progress...&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://diodes.com/zetex/_pdfs/3.0/pdf/ZXCT1009.pdf"&gt;ZXCT1009&lt;/a&gt; is a high side current monitor that is used as feedback for the PWM signal.&lt;br /&gt;&lt;br /&gt;Here's what it looks like on the breadboard:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-UPvPUpfiE4w/TpG509fIX-I/AAAAAAAACqE/Or9HJiKqgyU/s1600/IMG_20110920_164712.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://4.bp.blogspot.com/-UPvPUpfiE4w/TpG509fIX-I/AAAAAAAACqE/Or9HJiKqgyU/s640/IMG_20110920_164712.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Buck converter spaghetti!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Pretty messy, which is certainly reducing efficiency. &amp;nbsp;Once it's tidily committed to a PCB I hope the efficiency will go up a bit and there won't be as many issues with parasitic inductance. &amp;nbsp;I'd also like to double the switching frequency from 32 KHz to 64 KHz so I can use a smaller inductor.&lt;br /&gt;&lt;br /&gt;Here's how my buck converter performs with 2 series LEDs with a Vf of about 5V powered by a &lt;a href="http://www.peterwhitecycles.com/sanyo.asp"&gt;Sanyo H27 dynamo&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-u2kDnGtQtdI/Tugb4g0bpVI/AAAAAAAACzk/cG2-BQcfB_8/s1600/sanyo+buck+data.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="498" src="http://4.bp.blogspot.com/-u2kDnGtQtdI/Tugb4g0bpVI/AAAAAAAACzk/cG2-BQcfB_8/s640/sanyo+buck+data.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Current versus speed of a dynamo powered buck converter at different duty cycles. Switching frequency is 32 KHz&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The advantage of dropping the duty cycle appears just over 20 km/h, although it is quite modest. &amp;nbsp;Above 30 km/h I think the converter is getting a worthwhile amount of extra power, roughly 200 mA (1W or about 40% more). &amp;nbsp;Efficiency is roughly 80%. &amp;nbsp;I need to test other duty cycles and perhaps go below 50%. &amp;nbsp;Thus far it seems like there's not much peak power tracking to be done. &amp;nbsp;A simple implementation would be to leave the duty cycle at 100% below 20 km/h and then drop it to 50% above that. &amp;nbsp;The H27 saturates at around 500 mA, whereas other hub dynamos saturate at slightly higher currents. Perhaps they also have better low speed performance and if they can generate a higher output voltage at lower speed then there might be more of an advantage to using a buck converter.&lt;br /&gt;&lt;br /&gt;There is&lt;a href="http://swhs.home.xs4all.nl/fiets/tests/verlichting/dynamo_led_driver/index_en.html"&gt; another microcontroller-based dynamo LED driver &lt;/a&gt;out there. &amp;nbsp;Its &lt;a href="http://swhs.home.xs4all.nl/fiets/tests/verlichting/dynamos/dynamos.gif"&gt;performance&lt;/a&gt; seems to be considerably better than mine; &amp;nbsp;it produces surprising amounts of power at low speeds, whereas mine can only begin to harvest more power out of the hub just before it saturates. &amp;nbsp;To be fair, because of my specific application, I am measuring current into two series LEDs rather than total power output, so this is a bit of an apples to oranges comparison. However, there is no denying that this converter seems to perform better at speeds below 30 km/h. I naively speculate that its &lt;a href="http://en.wikipedia.org/wiki/Switched-mode_power_supply"&gt;switching topology&lt;/a&gt; is something other than buck, but really I have no idea how it's done or how complicated or expensive the implementation is.&lt;br /&gt;&lt;br /&gt;I'm not entirely sure if the complication of a buck converter is worth the effort. &amp;nbsp;&lt;a href="http://hyperphysics.phy-astr.gsu.edu/hbase/vision/bright.html"&gt;Human perception of brightness&lt;/a&gt; is commonly described as logarithmic, meaning that a linear increase in actual luminous flux does not result in a correspondingly linear increase in the &lt;a href="http://neuroelec.com/2011/04/led-brightness-to-your-eye-gamma-correction-no/"&gt;perceived brightness&lt;/a&gt;. &amp;nbsp;I've not really found this put very succinctly on the Internet, so this might be an oversimplification (and hopefully not entirely incorrect). &lt;br /&gt;&lt;br /&gt;Whether or not this whole exercise is mostly academic remains to be determined...&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-7717298324137356282?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/7717298324137356282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2012/01/dynamo-digital-buck-converter-progress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7717298324137356282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7717298324137356282'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2012/01/dynamo-digital-buck-converter-progress.html' title='Dynamo digital buck converter: progress report'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-OETipbHcajw/TujsVvpnVCI/AAAAAAAAC1U/kuridKH12cY/s72-c/buckconverter.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-835801918267360056</id><published>2011-12-30T17:35:00.000-05:00</published><updated>2011-12-31T11:41:22.662-05:00</updated><title type='text'>Sturmey Archer Dynohub magnet upgrade: progress report</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;I &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-4-dynohub-magnet-upgrade.html"&gt;designed&lt;/a&gt; a magnet adapter to hold 20 neodymium magnets in the same positions as the poles of the original Sturmey Archer GH6 Dynohub ring magnet. &amp;nbsp;The first adapter I made was for 0.125" block magnets. &amp;nbsp;This adapter worked &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html" style="text-align: -webkit-auto;"&gt;better than I expected&lt;/a&gt;&lt;span class="Apple-style-span"&gt;, more than doubling the power output available from the original magnet.&amp;nbsp; Well, it turns out that, after calibrating my current monitor, the upgraded magnets work even better than I first thought, nearly tripling the dynamo's power output. &amp;nbsp;In a short-circuit current reading on my multimeter, the upgraded hub saturates at around 1.0A! &amp;nbsp;Running two power LEDs in series, it gets to around 0.9A at about 45 km/h. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span class="Apple-style-span"&gt;Great. &amp;nbsp;However, this is actually probably more power than I need. &amp;nbsp;While white power LEDs can take well over 1A, the &lt;/span&gt;&lt;a href="http://minisystem.blogspot.com/2011/12/upgrading-wedge-base-bulb-in-sturmey.html" style="text-align: -webkit-auto;"&gt;brightest red LEDs I want to use in tail lamps&lt;/a&gt;&lt;span class="Apple-style-span"&gt; are rated at a maximum of 700 mA. &amp;nbsp;I think I need to tone it down a bit and try to get that saturation current below 0.7A. &amp;nbsp;The other incentive to do this is to reduce the drag. Spinning the wheel by hand in the testing jig doesn't give the impression there is much more resistance from the new magnets, but spinning the armature itself on the upgraded hub is much harder than with the original magnet. &amp;nbsp;So, I designed a new adapter that places 20 0.0625 (1/16)" magnets with the same spacing from the armature (about 0.04"). &amp;nbsp;The sixteenth inch magnets are N40s instead of the N42 eighth inch magnets and they are a lot cheaper. &amp;nbsp;This time I got them from these &lt;/span&gt;&lt;a href="http://magnet4us.com/" style="text-align: -webkit-auto;"&gt;fine folks&lt;/a&gt;&lt;span class="Apple-style-span"&gt;, just north of Toronto. &amp;nbsp;As before, they are epoxied on with JB-Weld.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-p_3ErkrEbnw/TvfjzIVXTJI/AAAAAAAAC_E/X1iH5GD0H64/s1600/IMG_5153.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-p_3ErkrEbnw/TvfjzIVXTJI/AAAAAAAAC_E/X1iH5GD0H64/s400/IMG_5153.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Dynohub magnet adapter with 1/16" Nd magnets in place&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-umTjUIy_YlI/TvfmrdsCdrI/AAAAAAAAC_I/9zrm4dOVB0Y/s1600/IMG_5154.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/-umTjUIy_YlI/TvfmrdsCdrI/AAAAAAAAC_I/9zrm4dOVB0Y/s400/IMG_5154.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Here's how it fits over the armature&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;I fitted this into the Dynohub wheel on my &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-3-dynamo-wheel-testing-jig.html"&gt;motorized&amp;nbsp;testing jig&lt;/a&gt; and measured the current at different speeds, logging the data with an &lt;a href="http://arduino.cc/"&gt;Arduino&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-KesWbUS8GRk/Tvkz0DK2mqI/AAAAAAAADAE/H5L5MNp2OMw/s1600/IMG_5215.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-KesWbUS8GRk/Tvkz0DK2mqI/AAAAAAAADAE/H5L5MNp2OMw/s640/IMG_5215.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-e0wuXJON11w/TvlV-iZUK6I/AAAAAAAADAM/9EpmGSXur1Y/s1600/GH6+upgrade+data.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="504" src="http://3.bp.blogspot.com/-e0wuXJON11w/TvlV-iZUK6I/AAAAAAAADAM/9EpmGSXur1Y/s640/GH6+upgrade+data.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Current versus speed of GH6 Dynohub&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;The 1/16" magnets seem to be just about right. &amp;nbsp;At 45 km/h the hub hits just over 700 mA, although it doesn't look like it's quite plateaued. &amp;nbsp; I might be wise to incorporate some back up current limiting&amp;nbsp;circuitry&amp;nbsp;to protect my red LED at very high speeds. &amp;nbsp;The resistance from the 1/16" magnets is about as much as you'd expect from a contemporary hub dynamo. &amp;nbsp;Based on these results, I think I'm going to stick with 1/16" magnets. They're cheaper, easier to install, offer less resistance and produce a peak current that is mostly suitable for the red LEDs I want to use.&lt;br /&gt;&lt;br /&gt;The current design leaves the magnets a little exposed.&amp;nbsp; I doubt they'd ever come loose, even in the exceptional case of contact with the armature.&amp;nbsp; Still, I've designed a new version of the magnet holder that leaves them less exposed:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-MOwpQF3NtFk/Tvym_8Q7BZI/AAAAAAAADAw/Wodp1-gxz4E/s1600/magnet+holder+0625+slots+drawing.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="497" src="http://1.bp.blogspot.com/-MOwpQF3NtFk/Tvym_8Q7BZI/AAAAAAAADAw/Wodp1-gxz4E/s640/magnet+holder+0625+slots+drawing.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Proposed protective magnet holder&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&amp;nbsp;It's more complicated than my current design, so will be more expensive. &amp;nbsp;The exterior machining is to reduce the weight, but it doubles the price. This should weigh about 190 grams. &amp;nbsp;Without the outside machining, it would weigh about 270 grams. &amp;nbsp;Not sure if the extra cost is worth the reduced weight...&lt;br /&gt;&lt;br /&gt;I could also get it made out of aluminium, which would make it very light and a little less expensive.&amp;nbsp; The advantage of using steel is that the magnets stick to it and the attraction acts as a clamp while the epoxy sets.&amp;nbsp; An aluminium adapter would require that each magnet be individually clamped to prevent them from jumping out of their slots and sticking to one another.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-835801918267360056?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/835801918267360056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/sturmey-archer-dynohub-magnet-upgrade.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/835801918267360056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/835801918267360056'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/sturmey-archer-dynohub-magnet-upgrade.html' title='Sturmey Archer Dynohub magnet upgrade: progress report'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-p_3ErkrEbnw/TvfjzIVXTJI/AAAAAAAAC_E/X1iH5GD0H64/s72-c/IMG_5153.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-8591233106853097183</id><published>2011-12-27T14:07:00.000-05:00</published><updated>2011-12-27T14:07:09.458-05:00</updated><title type='text'>Upgrading the wedge base bulb in a Sturmey Archer tail lamp</title><content type='html'>I'm quite partial to the bullet-shaped tail lamps that were part of the &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-lamps-second-attempt.html"&gt;Sturmey Archer Dynohub lighting set&lt;/a&gt;&amp;nbsp;(and I'm not the &lt;a href="http://minisystem.ca/light_thief.html"&gt;only one&lt;/a&gt;). While the head lamp takes a standard E10/MES screw base bulb, the taillight takes a &lt;a href="http://www.sjscycles.co.uk/6v-01a-capless-bulb-for-sturmey-archer-rear-lights-hsd-410-prod13136/"&gt;hard-to-find&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Wedge_base"&gt;wedge base bulb&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-k59wOFoDvIg/TvfucXhxQjI/AAAAAAAADAg/bci_LRXP9E0/s1600/IMG_5167.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="240" src="http://4.bp.blogspot.com/-k59wOFoDvIg/TvfucXhxQjI/AAAAAAAADAg/bci_LRXP9E0/s320/IMG_5167.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Original capless wedge base bulb. Get 'em while you can at &lt;a href="http://www.sjscycles.co.uk/6v-01a-capless-bulb-for-sturmey-archer-rear-lights-hsd-410-prod13136/"&gt;sjscycles&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;When I&amp;nbsp;&lt;a href="http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html"&gt;converted my first set&lt;/a&gt;&amp;nbsp;of Sturmey Archer lamps to LEDs, I resorted to soldering a jumbo leaded LED onto a piece of PCB that I could wedge into the the bulb holder. &amp;nbsp;Now, in order to take advantage of the extremely bright red &lt;a href="http://www.cree.com/products/pdf/xlampxp-e.pdf"&gt;Cree XP-E&lt;/a&gt;, I used a slightly modified version of my &lt;a href="http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html"&gt;E10/MES LED heat sink&lt;/a&gt;&amp;nbsp;to make a wedge base LED bulb. &lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://media.digikey.com/Photos/Cree%20Photos/XPERED-L1-R250-00701.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="200" src="http://media.digikey.com/Photos/Cree%20Photos/XPERED-L1-R250-00701.jpg" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Cree XP-E red. 131 lumens @ 0.7A!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-uL_9M8QoKCw/TvkznFDRy7I/AAAAAAAAC_4/QzihKkhOvuY/s1600/IMG_5204.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="298" src="http://4.bp.blogspot.com/-uL_9M8QoKCw/TvkznFDRy7I/AAAAAAAAC_4/QzihKkhOvuY/s400/IMG_5204.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Copper heat sink for red Cree XP-E&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-qyWEWnZKgvg/TvkzrYpKwnI/AAAAAAAAC_8/l7RT19vUFME/s1600/IMG_5209.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="298" src="http://4.bp.blogspot.com/-qyWEWnZKgvg/TvkzrYpKwnI/AAAAAAAAC_8/l7RT19vUFME/s400/IMG_5209.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;LED board and wedge base board.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;The copper heat sink has a #4-40 tapped hole to mount a rectangular piece of PCB&amp;nbsp;perpendicular&amp;nbsp;to the LED platform with a machine screw. &amp;nbsp;Wires come through the heat sink platform and are soldered to the wedge contacts:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-XgFlLU3KYoM/TvfnygalFuI/AAAAAAAAC_M/RSzgNUgfXY8/s1600/IMG_5156.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-XgFlLU3KYoM/TvfnygalFuI/AAAAAAAAC_M/RSzgNUgfXY8/s400/IMG_5156.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-w7JkVUrF7P0/Tvfn95bFQ6I/AAAAAAAAC_Q/fcIWT_v9KWg/s1600/IMG_5157.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="298" src="http://2.bp.blogspot.com/-w7JkVUrF7P0/Tvfn95bFQ6I/AAAAAAAAC_Q/fcIWT_v9KWg/s400/IMG_5157.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Completed wedge base bulb with copper heat sink and red Cree XP-E&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;To get a good fit in the lamp's spring contacts I added a blob of solder at the base of each contact, on both sides. &amp;nbsp; A tight fit is essential as the heat sink assembly is much heavier than the original glass bulb.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-pdQziNJyKc8/TvfrCZRnOWI/AAAAAAAAC_U/P740aOKXyeI/s1600/IMG_5163.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-pdQziNJyKc8/TvfrCZRnOWI/AAAAAAAAC_U/P740aOKXyeI/s400/IMG_5163.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Original bulb and Cree XP-E replacement bulb mounted in lamp&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-wEhd258lvDI/TvfrKsukHaI/AAAAAAAAC-w/omuE9_H_Icc/s1600/IMG_5164.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-wEhd258lvDI/TvfrKsukHaI/AAAAAAAAC-w/omuE9_H_Icc/s400/IMG_5164.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-HZ_nwfyVQ1Y/TvfuLr5or7I/AAAAAAAAC-0/kf7AT4GNGoU/s1600/IMG_5165.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-HZ_nwfyVQ1Y/TvfuLr5or7I/AAAAAAAAC-0/kf7AT4GNGoU/s400/IMG_5165.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;The beautiful bullet!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The Cree XP-E has a maximum current rating of 0.7A. &amp;nbsp;In a passive dynamo system, it'll get up to 0.6A, so I'll need to ensure that the heat sinking is sufficient. &amp;nbsp;Unlike my &lt;a href="http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html"&gt;screw base LED bulb&lt;/a&gt;, there isn't really any thermal connection between the heat sink and the bulb base, preventing much heat transfer to the lamp body. &amp;nbsp;I'm hoping that it will run up to 0.7A in &lt;a href="http://minisystem.blogspot.com/2011/12/flashing-dynamo-light-prototype.html"&gt;flashing mode&lt;/a&gt;, the off time lowering the steady state heat sink temperature.&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-8591233106853097183?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/8591233106853097183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/upgrading-wedge-base-bulb-in-sturmey.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8591233106853097183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8591233106853097183'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/upgrading-wedge-base-bulb-in-sturmey.html' title='Upgrading the wedge base bulb in a Sturmey Archer tail lamp'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-k59wOFoDvIg/TvfucXhxQjI/AAAAAAAADAg/bci_LRXP9E0/s72-c/IMG_5167.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-2837783948481728711</id><published>2011-12-22T16:03:00.000-05:00</published><updated>2011-12-22T23:45:46.467-05:00</updated><title type='text'>Flashing dynamo light prototype</title><content type='html'>As I've &lt;a href="http://minisystem.blogspot.com/2011/09/tail-lamps-to-flash-or-not-to-flash.html"&gt;discussed previously&lt;/a&gt;, I'd like to build a dynamo powered lighting system with a powerful standlight and the option of having the lights flash. &amp;nbsp;This is a feature that doesn't seem to be&amp;nbsp;available&amp;nbsp;on&amp;nbsp;commercially&amp;nbsp;available dynamo lighting systems, which don't flash and typically have rather weak standlights. &amp;nbsp;It took me a long time to develop the circuit and I got a lot of help from the fine people on &lt;a href="http://candlepowerforums.com/"&gt;CPF&lt;/a&gt;, particularly in this &lt;a href="http://www.candlepowerforums.com/vb/showthread.php?319330-555-based-dynamo-powered-flasher-circuit"&gt;thread&lt;/a&gt;. &amp;nbsp;After a couple of months of tinkering I had a working circuit breadboarded. &amp;nbsp;It charges a 20F supercapacitor using a &lt;a href="http://minisystem.blogspot.com/2011/09/charging-supercapacitors.html"&gt;current limiting load switch&lt;/a&gt;&amp;nbsp;and uses a&lt;a href="http://diodes.com/zetex/_pdfs/3.0/pdf/ZXSC310.pdf"&gt; Zetex boost driver&lt;/a&gt; to power the LEDs while stopped. &amp;nbsp;A high side P-channel MOSFET switches the LEDs between dynamo power and capacitor power and a low-side N-channel &amp;nbsp;MOSFET is used to flash the LEDs with the output of a (special low-voltage CMOS) &lt;a href="http://en.wikipedia.org/wiki/555_timer_IC"&gt;555 timer&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Now the challenge was to turn the breadboarded circuit into something that could fit into the housing of a vintage lamp. &amp;nbsp;This is what I started with:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-7psiDDcaQAs/TvNymCW5hTI/AAAAAAAAC9U/YZZa_CZN0YM/s1600/IMG_5136.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-7psiDDcaQAs/TvNymCW5hTI/AAAAAAAAC9U/YZZa_CZN0YM/s640/IMG_5136.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Breadboarded dynamo circuit with standlight.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;First, I needed to capture the schematic:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-W87-8VZ76aI/TvNzHqP07vI/AAAAAAAAC8A/XlIbnAb4YR4/s1600/dynamolight.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="186" src="http://2.bp.blogspot.com/-W87-8VZ76aI/TvNzHqP07vI/AAAAAAAAC8A/XlIbnAb4YR4/s640/dynamolight.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Schematic of flashing dynamo standlight circuit (click to enlarge)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;I used &lt;a href="http://www.cadsoftusa.com/"&gt;EagleCAD&lt;/a&gt; to do this, which is a very capable and free piece of schematic capture and PCB layout software. &amp;nbsp;Most of the components I had to make in my own custom library, which I'll eventually post someday. &amp;nbsp;Most standard packages (SOT23, 0805, SOIC, etc) are already available. &amp;nbsp;I placed the parts as logically as I could and used the autorouter, which did a pretty darn good job of routing everything in a circle about 1.6" in diameter. &amp;nbsp;My design rules included larger minimum trace widths and more generous spacing around components than the default rules. After much revision, I wound up with a two-sided PCB design:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-WCYk9SF475A/TvNz3JmSZEI/AAAAAAAAC8s/hKzYuLjX_YU/s1600/dynamoPCB.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-WCYk9SF475A/TvNz3JmSZEI/AAAAAAAAC8s/hKzYuLjX_YU/s400/dynamoPCB.png" width="396" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;PCB layout in EagleCAD&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Sparkfun has an excellent PCB layout &lt;a href="http://www.sparkfun.com/tutorials/109"&gt;tutorial&lt;/a&gt; using EagleCAD. &amp;nbsp;I sent the Gerbers off to &lt;a href="http://batchpcb.com/index.php/Products"&gt;BatchPCB&lt;/a&gt;&amp;nbsp;and a few weeks later received the boards:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-UYLQGk-AEbw/TvN1ZjsCkHI/AAAAAAAAC9Y/2ApK-X2lwS8/s1600/IMG_5139.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-UYLQGk-AEbw/TvN1ZjsCkHI/AAAAAAAAC9Y/2ApK-X2lwS8/s400/IMG_5139.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-VxVHSWECBFc/TvN1alp36yI/AAAAAAAAC9c/YSlNqOzRzfI/s1600/IMG_5140.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-VxVHSWECBFc/TvN1alp36yI/AAAAAAAAC9c/YSlNqOzRzfI/s400/IMG_5140.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;BatchPCB boards. Not bad for $3 each!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;Now came the hard part. &amp;nbsp;In order to keep things small I chose all surface mount parts. &amp;nbsp;I don't have much experience soldering SMT components, but there are several tutorials on Youtube plus some from &lt;a href="http://www.sparkfun.com/tutorials/96"&gt;Sparkfun&lt;/a&gt;. &amp;nbsp;After a couple of hours I felt I had the hang of it and wound up with a reasonably good looking board. &amp;nbsp; For most components I used a soldering iron and&amp;nbsp;occasionally&amp;nbsp;would resort to using a hot air rework station.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-fVyWhBO6wtQ/TvNyfT-XROI/AAAAAAAAC8w/wjnIZJLOt0g/s1600/IMG_5132.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="298" src="http://4.bp.blogspot.com/-fVyWhBO6wtQ/TvNyfT-XROI/AAAAAAAAC8w/wjnIZJLOt0g/s400/IMG_5132.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-uhOxieFhRAs/TvNygVyx8AI/AAAAAAAAC9A/siQBjXOXR7c/s1600/IMG_5133.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-uhOxieFhRAs/TvNygVyx8AI/AAAAAAAAC9A/siQBjXOXR7c/s400/IMG_5133.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-rn6NDbMONfs/TvNyjPf3R3I/AAAAAAAAC9E/0sh7_7tX8cM/s1600/IMG_5135.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-rn6NDbMONfs/TvNyjPf3R3I/AAAAAAAAC9E/0sh7_7tX8cM/s400/IMG_5135.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Populated PCB. Huge 20F supercapacitor dominates!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;It really wasn't as bad as I thought it would be. &amp;nbsp;Fine tweezers are essential! &amp;nbsp;Having a stereomicroscope didn't hurt either (all the time I spent dissecting fruit fly larvae brains and injecting zebrafish embryos is finally paying off...).&lt;br /&gt;&lt;br /&gt;To my amazement, the whole thing worked on the first try. &amp;nbsp;The only problem was that I didn't include an input capacitor for the 555 timer which I had on the breadboard. &amp;nbsp;Without it, the 555's output is very erratic while the supercapacitor is charging. &amp;nbsp;I soldered a 10µF leaded capacitor across pin 1 (GND) and pin 8 (Vcc) of the 555 and it worked exactly as it did on the breadboard. &amp;nbsp;Revision 1.1 of the PCB will have to correct that!&lt;br /&gt;&lt;br /&gt;The 6.8V Zener, which regulates the input voltage, gets darned hot as it shunts all the dynamo current during the off cycle in flashing mode. &amp;nbsp;This could cause a potential failure of the Zener. &amp;nbsp;I need to test it extensively to see if it fails. If it does, then I'll have to figure out what to do with the dynamo voltage when the LEDs are&amp;nbsp;disconnected&amp;nbsp;during the off period of the flash. &amp;nbsp;No ideas yet.&lt;br /&gt;&lt;br /&gt;Another potential pitfall is that the LEDs are connected in series, so if the rear light becomes disconnected, the &amp;nbsp;series circuit will be broken and the front light won't work. &amp;nbsp;The advantage of being in series is that both LEDs get the same current, simplifying the standlight circuit. For now, I think it's a good compromise.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-2837783948481728711?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/2837783948481728711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/flashing-dynamo-light-prototype.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2837783948481728711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2837783948481728711'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/flashing-dynamo-light-prototype.html' title='Flashing dynamo light prototype'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-7psiDDcaQAs/TvNymCW5hTI/AAAAAAAAC9U/YZZa_CZN0YM/s72-c/IMG_5136.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-1844618901110207911</id><published>2011-12-21T18:03:00.000-05:00</published><updated>2011-12-21T18:12:30.799-05:00</updated><title type='text'>Sturmey Archer GH6 Dynohub magnetic keeper ring</title><content type='html'>The Sturmey Archer Dynohub 'Keeper Ring' has become the stuff of legends. Frequently mentioned in discussions about &lt;a href="http://www.sheldonbrown.com/dynohubs.html"&gt;servicing the Dynohub&lt;/a&gt;&amp;nbsp;but never described, it is as rare as hens teeth. &amp;nbsp;It is, apparently, essential to maintain the GH6 ring magnet's field strength during circumstances in which the armature needs to removed. &amp;nbsp; A &lt;a href="http://www.google.ca/search?q=dynohub+keeper+ring"&gt;google search&lt;/a&gt; did turn up one on &lt;a href="http://www.worthpoint.com/worthopedia/sturmey-archer-dynohub-keeper-ring-167204771"&gt;auction&lt;/a&gt; back in February, which even included a photograph:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-zIgO92efgWk/TvJVAsWjo_I/AAAAAAAAC6o/I1Aly8Z6_R0/s1600/keeperring.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="316" src="http://3.bp.blogspot.com/-zIgO92efgWk/TvJVAsWjo_I/AAAAAAAAC6o/I1Aly8Z6_R0/s320/keeperring.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;The only photograph of a Dynohub keeper ring I could find on the &lt;a href="http://www.worthpoint.com/worthopedia/sturmey-archer-dynohub-keeper-ring-167204771"&gt;internet&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;i&gt;Update: just after posting this I found a wealth of information on the keeper ring in this &lt;a href="http://www.bikeforums.net/showthread.php/718697-Sturmey-Archer-Dynohub-keeper-ring?highlight=dynohub+keeper+ring"&gt;thread&lt;/a&gt; on bike forums, including dimensions and part number!&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Other than infrequently turning up on eBay, they are unavailable.&amp;nbsp;&lt;a href="http://3speedtour.com/"&gt;Gentleman Cyclist&lt;/a&gt; does, however, mention on their &lt;a href="http://www.home.earthlink.net/~steinborn/gentlemancyclistmerchandise.htm"&gt;parts page&lt;/a&gt; that they will soon have keeper rings for the Dynohub (you should take a look at the other interesting bits and bobs they carry for the 3-speed enthusiast).&lt;br /&gt;&lt;br /&gt;Well, I had an old Dynohub from '75 that was rusty as all heck. It came from a trashed ladies Raleigh Superbe that was languishing in the basement of &lt;a href="http://www.yelp.ca/biz/pollys-recycle-toronto"&gt;Polly's Recycle&lt;/a&gt; in the east end. &amp;nbsp;The armature could barely spin within the ring magnet and the whole assembly was covered in a coat of rusty grit. &amp;nbsp;Usually a Dynohub can be serviced without the need for removing the armature from the ring magnet, but in this particular hub's case, the armature need a good going over with a wire brush. &amp;nbsp;So, I had my&amp;nbsp;&lt;a href="http://www.east-master.com/en/home/index.asp"&gt;Internet Material Synthesizer&lt;/a&gt;&amp;nbsp;make one out of mild steel #45. &amp;nbsp;Now, I think my &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html"&gt;Dynohub magnet upgrade &lt;/a&gt;makes the original magnet kind of obsolete, but I was getting a bunch of other parts made so I thought I'd get a keeper ring made as well. &amp;nbsp;It arrived today:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-0sRgINRC32Y/TvJdjE23aCI/AAAAAAAAC7M/Ii9hfPEqlLI/s1600/IMG_5122.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-0sRgINRC32Y/TvJdjE23aCI/AAAAAAAAC7M/Ii9hfPEqlLI/s400/IMG_5122.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Machined Dynohub Keeper Ring&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;It has a 2.700" outer diameter, the same as the armature, and is 0.75" thick.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-67zpNlzKoes/TvJUbAiIibI/AAAAAAAAC7U/3roZAhrT6tk/s1600/IMG_5113.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-67zpNlzKoes/TvJUbAiIibI/AAAAAAAAC7U/3roZAhrT6tk/s400/IMG_5113.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Dynohub Alnico ring magnet with armature. &amp;nbsp;Don't remove that magnet without a keeper!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-sM1phFTnPSM/TvJUYL2_VgI/AAAAAAAAC7Y/52d56le_h-I/s1600/IMG_5112.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="298" src="http://4.bp.blogspot.com/-sM1phFTnPSM/TvJUYL2_VgI/AAAAAAAAC7Y/52d56le_h-I/s400/IMG_5112.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Dynohub ring magnet with keeper&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Does it work? I don't know. &amp;nbsp;I pushed the armature out with the keeper, so the field wasn't disrupted. &amp;nbsp;The magnet feels about as strong as it did before the armature was removed. &amp;nbsp;The design is very similar to the original, so I expect it's doing its job. &lt;br /&gt;&lt;br /&gt;Do you want one? &amp;nbsp;I can easily get more made. &amp;nbsp;They would cost between $15-$30 each, depending on number I get made in one go.&amp;nbsp;&amp;nbsp;I'm also thinking of offering a &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html"&gt;magnet upgrade&lt;/a&gt; for the Dynohub (this is still a work in progress though...)&lt;br /&gt;&lt;br /&gt;If you're interested send me an email (find the address in my &lt;a href="http://www.blogger.com/profile/02307045935296201366"&gt;profile&lt;/a&gt;).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-1844618901110207911?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/1844618901110207911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/sturmey-archer-gh6-dynohub-magnetic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/1844618901110207911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/1844618901110207911'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/sturmey-archer-gh6-dynohub-magnetic.html' title='Sturmey Archer GH6 Dynohub magnetic keeper ring'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-zIgO92efgWk/TvJVAsWjo_I/AAAAAAAAC6o/I1Aly8Z6_R0/s72-c/keeperring.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-3789506645312860432</id><published>2011-12-18T11:50:00.000-05:00</published><updated>2011-12-18T18:39:55.493-05:00</updated><title type='text'>Copper-based LED bulb fitting and performance testing</title><content type='html'>I must admit that I was rather enamoured with the elegant design of the finned copper heat sink I had made. &amp;nbsp;Unfortunately, it&amp;nbsp;&lt;a href="http://minisystem.blogspot.com/2011/12/hot-led-lux-readings-of-cree-xp-g-on.html"&gt;didn't actually perform as well as I'd hoped&lt;/a&gt;, so I revised the design with the aim of getting the LED lower in the parabola of the reflector and giving up on improving the thermal properties (which were just OK). &amp;nbsp;This is basically just a chopped down version of the previous design with a larger hole through the centre and a couple of countersunk holes on the top to ensure complete electrical isolation from the PCB.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-gb8X1vwg7IA/Tu1ylUGTvyI/AAAAAAAAC3M/2X7ie_AhltU/s1600/pillar_drawing.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="372" src="http://4.bp.blogspot.com/-gb8X1vwg7IA/Tu1ylUGTvyI/AAAAAAAAC3M/2X7ie_AhltU/s400/pillar_drawing.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Revised LED bulb pillar heat sink design&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;The &lt;a href="http://www.east-master.com/en/home/index.asp"&gt;Internet Material Synthesizer&lt;/a&gt;&amp;nbsp;took about 10 days to make this:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-QLAin0Rl9qI/Tu5KZQ4ea8I/AAAAAAAAC34/OagJp1XAUEI/s1600/IMG_5102.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="298" src="http://1.bp.blogspot.com/-QLAin0Rl9qI/Tu5KZQ4ea8I/AAAAAAAAC34/OagJp1XAUEI/s400/IMG_5102.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I soldered the Cree XP-G LED (still tricky even with a &lt;a href="http://www.sparkfun.com/products/10706"&gt;hot air rework station&lt;/a&gt;), ran the wires and used a thermal epoxy to stick it into an E10/MES Edison threaded bulb base:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-7FTga1WpMPs/Tu5JWsr8YZI/AAAAAAAAC4A/OQTtutyk4Bw/s1600/IMG_5085.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="298" src="http://2.bp.blogspot.com/-7FTga1WpMPs/Tu5JWsr8YZI/AAAAAAAAC4A/OQTtutyk4Bw/s400/IMG_5085.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-GgZkrsaYmlM/Tu5JdEiEopI/AAAAAAAAC4E/GcFfOZjfEXE/s1600/IMG_5089.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-GgZkrsaYmlM/Tu5JdEiEopI/AAAAAAAAC4E/GcFfOZjfEXE/s400/IMG_5089.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;E10/MES Edison LED bulb with copper heat sink&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;This can now be threaded into any flashlight or vintage bike lamp that takes a miniature screw bulb (albeit in need of a separate driver circuit). &amp;nbsp;I first tried it out in a &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-lamps-second-attempt.html"&gt;Sturmey Archer head lamp&lt;/a&gt;:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-DHqcULbU3Ro/Tu5KGcnNvII/AAAAAAAAC4M/yVbUF49EKV0/s1600/IMG_5099.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-DHqcULbU3Ro/Tu5KGcnNvII/AAAAAAAAC4M/yVbUF49EKV0/s400/IMG_5099.JPG" width="300" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Flimsy bulb holder of SA headlight&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Unfortunately, the SA lamp has a rather low quality and flimsy way of mounting the bulb in the reflector. &amp;nbsp;The actual bulb holder is a thin piece of stamped metal that doesn't hold the bulb straight. &amp;nbsp;This is then&amp;nbsp;pressed&amp;nbsp;in and held by friction in the base of the reflector, where the positive bulb end makes contact with a springy metal tab:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-tt9JDzeRvEc/Tu5KOwV0ATI/AAAAAAAAC4Q/vGWJ4SvgPfA/s1600/IMG_5100.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-tt9JDzeRvEc/Tu5KOwV0ATI/AAAAAAAAC4Q/vGWJ4SvgPfA/s400/IMG_5100.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;The switch quality is terrible and even a NOS lamp had enough oxidation on the contacts to make switching finicky and provided enough resistance that getting the full current available current from the power supply wasn't possible. So, the original switch and contacts are useless. I'll have to retrofit a higher quality switch on the bottom of the lamp and leave the original switch purely for aesthetics.&lt;br /&gt;&lt;br /&gt;Ok, so I've given up on fitting a screw bulb into the original holder of the SA head lamp. I think I can design something that can be pressed (and maybe epoxied) into the reflector. &amp;nbsp;It will be simpler, won't rely on the flaky original contacts and will probably have better thermal properties.&lt;br /&gt;&lt;br /&gt;So, how does the bulb perform in a decent quality lamp holder? For this, I turned to the trusty and well-designed bulb holder of a &lt;a href="http://www.blogger.com/"&gt;&lt;span id="goog_221540746"&gt;&lt;/span&gt;Luxor&lt;span id="goog_221540747"&gt;&lt;/span&gt;&lt;/a&gt; lamp. &amp;nbsp;Conveniently&amp;nbsp;(and unlike SA lamps), both head and tail lights use the same well-made bulb holder:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-iZS9UUCB0Nw/Tu5Z450-5WI/AAAAAAAAC4c/Es5V9GuzyfE/s1600/IMG_5106.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-iZS9UUCB0Nw/Tu5Z450-5WI/AAAAAAAAC4c/Es5V9GuzyfE/s400/IMG_5106.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Luxor makes a better bulb holder than Sturmey Archer&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;It uses side springs to snap securely into a the base of the lens, which is then fitted into the lamp body with clips. &amp;nbsp;I drove the LED at different currents from a bench top supply and measured the temperature with my thermocouple-equipped multimeter.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ifOZEj0wqps/Tu5JwOCkkZI/AAAAAAAAC4I/9lPny1UlZD0/s1600/IMG_5093.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-ifOZEj0wqps/Tu5JwOCkkZI/AAAAAAAAC4I/9lPny1UlZD0/s400/IMG_5093.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;LED bulb ready for testing! &amp;nbsp;Brown wire is thermocouple.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Now that I've automated data logging of wheel speed, LED current and &lt;a href="http://minisystem.blogspot.com/2011/12/logging-lux-data-with-hacked-dx-light.html"&gt;light output&lt;/a&gt;, I should probably just go ahead and make an &lt;a href="http://www.ladyada.net/learn/sensors/thermocouple.html"&gt;Arduino-based thermocouple&lt;/a&gt; to log temperature as well. &amp;nbsp;However, that hasn't happened yet, so all I did was log lux data over 20 minutes, and make note of the steady state end temperature. &lt;br /&gt;&lt;br /&gt;One requirement of my LED bulb is that it outperform&amp;nbsp;commercially&amp;nbsp;available E10 LED bulbs, so I pitted my bulb against the (I think) now discontinued&amp;nbsp;TerraLUX MiniStar1&amp;nbsp;TLE-1S (the flanged version still seems to be &lt;a href="http://www.amazon.com/TerraLUX-TLE-1F-MiniStar1-Replacement-Flashlight/dp/B000B868MA"&gt;available&lt;/a&gt;). &amp;nbsp;It is rated at 50 lumens and is the same bulb that I used in my original (and doomed) &lt;a href="http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html"&gt;Sturmey Archer LED retrofit.&lt;/a&gt; &amp;nbsp;I also tried out the 35 lumen&amp;nbsp;&lt;a href="http://www.superbrightleds.com/cgi-bin/store/index.cgi?action=DispPage&amp;amp;category=LIGHTS&amp;amp;Page2Disp=%2Fpt%2Fbulbs.html"&gt;E10-WHP&lt;/a&gt;, but it put out a paltry 6 lux at 1 meter, so I didn't bother logging the data. &amp;nbsp;The TLE-1S is rated 1W with its own built in driver. Given 3.4V, it sucked up 0.35A, &amp;nbsp;so about 1.2W.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-0O-q7FORC84/Tu5ghvqzHZI/AAAAAAAAC48/95MjzG_kJ5E/s1600/tle-1s-011.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-0O-q7FORC84/Tu5ghvqzHZI/AAAAAAAAC48/95MjzG_kJ5E/s1600/tle-1s-011.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;The defending champion: TLE-1S&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Here are the results:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-j5szBr4ts78/Tu5fBr8hhwI/AAAAAAAAC4k/IFK44meYbf0/s1600/led+bulb+lux+data.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="507" src="http://3.bp.blogspot.com/-j5szBr4ts78/Tu5fBr8hhwI/AAAAAAAAC4k/IFK44meYbf0/s640/led+bulb+lux+data.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Lux data (no secondary optics) collected every 30 seconds over twenty minutes.&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Great, the TLE-1S gets blown out of the water by my LED bulb. &amp;nbsp;It also got&amp;nbsp;surprisingly&amp;nbsp;hot (74.5°C!), although its output didn't drop much as a consequence. Now, to be fair, I didn't collect data for my bulb at 0.35A, but that's because I have no intention of running it at 0.35A. &amp;nbsp;Ultimately, it will get any one of the three currents tested: 0.5-0.6A from direct dynamo output or 0.75-1A from a &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html"&gt;dynohub magnet upgrade&lt;/a&gt; or &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt;buck driver&lt;/a&gt;. &amp;nbsp;Still, speaking as a former scientist, this experiment was not properly controlled...&lt;br /&gt;&lt;br /&gt;Surprisingly, the revised LED bulb performance is better than my &lt;a href="http://minisystem.blogspot.com/2011/12/hot-led-lux-readings-of-cree-xp-g-on.html"&gt;original design&lt;/a&gt;;&amp;nbsp;although the initial output is about 3-5 lux lower across the board (this could be due to LED-to-LED variability as well as the fact that I burned off the LED dome of my first prototype!), the thermal performance is better, resulting in lower steady state temperatures and, consequently, less light drop. &amp;nbsp;This is probably because the bulb base is in contact with the fairly bulky Luxor bulb holder, which is increasing the surface area by at least two fold. &amp;nbsp;Although the contact area between the bulb base and holder is small it seems to be enough to improve thermal performance.&lt;br /&gt;&lt;br /&gt;Overall, I'm pleased with the result. &amp;nbsp;This bulb will work at high currents in a variety of vintage tail lamps and, at the very least, in the &lt;a href="http://www.flickr.com/photos/10703870@N06/sets/72157624583329882/detail/"&gt;Luxor head lamp&lt;/a&gt;. &amp;nbsp;Unfortunately, the bulb holders of both the Sturmey Archer head lamp and the &lt;a href="http://homepage3.nifty.com/ClassicBicycles/brands/radios.html"&gt;Radios&lt;/a&gt; &lt;a href="http://minisystem.blogspot.com/2011/12/vintage-radios-bicycle-lamps.html"&gt;No. 18&lt;/a&gt; are too flimsy and will require individualized&amp;nbsp;solutions. &amp;nbsp;I think I can design a simple replacement LED/holder combination &amp;nbsp;that won't require any modification to the lamp.&lt;br /&gt;&lt;br /&gt;One problem is that I still think the LED is a little high in the parabola of the Luxor reflector. &amp;nbsp;Not sure how much more length I can shave off my copper pillar while leaving enough room for mounting and wire routing holes...&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'MS UI Gothic';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'MS UI Gothic';"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'MS UI Gothic';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'MS UI Gothic';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-3789506645312860432?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/3789506645312860432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3789506645312860432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3789506645312860432'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/copper-based-led-bulb-fitting-and.html' title='Copper-based LED bulb fitting and performance testing'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-gb8X1vwg7IA/Tu1ylUGTvyI/AAAAAAAAC3M/2X7ie_AhltU/s72-c/pillar_drawing.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-8303573430149330871</id><published>2011-12-15T00:53:00.000-05:00</published><updated>2011-12-30T17:05:15.493-05:00</updated><title type='text'>Logging lux data with a hacked DX light meter</title><content type='html'>&lt;div style="text-align: left;"&gt;I've been using an &lt;a href="http://www.arduino.cc/en/Main/arduinoBoardUno" style="text-align: -webkit-auto;"&gt;Arduino Uno&lt;/a&gt;&lt;span class="Apple-style-span"&gt; to log data for my &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt;buck converter project&lt;/a&gt;. &amp;nbsp;I've been logging the LED current using a &lt;/span&gt;&lt;a href="http://www.diodes.com/datasheets/ZXCT1009.pdf" style="text-align: -webkit-auto;"&gt;high side current monitor&lt;/a&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;and the wheel speed on my &lt;/span&gt;&lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-3-dynamo-wheel-testing-jig.html" style="text-align: -webkit-auto;"&gt;testing jig&lt;/a&gt;&lt;span class="Apple-style-span"&gt; using the pulsed output of the dynamo, which I can count using a clever&lt;/span&gt;&lt;a href="http://www.atmel.com/dyn/resources/prod_documents/doc2508.pdf" style="text-align: -webkit-auto;"&gt; zero cross detector&lt;/a&gt;&lt;span class="Apple-style-span"&gt; that is inherent to the inputs of all AVR microcontrollers. &amp;nbsp;The data is sent to a computer via serial interface. &amp;nbsp;Measuring LED current is all well and good, but the real performance measurement is the LED light output, which is not only current dependent, but also &lt;/span&gt;&lt;a href="http://minisystem.blogspot.com/2011/12/hot-led-lux-readings-of-cree-xp-g-on.html" style="text-align: -webkit-auto;"&gt;temperature dependent&lt;/a&gt;&lt;span class="Apple-style-span"&gt;. &amp;nbsp;So, I got a cheap-o &lt;/span&gt;&lt;a href="http://www.dealextreme.com/p/digital-lux-meter-with-stand-200000lux-5100" style="text-align: -webkit-auto;"&gt;digital lux meter&lt;/a&gt;&lt;span class="Apple-style-span"&gt; from DealExtreme branded as 'Ceto', which allowed me to take a few readings to see how the light output dropped with increased LED temperature. &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://www.dealextreme.com/productimages/sku_5100_1.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://www.dealextreme.com/productimages/sku_5100_1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;DealExtreme SKU 5100 digital light meter&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;It would be nice, though, if I could log this data digitally in the same way I can log current and velocity data. &amp;nbsp;I thought there might be a way to decode the signal going to the LCD to get a digital output, but it turns out that this is &lt;a href="http://code.google.com/p/casainho-projects/wiki/SdCardBathroomScale"&gt;way complicated&lt;/a&gt;, requiring, at the very least, a datasheet for the LCD (and a touch of genius doesn't hurt either). &amp;nbsp;Disappointed, I resorted to looking up the identifiable ICs on the printed circuit board. There are some &lt;a href="http://www.alldatasheet.com/view.jsp?Searchword=CD4070BP"&gt;quad gates&lt;/a&gt;,&amp;nbsp;&lt;a href="http://www.alldatasheet.com/view.jsp?Searchword=CD4066BP"&gt;bilateral switches&lt;/a&gt;&amp;nbsp;and a &lt;a href="http://www.nxp.com/documents/data_sheet/HEF4013B.pdf"&gt;dual flip flop&lt;/a&gt;, which I speculate are involved in analog to digital conversion and range switching. &amp;nbsp;Anyway, there was one lonely 27M2BC dual opamp right by the sensor input that looked promising. &amp;nbsp;The &lt;a href="http://www.ti.com/lit/ds/symlink/tlc27m2b.pdf"&gt;datasheet&lt;/a&gt; even has a little "Photo-Diode Amplifier" application circuit on page 32.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-9PZIiQ7omn8/Tul9S5c7PyI/AAAAAAAAC2k/E6_gBKX3wHk/s1600/IMG_5053.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="476" src="http://3.bp.blogspot.com/-9PZIiQ7omn8/Tul9S5c7PyI/AAAAAAAAC2k/E6_gBKX3wHk/s640/IMG_5053.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;27M2B opamp on lux meter circuit board&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-A2ZRIUXsvs0/Tul4DJyROTI/AAAAAAAAC24/0ToXC6-0AGE/s1600/IMG_5052.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="476" src="http://3.bp.blogspot.com/-A2ZRIUXsvs0/Tul4DJyROTI/AAAAAAAAC24/0ToXC6-0AGE/s640/IMG_5052.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Pin 7 has an output whose voltage matches the lux reading on the LCD&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;I probed around a bit to see if the designers had used the same circuit in the datasheet, but quickly found out that this chip didn't have the same pinouts as the label on the package suggested. Maybe it's a counterfeit? The Texas Instruments logo sure does look a bit fuzzy. &amp;nbsp;In any case, I found one pin (pin 7) whose voltage changes with light input, from 0 to about 2.2V. &amp;nbsp;Turns out the lux value displayed on the LCD is a base 10 multiple of the voltage on pin 7, the order of magnitude being determined by the range switch. &amp;nbsp;For example, when in the 2000 lux range, 0.178V = 178 lux:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-xYh8Mkv6Aog/Tul4TPIa0SI/AAAAAAAAC28/GLJLGN-EJPw/s1600/IMG_5069.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="476" src="http://3.bp.blogspot.com/-xYh8Mkv6Aog/Tul4TPIa0SI/AAAAAAAAC28/GLJLGN-EJPw/s640/IMG_5069.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Opamp output voltage is scaled by some factor of 10 to the actual lux reading&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;So, all that needs to be done is to read the voltage on the opamp's pin into the Arduino, multiply according to the range setting and be done with it. &amp;nbsp;The only issue is that my current monitor is read relative to the Arduino's 1.1V internal reference, so any value over 1.1 volts will be clipped by the ADC. &amp;nbsp;This essentially halves the lux value that each range can read, which isn't too big a deal. &amp;nbsp;The default reference of 5V would allow the full range to be measured. &lt;br /&gt;&lt;br /&gt;I put a 3.5 mm mono jack in the front panel to get the signal out to the Arduino:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-0dC0MbMlgDk/Tul4NKMdkTI/AAAAAAAAC3A/AdvJsVTEGa4/s1600/IMG_5062.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-0dC0MbMlgDk/Tul4NKMdkTI/AAAAAAAAC3A/AdvJsVTEGa4/s640/IMG_5062.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Pin 7 is brought out to the front panel via 3.5 mm mono jack&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Some tweaking in code was required to get an accurate voltage reading. I'm using a &lt;a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1208715493/11"&gt;fast ADC conversion&lt;/a&gt; on the Arduino, which makes things a little noisier.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-eNIPULGoG0U/Tul4UXL1acI/AAAAAAAAC2E/p2Pk5LdbxHA/s1600/IMG_5072.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-eNIPULGoG0U/Tul4UXL1acI/AAAAAAAAC2E/p2Pk5LdbxHA/s640/IMG_5072.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Arduino pulling data from lux meter&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;So, now I'll be able to gather lux data at different speeds!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-8303573430149330871?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/8303573430149330871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/logging-lux-data-with-hacked-dx-light.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8303573430149330871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8303573430149330871'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/logging-lux-data-with-hacked-dx-light.html' title='Logging lux data with a hacked DX light meter'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-9PZIiQ7omn8/Tul9S5c7PyI/AAAAAAAAC2k/E6_gBKX3wHk/s72-c/IMG_5053.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-7468548003428354419</id><published>2011-12-13T23:24:00.000-05:00</published><updated>2011-12-13T23:24:58.051-05:00</updated><title type='text'>Vintage Radios bicycle lamps</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-HyCkJJbCXI8/TugcJFP-zlI/AAAAAAAAC0c/WsnZS7neYDE/s1600/PhareRadios_C.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" src="http://4.bp.blogspot.com/-HyCkJJbCXI8/TugcJFP-zlI/AAAAAAAAC0c/WsnZS7neYDE/s320/PhareRadios_C.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;I've only been able to find a &lt;a href="http://aldoblog2008.blogspot.com/2008/11/here-are-some-nice-detail-views-of.html"&gt;little&lt;/a&gt; bit about these lamps. &amp;nbsp;I have a Radios No. 18 head lamp. Its reflector is slightly splotchy and tarnished and there is a little dent at the point. &amp;nbsp;They are a pretty and classic example of the streamlined bullet style of the era with a little Art Deco flare on the spring loaded lens release. &amp;nbsp; A recent auction on Ebay France turned up a couple of really nice specimens. &amp;nbsp; Unfortunately, somebody else wanted them more badly than I did. &amp;nbsp; Photos are from the &lt;a href="http://myworld.ebay.com/1649philippe/?_trksid=p4340.l2559"&gt;seller&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ydBkJ-alggQ/TugcHLaM_nI/AAAAAAAAC0U/gj6XxrXmNYs/s1600/PhareRadios_B.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-cJGlz542hsU/TugcCuu_apI/AAAAAAAAC0E/uIdRxuDtxio/s1600/PhareRadios_A.jpg" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="274" src="http://1.bp.blogspot.com/-cJGlz542hsU/TugcCuu_apI/AAAAAAAAC0E/uIdRxuDtxio/s320/PhareRadios_A.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ydBkJ-alggQ/TugcHLaM_nI/AAAAAAAAC0U/gj6XxrXmNYs/s1600/PhareRadios_B.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="263" src="http://2.bp.blogspot.com/-ydBkJ-alggQ/TugcHLaM_nI/AAAAAAAAC0U/gj6XxrXmNYs/s400/PhareRadios_B.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-BoUMqZa58gI/TugcKvW_TEI/AAAAAAAAC0k/23mbospBW_U/s1600/PhareRadios_D.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="255" src="http://2.bp.blogspot.com/-BoUMqZa58gI/TugcKvW_TEI/AAAAAAAAC0k/23mbospBW_U/s400/PhareRadios_D.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;They seem to be going up in price with some NOS examples going for over $100. &amp;nbsp;Someday I'd like to get a nicer No. 18 like the one pictured here, with what looks like a spotless and well-preserved reflector. &amp;nbsp;The fender-mounted tail lamp is also very beautiful:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-jvpWxXIWBug/TugcEgQzQqI/AAAAAAAAC0M/ztYKywig0vs/s1600/FeuRadios_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="268" src="http://3.bp.blogspot.com/-jvpWxXIWBug/TugcEgQzQqI/AAAAAAAAC0M/ztYKywig0vs/s400/FeuRadios_1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-7468548003428354419?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/7468548003428354419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/vintage-radios-bicycle-lamps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7468548003428354419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7468548003428354419'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/vintage-radios-bicycle-lamps.html' title='Vintage Radios bicycle lamps'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-HyCkJJbCXI8/TugcJFP-zlI/AAAAAAAAC0c/WsnZS7neYDE/s72-c/PhareRadios_C.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-501620305630508088</id><published>2011-12-09T12:25:00.000-05:00</published><updated>2011-12-19T21:43:25.281-05:00</updated><title type='text'>Hot LED: lux readings of a Cree XP-G on a copper heatsink</title><content type='html'>&lt;div&gt;After musing about it for a while, I got some advice from Kevin, of &lt;a href="http://www.lambdalights.com/"&gt;Lambda Lights&lt;/a&gt;, on designing a copper heat sink for my&lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-1-making-led-light-bulb.html"&gt; LED E10 bulb project&lt;/a&gt;. &amp;nbsp;Kevin's elegant solution to heat sinking is to solder the LED's thermal pad directly to a copper nub poking through a slot milled in the PCB. &amp;nbsp;However, he ultimately concluded that there would be little point to machining pillars out of copper for an LED light bulb application as the heat has nowhere to go beyond the surface of the copper (ie. it is not attached to a larger heat sink or in contact with a housing or chassis of any kind). &amp;nbsp; My enthusiasm and greenness beat out Kevin's sage wisdom and I went ahead and had a prototype copper heat sink made for a &lt;a href="http://www.cree.com/products/xlamp_xpg.asp"&gt;Cree XLamp XP-G&lt;/a&gt;. &amp;nbsp;I had them machined by a &lt;a href="http://www.east-master.com/en/home/index.asp"&gt;company&lt;/a&gt; in Shenzhen that did a great job for a great price (less than one tenth what a couple of USA prototyping services quoted me). &amp;nbsp;I reasoned that adding a few fins would aid in shedding heat to the surrounding air, so the design became fairly baroque:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-D2TXm4B9bY0/Tu_1hH9fwYI/AAAAAAAAC5U/zqQgg5VNIS0/s1600/LED+pillar+Dennis+page.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="569" src="http://3.bp.blogspot.com/-D2TXm4B9bY0/Tu_1hH9fwYI/AAAAAAAAC5U/zqQgg5VNIS0/s640/LED+pillar+Dennis+page.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/--DMuJ7vqZkA/TuGLacr4gFI/AAAAAAAACwo/tYX6ORBzE3Y/s1600/LED+bulb+pillar+v1.3-2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="267" src="http://2.bp.blogspot.com/--DMuJ7vqZkA/TuGLacr4gFI/AAAAAAAACwo/tYX6ORBzE3Y/s320/LED+bulb+pillar+v1.3-2.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-MNsA5yyXreE/TuGLc5cZslI/AAAAAAAACww/L207qKVQKdA/s1600/LED+bulb+pillar+v1.3.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="307" src="http://3.bp.blogspot.com/-MNsA5yyXreE/TuGLc5cZslI/AAAAAAAACww/L207qKVQKdA/s320/LED+bulb+pillar+v1.3.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Copper LED heat sink for Cree XP-G. The fins add about 2 square inches of surface area.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In a nifty kind of internet 'digital to analogue' conversion, my design went from virtuality to reality in 10 days:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-sWhmoKs3Y8g/TuGVT3-sSJI/AAAAAAAACxk/1U6SSHCRFzM/s1600/IMG_4966.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-sWhmoKs3Y8g/TuGVT3-sSJI/AAAAAAAACxk/1U6SSHCRFzM/s400/IMG_4966.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-PVggExG0kmw/TuGRC_mMuTI/AAAAAAAACxY/bMJ_R4x094o/s1600/IMG_4968.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-PVggExG0kmw/TuGRC_mMuTI/AAAAAAAACxY/bMJ_R4x094o/s400/IMG_4968.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-eznBiwoJzz8/TuGRJ0gyjvI/AAAAAAAACxc/s2CgY6JVadk/s1600/IMG_4961.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-eznBiwoJzz8/TuGRJ0gyjvI/AAAAAAAACxc/s2CgY6JVadk/s400/IMG_4961.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;Copper nub pokes through hole milled in PCB&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;For the first time I used Seeed Studio's (yes, there are 3 Es there!) &lt;a href="http://www.seeedstudio.com/depot/fusion-pcb-service-p-835.html"&gt;Fusion PCB service&lt;/a&gt;, which turned out to be cheaper and faster than than &lt;a href="http://batchpcb.com/"&gt;BatchPCB&lt;/a&gt;, although the board quality doesn't seem to be quite as nice. &amp;nbsp;The main impetus for using Seeed was that they can mill internal slots in their boards, whereas BatchPCB cannot. &amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;I soldered the LED on to the board and heat sink with a heat gun, which proved to be a challenge; I quite literally blackened one side of the PCB and melted off the dome of the LED! &amp;nbsp;The LED survived, although I don't know if its performance is at all affected by its rather rough (and out of spec) treatment. &amp;nbsp;This experience prompted me to finally invest in a hot air rework station, which is currently in the mail.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-O5L-_XFxUYs/TuI4RKKrF5I/AAAAAAAACzE/4qaJKMqmOUk/s1600/IMG_4996.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-O5L-_XFxUYs/TuI4RKKrF5I/AAAAAAAACzE/4qaJKMqmOUk/s400/IMG_4996.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Cree XP-G soldered directly to copper heat sink. &amp;nbsp;Overzealous heat gun use&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;After a few days of admiring my creation, a couple of things arrived that actually allowed me to test its performance. &amp;nbsp;After wanting one for years, I finally caved and got a &lt;a href="http://www.fluke.com/"&gt;Fluke&lt;/a&gt; multimeter. It's the 'Not For Sale Outside of China' &lt;a href="http://www.dealextreme.com/p/fluke-17b-2-6-lcd-digital-multimeter-meter-2-aa-included-28659"&gt;17B&lt;/a&gt; model available through DealExtreme. &amp;nbsp;Genuine Fluke for a about one third of a similarly equipped US market model, although the warranty is automatically voided by export. &amp;nbsp;Most relevant for this application though is that it has a thermocouple thermometer, so I can measure the temperature of the heat sink by direct contact. &amp;nbsp;With a bit of &lt;a href="http://www.dealextreme.com/p/stars-professional-thermal-compound-with-injection-tube-10-pack-13915"&gt;thermal grease&lt;/a&gt;, I was able to wedge it into the space between fins and make good contact with the heat sink.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-E1skVDjwe94/TuGYcsjRkKI/AAAAAAAACyA/jnQVwZggUko/s1600/IMG_20111208_224548.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-E1skVDjwe94/TuGYcsjRkKI/AAAAAAAACyA/jnQVwZggUko/s400/IMG_20111208_224548.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Thermocouple on LED heat sink with thermal grease&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-fysiJrdAGT4/TuGYY0rGg3I/AAAAAAAACyE/jFjAINbZqq0/s1600/IMG_20111208_224616.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-fysiJrdAGT4/TuGYY0rGg3I/AAAAAAAACyE/jFjAINbZqq0/s400/IMG_20111208_224616.jpg" width="300" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;New Fluke 17B multimeter!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&amp;nbsp;In the same package was a &lt;a href="http://www.dealextreme.com/p/digital-lux-meter-with-stand-200000lux-5100"&gt;cheap lux meter&lt;/a&gt; to let me measure the relative output of the LED being driven at different currents at different temperatures.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-voRraVngh7U/TuGYP3pbv4I/AAAAAAAACyI/bGWuXWxxbSM/s1600/IMG_20111208_224643.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://4.bp.blogspot.com/-voRraVngh7U/TuGYP3pbv4I/AAAAAAAACyI/bGWuXWxxbSM/s400/IMG_20111208_224643.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Rudimentary&amp;nbsp;lux meter set up. Response time is impressive: meter is showing lux from the camera flash!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;My&amp;nbsp;excitement&amp;nbsp;was tempered almost immediately by two realizations: &amp;nbsp;First, my design puts the LED way too far above the vertex of the parabola of the&amp;nbsp;reflector, negating any advantage of using the original vintage optics. &amp;nbsp;That was kind of a dumb oversight! Second, as&amp;nbsp;Kevin predicted, the heat sink just gets hot; there isn't enough air flow to cool the heat sink sufficiently, even with the addition of fins. &amp;nbsp;Running at 1A it takes about 20 minutes or so for the heat sink to plateau at almost 100°C. &amp;nbsp;That is considerably hotter than my goal of keeping the heat sink at or below 80°C. &amp;nbsp;Luminous flux decreases as the junction temperature of the LED increases, reducing efficiency and LED life. &amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-CjWXicNBnfo/TuI-UPl5U1I/AAAAAAAACzM/D2mbm9TnTh4/s1600/xpg-JT-lux.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="392" src="http://4.bp.blogspot.com/-CjWXicNBnfo/TuI-UPl5U1I/AAAAAAAACzM/D2mbm9TnTh4/s640/xpg-JT-lux.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;I measured the lux at different currents, reading the initial lux as well as the lux once the heat sink had reached a steady state temperature. &amp;nbsp;Readings were taken at 1 meter in an otherwise dark room (lux = 0) without any secondary LED optics (and a missing LED dome!). Ambient temperature was about 22°C.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://3.bp.blogspot.com/-8OkcwnCCYpU/TuIloDLkPCI/AAAAAAAACys/E2sPqhDOCVM/s1600/lux+data+heat+sink.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"&gt;&lt;img border="0" height="518" src="http://3.bp.blogspot.com/-8OkcwnCCYpU/TuIloDLkPCI/AAAAAAAACys/E2sPqhDOCVM/s640/lux+data+heat+sink.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;As you can see, a higher steady state temperature results in less light output. &amp;nbsp;About 20% reduction at 1A, 13% at 0.75A and 9% at 0.5A. &amp;nbsp;So, I think there will be little point to driving these LED bulbs beyond 0.75A, which is about what an &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html"&gt;upgraded GH6 Dynohub &lt;/a&gt;can put out. &amp;nbsp;Of course, I have to change the design to drop the LED down to the&amp;nbsp;approximate&amp;nbsp;level of a bulb filament so that it's in the optimal position within the parabola of the reflector. &amp;nbsp;This necessarily will be a smaller heat sink (lower mass and surface area), so it will heat up faster but I expect the steady state temperature shouldn't be too much higher. &amp;nbsp;Waiting for the new design in the mail to find out...&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-501620305630508088?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/501620305630508088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/12/hot-led-lux-readings-of-cree-xp-g-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/501620305630508088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/501620305630508088'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/12/hot-led-lux-readings-of-cree-xp-g-on.html' title='Hot LED: lux readings of a Cree XP-G on a copper heatsink'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-D2TXm4B9bY0/Tu_1hH9fwYI/AAAAAAAAC5U/zqQgg5VNIS0/s72-c/LED+pillar+Dennis+page.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-6607983709467888990</id><published>2011-12-01T03:03:00.000-05:00</published><updated>2011-12-01T00:05:08.596-05:00</updated><title type='text'>Hetchins dream bicycle with Dynohub</title><content type='html'>&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-uKu8ydY6HCU/TtcBbZ2QLDI/AAAAAAAACuY/JbWcadwGsMc/s1600/DSC02995.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="360" src="http://3.bp.blogspot.com/-uKu8ydY6HCU/TtcBbZ2QLDI/AAAAAAAACuY/JbWcadwGsMc/s640/DSC02995.JPG" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;1947 Hetchins Super Special&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;Currently on &lt;a href="http://www.ebay.com/itm/270861249682?"&gt;auction&lt;/a&gt;. This is my dream&amp;nbsp;bicycle&amp;nbsp;configuration. &amp;nbsp;Essentially a &lt;a href="http://www.hetchins.org/100.htm"&gt;Hetchins&lt;/a&gt; version of the &lt;a href="http://sheldonbrown.com/retroraleighs/lenton-kohler.html"&gt;Raleigh Lenton&amp;nbsp;Sports&lt;/a&gt; (a kind of &lt;a href="http://sheldonbrown.com/retroraleighs/clubman-kohler.html"&gt;club&lt;/a&gt; bike), it&amp;nbsp;combines the reliability and elegance of a Sturmey Archer 3-speed hub (in this case the very rare &lt;a href="http://www.sheldonbrown.com/asc.html"&gt;ASC fixed gear&lt;/a&gt; version) and the&amp;nbsp;utilitarianism of fenders with a lightweight and sporty racing frame. &amp;nbsp;With a GH6 Dynohub and light set, this represents a perfect union of style and&amp;nbsp;function. &amp;nbsp;If only I was shorter and richer...&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-kNFI3m7_bl4/TtcCIa1PQsI/AAAAAAAACus/rCNL0YZbhaU/s1600/DSC03011.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="370" src="http://2.bp.blogspot.com/-kNFI3m7_bl4/TtcCIa1PQsI/AAAAAAAACus/rCNL0YZbhaU/s400/DSC03011.JPG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;GH6 Dynohub&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Full album is &lt;a href="https://picasaweb.google.com/109974598911467594469/1947HetchinsSuperSpecial"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Peter C. Kohler has written a great deal about the Lenton Sports, which is worth looking at if only for the great collection of vintage ads.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-S4xCfjaR5Bw/TtcGcPMa10I/AAAAAAAACvE/NJuSb719JhI/s1600/lentonsports.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="366" src="http://3.bp.blogspot.com/-S4xCfjaR5Bw/TtcGcPMa10I/AAAAAAAACvE/NJuSb719JhI/s640/lentonsports.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Raleigh Lenton Sports from Peter Kohler's &lt;a href="http://sheldonbrown.com/retroraleighs/lenton-kohler.html"&gt;article&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-6607983709467888990?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/6607983709467888990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/hetchins-dream-bicycle-with-dynohub.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6607983709467888990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6607983709467888990'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/hetchins-dream-bicycle-with-dynohub.html' title='Hetchins dream bicycle with Dynohub'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-uKu8ydY6HCU/TtcBbZ2QLDI/AAAAAAAACuY/JbWcadwGsMc/s72-c/DSC02995.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-6060428440471723274</id><published>2011-11-28T18:02:00.001-05:00</published><updated>2011-12-27T23:29:59.790-05:00</updated><title type='text'>Sturmey Archer Dynohub magnet upgrade: early results</title><content type='html'>&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;My idea for a &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-4-dynohub-magnet-upgrade.html"&gt;GH6 magnet upgrade&lt;/a&gt; seems to be working. &amp;nbsp;I had an adapter machined out of mild steel to space out 20 &lt;a href="http://www.kjmagnetics.com/proddetail.asp?prod=BC42"&gt;0.25" x 0.75" x 0.125" neodymium magnets&lt;/a&gt;, which I attached with &lt;a href="http://jbweld.net/index.php"&gt;J-B Weld&lt;/a&gt;. &amp;nbsp;It took a while to fit it into the hub shell and I ultimately had to steal a spacer clip from another GH6 to make it fit without the armature rubbing. &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;Unfortunately, I didn't document any of this with pictures, so you'll just have to take my word for it for now! &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;The cogging effect is quite strong, but once mounted in the fork the wheel spins fairly easily. Not sure how this will translate into actual drag while riding. &lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #666666; font-family: inherit;"&gt;I connected it to my test circuit, which consists of an &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt;Arduino controlled buck converter&lt;/a&gt; driving two LEDs in series at 100% duty cycle. &amp;nbsp;The series forward voltage of the two LEDs is about 5V so you can infer power from the current but I didn't actually measure Vf, which goes up modestly as current rises. The data was acquired on my &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-3-dynamo-wheel-testing-jig.html"&gt;motorized testing jig&lt;/a&gt;. I'm using the Arduino to log the current at different speeds. Speed is calculated using &lt;a href="http://en.wikipedia.org/wiki/Zero_crossing"&gt;zero-cross detection&lt;/a&gt; to measure the frequency of the pulses coming from the hub. My jig has crappy speed control so all I can do is ramp it up and slow it down and catch the current at each speed. At each speed I collect the average current of two complete wheel rotations (again, as measured using hub pulse frequency) four times and plot the average of that. Error bars are standard deviation of the mean.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-O7Wr0BAWGTk/TtQHKvvjlJI/AAAAAAAACuA/Xjd_WBd5jYE/s1600/GH6+magnet+upgrade+data.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;img border="0" height="445" src="http://2.bp.blogspot.com/-O7Wr0BAWGTk/TtQHKvvjlJI/AAAAAAAACuA/Xjd_WBd5jYE/s640/GH6+magnet+upgrade+data.jpg" width="640" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;The hub seems to saturate around 750 mA, although my multimeter is reading 900&lt;strike&gt;-1000&lt;/strike&gt; mA at higher speeds &lt;i&gt;(update: confirmed with another multimeter that the hub is indeed saturating at 900 mA, so my high side current monitor is not linear&amp;nbsp;&lt;/i&gt;:(&lt;i&gt; grrrr!)&lt;/i&gt;. &amp;nbsp;Thus far, it looks like the magnet upgrade is a success. I was worried, based on the &lt;a href="http://fieldlines.com/board/index.php?action=printpage;topic=130083.0"&gt;accounts&lt;/a&gt; of &lt;a href="http://www.candlepowerforums.com/vb/showthread.php?325684-Sturmey-Archer-GH-6-dynohub-magnet-upgrade"&gt;others&lt;/a&gt;, that the armature would saturate at a much lower current, but that doesn't seem to be the case here. &amp;nbsp;I'm going to try to use 1/16" block magnets to see if I can get a similar power output with less drag. &amp;nbsp;There is a chance that the 1/8" magnets are overkill, causing&amp;nbsp;unnecessary&amp;nbsp;drag and reducing efficiency.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;Decreasing the gap between the magnets and the claw poles of the armature might also help make the hub more efficient. At the moment they are about 0.050-0.060", whereas the original magnet is probably closer to 0.010-0.020".&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;Will post photos of the upgrade as soon as I have them!&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;i&gt;Update: &amp;nbsp;I found a photo of the adapter sticking to my fridge.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-5j3hy06Bq6M/Tte_146IlJI/AAAAAAAACwY/9zRO2Kq7f-Y/s1600/IMG_20111127_121307+%25281%2529.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="560" src="http://4.bp.blogspot.com/-5j3hy06Bq6M/Tte_146IlJI/AAAAAAAACwY/9zRO2Kq7f-Y/s640/IMG_20111127_121307+%25281%2529.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;GH6 magnet adapter upgrade with Neodymium magnets in place&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;i&gt;Update 2: &amp;nbsp;here it is mounted in the hub shell with the armature (the magnet cover plate has been removed)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-NQGF0tDtr2w/Tvkzv9B48NI/AAAAAAAADAA/OCVGG-h5m2A/s1600/IMG_5212.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/-NQGF0tDtr2w/Tvkzv9B48NI/AAAAAAAADAA/OCVGG-h5m2A/s400/IMG_5212.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-6060428440471723274?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/6060428440471723274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6060428440471723274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6060428440471723274'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html' title='Sturmey Archer Dynohub magnet upgrade: early results'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-O7Wr0BAWGTk/TtQHKvvjlJI/AAAAAAAACuA/Xjd_WBd5jYE/s72-c/GH6+magnet+upgrade+data.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-3360780207666757660</id><published>2011-11-18T18:34:00.000-05:00</published><updated>2011-11-18T22:08:22.801-05:00</updated><title type='text'>Specific aim 4: a Dynohub magnet upgrade</title><content type='html'>I think I have established that I have an &lt;a href="http://minisystem.blogspot.com/2011/09/ode-to-raleigh-superbe-and-its-dynohub.html"&gt;unhealthy fascination&lt;/a&gt; with the Sturmey Archer GH6 dynohub. &amp;nbsp;The hub has an output of about 1.8W, although doing a little experimenting with my &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt;digital buck converter&lt;/a&gt; on my &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-3-dynamo-wheel-testing-jig.html"&gt;dynamo testing jig&lt;/a&gt;, it appears that the hub reaches its saturation current at considerably higher speeds than contemporary hub dynamos (at least in my test setup with a 1966 GH6). &amp;nbsp;If the point of the buck converter is to extract more power out of the hub, there's not much&amp;nbsp;practical&amp;nbsp;use if that power isn't available until you're going 40 km/h!&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-cp2KGoVeZWQ/TsGp9Sjf42I/AAAAAAAACsc/a12S4C3dSc8/s1600/GH6+buck+data..jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="514" src="http://2.bp.blogspot.com/-cp2KGoVeZWQ/TsGp9Sjf42I/AAAAAAAACsc/a12S4C3dSc8/s640/GH6+buck+data..jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Speed versus current of a GH6 powering two series LEDs through a digital buck converter at 100% and 50% pulse width duty cycle. &amp;nbsp;Error bars are standard deviation from the mean of 4 readings taken at each speed.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&amp;nbsp;The GH6 is old technology and seems primarily limited by the fact that it has a rather weak 20 pole &lt;a href="http://en.wikipedia.org/wiki/Alnico"&gt;Alnico&lt;/a&gt; magnet, which is reported to lose a significant amount of flux over time. &amp;nbsp;The few GH6 experts out there maintain that if a Dynohub has been serviced there is a good chance that the mechanic &lt;a href="http://yarchive.net/bike/dyno_hub.html"&gt;damaged the magnet by removing the armature&lt;/a&gt;. &amp;nbsp;Amazingly, Jobst Brandt, of &lt;a href="http://www.amazon.com/Bicycle-Wheel-3rd-Jobst-Brandt/dp/0960723668"&gt;The Bicycle Wheel&lt;/a&gt; fame, built a &lt;a href="http://pardo.net/bike/pic/fail-002/000.html"&gt;re-magnetizing device&lt;/a&gt; (very bottom of page) to refurbish the magnet in the event of the hub being&amp;nbsp;disassembled&amp;nbsp;improperly.&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-p0WDkxNXbDg/TsGf-sikeUI/AAAAAAAACsE/DkZHASioAjE/s1600/GH6magnet.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="391" src="http://3.bp.blogspot.com/-p0WDkxNXbDg/TsGf-sikeUI/AAAAAAAACsE/DkZHASioAjE/s400/GH6magnet.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;GH6 20 pole manget (GL343) and armature (GL603)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;I &lt;a href="http://www.candlepowerforums.com/vb/showthread.php?325684-Sturmey-Archer-GH-6-dynohub-magnet-upgrade"&gt;wondered&lt;/a&gt; if it would be possible to upgrade the magnet with modern &lt;a href="http://en.wikipedia.org/wiki/Neodymium_magnet"&gt;Neodymium&lt;/a&gt; magnets. &amp;nbsp;After some more searching I discovered that I wasn't the only one that had thought of this. &amp;nbsp;Ben over at &lt;a href="http://gotwind.org/"&gt;gotwind.org&lt;/a&gt; tried a couple of configurations and got something that &lt;a href="http://fieldlines.com/board/index.php?action=printpage;topic=130083.0"&gt;worked&lt;/a&gt;, although not well enough for his application. &amp;nbsp;His results are promising for my application though as he reports getting higher voltage due to the increased flux of the new magnets and perhaps even a higher saturation current.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.otherpower.com/images/scimages/6863/Neodymium_Dynohub_1.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://www.otherpower.com/images/scimages/6863/Neodymium_Dynohub_1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Ben@gotwind.org replaced the 20 pole Alnico ring magnet with 20 neodymium magnets in a GH6 hub&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Based on Ben's description, a magnet upgrade to the GH6 might be able to bring it up to spec with modern hub dynamos (rated voltage at low speeds, saturation current around 0.5A), albeit with more drag and probably lower efficiency. &amp;nbsp;After some pondering and a bit more research, I think I'm going to have a go at making an adapter to fit the GH6 with 20 new Neodymium magnets. One planned improvement over Ben's efforts will be to keep the spacing between the stator and the magnets as close to the original specs as possible. The actually spacing is probably in the order of 0.010 to 0.020". I'm aiming for around 0.050", whereas Ben's design is reported to have 3mm (0.118") spacing. &amp;nbsp;The trick will be to pick magnets of appropriate strength that are strong enough to saturate the stator at low speeds, but not so strong that they add undesirable &lt;a href="http://en.wikipedia.org/wiki/Cogging_torque"&gt;cogging&lt;/a&gt; effects and drag. &amp;nbsp;Thus far, I have a design I'm shopping around to machinists:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-AgwLuHraKvU/TrrfZf_Ni3I/AAAAAAAACqk/3mNgUNefmI0/s1600/magnet+holder+diagram.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="282" src="http://3.bp.blogspot.com/-AgwLuHraKvU/TrrfZf_Ni3I/AAAAAAAACqk/3mNgUNefmI0/s640/magnet+holder+diagram.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Proposed magnet adapter with armature&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-vTO-ATfZ4uA/TrrhMNXzIGI/AAAAAAAACq0/jEglVtS8lKQ/s1600/magnet+holder+3D.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="305" src="http://3.bp.blogspot.com/-vTO-ATfZ4uA/TrrhMNXzIGI/AAAAAAAACq0/jEglVtS8lKQ/s320/magnet+holder+3D.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;3D view of proposed GH6 magnet adapter&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Not sure yet what material it should be made of. At first, I thought of using ferromagnetic steel so the magnets would stick to it. &amp;nbsp;This is more expensive and heavier than using 6061 aluminum, which might be a better solution as the longer I consider it the more I realize that whatever the material, I'll need to epoxy the magnets in place.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;So, fingers crossed that these efforts will result in a GH6 with improved lower speed performance!&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Update: magnets arrived today and, boy, are they strong! It's been said that Nd magnets are 10 times stronger than Alnico magnets. Now that I have some in hand I believe it. &amp;nbsp;As stated previously, I think the challenge will be to use a magnet that is just strong enough to saturate the stator but not so strong that it adds additional drag due to &lt;a href="http://en.wikipedia.org/wiki/Cogging_torque"&gt;cogging torque&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-3360780207666757660?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/3360780207666757660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-4-dynohub-magnet-upgrade.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3360780207666757660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3360780207666757660'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-4-dynohub-magnet-upgrade.html' title='Specific aim 4: a Dynohub magnet upgrade'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-cp2KGoVeZWQ/TsGp9Sjf42I/AAAAAAAACsc/a12S4C3dSc8/s72-c/GH6+buck+data..jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-293283105797334141</id><published>2011-11-17T18:27:00.000-05:00</published><updated>2011-11-17T00:27:29.037-05:00</updated><title type='text'>Specific aim 3: a dynamo wheel testing jig</title><content type='html'>&lt;br /&gt;In order to test my&lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt; buck converter&lt;/a&gt; with a dynamo I need to be able to spin the wheel at different constant speeds. &amp;nbsp;This is not done practically by spinning the wheel by hand, so some kind of motorized system is required. &amp;nbsp;Fortunately, (DIY dynamo lighting legend) Martin over at&amp;nbsp;&lt;a href="http://www.pilom.com/BicycleElectronics/HubDynamo.htm"&gt;pilom&lt;/a&gt;&amp;nbsp;has already built one and he gave me some helpful advice on how to build my own. An abandoned bicycle fork recovered&amp;nbsp;serendipitously&amp;nbsp;from under a bridge and a washing machine motor salvaged from my in-laws' basement are the main ingredients. &amp;nbsp;Rudimentary speed control comes from a router speed controller, which I believe is TRIAC-based. &amp;nbsp;It took about 3 hours in my Dad's wood shop to put it all together:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://3.bp.blogspot.com/-vaQG7zaH8po/Tr3tjERrHYI/AAAAAAAACrU/rS8csLT8-UM/s1600/IMG_20111024_154338.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="640" src="http://3.bp.blogspot.com/-vaQG7zaH8po/Tr3tjERrHYI/AAAAAAAACrU/rS8csLT8-UM/s640/IMG_20111024_154338.jpg" width="480" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;hub dynamo testing jig with 700C wheel&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://2.bp.blogspot.com/-mlQziBpfa0M/Tr6qkecvCZI/AAAAAAAACr4/U9AAJp8iPHc/s1600/IMG_20111024_144251.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://2.bp.blogspot.com/-mlQziBpfa0M/Tr6qkecvCZI/AAAAAAAACr4/U9AAJp8iPHc/s400/IMG_20111024_144251.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;1/3 hp washing machine motor. Routed slots allow motor adjustment to accommodate different sized wheels&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The 6 inch drive wheel is based on&amp;nbsp;achieving&amp;nbsp;a maximum speed of 50 kph, or close to 400 RPM, from the motor's full speed of 1750 RPM. &amp;nbsp;Speed control is not great; the sweet spot cruising speed (25-35 kph) is very difficult to maintain. &amp;nbsp;In this region the motor's relay cycles on and off, resulting in a sinusoidal speed with a period of a few seconds. &amp;nbsp;Constant speeds in the 5 kph - 20 kph are easily achieved, then it cycles and finally takes off to a maximum speed.&lt;br /&gt;&lt;br /&gt;So far so good. The contraption remains stable with minimum vibration at high speeds. I ordered a &lt;a href="http://www.dealextreme.com/p/1-4-lcd-electronic-bicycle-computer-speedometer-32804"&gt;super cheap bicycle computer&lt;/a&gt; from DealExtreme to measure the wheel speed, but while I waited for it to arrive I figured how to calculate the speed based on the pulses coming out of the hub using a &lt;a href="http://en.wikipedia.org/wiki/Zero_crossing"&gt;zero cross detector&lt;/a&gt;. &amp;nbsp;The cycle computer has arrived, so I'll be able to see how close my zero cross dynamo speedometer works (more on that later...).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-293283105797334141?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/293283105797334141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-3-dynamo-wheel-testing-jig.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/293283105797334141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/293283105797334141'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-3-dynamo-wheel-testing-jig.html' title='Specific aim 3: a dynamo wheel testing jig'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-vaQG7zaH8po/Tr3tjERrHYI/AAAAAAAACrU/rS8csLT8-UM/s72-c/IMG_20111024_154338.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-7093559178814609681</id><published>2011-11-16T18:25:00.000-05:00</published><updated>2011-12-29T10:27:47.351-05:00</updated><title type='text'>Specific aim 2: a dynamo digital buck converter</title><content type='html'>&lt;br /&gt;I am developing hardware and software for a dynamo peak power tracking system.&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Maximum_power_point_tracking"&gt;&amp;nbsp;Maximum Power Point Tracking&lt;/a&gt;&amp;nbsp;(MPPT) is something I learned about over on a&amp;nbsp;&lt;a href="http://www.candlepowerforums.com/vb/showthread.php?316815-peak-power-trackers-for-bike-dynamos"&gt;thread at CPF&lt;/a&gt;&amp;nbsp;and have subsequently become fascinated about. &amp;nbsp;Widely applied in the solar industry to extract the maximum available power from a photovoltaic array under all conditions of illumination, MPPT is, in essence, a way to tweak the load resistance to reach a peak power point on a current/voltage curve under dynamic conditions. &amp;nbsp;Bicycle dynamos operate primarily as constant current sources. They reach a saturation current at reasonably low speeds and the only extra power to be gained from a 'passive' system is through the increase in voltage that comes at higher speeds. &amp;nbsp;Passively extracting more power is done typically by adding more LEDs in series. If you have 1 LED with a Vf of 3.0V you can get a maximum of 3V x 0.5A = 1.5W. &amp;nbsp;If you add a second 3.0V LED in series you can get 6V x 0.5A = 3.0W, a third gives you 9V x 0.5A = 4.5W, etc. &amp;nbsp;The problem here is that for each LED added there is an increase in the minium speed at which the dynamo reaches Vf of the series chain. Below that you get no light, or, at best, very blinky lights. &amp;nbsp;However, there are some clever&amp;nbsp;&lt;a href="http://www.pilom.com/BicycleElectronics/DynamoCircuits.htm"&gt;passive low speed boost circuits&lt;/a&gt;&amp;nbsp;out there to get more power at lower speeds.&lt;br /&gt;&lt;br /&gt;Today's power LEDs have maximum currents in the range of 1-3A, so a dynamo that saturates at 0.5 or 0.6A is not able to run these even close to their maximum theoretical outputs. &amp;nbsp;I want to a employ a single LED design for front and rear lamps, so running the LEDs at more than the dynamo saturation current would be useful. &amp;nbsp;In order to pull maximum power out at all times, a switched mode&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Buck_converter"&gt;buck converter&lt;/a&gt;&amp;nbsp;can be employed. &amp;nbsp;I'm working on a digitally controlled synchronous buck converter that uses LED current and bicycle speed as feedback. &amp;nbsp;Thus far I've developed a peak power tracking system that works with a bench top supply. &amp;nbsp;Essentially, under fixed current conditions (like a hub dynamo), it modifies the pulse width of the switching signal to maximize the power from the available voltage.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://1.bp.blogspot.com/-rIBZnZr8Cx8/TpG55K0n8sI/AAAAAAAACqI/5KOAl_HC13Y/s1600/IMG_20110920_165501.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://1.bp.blogspot.com/-rIBZnZr8Cx8/TpG55K0n8sI/AAAAAAAACqI/5KOAl_HC13Y/s640/IMG_20110920_165501.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;200 mA in, 370 mA out!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-p5VUjwcSZEQ/Tno8HHn5YoI/AAAAAAAAClA/aveY39vbYLA/s1600/buckdatadutycycle.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="392" src="http://4.bp.blogspot.com/-p5VUjwcSZEQ/Tno8HHn5YoI/AAAAAAAAClA/aveY39vbYLA/s640/buckdatadutycycle.png" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;LED Current vs pulse width duty cycle at different input voltages where Vf of the series LEDs is 4.1V&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="text-align: -webkit-auto;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;div style="text-align: left;"&gt;Putting dynamo LEDs under microprocessor control may seem excessive, but I'm not the&amp;nbsp;&lt;a href="http://swhs.home.xs4all.nl/fiets/tests/verlichting/dynamo_led_driver/index_en.html" style="text-align: -webkit-auto;"&gt;first to do it&lt;/a&gt;&lt;span class="Apple-style-span" style="text-align: -webkit-auto;"&gt;. &amp;nbsp;In theory, it should be possible to drive LEDs up to and beyond 1A at cruising speeds, with the obvious caveat that the extra power has to come from the cyclist's legs!&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="text-align: -webkit-auto;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-UPvPUpfiE4w/TpG509fIX-I/AAAAAAAACqE/Or9HJiKqgyU/s1600/IMG_20110920_164712.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://4.bp.blogspot.com/-UPvPUpfiE4w/TpG509fIX-I/AAAAAAAACqE/Or9HJiKqgyU/s640/IMG_20110920_164712.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;Buck converter hardware&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://3.bp.blogspot.com/-16cKPmgsmmc/TpG5tLcqgWI/AAAAAAAACqA/WfwPR1mhjdI/s1600/IMG_20110920_163218.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://3.bp.blogspot.com/-16cKPmgsmmc/TpG5tLcqgWI/AAAAAAAACqA/WfwPR1mhjdI/s640/IMG_20110920_163218.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;Hardware is under&amp;nbsp;&lt;a href="http://www.arduino.cc/"&gt;Arduino&lt;/a&gt;&amp;nbsp;µC control&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;The software still needs some significant tweaking to work with the fluctuating DC of the rectified dynamo output. &amp;nbsp;I'll post a full description of this buck converter soon, hopefully once I have the peak power tracking working with a dynamo. &amp;nbsp;I'm using the &lt;a href="http://www.arduino.cc/"&gt;Arduino&lt;/a&gt; platform for development, which is great and easy to use, but I did need to employ a few under the hood tricks to get it working. I will ultimately have to switch to another, smaller &lt;a href="http://www.atmel.com/products/avr/default.asp?category_id=163&amp;amp;family_id=607&amp;amp;source=redirect"&gt;AVR&lt;/a&gt; microcontroller for the final design.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-7093559178814609681?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/7093559178814609681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7093559178814609681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/7093559178814609681'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html' title='Specific aim 2: a dynamo digital buck converter'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-rIBZnZr8Cx8/TpG55K0n8sI/AAAAAAAACqI/5KOAl_HC13Y/s72-c/IMG_20110920_165501.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-1540376222226224272</id><published>2011-11-15T18:22:00.000-05:00</published><updated>2011-11-15T11:00:45.224-05:00</updated><title type='text'>Specific aim 1: making an LED light bulb</title><content type='html'>&lt;br /&gt;I need to mount a single LED with sufficient heat sinking into the base of an E10 Edison screw thread bulb.&lt;br /&gt;&lt;br /&gt;I've collected some lovely&amp;nbsp;&lt;a href="http://oakwoodlife.blogspot.com/2008/12/alvol.html"&gt;French&lt;/a&gt;&amp;nbsp;&lt;a href="http://www.google.ca/search?um=1&amp;amp;hl=en&amp;amp;biw=1108&amp;amp;bih=739&amp;amp;tbm=isch&amp;amp;sa=1&amp;amp;q=soubitez+light&amp;amp;oq=soubitez+light&amp;amp;aq=f&amp;amp;aqi=g-S1&amp;amp;aql=&amp;amp;gs_sm=e&amp;amp;gs_upl=2581l6096l0l6548l14l11l0l7l7l0l188l474l0.3l3l0"&gt;lamps&lt;/a&gt;. Historically, these would be powered by a&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Bottle_dynamo"&gt;bottle dynamo&lt;/a&gt;. &amp;nbsp;My intention is to power them using one of the... um... 10 or so hub dynamos that I own. &amp;nbsp;Old&amp;nbsp;incandescent&amp;nbsp;bulbs don't light up much so a&amp;nbsp;&lt;a href="http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html"&gt;LED upgrade&lt;/a&gt;&amp;nbsp;is in order. &amp;nbsp;Experience has taught me that&amp;nbsp;commercially&amp;nbsp;available LED E10 Edison bulb upgrades are OK, but I think I can do better, especially with the&amp;nbsp;&lt;a href="http://minisystem.blogspot.com/2011/09/choosing-leds-and-batchpcb-success.html"&gt;selection&lt;/a&gt;&amp;nbsp;of high power LEDs now available. &amp;nbsp;Power LEDs get&amp;nbsp;&lt;a href="http://en.wikipedia.org/wiki/Thermal_management_of_high-power_LEDs"&gt;hot&lt;/a&gt;, so whatever retrofit I come up with will need to be able to deal sufficiently with the heat.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://2.bp.blogspot.com/-tEgV8ezHvPA/Tr3tKZRHYJI/AAAAAAAACrc/UVgK9rZfahQ/s1600/IMG_20111111_224953.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-tEgV8ezHvPA/Tr3tKZRHYJI/AAAAAAAACrc/UVgK9rZfahQ/s400/IMG_20111111_224953.jpg" width="363" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;Late night scrawlings&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;Thus far, I think I have an idea involving a turned copper pillar of some sort that can be pressed/epoxied into an E10 bulb base. &amp;nbsp;Something like this:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://3.bp.blogspot.com/-vlJVjIVtzNo/Tr6qHFPB52I/AAAAAAAACrk/Ye2qlQPHP08/s1600/LED+Pillar.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="368" src="http://3.bp.blogspot.com/-vlJVjIVtzNo/Tr6qHFPB52I/AAAAAAAACrk/Ye2qlQPHP08/s400/LED+Pillar.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;Copper pillar LED heat sink&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Pressed into something like this:&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://litroncanada.ca/wp-content/uploads/2010/11/mes.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://litroncanada.ca/wp-content/uploads/2010/11/mes.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px; text-align: center;"&gt;MES/E10 lamp base&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;This way, any cycle lamp that takes an E10 threaded bulb can be retrofitted without modification. &amp;nbsp;Getting the heat out of such a small package will be a challenge, though; something that my &lt;a href="http://minisystem.blogspot.com/2011/10/getting-heat-out-of-leds-as-cheaply-as.html"&gt;previously proposed solution&lt;/a&gt; might not be up to. &amp;nbsp;The best solution would be to mount the LED directly to the copper heat sink, which eliminates any of the thermal resistance encountered in an FR-4 board perforated with plated vias or in a metal core PCB that is then attached to a heat sink with thermal epoxy.&lt;br /&gt;&lt;br /&gt;There are&amp;nbsp;&lt;a href="http://flashlightnews.net/forum/index.php?topic=2619.0"&gt;several&lt;/a&gt;&amp;nbsp;&lt;a href="http://www.candlepowerforums.com/vb/showthread.php?299088"&gt;elaborate&lt;/a&gt;&amp;nbsp;&lt;a href="http://flashlightnews.net/forum/index.php?topic=2543.0"&gt;methods&lt;/a&gt;&amp;nbsp;described for doing this.&amp;nbsp;&lt;a href="http://www.lambdalights.com/"&gt;Lambda Lights&lt;/a&gt;&amp;nbsp;seem to have mounting LEDs directly to a large copper heat sink down to a science, so I might contact them before attempting to reinvent the wheel. &amp;nbsp;From what I can tell, they turn a copper pillar and then machine a square nub on the top where a PCB is mounted with a slot milled in it so the nub can poke through and be soldered directly to the thermal pad of the LED. &amp;nbsp;Something like this:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-vLYSE4krNQA/TsKKvVrdzhI/AAAAAAAACtA/mfWb_zmrHzs/s1600/LED+pillar+bumb.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="342" src="http://3.bp.blogspot.com/-vLYSE4krNQA/TsKKvVrdzhI/AAAAAAAACtA/mfWb_zmrHzs/s400/LED+pillar+bumb.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;While ideal, this solution may be cost prohibitive...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-1540376222226224272?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/1540376222226224272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-1-making-led-light-bulb.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/1540376222226224272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/1540376222226224272'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/specific-aim-1-making-led-light-bulb.html' title='Specific aim 1: making an LED light bulb'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-tEgV8ezHvPA/Tr3tKZRHYJI/AAAAAAAACrc/UVgK9rZfahQ/s72-c/IMG_20111111_224953.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-9171688455917795646</id><published>2011-11-14T22:56:00.000-05:00</published><updated>2011-11-15T11:02:18.274-05:00</updated><title type='text'>Sturmey Archer lamps: second attempt</title><content type='html'>Back in the summer of 2008 I was quite proud of myself when I managed to get a hold of a &lt;a href="http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html"&gt;set of NOS Sturmey Archer lamps&lt;/a&gt; for my wife's Raleigh Superbe from a Canadian seller for about half of the going rate at the time ($67, to be exact). &amp;nbsp;Two years later my faith (what little was left) in humanity was shattered when a very bad man (I've called him &lt;a href="http://minisystem.blogspot.com/2011/09/back-to-workbench.html"&gt;worse&lt;/a&gt;) very &lt;a href="http://minisystem.ca/light_thief.html"&gt;craftily stole the rear light&lt;/a&gt;. &amp;nbsp;This faith was somewhat restored when a very nice reader of this blog offered to send me a replacement rear lamp at no charge (thanks Jeff!). &amp;nbsp;A last minute discovery of an auction with less than an hour to go has turned up another NOS Sturmey light set, also going for well below market price (and also, coincidentally, sold by a Canadian seller). &amp;nbsp;I bid, finished my dinner and was delighted (but not surprised) to find that I had won!&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-T0SHnwXh6C0/TsHmDDsgLcI/AAAAAAAACsw/DG0iR7qJukQ/s1600/sturmeylamps.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-T0SHnwXh6C0/TsHmDDsgLcI/AAAAAAAACsw/DG0iR7qJukQ/s1600/sturmeylamps.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Sturmey Archer NOS light set&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Just a week ago I won an auction for a NOS GH-6 Dynohub, a 1978, from the same seller:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-ByBtOeuvyJ8/TsHmWJn6XZI/AAAAAAAACs4/vik3IAsXMNo/s1600/GH61978.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-ByBtOeuvyJ8/TsHmWJn6XZI/AAAAAAAACs4/vik3IAsXMNo/s1600/GH61978.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;1978 NOS Sturmey Archer GH-6 Dynohub. Not quite as elegant as earlier models.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-9171688455917795646?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/9171688455917795646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/sturmey-archer-lamps-second-attempt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/9171688455917795646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/9171688455917795646'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/sturmey-archer-lamps-second-attempt.html' title='Sturmey Archer lamps: second attempt'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-T0SHnwXh6C0/TsHmDDsgLcI/AAAAAAAACsw/DG0iR7qJukQ/s72-c/sturmeylamps.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-2596554664973864722</id><published>2011-11-10T18:58:00.000-05:00</published><updated>2011-11-18T22:09:47.685-05:00</updated><title type='text'>Setting goals and things in the works</title><content type='html'>Being housebound taking care of two small children leaves the mind with enough excess capacity to come up with an increasingly complex and ambitious list of aims. &amp;nbsp;To try to keep track of all the stuff bumping around up there, I'm going to commit some of these goals to this here blog page.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;Specific aims:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&lt;b&gt;1.&lt;/b&gt; &amp;nbsp;&lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-1-making-led-light-bulb.html"&gt;M&lt;b&gt;ount a single LED with sufficient heatsinking into the base of an E10 Edison screw thread bulb&lt;/b&gt;.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&lt;b&gt;2. &lt;a href="http://www.blogger.com/goog_459410752"&gt;Develop hardware and software for a dynamo peak power tracking system&lt;/a&gt;&lt;/b&gt;&lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-2-dynamo-digital-buck.html"&gt;.&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;3. &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-3-dynamo-wheel-testing-jig.html"&gt;Build a speed-controlled dynamo wheel testing jig.&amp;nbsp;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;4. &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-4-dynohub-magnet-upgrade.html"&gt;Upgrade the Sturmey Archer GH6 magnet to modern Neodymium magnets.&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #444444;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;A flurry of posts will address each of these aims.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-2596554664973864722?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/2596554664973864722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/11/setting-goals-and-things-in-works.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2596554664973864722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2596554664973864722'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/11/setting-goals-and-things-in-works.html' title='Setting goals and things in the works'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-8733709511268302347</id><published>2011-10-21T21:44:00.000-04:00</published><updated>2011-10-21T21:44:55.753-04:00</updated><title type='text'>Luxor dynamo lamps</title><content type='html'>These really are my favorite dynamo lights of all time. I have one set of the hammered aluminum Luxor &lt;a href="http://www.google.ca/search?gcx=w&amp;amp;q=luxor%20martele&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;hl=en&amp;amp;tbm=isch&amp;amp;source=og&amp;amp;sa=N&amp;amp;tab=wi&amp;amp;biw=1108&amp;amp;bih=744"&gt;Martele&lt;/a&gt; lamps. I find them to be achingly beautiful. &amp;nbsp;Just stumbled across a NOS set on offer through &lt;a href="http://www.classicrendezvous.com/"&gt;Classic Rendezvous&lt;/a&gt; back in February of this year. &amp;nbsp;Have a &lt;a href="http://s840.photobucket.com/albums/zz325/RetroCyclist/LUXOR%202212%20HAMMERED%20LIGHT%20SET/"&gt;look&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-Dg3pxH7JQTE/TqIf1E2jQbI/AAAAAAAACpQ/Fv-5dt0i5HI/s1600/luxor.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/-Dg3pxH7JQTE/TqIf1E2jQbI/AAAAAAAACpQ/Fv-5dt0i5HI/s640/luxor.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-8733709511268302347?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/8733709511268302347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/10/luxor-dynamo-lamps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8733709511268302347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8733709511268302347'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/10/luxor-dynamo-lamps.html' title='Luxor dynamo lamps'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-Dg3pxH7JQTE/TqIf1E2jQbI/AAAAAAAACpQ/Fv-5dt0i5HI/s72-c/luxor.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-3613085027875496396</id><published>2011-10-14T17:03:00.000-04:00</published><updated>2011-10-14T17:03:38.294-04:00</updated><title type='text'>getting the heat out of LEDs (as cheaply as possible)</title><content type='html'>Well, it turns out designing a PCB for power LEDs isn't as simple as &lt;a href="http://minisystem.blogspot.com/2011/09/choosing-leds-and-batchpcb-success.html"&gt;I'd previously thought&lt;/a&gt;. &amp;nbsp;Now, to be fair, with the intention I had in mind, I was only going to run my power LEDs at about half of their rated maximum current. With that in mind, I'd put a single via through the thermal pad to connect it to a large plane on the bottom side. It was also connected to a plane on the component side. Like so:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-mBhA_V4441c/TpejEPPwXMI/AAAAAAAACok/gmJNOOw9ie0/s1600/IMG_20111013_224502.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://4.bp.blogspot.com/-mBhA_V4441c/TpejEPPwXMI/AAAAAAAACok/gmJNOOw9ie0/s320/IMG_20111013_224502.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Cree XP-G SMT pad with via through thermal pad and connection to component side thermal plane&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;I figured that was a lot of copper to dissipate the heat. &amp;nbsp;After some &lt;a href="http://en.wikipedia.org/wiki/Thermal_management_of_high-power_LEDs"&gt;more&lt;/a&gt; &lt;a href="http://www.newark.thinkhost.com/brands/promos/leading_edge/cree_XLampThermalManagement.pdf"&gt;reading&lt;/a&gt;, however, I realized that while my design was probably adequate for my current requirements, there was no way I was going to get away with running the LEDs at their maximum current. &amp;nbsp;At about 300-400 mA the thermal planes are quite warm, but not alarming. &amp;nbsp;At 500mA the LEDs on this design do get pretty darn hot to the touch and that isn't good as it reduces their efficiency which ultimately results in more heat, less light and reliability issues. &amp;nbsp;I do have a planned application where I want to run these guys up to 1A or more, so my current PCB design needs revision.&lt;br /&gt;&lt;br /&gt;Many power LEDs come mounted on the familiar metal-core PCB star:&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-xEjBqaCrKio/Tpepz5s-0oI/AAAAAAAACos/V2Mb1s1WDgM/s1600/cree-mcpcb.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="198" src="http://1.bp.blogspot.com/-xEjBqaCrKio/Tpepz5s-0oI/AAAAAAAACos/V2Mb1s1WDgM/s320/cree-mcpcb.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Cree LED on MCPCB star&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;MCPCBs have a metal core that conducts heat much more efficiently than the standard &lt;a href="http://en.wikipedia.org/wiki/FR-4"&gt;FR-4&lt;/a&gt; PCB laminates from the top layer to the bottom layer (where a heat sink can be attached). &amp;nbsp;In other words, the metal core has a much lower &lt;a href="http://en.wikipedia.org/wiki/Thermal_resistance"&gt;thermal resistance&lt;/a&gt; than FR-4; 5-10 times lower. &amp;nbsp;MCPCBs seem like a great solution for mounting LEDs, but they are very expensive to have custom made. &amp;nbsp;Fortunately, there are &lt;a href="http://www.philipslumileds.com/uploads/252/AB32-pdf"&gt;several&lt;/a&gt; &lt;a href="http://www.cree.com/products/pdf/XLamp_PCB_Thermal.pdf"&gt;application notes&lt;/a&gt; out there that describe how to design an FR-4-based PCB using thermal vias to get a top to bottom layer thermal resistance closer to metal core. &amp;nbsp;I used &lt;a href="http://www.cree.com/products/pdf/XLamp_PCB_Thermal.pdf"&gt;this one&lt;/a&gt; from Cree to guide my design. &amp;nbsp;The application note is summarized thusly: &amp;nbsp;instead of using a metal core to get heat away from the LED's thermal pad, use as many thermal vias as you can fit in the thermal pad to transfer the heat away from it through to the bottom layer, where a heat sink can be attached. &lt;br /&gt;&lt;br /&gt;First, I had to rejig the XP-G solder pad, as the orignal layout created a real bottleneck for heat transfer:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-NaRNs0Lws7w/TpiZPhz9l7I/AAAAAAAACo0/FWrbPEa8GC0/s1600/updatedXPG.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-NaRNs0Lws7w/TpiZPhz9l7I/AAAAAAAACo0/FWrbPEa8GC0/s1600/updatedXPG.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The big 'I' can now be filled with vias to conduct heat away from the thermal pad. &amp;nbsp;Riddling the board with thermal vias isn't necessary; just getting the heat way from the immediate vicinity of the thermal pad has the greatest effect. &amp;nbsp;Here's what the PCB design looks like:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-mT_pV6UjcNo/TpiaIMaBUII/AAAAAAAACo8/g33_od7t8e0/s1600/LED_DISC2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-mT_pV6UjcNo/TpiaIMaBUII/AAAAAAAACo8/g33_od7t8e0/s1600/LED_DISC2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Lots of thermal vias. &amp;nbsp;On the back there is a 14x14mm square solder pad to attach a copper heat sink:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-Q5HdefuG0vA/Tpia96NTsxI/AAAAAAAACpM/G6yWKs_0yL0/s1600/IMG_20111014_162521.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-Q5HdefuG0vA/Tpia96NTsxI/AAAAAAAACpM/G6yWKs_0yL0/s320/IMG_20111014_162521.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;These are little RAM sinks. &amp;nbsp;You can get &lt;a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16835108071"&gt;8 for about $15&lt;/a&gt;. &amp;nbsp;They come with their own thermal adhesive already attached but the general consensus among user reviews to to scrape that off and use something like Arctic Silver thermal adhesive instead.&lt;br /&gt;&lt;br /&gt;Hopefully the vias will provide sufficient transfer to keep the LED cool enough to remain bright and not overheat at full current (1A+). &amp;nbsp;They are the bottleneck between the LED's thermal pad and the heat sink.&amp;nbsp;The application note recommends more vias in the actual thermal pad itself but my cheap PCB fabricator has a minimum drill size that doesn't allow this. &amp;nbsp;Following their recommended design they claim an FR-4 PCB can have a thermal resistance close to that of a metal core PCB. &amp;nbsp;In my case, I doubt I can achieve that with only 3 vias in the pad proper (they recommend something like 14!). &amp;nbsp;If these aren't sufficient I might have to find another fabricator that can do smaller drill hits, although this could ultimately defeat the purpose of doing this on the cheap! &lt;br /&gt;&lt;br /&gt;Another&amp;nbsp;potential pitfall here is that &lt;a href="http://batchpcb.com/"&gt;BatchPCB&lt;/a&gt;, who I'm using for fabrication, only fabricate 1 ounce copper PCBs. &amp;nbsp;Thicker copper would provide a larger conduit to take the heat away, but for the sake of not spending a fortune on prototyping, I'm kind of stuck with their 1 oz limit. &amp;nbsp;I placed the order last night, so I'll know if a few weeks if this design will work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-3613085027875496396?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/3613085027875496396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/10/getting-heat-out-of-leds-as-cheaply-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3613085027875496396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/3613085027875496396'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/10/getting-heat-out-of-leds-as-cheaply-as.html' title='getting the heat out of LEDs (as cheaply as possible)'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-mBhA_V4441c/TpejEPPwXMI/AAAAAAAACok/gmJNOOw9ie0/s72-c/IMG_20111013_224502.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-6084689806487082078</id><published>2011-09-29T00:24:00.000-04:00</published><updated>2011-12-25T23:55:19.399-05:00</updated><title type='text'>An ode to the Raleigh Superbe and its Dynohub</title><content type='html'>&lt;div&gt;&lt;div style="text-align: left;"&gt;On my walk to work today (I didn't ride as rain was expected and I had the child seat on my Orange&lt;/div&gt;bike) I encountered no fewer than &lt;b&gt;five&lt;/b&gt;&amp;nbsp; &lt;a href="http://sheldonbrown.com/retroraleighs/superbe.html"&gt;Raleigh Superbes&lt;/a&gt;.&amp;nbsp; A Superbe is a fairly common sight on the streets of Toronto, both the&amp;nbsp;gentlemen's&amp;nbsp;version as well as the lady's step through frame. I usually happen across one or two a week, but five in one day is exceptional.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href="http://1.bp.blogspot.com/-2Pd8OooHjuM/ToKVIbfzOzI/AAAAAAAACnQ/OVC7NAvu_BA/s1600/Raleigh_Superbe_5.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="409" src="http://1.bp.blogspot.com/-2Pd8OooHjuM/ToKVIbfzOzI/AAAAAAAACnQ/OVC7NAvu_BA/s640/Raleigh_Superbe_5.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px;"&gt;Superbe from an&amp;nbsp;&lt;a href="http://www.acontinuouslean.com/2009/08/21/wants-desires-raleigh-superbe/"&gt;eBay auction&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_rXxvQDmFvso/SG1kOiMEToI/AAAAAAAAABs/oWyYSMNILPs/s1600/72+Superbe+Bag+n+Rack.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="480" src="http://2.bp.blogspot.com/_rXxvQDmFvso/SG1kOiMEToI/AAAAAAAAABs/oWyYSMNILPs/s640/72+Superbe+Bag+n+Rack.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Another beautiful example from this &lt;a href="http://2whls3spds.blogspot.com/2008/06/queen-fleet-street-well-my-street.html"&gt;blog&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-ggxm1H9rFmU/ToKV-HJNYpI/AAAAAAAACnU/zEn73y0LnLY/s1600/RaleighSuperbeTQFront.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="373" src="http://1.bp.blogspot.com/-ggxm1H9rFmU/ToKV-HJNYpI/AAAAAAAACnU/zEn73y0LnLY/s400/RaleighSuperbeTQFront.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Another Superbe from &lt;a href="http://www.mytenspeeds.com/My_TenSpeeds_1/Bicycles_Table/English_Bicycles/Raleigh_Bicycles/Raleigh_Superbe_1/RaleighSuperbeTQFront.jpg"&gt;mytenspeeds&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;The Superbe came in a variety of colours since its inception, but it is the 'Bronze Green' model of the sixties and seventies that is by far the most common Superbe you see here in Canada. &amp;nbsp;One day, I hope to own one! &amp;nbsp;The Superbe undeniably has classic retro appeal, but what fascinates me most about this bike is its &lt;a href="http://sheldonbrown.com/dynohubs.html"&gt;Dynohub lighting system&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.sturmey-archerheritage.com/images/photos/pic-331-s.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="284" src="http://www.sturmey-archerheritage.com/images/photos/pic-331-s.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Dynohub advert from SA &lt;a href="http://www.sturmey-archerheritage.com/"&gt;heritage site&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;The Sturmey Archer GH-6 Dynohub was the&amp;nbsp;centerpiece&amp;nbsp;of this system and it&amp;nbsp;preceded&amp;nbsp;the recent glut of contemporary hub dynamos by more than 60 years. Introduced in 1945, it was in production until 1984 according to this Sturmey Archer&lt;a href="http://www.sturmey-archerheritage.com/index.php?page=history-detail&amp;amp;id=62"&gt; heritage site&lt;/a&gt;. &amp;nbsp;&amp;nbsp;It is often mistakingly rated the same as contemporary hub dynamos ( 3W @ 6V) but it actually puts out around 1.8W @ 6V. &amp;nbsp;I've confirmed that my GH-6 saturates at about 330-330 mA, which is consistent with the later power rating.&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-LyOMInh9hTs/ToKXW876S3I/AAAAAAAACnY/EKOctmNtXmY/s1600/dynos.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-LyOMInh9hTs/ToKXW876S3I/AAAAAAAACnY/EKOctmNtXmY/s1600/dynos.gif" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;The Sturmey Archer GH-6 Dynohub. My favorite hub in the whole world.&lt;br /&gt;Photo from Sheldon Brown's &lt;a href="http://www.sheldonbrown.com/dynohubs.html"&gt;Dynohub article&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;In the world of LEDs this is still a very respectable amount of current, so the GH-6, despite its antique status, &lt;strike&gt;is quite capable of powering a modern lighting system&lt;/strike&gt;&amp;nbsp;(&lt;i&gt;Update: after more &lt;a href="http://minisystem.blogspot.com/2011/11/specific-aim-4-dynohub-magnet-upgrade.html"&gt;testing&lt;/a&gt; I've determined that the Dynohub saturates at speeds above 35 km/h, so is, in fact, not very useful for powering LEDs without a &lt;a href="http://minisystem.blogspot.com/2011/11/sturmey-archer-dynohub-magnet-upgrade.html"&gt;magnet upgrade&lt;/a&gt;&lt;/i&gt;). They are reasonably easy to &lt;a href="http://www.gotwind.org/diy/images/Dynohub_assembly.pdf"&gt;disassemble&lt;/a&gt; and &lt;a href="http://www.sheldonbrown.com/dynohubs.html"&gt;service&lt;/a&gt;,&amp;nbsp;provided the bearing races aren't shot and the armature coils are intact. &amp;nbsp;I pulled one apart that was in very rough shape but, despite a lot of internal corrosion, it seems like the armature windings are intact (at least by testing continuity with a multimeter, although I guess this could also mean they are prematurely shorted!).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-B05RE87aXcY/ToKbKX6wV6I/AAAAAAAACnc/_QVTsinFLLA/s1600/pic-62.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="448" src="http://1.bp.blogspot.com/-B05RE87aXcY/ToKbKX6wV6I/AAAAAAAACnc/_QVTsinFLLA/s640/pic-62.jpg" width="640" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Product photo from Sturmey Archer. Oddly, the front hub has been placed in a rear drop out.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;I find the GH-6's lopsidedness appealing, although some might call it an odd looking duck with its one gigantic spoke flange on the dynamo side and a regular sized flange on the other. &amp;nbsp;I discovered that this unusual configuration can make getting a wheel built around the GH-6 take a little longer as the build calls for odd spoke lengths that most bike shops need to special order;&amp;nbsp;I had the GH-6 from a Superbe rebuilt into a modern aluminum rim. &amp;nbsp;Before the build I stripped the hub apart, cleaned it and repacked the bearings. Despite its 42 years (at the time of servicing), it cleaned up&amp;nbsp;beautifully&amp;nbsp;and there was hardly any wear on the races. &amp;nbsp;I expect it will last a lifetime.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.sturmey-archerheritage.com/images/photos/pic-441-s.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://www.sturmey-archerheritage.com/images/photos/pic-441-s.jpg" width="491" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-6084689806487082078?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/6084689806487082078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/09/ode-to-raleigh-superbe-and-its-dynohub.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6084689806487082078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/6084689806487082078'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/09/ode-to-raleigh-superbe-and-its-dynohub.html' title='An ode to the Raleigh Superbe and its Dynohub'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-2Pd8OooHjuM/ToKVIbfzOzI/AAAAAAAACnQ/OVC7NAvu_BA/s72-c/Raleigh_Superbe_5.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-8657137249309531993</id><published>2011-09-27T15:09:00.000-04:00</published><updated>2011-09-27T15:09:17.922-04:00</updated><title type='text'>Choosing LEDs and batchPCB success!</title><content type='html'>My main aim is to design a dynamo powered LED lighting system that can be retrofitted into vintage bicycle housings. &amp;nbsp;My earliest approach was to use T10 &lt;a href="http://en.wikipedia.org/wiki/Edison_screw"&gt;Edison screw&lt;/a&gt; replacement LED bulbs. &amp;nbsp;These are LEDs with a driver circuit retrofitted into a standard 10 mm threaded incandescent bulb housing, which were very common in flashlights until the flange base bulb came into vogue. &amp;nbsp;Almost all of the vintage lamps I've come across use the Edison T10 thread. &amp;nbsp;In theory (and mostly in practice), this is an easy and reasonable way to upgrade vintage lamps to use modern LEDs. &amp;nbsp;All you need is a rectified DC output from the dynamo and the LED's driver circuit handles the rest. However, these LEDs aren't the brightest ones available and you are, for better or worse, at the mercy of the built-in optics of your lamp housing.&lt;br /&gt;&lt;br /&gt;After experimenting with these LED flashlight bulbs for a while I decided I wanted to use my own LEDs and drivers. &amp;nbsp;When being driven by a dynamo LEDs don't really require a regulated current source, defeating the purpose of the driver circuit built into these bulbs. The dynamo itself acts mostly like a&amp;nbsp;&lt;a href="http://pilom.com/BicycleElectronics/Dynamo.htm"&gt;constant current source&lt;/a&gt; nicely limited to 500-600 mA (depending on the hub). &amp;nbsp;&lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=525057"&gt;Many high power LEDs&lt;/a&gt;&amp;nbsp;are available with maximum current limits above what the dynamo can generate. You're really spoiled for choice in this category, so picking one is really just a matter of price. I went for the premium &lt;a href="http://www.cree.com/products/pdf/XLampXP-G.pdf"&gt;XP-G series&lt;/a&gt; for my front light (490lm @ 1.5A), which is step below the &lt;a href="http://www.cree.com/products/pdf/XLampXM-L.pdf"&gt;XM-L&lt;/a&gt; series that can produce a whopping 943lm @ 3A. &amp;nbsp;I am debating between a Cree &lt;a href="http://www.cree.com/products/pdf/XLampXP-E.pdf"&gt;XP-E&lt;/a&gt;&amp;nbsp;(98lm @ 0.7A) or an OSRAM &lt;a href="http://media.digikey.com/pdf/Data%20Sheets/Osram%20PDFs/LA_LR_LY%20W5AM.pdf"&gt;Golden Dragon Plus&lt;/a&gt;&amp;nbsp;(118lm @ 1A) in red for the taillight.&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://media.digikey.com/photos/Cree%20Photos/XPG-Series.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://media.digikey.com/photos/Cree%20Photos/XPG-Series.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px; text-align: center;"&gt;Cree XP-G. 490lm if you can get 1.5A into it (and get rid of the heat!)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Keep in mind that, without some&lt;a href="http://www.candlepowerforums.com/vb/showthread.php?316815-peak-power-trackers-for-bike-dynamos"&gt; extra driver circuitry&lt;/a&gt;, you can't drive these LEDs at their maximum current rating with the hub dynamo, nor would you want to; getting out the heat they produce at high currents requires &lt;a href="http://www.cree.com/products/pdf/XLampThermalManagement.pdf"&gt;careful thermal management design&lt;/a&gt;. &amp;nbsp;So, by picking LEDs with maximum current ratings considerably higher than what the dynamo can generate there should be a fairly wide&amp;nbsp;safety&amp;nbsp;margin for overcurrent and overheating conditions.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Cree XP LEDs are really, really small (3.45 mm square to be exact) and come in a leadless surface mount package. While small is good, it's also a pain in the butt for prototyping. So, I designed a PCB that I should be able to mount in a variety of lamp housings. &amp;nbsp;I'm not exactly sure of the mounting details yet, but this one fits nicely into the &lt;a href="http://oakwoodlife.blogspot.com/2008/12/alvol.html"&gt;Luxor&lt;/a&gt; lamp housing. &amp;nbsp;I used &lt;a href="http://www.cadsoftusa.com/"&gt;EagleCAD&lt;/a&gt; to design the PCB and got this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-B2DJnmd_QP4/ToFE0ZtT_8I/AAAAAAAACm4/gbsnr7H87Wc/s1600/leddisc.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-B2DJnmd_QP4/ToFE0ZtT_8I/AAAAAAAACm4/gbsnr7H87Wc/s1600/leddisc.png" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;EagleCAD LED disc board&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;There's a pad to mount the LED and a spot for a through-hole backplane connector. &amp;nbsp;A via is placed in the thermal pad to connect the top and bottom planes to dissipate heat. There's probably a total of 1.5 square inches or so of PCB that acts as a heatsink. &amp;nbsp;Hopefully this will be enough! &amp;nbsp;I also have a couple of holes for mounting a reflector. &amp;nbsp;The holes are spaced for this &lt;a href="http://www.dealextreme.com/p/18-5mm-smooth-aluminum-reflector-5960"&gt;particular reflector&lt;/a&gt; from DealExtreme, although I've yet to drill and tap the pilot holes in the reflector body. &amp;nbsp;I used &lt;a href="http://batchpcb.com/index.php/Products"&gt;BatchPCB&lt;/a&gt; to get a few of these made. For $30 I got 8 boards shipped, but they wound up sending me 16! It takes about a month, so not great if you're in a hurry!&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-5qfABahr9I8/ToFECHOQULI/AAAAAAAACnI/kFvOi_Z7Mxc/s1600/IMG_20110926_233139.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="280" src="http://3.bp.blogspot.com/-5qfABahr9I8/ToFECHOQULI/AAAAAAAACnI/kFvOi_Z7Mxc/s320/IMG_20110926_233139.jpg" width="280" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;LED disc bottom&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-gadtP3ow6UE/ToFEDj3Tf3I/AAAAAAAACnM/3QPXBH1C8Pw/s1600/IMG_20110926_233127.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="280" src="http://4.bp.blogspot.com/-gadtP3ow6UE/ToFEDj3Tf3I/AAAAAAAACnM/3QPXBH1C8Pw/s320/IMG_20110926_233127.jpg" width="280" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;LED disc top&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ok, now what? &amp;nbsp;Well, with leadless packages you need to reflow; a soldering iron isn't much use. I use the stove top 'frying-pan' method, which is a variation of the &lt;a href="http://www.sparkfun.com/tutorials/59"&gt;hotplate/skillet method&lt;/a&gt;&amp;nbsp;(scroll down...). &amp;nbsp;The frying pan method does not employ any temperature control. I just pop the PCB in the hot pan, press it down with tweezers, wait for the solder paste to reflow and then pull it out as fast as I can. This is potentially risky, as most parts have a maximum reflow temperature/time above which you can cause damage. &amp;nbsp;Here is the finished product:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-OSYLnOz5y8Y/ToFDrWIdDzI/AAAAAAAACmk/JJDA_PX-K-E/s1600/IMG_20110926_232347.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="640" src="http://3.bp.blogspot.com/-OSYLnOz5y8Y/ToFDrWIdDzI/AAAAAAAACmk/JJDA_PX-K-E/s640/IMG_20110926_232347.jpg" width="480" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;White XP-G on LED disc board with reflector&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I put a &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;amp;name=711-1171-ND"&gt;plastic&amp;nbsp;adhesive reflector&lt;/a&gt; on it. Not sure if a&amp;nbsp;reflector&amp;nbsp;will be necessary or if the optics of the original lights will suffice. &amp;nbsp;Here's the red XP-E with 400 mA running through it:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-gMjX4PC3d6Q/ToFDvXUjgOI/AAAAAAAACmo/SdpZaZxiwKc/s1600/IMG_20110926_201352.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-gMjX4PC3d6Q/ToFDvXUjgOI/AAAAAAAACmo/SdpZaZxiwKc/s400/IMG_20110926_201352.jpg" width="300" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Not much to see here except that it is extremely bright. &amp;nbsp;For the rear light, I doubt I'll need optics. The lamp's lens should be enough to diffuse the light. &amp;nbsp;At this point, I think decisions about which LED to use become a bit philosophical. &amp;nbsp;The Gold Dragon Plus can put out 118 lumens of red light at 1A. &amp;nbsp;The XP-E in the above photograph is probably putting out about 50lm and it is blinding. When flashing it will be even more noticeable. &amp;nbsp;It also gets quite warm, so it might not be a good idea to put more&amp;nbsp;current&amp;nbsp;through it. &amp;nbsp;I'm going to have some PCBs made for the Golden Dragon just to try it out, but I doubt the existing design will be sufficient to handle the heat it will produce at full current.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-8657137249309531993?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/8657137249309531993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/09/choosing-leds-and-batchpcb-success.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8657137249309531993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/8657137249309531993'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/09/choosing-leds-and-batchpcb-success.html' title='Choosing LEDs and batchPCB success!'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-B2DJnmd_QP4/ToFE0ZtT_8I/AAAAAAAACm4/gbsnr7H87Wc/s72-c/leddisc.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-4847506439975851831</id><published>2011-09-25T12:27:00.000-04:00</published><updated>2011-09-25T12:27:04.988-04:00</updated><title type='text'>charging supercapacitors</title><content type='html'>&lt;a href="http://supercapacitors/"&gt;Supercapacitors&lt;/a&gt; are super because they can have much higher energy densities than capacitors that aren't so super. &amp;nbsp;A capacitor becomes super in the tens to thousands of Farads range, compared to the measly pico to microfarad range of not-super capacitors. &amp;nbsp;The eventual development of cheap supercapacitors seems to be what has led to the 'standlight revolution' in commercial dynamo lighting systems. &amp;nbsp;Back in the old days, when you stopped your lights would go out, although I've seen references to a few obscure vintage lights with battery powered standlights. &amp;nbsp;Now, when you stop, a charge stored in your light's supercapacitor can keep the LED on for a few minutes. &amp;nbsp;Supercapacitors are a good choice for standlight power as they can be charged up very quickly and can go through many many more charge/discharge cycles than any kind of battery.&lt;br /&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-YQTljev5nus/TnwEuOspPGI/AAAAAAAAClc/mKLgLy1ssOw/s1600/supercap.JPG" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="200" src="http://3.bp.blogspot.com/-YQTljev5nus/TnwEuOspPGI/AAAAAAAAClc/mKLgLy1ssOw/s200/supercap.JPG" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px; text-align: center;"&gt;3V 20F supercapacitor. Yours for only $8.38 CAD!&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;While these commercial standlights work well, my main complaint about them is that the lights dim significantly when they switch to capacitor power at a stop. &amp;nbsp;Commercial standlights typically use a 5.5V 1F capacitor. This doesn't store enough energy to keep the LEDs on at full brightness, so the discharge of the capacitor is slowed by dimming the LEDs (this applies mostly to the standlight for headlights). &amp;nbsp;Personally, I'd rather have a brighter standlight, which should be possible with a larger supercapacitor. &amp;nbsp;Higher value supercaps are, of course, bigger and more expensive than the little Gold Caps that are used most frequently.&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-SXp85U7tu64/TnwII69w4_I/AAAAAAAACl0/tvPaaxrOzq0/s1600/IMG_20110922_235709.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="240" src="http://1.bp.blogspot.com/-SXp85U7tu64/TnwII69w4_I/AAAAAAAACl0/tvPaaxrOzq0/s320/IMG_20110922_235709.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px; text-align: center;"&gt;b&amp;amp;m taillight guts&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The biggest issue with supercapacitors is that they can only handle small voltages,&amp;nbsp;typically&amp;nbsp;between 2.5 and 3.0V for supercaps over 10F. &amp;nbsp;If you charge them beyond that voltage they can be damaged, or worse. &amp;nbsp;So, strict voltage regulation is required. &amp;nbsp;Another big issue is that you need to limit the current going into a supercapacitor. They'll take what current they can get, as they appear to your dynamo as a much lower resistance load than your LEDs. &amp;nbsp;This means your lights won't come on until your capacitor is charged up. &amp;nbsp;Finally, the low voltage of of the capacitor creates a problem for lighting LEDs. LEDs typically have forward voltages (Vf) in the 2 to 3V range, but don't operate at any voltage below their Vf. &amp;nbsp;So, a 2.7V supercapacitor can only drive a 2V LED until it reaches 2V. &amp;nbsp;With 2V across it the capacitor still has lots of juice left in it, but the LED can't get it out on its own.&lt;/div&gt;&lt;div style="text-align: right;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-LVI8VL9sex4/TnwExVcmhOI/AAAAAAAAClg/T8Sk3ckO5Rc/s1600/ltc3225.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="300" src="http://3.bp.blogspot.com/-LVI8VL9sex4/TnwExVcmhOI/AAAAAAAAClg/T8Sk3ckO5Rc/s400/ltc3225.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;This is a functioning DFN-DIP adapter, but it took a while...&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div&gt;My first solution was to double them up in series. Two 2.7V 20F caps can become one 5.4V 10F cap, giving plenty of voltage overhead for powering LEDs. &amp;nbsp;Turns out, voltage balancing is crucial when charging a supercap stack, as any unbalanced voltage can cause one cap in the stack to go overvoltage. Linear Technologies makes some nice looking chips that take care of that balancing and limit the current too. &amp;nbsp;I started with the &lt;a href="http://www.linear.com/product/LTC3225"&gt;LTC3225&lt;/a&gt;, which, on paper, looked like a perfect solution. &amp;nbsp;I went to the trouble of soldering the tiny 8 pin leadless DFN package onto a homemade DIP board before I&amp;nbsp;wizened&amp;nbsp;up and found an adapter board from Ancaster, Ontario's very own &lt;a href="http://www.proto-advantage.com/store/index.php"&gt;Proto-Advantage&lt;/a&gt;. &amp;nbsp;The LTC3225 worked as advertised except for one crucial aspect: despite programming it to charge the caps at 200 mA, I could only get it to charge at 30 mA. &amp;nbsp;Either I was doing something wrong or the one they sent me was way out of spec. &amp;nbsp;Either way, I opted to try another Linear supercap charger, the &lt;a href="http://www.linear.com/product/LTC4425"&gt;LTC4425&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://cds.linear.com/images/product/4294_app_1.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="216" src="http://cds.linear.com/images/product/4294_app_1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;LTC4425 application schematic&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: right;"&gt;&lt;/div&gt;&lt;br /&gt;The LTC4425 worked and I was able to get it charging up a supercap stack at 200 mA (or whatever current was programmed with the Iset resistor). &amp;nbsp;In practice, however, the LTC4425 couldn't limit the inrush current of a discharged stack, which meant that for the first few seconds, all of the available current went into the supercap stack and none went to the LEDs! &amp;nbsp;As soon as the stack had some minimum voltage across it, the current regulation would start working properly.&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-88aVapeDIxc/Tn9GVLsGpvI/AAAAAAAACl8/ZJicSXoej1A/s1600/IMG_20110925_111720.jpg" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="283" src="http://1.bp.blogspot.com/-88aVapeDIxc/Tn9GVLsGpvI/AAAAAAAACl8/ZJicSXoej1A/s320/IMG_20110925_111720.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 13px; text-align: center;"&gt;LTC4425 MSOP-12 package. Pain in the butt!&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;While this was kind of a bummer, it pushed me towards a cheaper and probably better solution. While working with the LTC4425 I was introduced to a wonderful little chip called the &lt;a href="http://diodes.com/zetex/_pdfs/3.0/pdf/ZXSC310.pdf"&gt;ZXSC310&lt;/a&gt; by the wise folks at &lt;a href="http://candlepowerforums.com/vb/forumdisplay.php?86-Bicycle"&gt;candlepowerforums&lt;/a&gt;. &amp;nbsp;This is a LED boost driver than can drive LEDs with a Vin as low as 0.8V. &amp;nbsp;With a supercap charged up to 2.7 or 3.0V, there's plenty of voltage overhead to drive power LEDs at reasonable currents. &amp;nbsp;In practice, the 310 worked great and eliminated the need for a stack of supercapacitors, which meant I only needed to accomplish the relatively simple task of charging a single supercapacitor. &amp;nbsp;This is easily achieved with a voltage regulator and a current limiter.&lt;br /&gt;&lt;br /&gt;In my case, I chose a 3.0V linear regulator (potentially a bad idea as it has to drop a lot of voltage from the dynamo under certain circumstances), the &lt;a href="http://www.micrel.com/_PDF/mic5209.pdf"&gt;MIC5209&lt;/a&gt;, and a current limiting load switch, the &lt;a href="http://www.fairchildsemi.com/ds/FP/FPF2123.pdf"&gt;FPF2125&lt;/a&gt;. &amp;nbsp;This circuit very effectively limits the current going into the supercapacitor under all circumstances, so the LEDs get their share, eventually getting all the current from the dynamo once the supercap is charged.&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-RiwGEPrzd6Y/Tn9VUgadJbI/AAAAAAAACmU/KhLWuKtEt_w/s1600/capcharger.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-RiwGEPrzd6Y/Tn9VUgadJbI/AAAAAAAACmU/KhLWuKtEt_w/s1600/capcharger.png" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Supercapacitor charging circuit&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-4847506439975851831?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/4847506439975851831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/09/charging-supercapacitors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/4847506439975851831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/4847506439975851831'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/09/charging-supercapacitors.html' title='charging supercapacitors'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-YQTljev5nus/TnwEuOspPGI/AAAAAAAAClc/mKLgLy1ssOw/s72-c/supercap.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-1688116453509981955</id><published>2011-09-22T13:10:00.000-04:00</published><updated>2011-09-22T14:51:54.128-04:00</updated><title type='text'>tail lamps: to flash or not to flash</title><content type='html'>After the Sturmey Archer bullet lamp was stolen from my wife's 1966 Raleigh Superbe and my rage (which I &lt;a href="http://minisystem.ca/light_thief.html"&gt;documented&lt;/a&gt; on Craigslist) had subsided, I decided it was time to get working on a new lighting project. &amp;nbsp;I had also been eyeing my Mom's 80s Raleigh &lt;a href="http://sheldonbrown.com/retroraleighs/sprite.html"&gt;Sprite&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Step-through_frame#Mixte"&gt;mixte&lt;/a&gt; that was sitting neglected and dusty in the garage for years. &amp;nbsp;My wife complained her Superbe was heavy and clunky (it was), and the &lt;a href="http://themixtegallery.wordpress.com/"&gt;elegant&lt;/a&gt; and lighter mixte was a better size and the frame was in much better shape than the beat up old Superbe. &amp;nbsp;I planned to fix it up, and a new bike was a good excuse for a new lighting system.&lt;br /&gt;&lt;br /&gt;One thing that impressed me about the first &lt;a href="http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html"&gt;system&lt;/a&gt; I built was how incredibly bright the rear lamp was. It was easily as bright as a the tail light of a moped, if not brighter. &amp;nbsp;My night riding is primarily done in the city where I feel especially vulnerable in traffic from behind, where, of course, I can't see what's coming. &amp;nbsp;Most bicycle lighting (and especially the premium kind), both battery and dynamo-powered, is focussed on the head light. &amp;nbsp;People take painstakingly staged beam shots of their commercial and homemade head lights using the latest and greatest Cree emitters and optics. &amp;nbsp;There seems to be a&amp;nbsp;&lt;a href="http://candlepowerforums.com/vb/forumdisplay.php?86-Bicycle"&gt;great&lt;/a&gt; &lt;a href="http://forums.mtbr.com/lights-night-riding/"&gt;amount&lt;/a&gt;&amp;nbsp;of &lt;a href="http://forums.mtbr.com/lights-diy-do-yourself/"&gt;interest&lt;/a&gt; in the design, output and illumination patterns of head lamps. &amp;nbsp;As I don't often find myself careening down steep hills in the woods or mountains on moonless nights, I must admit that I don't share this fascination with my fellow bike light&amp;nbsp;aficionados. &amp;nbsp;I do, on the other hand, fret quite often about getting mowed down by a car coming at me from behind as I wait to turn left at a traffic light in the city. &amp;nbsp;So, in my lighting system I plan to devote as much or more attention to the design and output of the tail lamp.&lt;br /&gt;&lt;br /&gt;First and foremost, I want the tail lamp to be bright. Really, really, really bright! &amp;nbsp;Second, I want it to be diffuse, so it can be visible from a wide angle. &amp;nbsp;Most commercial tail lights fail rather miserably at being both bright and visible at a wide angle. &amp;nbsp;Typically, they use multiple low power LEDs with optics to produce a bright but narrowly focussed beam. &amp;nbsp;I also want to be able to fit the LED and its associated circuitry and heat sinking into a variety of vintage tail lamp housings, which are considerably more elegant than&amp;nbsp;contemporary&amp;nbsp;offerings. &amp;nbsp;I'm especially fond of fender-mounted tail lights.&lt;br /&gt;&lt;br /&gt;Finally, I want my tail light to be able to flash. &amp;nbsp;Interestingly, Germany, the mecca of dynamo bicycle lights, has laws governing bicycle illumination and has outlawed flashing bicycle lights. Several other European countries have also made blinking lights illegal. &amp;nbsp;Since these are the markets that dynamo light makers primarily sell to, there are no (as far as I can tell) commercial offerings for flashing dynamo lights. The wise lawmakers of these nations must have well-considered reasons for outlawing blinking lights (although apparently Great Britain has revised their &lt;a href="http://www.ctc.org.uk/desktopdefault.aspx?tabid=4071"&gt;lighting regulations&lt;/a&gt; to allow flashers). They mesmerize tired or drunk drivers, interfere with night vision, make distance hard to estimate, annoy other cyclists riding behind you, etc, etc. There seems to be a litany of reasons for their banishment from a nation's pedal cycles. However, over here in North America I can think of two very good reasons why one would want a flashing tail light:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Almost every cyclist uses a flashing tail light for urban night riding. That's just what's been marketed to us by light makers and it is now the unofficial standard of North American bicycle lighting (blame the half-decade ubiquity of the &lt;a href="http://www.knog.com.au/gear-lights/"&gt;knog&lt;/a&gt; or the &lt;a href="http://ecom1.planetbike.com/3034.html"&gt;superlfash&lt;/a&gt;!). As a consequence, it's what both cyclists and drivers are accustomed to.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;In an after dark urban environment, solid, low power, narrow beamed tail lights have a lot of other light to compete with. In these parts there's been a proliferation of European-style commuter bikes with dynamo lighting. As such, they come equipped with solid tail lights. My experience riding behind such bikes is that their tail lights kind of get lost in the optical cacophony of car lights, street lights, commercial signage, utility and emergency vehicle lights, etc. So, in the same way an emergency vehicle has strobed lights to grab your attention in an already visually busy environment, a bright strobing tail light on a bicycle screams out 'DON'T RUN ME DOWN!'&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;That said, in cases where flashing lights are not appropriate (avoiding arrest on cycling trips to Europe or long night rides with other cyclists, for instance), there's a requirement for the flasher to be disabled.&lt;br /&gt;&lt;br /&gt;During my design process, I discovered one reason why light makers haven't bothered to make a flashing dynamo light. &amp;nbsp;Turns out, they are kind of &lt;a href="http://www.candlepowerforums.com/vb/showthread.php?319330-555-based-dynamo-powered-flasher-circuit"&gt;difficult to implement&lt;/a&gt;. The big issue is what to do with the power of the dynamo during the off cycle of the blink. &amp;nbsp;&lt;a href="http://pilom.com/BicycleElectronics/Dynamo.htm"&gt;Dynamos&lt;/a&gt; are essentially constant current devices and their voltage is primarily determined by their speed and the resistance of the load. &amp;nbsp;So, disconnecting the load (during the off-cycle of a flash) causes the dynamo voltage to spike, which has the potential to make things smoke!&lt;br /&gt;&lt;br /&gt;After much effort, though, I now have a working prototype of a dynamo-powered flasher, the details of which I'll post soon.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-1688116453509981955?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/1688116453509981955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/09/tail-lamps-to-flash-or-not-to-flash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/1688116453509981955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/1688116453509981955'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/09/tail-lamps-to-flash-or-not-to-flash.html' title='tail lamps: to flash or not to flash'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-5353505971478116148</id><published>2011-09-22T01:07:00.000-04:00</published><updated>2011-09-27T14:45:59.036-04:00</updated><title type='text'>back to the workbench!</title><content type='html'>&lt;br /&gt;Well, it was three summers ago that I worked on the&lt;a href="http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html"&gt; lithium ion dynamo charging circuit&lt;/a&gt;. &amp;nbsp;The lighting system itself worked very well as a 'be-seen' light for riding around the city, especially the rear light, which was really impressive. &amp;nbsp;The LED was very bright, without optics and the lens on the tail light diffused it nicely to make it visible from a fairly wide angle.&lt;br /&gt;&lt;br /&gt;Unfortunately, there were a couple of mechanical and design issues that ultimately led to its retirement. First, the old Sturmey Archer lamp switch was pretty flaky and getting the knob in just the right position to make contact and turn the lamp on could be tedious. &amp;nbsp;The first failure came when one of the internal wires popped loose, most likely due to a combination of vibration and my bad soldering! &lt;br /&gt;&lt;br /&gt;The real problem, though, was the lack of a proper load switch in the design. &amp;nbsp;The battery was in parallel with the charging circuit and the LEDs and I think those LEDs could draw more current from the battery than the dynamo could replace while riding. &amp;nbsp;This meant that proper battery charging could only happen during day riding with the lights off. &amp;nbsp;Riding at night for long enough could deplete the battery completely. &amp;nbsp;The charging circuit could provide enough current to drive the LEDs from the dynamo, but they went out, of course, as soon as you stopped.&lt;br /&gt;&lt;br /&gt;An improved design would have incorporated a load switch that would disconnect the battery from the LEDs while the bike was moving and connect them only when stopped. However, even lithium ion batteries have a limited lifetime, so in the long run, this design wasn't viable for the obsessive technical idealist in me (in&amp;nbsp;practical&amp;nbsp;terms, with a proper load switch I expect a&amp;nbsp;lithium&amp;nbsp;ion powered standlight would've lasted years). &amp;nbsp;&lt;a href="http://www.peterwhitecycles.com/schmidt-headlights.asp"&gt;Commercial dynamo lights&lt;/a&gt; use &lt;a href="http://batteryuniversity.com/learn/article/whats_the_role_of_the_supercapacitor"&gt;supercapacitors&lt;/a&gt; to store energy to keep the lights on while stopped. &amp;nbsp;Supercapacitors can be charged up very quickly to hold just enough energy to keep your lights on for a few minutes. &amp;nbsp;Better yet, they can be charged and discharged hundreds of thousands of times (or more) before their performance declines. &amp;nbsp;Adding a supercapacitor requires careful design, requiring both the voltage to be strictly regulated as well as limiting the charge current. &amp;nbsp;At the time, I felt such a design was beyond my technical expertise.&lt;br /&gt;&lt;br /&gt;Anyway, the lithium ion standlight on my wife's bike didn't get much use; she was very pregnant by the time I finished the project and didn't really start riding again until autumn of 2009. &amp;nbsp;At this point, some of the aforementioned issues arose, but the impetus to start working again on dynamo lighting circuits in earnest came when some absolute &lt;b&gt;fucker&lt;/b&gt;&amp;nbsp;decided that he needed the Sturmey Archer taillight more than my wife's bike needed it. &amp;nbsp;The thief, who knew what he was after, snipped the wire and, with tools he must have brought specifically for the job, removed the taillight and courteously replaced it with a crappy chromed plastic Cateye taillight. &amp;nbsp;Most of the &lt;a href="http://www.drumbent.com/superbe.html"&gt;Raleigh Superbes&lt;/a&gt; I see on the street have dangling, unused Sturmey bullet tail lamps, so it was just my luck that probably the only other person in a city of 2.5 million people who had a thing for vintage Sturmey Archer tail lamps happened across my wife's bike and decided to steal the rear light. &lt;br /&gt;&lt;br /&gt;Around the same time, I was starting to get obsessed with &lt;a href="http://aldoblog2008.blogspot.com/search?q=light"&gt;vintage French bicycle lights &lt;/a&gt;from the 50s and 60s. &amp;nbsp;Unlike their British and American counterparts, who used chromed steel, many French lamp makers used polished aluminum, resulting in many elegant and well-perserved specimens. &amp;nbsp;After several months hanging around Ebay France, I had secured my first set of hammered Luxor lamps.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-yJA53j-OSZY/Tnq4sV1CKhI/AAAAAAAAClU/r6RQy5oCuFQ/s1600/luxor.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/-yJA53j-OSZY/Tnq4sV1CKhI/AAAAAAAAClU/r6RQy5oCuFQ/s400/luxor.jpg" width="300" /&gt;&lt;/a&gt;&lt;/div&gt;So, with a nice set of lamps and the demise of my wife's bike's lighting system, I started to look again into designing a modern dynamo-powered LED lighting system with a standlight that could be retrofitted into vintage lamp housings.&lt;br /&gt;&lt;br /&gt;Thus far, much progress has been made, which I will chronicle here!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-5353505971478116148?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/5353505971478116148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2011/09/back-to-workbench.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/5353505971478116148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/5353505971478116148'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2011/09/back-to-workbench.html' title='back to the workbench!'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-yJA53j-OSZY/Tnq4sV1CKhI/AAAAAAAAClU/r6RQy5oCuFQ/s72-c/luxor.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3561798115215934165.post-2422038119907627191</id><published>2008-07-10T15:14:00.000-04:00</published><updated>2008-12-09T04:29:07.340-05:00</updated><title type='text'>dynamo lithium ion battery charging</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-family:arial;" &gt;Introduction&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For a while now I've been obsessed with bicycle hub dynamos. Two of my three &lt;a href="http://minisystem.ca/bicycles/mybikes.html"&gt;bikes&lt;/a&gt; are equipped with them.  I ride quite a lot at night around the streets of Toronto, and for almost half of my year-round commute I ride home from work in the dark. A well designed dynamo-powered bicycle lighting system can provide a surprising amount of light with very little load on the rider and almost no extra drag while riding during the day with the lights off.&lt;br /&gt;&lt;br /&gt;I bought my wife a very dilapidated 1966 &lt;a href="http://minisystem.ca/bicycles/1966.html"&gt;Raleigh Superbe&lt;/a&gt; from a friendly street bike peddler with an enthusiasm for old English 3 speeds.  The Superbe was the high-end model of the Raleigh 3 speed family and came equipped with a Sturmey-Archer GH6 6V 2W (some sources say 3W) &lt;a href="http://www.sturmey-archerheritage.com/detail.php?id=62"&gt;Dynohub&lt;/a&gt; and a shiny chrome light set (unfortunately missing from this example).&lt;br /&gt;&lt;br /&gt;I &lt;a href="http://www.sheldonbrown.com/dynohubs.html"&gt;overhauled&lt;/a&gt; the Dynohub and was excited to find out that it still worked.  After some hunting around on ebay I got lucky and managed to track down a NOS Sturmey Archer chrome light set for a reasonable price (some folks are willing to pay over $100 for a &lt;span style="font-style: italic;"&gt;used&lt;/span&gt; set!).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_U_GoAchQeCk/SHbcEztkTnI/AAAAAAAAAUA/cCtombOfTCo/s1600-h/ee00_1.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_U_GoAchQeCk/SHbcEztkTnI/AAAAAAAAAUA/cCtombOfTCo/s400/ee00_1.JPG" alt="" id="BLOGGER_PHOTO_ID_5221602793141587570" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;Brand new out of the box (hand&lt;/span&gt;&lt;span style="font-style: italic;"&gt; courtesy of the gentlemen who got far less than 100 bux for his shiny wares).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The original configuration did not throw out much light at low speeds and, of course, the lights went out completely when the bicycle came to a stop.  A few modern dynamo lights have a supercapacitor that can power a small auxiliary LED while the bike is stationary (called a standlight).  Busch &amp;amp; Muller even make a nice chrome &lt;a href="http://www.bumm.de/index-e.html?docu/1706e.htm"&gt;retro-styled headlight&lt;/a&gt; with this feature but offer no matching rear light.  I have one of these for my bike equipped with a modern 3W Shimano hub, but the old GH6 doesn't quite put out enough juice to satisfactorily light up the 2.4W halogen bulb.  Being an obsessive weirdo this just wouldn't do, so I thought I'd try to build a modern dynamo lighting system with a standlight into the original Sturmey Archer lamps for my wife's Raleigh.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 102); font-weight: bold;font-family:arial;font-size:130%;"  &gt;Step One: Finding Suitable LEDs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The GH6 has a lower output than modern dynamos, so using LEDs as the main lamps instead of the original incandescent bulbs makes good sense to get high brightness at low speeds.  With a total power output of about 2W, I figured 1W front and rear should do.  Bicycle dynamos put out AC, so an AC to DC conversion needs to be worked out as well - more on that later...&lt;br /&gt;&lt;br /&gt;Scrounging around google, I found that there are several manufacturers that make &lt;a href="http://www.terraluxcorp.com/products/TLE1.php?"&gt;drop-in LED replacements&lt;/a&gt; for flashlight bulbs.  The &lt;a href="http://www.luxeonstar.com/ministar1-%C3%82%E2%80%93-1w-luxeon-led-for-26-cell-cd-flashlights-%C3%82%E2%80%93-screw-p-388.php"&gt;TLE-1S&lt;/a&gt; is a 1W white LED with a screw base that fits the Sturmey Archer head lamp. $15.99 for a flashlight bulb? Only a crazy person would want this.  They do brag about a 'power push' circuit which is supposed to suck every last drop of juice out of the batteries that are meant to power it without dimming.  Most importantly, it accepts a fairly wide input voltage (3-9V) and presumably has some way of limiting the current going into the LED.&lt;br /&gt;&lt;br /&gt;Finding an appropriate taillight proved more difficult. The Sturmey Archer tail lamp uses a bulb with an old fashioned automotive wedge base. There are LED replacement bulbs available in a rainbow of colours, but they all seem to be 12V only.  I experimented with a &lt;a href="http://www.terraluxcorp.com/products/TLE-20page.php?"&gt;mini maglight replacement bulb&lt;/a&gt; that used pin contacts and soldered them to the filament terminals of a broken wedge bulb base and then encased the whole thing in silicone, but unlike the TLE-1S the TLE-20 didn't seem to have suitable current limiting circuitry. Unfortunately it took blowing two $12 bulbs to learn this. bummer. :(&lt;br /&gt;&lt;br /&gt;I finally settled on a &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=67-2061-ND"&gt;2V 350mA 1W jumbo red LED&lt;/a&gt; from digikey, but it's a bit steep at $5.17.  This is just a LED so it will need a current limiting resistor.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt; &lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-family:arial;" &gt;Step Two: Designing a standlight&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Many modern dynamo bicycle lights use a supercapacitor to power auxiliary low power LEDs, which provide some light while the bicycle is stationary.  I only wanted to work with the main bulbs in the front and rear lamps and keeping 2W worth of LEDs  lit for more than a few seconds would require some hefty supercapacitors. I originally tried to work out a design using a &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=589-1012-ND"&gt;120F supercapacitor&lt;/a&gt;, which is slightly shorter and fatter than an AA battery.  The supercapacitor solution seems the most elegant, but with a typical supercapacitor rating of only 2.3V and the dynamo's output ranging from 3-20 VDC (after running it through a &lt;a href="http://en.wikipedia.org/wiki/Bridge_rectifier"&gt;bridge rectifier&lt;/a&gt;) the design requirements quickly exceeded my ability.&lt;br /&gt;&lt;br /&gt;Using a battery to power the LEDs and using the dynohub to recharge the battery seemed like a less elegant but more practical solution to keeping the lights on when stopped.  There are a few resources for &lt;a href="http://www.nscl.msu.edu/%7Edaniel/sreg.htm"&gt;dynamo-powered battery chargers&lt;/a&gt; out there, but they were too complicated and bulky for my requirements.  I needed a small charging circuit and a small battery that would fit together into the housing of the headlamp. High capacity 3.6V lithium ion CR123A camera batteries are a good fit and are available for only a few bucks complete with a built-in circuit to prevent over-charging, over-discharging and over-heating.  I went with the &lt;a href="http://www.dealextreme.com/details.dx/sku.3273"&gt;Ultrafire Li-Ion&lt;/a&gt; from DealExtreme ($5.08 for two!)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_U_GoAchQeCk/SHghNNPkIqI/AAAAAAAAAV4/urENRai_XJ4/s1600-h/3273-a4f7b62f-7815-4430-b099-1562a5e8823f.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_U_GoAchQeCk/SHghNNPkIqI/AAAAAAAAAV4/urENRai_XJ4/s400/3273-a4f7b62f-7815-4430-b099-1562a5e8823f.jpg" alt="" id="BLOGGER_PHOTO_ID_5221960278713049762" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;Here's the 880mAh Ultrafire with its cover peeled off to reveal the protection circuitry.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-size:130%;" &gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;Step 3: Design a regulated battery charging circuit&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;Single cell lithium ion batteries have very specific &lt;a href="http://www.batteryuniversity.com/partone-12.htm"&gt;charging requirements&lt;/a&gt;. Just connecting the rectified output of the hub wasn't going to cut it.  For starters, 3.6V Li-Ion cells need exactly 4.1 or 4.2V and carefully controlled current regulation during charging, but the GH6 throws out anywhere from 3V at low speeds to over 20V at higher speeds  (based on my measurements of the rectified output).&lt;br /&gt;&lt;br /&gt;Fortunately, there are several integrated circuits available that are designed specifically to monitor the charging of Li-Ion cells.  I went with the simplest one I could fine: the National Semiconductor &lt;a href="http://www.national.com/mpf/LM/LM3622.html"&gt;LM3622&lt;/a&gt;, available from &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=LM3622AM-4.1-ND"&gt;Digikey&lt;/a&gt; for $3 (or you can ask National for samples).  The LM3622AM-4.1-ND takes anything from 4.5V up to 24V and puts out exactly 4.1V.  It controls the current going into the cell by monitoring the cell's charge status and in its most basic configuration requires only 5 external components.  National even has a handy &lt;a href="http://www.national.com/nationaledge/feb01/usb.html"&gt;application note&lt;/a&gt; about it, which suggests exactly what components and values to use for the highest efficiency.&lt;br /&gt;&lt;br /&gt;Perfect!  There's only one problem:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_U_GoAchQeCk/SHgn95_-lxI/AAAAAAAAAWA/UBOVJxvvFbU/s1600-h/14-8-SOIC.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 221px; height: 221px;" src="http://4.bp.blogspot.com/_U_GoAchQeCk/SHgn95_-lxI/AAAAAAAAAWA/UBOVJxvvFbU/s400/14-8-SOIC.jpg" alt="" id="BLOGGER_PHOTO_ID_5221967712430757650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It only comes in a tiny 4.9mm x 3.9mm SOIC8 surface mount package.  Having only ever soldered through hole components, I thought I'd hit a wall.  But, it turns out that the SOIC8 is one of the larger SMD packages out there and that soldering with conventional techniques &lt;a href="http://www.sparkfun.com/commerce/present.php?p=SMD-HowTo-1"&gt;is not that bad&lt;/a&gt; (although I remained skeptical until I actually did it).&lt;br /&gt;&lt;br /&gt;So, I designed the charging circuit, including a bridge rectifier, based on the design in National's &lt;a href="http://www.national.com/nationaledge/feb01/usb.html"&gt;application note&lt;/a&gt;.  To make the schematic and layout the circuit board I used &lt;a href="http://www.cadsoft.de/"&gt;EagleCAD&lt;/a&gt;, a difficult to learn but ultimately useful FREE (for my needs at least) software package that can run on Mac OS 10.  To make things even easier, &lt;a href="http://www.ladyada.net/"&gt;Lady Ada &lt;/a&gt;has EagleCAD &lt;a href="http://www.ladyada.net/media/wavebubble/wavebubble%20RC1a.zip"&gt;files&lt;/a&gt; on her site that include an LM3622 device used in her &lt;a href="http://www.ladyada.net/make/wavebubble/index.html"&gt;Wave Bubble&lt;/a&gt;, saving me the trouble of having to figure out how to configure custom devices in already hard-to-learn software.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://picasaweb.google.com/jeffrey.lee/BikeLight/photo?authkey=_ZalZ9HA5Vg#5221976574272978962"&gt;&lt;img src="http://lh6.ggpht.com/jeffrey.lee/SHgwBu7zwBI/AAAAAAAAAWo/txn6PsWTfLk/s800/LM3622.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-size:130%;" &gt;&lt;span style="font-family:arial;"&gt;Step 4: Test a prototype&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I bought all the parts from Digikey, including an &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=A724-ND"&gt;SOIC-8 to DIP-8 adapter&lt;/a&gt; (virtual robbery at $6.43 a piece) to facilitate the use of a prototyping breadboard.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_U_GoAchQeCk/SHg0xnlyYpI/AAAAAAAAAWw/GQV0n0nmb5k/s1600-h/IMG_4939.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_U_GoAchQeCk/SHg0xnlyYpI/AAAAAAAAAWw/GQV0n0nmb5k/s400/IMG_4939.JPG" alt="" id="BLOGGER_PHOTO_ID_5221981794981798546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Soldering the SOIC8 package to the DIP adapter proved to be easier than I thought. I was even drunk and shaky from too much coffee.&lt;br /&gt;&lt;br /&gt;Using a regulated DC power source, I was able to get 4.09V over a range of input voltages and  when connected to a discharged Li-Ion cell, the charging circuit drew about 180mA and took about 2 hours to drop the current to a couple hundred µA, indicating that the charge was complete.  I tested a rectified AC source from the motor-crank assembly of a wind-up flashlight to roughly mimic the output of the dynohub (albeit with a much higher frequency) and the circuit worked fine. Success!&lt;br /&gt;&lt;br /&gt;Now to see if the GH6 Dynohub could power the charger:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjAYX_sbNI/AAAAAAAAAW4/PN2eO9D3y68/s1600-h/IMG_4957.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjAYX_sbNI/AAAAAAAAAW4/PN2eO9D3y68/s400/IMG_4957.JPG" alt="" id="BLOGGER_PHOTO_ID_5222135292926651602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Even at low to moderate speeds, the GH6's output was good enough to power the circuit. Spinning the wheel as fast as I could made the voltage across the rectifier peak close to 20V, a little over 4V shy of the LM3622's maximum rated input.  I doubt my wife will ever go that fast, even downhill in relatively flat Toronto.&lt;br /&gt;&lt;br /&gt;Here is the complete parts list for the charger:&lt;br /&gt;&lt;br /&gt;1 &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=LM3622AM-4.1-ND"&gt;LM3622&lt;/a&gt; IC&lt;br /&gt;1 &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=497-2579-5-ND"&gt;D45H8&lt;/a&gt; transistor&lt;br /&gt;1 &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=MBRS130LT3GOSCT-ND"&gt;MBRS130L&lt;/a&gt; diode&lt;br /&gt;2 10 µF capacitor&lt;br /&gt;1 0.22ohm resistor&lt;br /&gt;1 1000 µF electrolytic capacitor&lt;br /&gt;1 &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=W02M-BPMS-ND"&gt;W02M&lt;/a&gt; 1.5A 200V bridge rectifier&lt;br /&gt;1 &lt;a href="http://www.dealextreme.com/details.dx/sku.3273"&gt;CR123A&lt;/a&gt; 880mAh 3.6V Li-Ion battery&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-family:arial;font-size:130%;"  &gt;Step 5: Make a PCB&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The charging circuit needs to be assembled into as small a package as possible to fit into the housing of the headlamp.  Here's what I came up with:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_U_GoAchQeCk/SHjFHYEFkDI/AAAAAAAAAXA/rFtAtJohOOM/s1600-h/pcb.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 334px; height: 329px;" src="http://1.bp.blogspot.com/_U_GoAchQeCk/SHjFHYEFkDI/AAAAAAAAAXA/rFtAtJohOOM/s400/pcb.jpg" alt="" id="BLOGGER_PHOTO_ID_5222140498445439026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With no mad PCB-routing skills, this is the best I could do for a single-sided design with large traces and pads suitable for DIY etching. Q1 is a large 10A power transistor and probably could have been swapped for a smaller SMD component such as the &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=497-4365-1-ND"&gt;STN479&lt;/a&gt; used in the design of the &lt;a href="http://www.ladyada.net/make/wavebubble/"&gt;Wave Bubble&lt;/a&gt;.  I decided to stick with the &lt;a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=497-2579-5-ND"&gt;D45H8&lt;/a&gt; suggested in National's application note, even if it was overkill.  The final footprint of the PCB is a little less than 1.3" square.  Download the EagleCAD project &lt;a href="http://www.minisystem.ca/bicycles/eagle.zip"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Using a &lt;a href="http://minisystem.ca/bicycles/pcb.pdf"&gt;PDF&lt;/a&gt; (derived from the EPS output of EagleCAD's CAM processor), I made the etch-resist mask using the &lt;a href="http://www.fullnet.com/%7Etomg/gooteepc.htm"&gt;toner&lt;/a&gt; &lt;a href="http://www.headwize.com/projects/garbz2_prj.php"&gt;transfer&lt;/a&gt; &lt;a href="http://www.pulsarprofx.com/PCB/a_Pages/1_Menu/overview.html"&gt;method&lt;/a&gt;.  This was considerably harder to master than advertised.  After several attempts, I had a reasonable looking etch-resist pattern that still required a bit of touching up with a black Sharpie pen.  I etched the board using &lt;a href="http://www.k9spud.com/wiki/PCB:Etchants#Ammonium_Persulfate"&gt;ammonium persulphate&lt;/a&gt; (220g/L) which we have in the biochemistry lab where I work. Using a magnetic stirring hot plate to keep the the temperature at 60ºC and the solution in constant motion the board was nicely etched in less than 10 minutes.&lt;br /&gt;&lt;br /&gt;A few minutes of soldering later, the circuit was complete!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjNW56G9PI/AAAAAAAAAXI/esN3ZKLiZqc/s1600-h/IMG_4963.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjNW56G9PI/AAAAAAAAAXI/esN3ZKLiZqc/s400/IMG_4963.JPG" alt="" id="BLOGGER_PHOTO_ID_5222149561321452786" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;I got a little too excited after finishing it and soldered in test pins, making the connection of the battery and dynohub leads a little sloppy.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjOQFut8LI/AAAAAAAAAXY/0bda11x9MDw/s1600-h/IMG_4965.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjOQFut8LI/AAAAAAAAAXY/0bda11x9MDw/s400/IMG_4965.JPG" alt="" id="BLOGGER_PHOTO_ID_5222150543747444914" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;Here's the bottom of the board with the surface mount LM3622 and diode. This time I was sober and coffee-free.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="color: rgb(102, 102, 102);font-family:arial;font-size:130%;"  &gt;&lt;span style="font-weight: bold;"&gt;Step 6: Connect to the dynamo&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now the whole thing needs to be connected to the dynamo and stuffed into the headlamp.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjhvX606dI/AAAAAAAAAXg/dRZplg53XkQ/s1600-h/IMG_4968.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_U_GoAchQeCk/SHjhvX606dI/AAAAAAAAAXg/dRZplg53XkQ/s400/IMG_4968.JPG" alt="" id="BLOGGER_PHOTO_ID_5222171971926944210" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;All connected. On the upper right you can see a 6.8ohm 2W current limiting resistor connected in series with the rear light.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_U_GoAchQeCk/SHji1YSxakI/AAAAAAAAAXo/h4ACtm47zvk/s1600-h/IMG_5000.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_U_GoAchQeCk/SHji1YSxakI/AAAAAAAAAXo/h4ACtm47zvk/s400/IMG_5000.JPG" alt="" id="BLOGGER_PHOTO_ID_5222173174618221122" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;Wrap it all up in electrical tape and stuff it in there. Plenty of room left over.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_U_GoAchQeCk/SHjmTFkzaCI/AAAAAAAAAYI/Rd8bSshPl00/s1600-h/IMG_5004.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_U_GoAchQeCk/SHjmTFkzaCI/AAAAAAAAAYI/Rd8bSshPl00/s400/IMG_5004.JPG" alt="" id="BLOGGER_PHOTO_ID_5222176983524534306" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now for the rear light. The LED won't fit into the wedge socket by itself so I cut out a small piece of PCB and soldered it to the leads to approximate a wedge base bulb.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_U_GoAchQeCk/SHjkwDwCO9I/AAAAAAAAAXw/cr2yiyUbyVM/s1600-h/IMG_5013.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_U_GoAchQeCk/SHjkwDwCO9I/AAAAAAAAAXw/cr2yiyUbyVM/s400/IMG_5013.JPG" alt="" id="BLOGGER_PHOTO_ID_5222175282227723218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_U_GoAchQeCk/SHjlgqUOmtI/AAAAAAAAAX4/B403egaOJiY/s1600-h/IMG_5008.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_U_GoAchQeCk/SHjlgqUOmtI/AAAAAAAAAX4/B403egaOJiY/s400/IMG_5008.JPG" alt="" id="BLOGGER_PHOTO_ID_5222176117213797074" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;Fits snuggly in the socket. The bulb looks like it's a bit too long.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_U_GoAchQeCk/SHjmSy6kADI/AAAAAAAAAYA/Zz_knFPHMEk/s1600-h/IMG_5005.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_U_GoAchQeCk/SHjmSy6kADI/AAAAAAAAAYA/Zz_knFPHMEk/s400/IMG_5005.JPG" alt="" id="BLOGGER_PHOTO_ID_5222176978515525682" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;But the lens fits!&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How's it look in the dark?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_U_GoAchQeCk/SHjrB2cgQoI/AAAAAAAAAYQ/W-YMJwDBxFY/s1600-h/IMG_4971.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_U_GoAchQeCk/SHjrB2cgQoI/AAAAAAAAAYQ/W-YMJwDBxFY/s400/IMG_4971.JPG" alt="" id="BLOGGER_PHOTO_ID_5222182184963555970" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_U_GoAchQeCk/SHjrCA5IPgI/AAAAAAAAAYY/_W9OLMZcwvw/s1600-h/IMG_4974.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_U_GoAchQeCk/SHjrCA5IPgI/AAAAAAAAAYY/_W9OLMZcwvw/s400/IMG_4974.JPG" alt="" id="BLOGGER_PHOTO_ID_5222182187767971330" border="0" /&gt;&lt;/a&gt;&lt;span style="font-style: italic;"&gt;The rear light is super bright. Blinding, actually. Even brighter than the front, but using about half the current.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(102, 102, 102);font-size:130%;" &gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;Final thoughts&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Everything seems to work.  The only problem I've had so far is that the battery wasn't fully charged when I installed it.  The two lights discharge the battery faster than the dynamo can charge it, so on the first night out I wound up draining the battery completely, preventing the lights from staying on when stopped (the charging circuit seems to provide enough current to power both lights while the bike is in motion when the battery is dead).  I expect a long ride during the day with the lights off should get it charged up sufficiently.  That said, for long night rides this design is somewhat lacking.  Under the conditions my wife is likely to ride, I suspect it will rarely be a problem.&lt;br /&gt;&lt;br /&gt;Another potential design flaw is excessive battery charging time.  Other charging circuits incorporate a timer so that after the battery is held at full-charge for a determined amount of time the circuit shuts off completely (I think).  The LM3622 doesn't incorporate at timer; as long as the wheel is spinning the charging circuit is on.  I think this is probably OK for the long term health of the battery because the LM3622 monitors the charge state and drops the current to a few µA when the battery is fully charged .  If the bike was ridden for hours and hours with the lights off then there could be an issue with battery lifespan, but my wife's bike will never be taken out for more than an hour or so once or twice a week so I don't think it will be problem.&lt;br /&gt;&lt;br /&gt;Finally, there is the issue of the dynamo's output exceeding the 24V maximum rating of the LM3622.  This is an unlikely but not impossible scenario.  I don't doubt that flying down a steep hill at top speed would probably blow the chip. A better design would incorporate voltage regulation.&lt;br /&gt;&lt;br /&gt;Back to the drawing board...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3561798115215934165-2422038119907627191?l=minisystem.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://minisystem.blogspot.com/feeds/2422038119907627191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2422038119907627191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3561798115215934165/posts/default/2422038119907627191'/><link rel='alternate' type='text/html' href='http://minisystem.blogspot.com/2008/07/dynamo-lithium-ion-battery-charging.html' title='dynamo lithium ion battery charging'/><author><name>minisystem</name><uri>http://www.blogger.com/profile/02307045935296201366</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_U_GoAchQeCk/SHbcEztkTnI/AAAAAAAAAUA/cCtombOfTCo/s72-c/ee00_1.JPG' height='72' width='72'/><thr:total>11</thr:total></entry></feed>
