<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>some random text about funky things &#187; SCN</title>
	<atom:link href="http://janpaulposma.nl/category/scn/feed" rel="self" type="application/rss+xml" />
	<link>http://janpaulposma.nl</link>
	<description>by Jan Paul Posma</description>
	<lastBuildDate>Sun, 08 Jan 2012 22:01:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Analog highlights of 2010</title>
		<link>http://janpaulposma.nl/analog-highlights-of-2010</link>
		<comments>http://janpaulposma.nl/analog-highlights-of-2010#comments</comments>
		<pubDate>Sun, 16 Jan 2011 23:48:37 +0000</pubDate>
		<dc:creator>JP</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[SCN]]></category>

		<guid isPermaLink="false">http://janpaulposma.nl/?p=496</guid>
		<description><![CDATA[When I started blogging, I was afraid this would happen: that I would stop after a few posts. I try to only blog when I&#8217;d like to present something. However, the moment has come to write again: this time I&#8217;d like to show you some photographs taken with a Canon A-1, an old analog camera. [...]]]></description>
			<content:encoded><![CDATA[<p>When I started blogging, I was afraid this would happen: that I would stop after a few posts. I try to only blog when I&#8217;d like to present something. However, the moment has come to write again: this time I&#8217;d like to show you some photographs taken with a Canon A-1, an old analog camera.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-300x200.jpg" alt="" title="Scan" width="300" height="200" class="alignnone size-medium wp-image-497" /></a></p>
<p><span id="more-496"></span></p>
<p>This first picture has been taken at my parents&#8217; home. I used a star filter, which doesn&#8217;t really show, except for the reflection in the window. But this filter also gives the entire picture a soft look. Sometimes they have a dog at home, when friends are on vacation. In this picture, Niño can (barely) be seen laying in the shadow. This picture really shows the peaceful atmosphere that&#8217;s there.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-1.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-1-300x200.jpg" width="300" height="200" class="alignnone size-medium wp-image-498" /></a></p>
<p>I like this picture because it shows a typical state of my desk. I&#8217;ve used a bit of overexposure, so that the notebook is shown correctly, and everything else is brighter, which looks quite interesting!</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-2.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-2-300x208.jpg" width="300" height="208" class="alignnone size-medium wp-image-499" /></a></p>
<p>This one is the coolest picture I&#8217;ve taken so far! Using only a briefcase to support the camera, and an extended shutter button, the timing here is remarkable. A few cars that were very similar approached me, so there is only one very bright line visible. I was also very lucky there was no traffic in the other direction, because now the background is very dark, which is in great contrast with the line. If there was traffic in the other direction, their headlights would&#8217;ve enlightened the background. The fact that it rains adds to the atmosphere by having great reflections on the ground.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-3.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-3-300x208.jpg" width="300" height="208" class="alignnone size-medium wp-image-500" /></a></p>
<p>This is a simple photograph of my friend Hans, but I really liked the colour contrast. He has a nice expression on his face, and the background is just right. Simply a decent picture.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-4.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-4-300x207.jpg" width="300" height="207" class="alignnone size-medium wp-image-501" /></a></p>
<p>This one has, again, been taken at my parents&#8217; home, and I like the natural chaos that is displayed. A Harry Potter book on the table, some pillows missing or not straightened, the shadows falling in a weird way. It&#8217;s just how things are, nothing more, nothing less.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-5.jpg" class="lightbox"<img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-5-300x208.jpg" width="300" height="208" class="alignnone size-medium wp-image-502" /></a></p>
<p>This is an interesting one, because it took a while to get it right. I noticed this bike before my house, and immediately thought about photographing it. The problem is, there are only a few moments each year, in the summer, when the sun is actually in the right position. I had to wait a few weeks, and when the moment was there, I took a few shots. Luckily it was a beautiful day, and the rusted bike with the grass growing through it, in combination with the awesome perspective, makes this one of my favourite pictures so far.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-6.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-6-300x208.jpg" width="300" height="208" class="alignnone size-medium wp-image-503" /></a></p>
<p>Because of the weird angle my dad&#8217;s lower leg is making, I wasn&#8217;t quite sure whether to publish this picture. Still, nothing can be totally perfect, and while this is one has great timing, a great expression and good lightning, the imperfections are what make it worthwhile to look at. The ball is mid-air, almost impossible to spot against the white background.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-7.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-7-300x207.jpg" width="300" height="207" class="alignnone size-medium wp-image-504" /></a></p>
<p>You might see a pattern of organised chaos emerging, and maybe that is the case. But I like this one most because it reminds me of the cool times at <a href="/a-little-about-science-center-noord">SCN</a>. Experimenting with electronics is inherently chaotic.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-8.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-8-218x300.jpg" width="218" height="300" class="alignnone size-medium wp-image-505" /></a></p>
<p>When I was in Washington, D.C. for a conference, I took many pictures at night while touring the city. Most of them were miserable failures, but this one was unexpectedly great. This is one of the few pictures that looks way better in real life, as it was impossible to scan the moon properly.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-9.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-9-300x211.jpg" width="300" height="211" class="alignnone size-medium wp-image-506" /></a></p>
<p>A classic airport picture: I couldn&#8217;t let the moment pass! The huge amount of air and clouds in this photograph adds to a sense of space, which in this case I&#8217;d argue to be a good thing.</p>
<p><a href="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-10.jpg" class="lightbox"><img src="http://janpaulposma.nl/wp-content/uploads/2011/01/Scan-10-300x211.jpg" width="300" height="211" class="alignnone size-medium wp-image-507" /></a></p>
<p>Decorating the Christmas tree! This one has been taken with a star filter, and with a shutter time of several seconds.</p>
]]></content:encoded>
			<wfw:commentRss>http://janpaulposma.nl/analog-highlights-of-2010/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A little about Science Center Noord</title>
		<link>http://janpaulposma.nl/a-little-about-science-center-noord</link>
		<comments>http://janpaulposma.nl/a-little-about-science-center-noord#comments</comments>
		<pubDate>Thu, 17 Sep 2009 00:19:11 +0000</pubDate>
		<dc:creator>JP</dc:creator>
				<category><![CDATA[SCN]]></category>

		<guid isPermaLink="false">http://janpaulposma.nl/?p=179</guid>
		<description><![CDATA[Stichting SCN is a really cool non-profit organization I want to tell you about. Like some of you, I was the kind of kid who dismantled every device I could get my hands on, trying to figure out how those worked. I read encyclopedias, books on computers and electronics, wrote simple Visual Basic programs and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://stichting-scn.nl">Stichting SCN</a> is a really cool non-profit organization I want to tell you about. </p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/1yncCe1-Rts&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/1yncCe1-Rts&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Like some of you, I was the kind of kid who dismantled every device I could get my hands on, trying to figure out how those worked. I read encyclopedias, books on computers and electronics, wrote simple Visual Basic programs and was very lucky because I got a <a href="http://en.wikipedia.org/wiki/Lego_Mindstorms">LEGO Mindstorms</a> set for my 10th birthday.</p>
<p><span id="more-179"></span></p>
<p>But doing all this is not considered &#8216;cool&#8217;: fellow classmates played soccer, hung around in town or watched TV. One or two friends also liked gadgets and some scripting, but nothing too serious. I was in need for something more organized. I joined a local woodworking club, and it was nice to be busy with that. But I couldn&#8217;t believe my ears when the lecturer told me there was something similar for electronics, computers, and more: De Jonge Onderzoekers Groningen (the Young Scientists). </p>
<p>So I joined the JOG and it was really great. There were all kinds of &#8216;sections&#8217;, like electronics and computers, but also woodworking, metalworking, jewlery, and more. I learned much about electronics: fiddled with microcontrollers, soldered, built my own circuit boards, and even learned how to design them. It&#8217;s really great to find other people who&#8217;re alike. After a few years I became a volunteer myself at the electronics section.</p>
<p>A few years ago we &#8211; being the volunteers of the electronics and computer section &#8211; had a disagreement with the management, so we went and started our own organization focused on computers, electronics, robotics, mechanics and photography. Stichting Science Center Noord (SCN) was born! We started off in a boat, with limited resources, because everything was self-funded. We stayed for a few months and had a small but devoted community of kids and volunteers.</p>

<a href='http://janpaulposma.nl/scn-photos-boat/dsc_0050' title='Outside, testing a cool gadget'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0050-150x99.jpg" class="attachment-thumbnail" alt="Outside, testing a cool gadget" title="Outside, testing a cool gadget" /></a>
<a href='http://janpaulposma.nl/scn-photos-boat/dsc_0121' title='On the boat'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0121-150x99.jpg" class="attachment-thumbnail" alt="On the boat" title="On the boat" /></a>
<a href='http://janpaulposma.nl/scn-photos-boat/dsc_0101' title='On the boat'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0101-150x99.jpg" class="attachment-thumbnail" alt="On the boat" title="On the boat" /></a>
<a href='http://janpaulposma.nl/scn-photos-boat/dsc_0092' title='On the boat'><img width="99" height="150" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0092-99x150.jpg" class="attachment-thumbnail" alt="On the boat" title="On the boat" /></a>
<a href='http://janpaulposma.nl/scn-photos-boat/attachment/22022008' title='On the boat'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/22022008-150x112.jpg" class="attachment-thumbnail" alt="On the boat" title="On the boat" /></a>
<a href='http://janpaulposma.nl/scn-photos-boat/dsc_0066' title='Outside, at night'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0066-150x99.jpg" class="attachment-thumbnail" alt="Outside, at night" title="Outside, at night" /></a>

<p>But the boat went sailing! So we went off to a better place, a building that previously housed an Italian restaurant. With help of the kids we fixed the place, and with some donations we finally had a really cool &#8216;tech youth center&#8217;. Every Wednesday evening, Friday evening and Saturday we build cool things: be it a <a href="http://en.wikipedia.org/wiki/Tennis_for_Two">Tennis for Two</a> clone, simple games or robots.</p>
<p>I&#8217;m still a volunteer and will be for a while, as it has been an important part of my life and still is. Also, the volunteers are quite remarkable: they all work hard and are skilled at their jobs, but still they can find the time &#8211; every week &#8211; to have fun with the kids and teach them their skills, for free.</p>

<a href='http://janpaulposma.nl/scn-photos-pino/schotel2' title='Our home!'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/schotel2-150x112.jpg" class="attachment-thumbnail" alt="Our home!" title="Our home!" /></a>
<a href='http://janpaulposma.nl/scn-photos-pino/attachment/31052008018' title='Welcome sign'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/31052008018-150x112.jpg" class="attachment-thumbnail" alt="Welcome sign" title="Welcome sign" /></a>
<a href='http://janpaulposma.nl/scn-photos-pino/attachment/31052008005' title='Frans and Hans designing a PCB'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/31052008005-150x112.jpg" class="attachment-thumbnail" alt="Frans and Hans designing a PCB" title="Frans and Hans designing a PCB" /></a>
<a href='http://janpaulposma.nl/scn-photos-pino/attachment/31052008001' title='Kids programming and what not'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/31052008001-150x112.jpg" class="attachment-thumbnail" alt="Kids programming and what not" title="Kids programming and what not" /></a>
<a href='http://janpaulposma.nl/scn-photos-pino/100_0667' title='Kids enjoying being here ;-)'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/100_0667-150x112.jpg" class="attachment-thumbnail" alt="Kids enjoying being here ;-)" title="Kids enjoying being here ;-)" /></a>

<p>So, do drop by when you happen to be in the Groningen area! Next month is the &#8216;Oktober Kennismaand&#8217;, a month with all kinds of science activities in the Netherlands. Roeland, the founder of SCN, did a great job on getting us on top of <a href="http://www.oktoberkennismaand.nl/provincies/groningen">the list</a>.</p>
<p>Also, as a non-profit organization, we&#8217;re still pretty much self-funded, so any donations would be great. Materialistic donations such as tables, chairs, couches, computer and electronics hardware, etc would be awesome too!</p>
<p>To conclude, I&#8217;d like to share with you some simple electronic circuits we use to introduce youth to soldering and programming. Have fun with it, although it is in Dutch! <a href="/wp-content/uploads/2009/09/booklet.pdf">Download</a></p>

<a href='http://janpaulposma.nl/a-little-about-science-center-noord/100_0211' title='Bunch of kiddos ^_^'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/100_0211-150x112.jpg" class="attachment-thumbnail" alt="Bunch of kiddos ^_^" title="Bunch of kiddos ^_^" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/scn06' title='Arno generating electricity'><img width="99" height="150" src="http://janpaulposma.nl/wp-content/uploads/2009/09/scn06-99x150.jpg" class="attachment-thumbnail" alt="Arno generating electricity" title="Arno generating electricity" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0009' title='Frans and me on the couch'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0009-150x99.jpg" class="attachment-thumbnail" alt="Frans and me on the couch" title="Frans and me on the couch" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0201' title='Frans being who he is'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0201-150x99.jpg" class="attachment-thumbnail" alt="Frans being who he is" title="Frans being who he is" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/attachment/01112008020' title='Tennis for Two'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/01112008020-150x112.jpg" class="attachment-thumbnail" alt="Tennis for Two" title="Tennis for Two" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0225' title='Frans and me playing Tennis for Two'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0225-150x99.jpg" class="attachment-thumbnail" alt="Frans and me playing Tennis for Two" title="Frans and me playing Tennis for Two" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0073' title='Roeland drawing a picture'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0073-150x99.jpg" class="attachment-thumbnail" alt="Roeland drawing a picture" title="Roeland drawing a picture" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/100_0915' title='Kids programming LEGO Mindstorms'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/100_0915-150x112.jpg" class="attachment-thumbnail" alt="Kids programming LEGO Mindstorms" title="Kids programming LEGO Mindstorms" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0071' title='Arno&#039;s robot'><img width="99" height="150" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0071-99x150.jpg" class="attachment-thumbnail" alt="Arno&#039;s robot" title="Arno&#039;s robot" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/attachment/3' title='Tux at the front door'><img width="150" height="100" src="http://janpaulposma.nl/wp-content/uploads/2009/09/3-150x100.jpg" class="attachment-thumbnail" alt="Tux at the front door" title="Tux at the front door" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0106' title='Me behind laptop, some flurry ball rendering in front'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0106-150x99.jpg" class="attachment-thumbnail" alt="Me behind laptop, some flurry ball rendering in front" title="Me behind laptop, some flurry ball rendering in front" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0046' title='Han with a satellite dish'><img width="99" height="150" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0046-99x150.jpg" class="attachment-thumbnail" alt="Han with a satellite dish" title="Han with a satellite dish" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/100_0694' title='An example circuit on the wall'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/100_0694-150x112.jpg" class="attachment-thumbnail" alt="An example circuit on the wall" title="An example circuit on the wall" /></a>
<a href='http://janpaulposma.nl/a-little-about-science-center-noord/dsc_0223' title='Electronic dice'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0223-150x99.jpg" class="attachment-thumbnail" alt="Electronic dice" title="Electronic dice" /></a>

]]></content:encoded>
			<wfw:commentRss>http://janpaulposma.nl/a-little-about-science-center-noord/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PimpMyBike: biking at night &#8211; with style</title>
		<link>http://janpaulposma.nl/pimpmybike-biking-at-night-with-style</link>
		<comments>http://janpaulposma.nl/pimpmybike-biking-at-night-with-style#comments</comments>
		<pubDate>Thu, 10 Sep 2009 20:40:43 +0000</pubDate>
		<dc:creator>JP</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[SCN]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://janpaulposma.nl/?p=48</guid>
		<description><![CDATA[One of the coolest projects I have worked on resulted in the turning of heads when biking through the city, and was also a great challenge as it involves some tricky hardware and software. The result was pretty darn amazing though. So this was a really cool project that took a lot of my time [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0042-300x199.jpg" alt="Nice." title="Nice." width="300" height="199" class="alignnone size-medium wp-image-99" /></p>
<p>One of the coolest projects I have worked on resulted in the turning of heads when biking through the city, and was also a great challenge as it involves some tricky hardware and software. The result was pretty darn amazing though.</p>
<p><span id="more-48"></span></p>
<p>So this was a really cool project that took a lot of my time when I was seventeen years old. Do you know <a href="http://www.thinkgeek.com/gadgets/lights/81ff/">these</a> <a href="http://www.youtube.com/watch?v=gklBWwGyreM">gadgets</a> that write text in the air? Ever wondered how they work?</p>
<p>It&#8217;s pretty simple, actually. There is a row of <acronym title="light emitting diode">LED</acronym>-lights that you swing through the air. Those leds alternate very quickly between on and off, in a very specific pattern. When you move the leds at exactly the right velocity, the pattern will become visible to the human eye, and you can actually read text or see an image.</p>
<p>You are able to see this text because your mind will stitch the images together, like when watching TV. It all happens so fast, that you won&#8217;t see the individual frames, but you see the image as a whole. Or in case of the TV, it looks like you&#8217;re watching an actual moving scene. This phenomena is called <a href="http://en.wikipedia.org/wiki/Persistence_of_vision">Persistence of Vision</a> (POV), and quite useful when making awesome things. :-)</p>
<p>In theory it&#8217;s possible to attach a row of leds to the side your bike, and get the same effect as swinging it through the air. The problem with that is that you have to go fast. Very, very fast. Instead, there is something on the bike that has a much higher velocity than your forward velocity: the angular velocity of the weels.</p>
<p>Depending on the size of the weel and your forward velocity, you&#8217;ll get a fair number of rotations per second, enough to make it blurry to the eye. So why not take the row of leds, and put it in the wheel. Sure, you have to do some funky math to get a nice image, but it looks cool, right?!</p>
<p>But of course, it already exists: <a href="http://www.ladyada.net/make/spokepov/">SpokePOV</a> by the artist/engineer <a href="http://ladyada.net/">Ladyada</a> (who, by the way, makes very cool things!). Lucky for me, those kits only come in one color. What could be cooler than making a full-color SpokePOV?</p>
<p>After carefully selecting parts &#8211; <abbr title="red, green, blue">RGB</abbr>-leds are expensive! &#8211; the drawing began. For this I usually use <a href="http://www.lis.inpg.fr/realise_au_lis/kicad/">KiCAD</a>, an awesome open-source electronics <acronym title="computer-aided design">CAD</acronym> program. </p>
<p>Designing the circuit board was a devilish job. The routing of all the lines to the leds took a lot of time to perfect, not to mention fitting it on a board that is as small as possible. A cool thing about Kicad is that you have an awesome 3d viewer. But a 3d model with missing components kinda sucks, so I drew a few models myself in <a href="http://en.wikipedia.org/wiki/Autodesk_3ds_Max">3ds Max</a>.</p>

<a href='http://janpaulposma.nl/pimpmybike-photos-schematics/prototype-1-schematic' title='Schematic'><img width="150" height="105" src="http://janpaulposma.nl/wp-content/uploads/2009/09/Prototype-1-Schematic-150x105.png" class="attachment-thumbnail" alt="Schematic" title="Schematic" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-schematics/prototype-1-sheet' title='Sheet design'><img width="54" height="150" src="http://janpaulposma.nl/wp-content/uploads/2009/09/Prototype-1-Sheet-54x150.png" class="attachment-thumbnail" alt="Sheet design" title="Sheet design" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-schematics/prototype-1-3d-model' title='3d model'><img width="60" height="150" src="http://janpaulposma.nl/wp-content/uploads/2009/09/Prototype-1-3d-model-60x150.PNG" class="attachment-thumbnail" alt="3d model" title="3d model" /></a>

<p>All that done, the schematics were sent to Niels at <a href="http://makepcb.com/">MakePCB</a>, who also supplied most of the components. And how awesome, a few weeks later an envelope with the circuit boards arrived. A few hours of soldering later, and the hardware was finished.</p>

<a href='http://janpaulposma.nl/pimpmybike-photos-boards/dsc00317' title='Circuit board'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC00317-150x112.jpg" class="attachment-thumbnail" alt="Circuit board" title="Circuit board" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-boards/dsc00319' title='Circuit board'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC00319-150x112.jpg" class="attachment-thumbnail" alt="Circuit board" title="Circuit board" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-boards/dsc00318' title='Closeup'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC00318-150x112.jpg" class="attachment-thumbnail" alt="Closeup" title="Closeup" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-boards/dsc00315' title='Closeup'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC00315-150x112.jpg" class="attachment-thumbnail" alt="Closeup" title="Closeup" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-boards/dsc00322' title='Microcontroller soldering points'><img width="150" height="112" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC00322-150x112.jpg" class="attachment-thumbnail" alt="Microcontroller soldering points" title="Microcontroller soldering points" /></a>

<p>But the hardest part was yet to come: the software. Luckily Microchip supplied an excellent USB bootloader, which I tweaked a bit to use the leds as status indicators. The embedded software is all about performance: it has to be able to keep up with the speed of the weel. Therefore it was necessary to supply the program with an image in a format that is easy to decode, and small at the same time.</p>
<p>First, a computer program in Java converted a normal image to a rotational image using some simple trigonometry. Normally, when composing images, pixel data consists of 3 bytes per pixel: one for each color. Uncompressed, this took way too much space for a small <acronym title="Peripheral Interface Controller">PIC</acronym> microcontroller. JPEG or PNG compression was not an option: way to complex to decode. So the color data was reduced to 1 byte per pixel: 3 bits for red, 3 bits for green and 2 bits for blue. Why the reduced count for blue? Well, there are 8 bits to the byte, so some color has to go down, and blue is the best choice as the eye is the least sensitive to that primary color.</p>

<a href='http://janpaulposma.nl/pimpmybike-photos-software/biertje' title='Image (Heineken logo)'><img width="150" height="139" src="http://janpaulposma.nl/wp-content/uploads/2009/09/biertje-150x139.PNG" class="attachment-thumbnail" alt="Image (Heineken logo)" title="Image (Heineken logo)" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-software/program' title='Conversion to radial image'><img width="150" height="115" src="http://janpaulposma.nl/wp-content/uploads/2009/09/program-150x115.PNG" class="attachment-thumbnail" alt="Conversion to radial image" title="Conversion to radial image" /></a>
<a href='http://janpaulposma.nl/pimpmybike-photos-software/multiplexing' title='Multiplexing'><img width="150" height="84" src="http://janpaulposma.nl/wp-content/uploads/2009/09/multiplexing-150x84.PNG" class="attachment-thumbnail" alt="Multiplexing" title="Multiplexing" /></a>

<p>To display the colors some standard techniques are used such as <a href="http://jallib.blogspot.com/2009/02/step-by-step-having-fun-with-pwm-and.html">pulse-width modulation</a> (PWM) and LED-multiplexing, which I won&#8217;t cover in detail. However, the decoding of the pixel data to 3 bytes is kinda interesting. The C implementation was too slow, so it had to be done by hand, in assembly. Using assembly for this critical piece of code (which is only a few lines long) improved the speed of the whole program by a factor 6.</p>
<pre name="code">TBLRDPOSTINC
MOVF TABLAT, 0, ACCESS			// Read TABLAT to WREG; WREG = RRRGGGBB
MOVWF CurrentPixel, BANKED		// Put WREG in CP (CurrentPixel)
RLNCF CurrentPixel, 1, BANKED		// Shift CP to left;    WREG = RRGGGBBR
MOVF CurrentPixel, 0, BANKED 		// Put CP in WREG
ANDLW 0x06				// AND WREG with 0x06;  WREG = 00000BB0
MOVWF PWM2_0, BANKED			// Put WREG in blue channel

RLNCF CurrentPixel, 1, BANKED		// Shift CP to left;    CP   = RGGGBBRR
RLNCF CurrentPixel, 1, BANKED		// Shift CP to left;    CP   = GGGBBRRR
MOVF CurrentPixel, 0, BANKED 		// Put CP in WREG
ANDLW 0x07				// AND WREG with 0x07;  WREG = 00000RRR
MOVWF PWM0_0, BANKED			// Put WREG in red channel

RLNCF CurrentPixel, 1, BANKED		// Shift CP to left;    CP   = GGBBRRRG
RLNCF CurrentPixel, 1, BANKED		// Shift CP to left;    CP   = GBBRRRGG
RLNCF CurrentPixel, 1, BANKED		// Shift CP to left;    CP   = BBRRRGGG
MOVF CurrentPixel, 0, BANKED 		// Put CP in WREG
ANDLW 0x07				// AND WREG with 0x07;  WREG = 00000GGG
MOVWF PWM1_0, BANKED			// Put WREG in green channel
</pre>
<p>The algorithm of the program is pretty simple: take the time of one complete cycle (360 degrees). This time is measured by using a magnetic switch, with a magnet on the frame on the bike. The time is divided by 256, and a timer is set to fire a function. This function will take the next pixels, decode the colors for all the leds (on the front and on the back of the device), and feed this color to the leds using <abbr title="pulse-width modulation">PWM</abbr> and multiplexing. Result: people watching you as you go down the street at night. Mission accomplished.</p>

<a href='http://janpaulposma.nl/pimpmybike-biking-at-night-with-style/dsc_0038' title='Two boards mounted'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0038-150x99.jpg" class="attachment-thumbnail" alt="Two boards mounted" title="Two boards mounted" /></a>
<a href='http://janpaulposma.nl/pimpmybike-biking-at-night-with-style/dsc_0043' title='Nice.'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0043-150x99.jpg" class="attachment-thumbnail" alt="Nice." title="Nice." /></a>
<a href='http://janpaulposma.nl/pimpmybike-biking-at-night-with-style/dsc_0042' title='Nice.'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0042-150x99.jpg" class="attachment-thumbnail" alt="Nice." title="Nice." /></a>
<a href='http://janpaulposma.nl/pimpmybike-biking-at-night-with-style/dsc_0041' title='Nice.'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0041-150x99.jpg" class="attachment-thumbnail" alt="Nice." title="Nice." /></a>
<a href='http://janpaulposma.nl/pimpmybike-biking-at-night-with-style/dsc_0040' title='Nice.'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0040-150x99.jpg" class="attachment-thumbnail" alt="Nice." title="Nice." /></a>
<a href='http://janpaulposma.nl/pimpmybike-biking-at-night-with-style/dsc_0037' title='Funky effect when moving the camera'><img width="150" height="99" src="http://janpaulposma.nl/wp-content/uploads/2009/09/DSC_0037-150x99.jpg" class="attachment-thumbnail" alt="Funky effect when moving the camera" title="Funky effect when moving the camera" /></a>

<p>As you can see on the photos, I ended up mounting two boards on the wheel. Otherwise you had to drive quite fast.. The synchronization of the two boards happens automatically, because they will both align to the magnet. Except when accelerating or slowing down, both boards remain in sync quite well.</p>
<p>I managed to get this project approved as an assignment for school (&#8216;profielwerkstuk&#8217;), so the documentation is quite extensive. It can provide an interesting read if you like to know more about the used components, programs and techniques. You&#8217;ll also read about some major design decisions. It&#8217;s only available in Dutch though.. <a href="http://janpaulposma.nl/wp-content/uploads/2009/09/Profielwerkstuk.pdf">Download</a>.</p>
<p>There are still a few un-soldered boards laying around here, as well as all the hardware designs and software code. However, I won&#8217;t post it here as many things are unfinished and not at all ready for production. Also, the parts are pretty expensive, especially when taking into consideration you need at least two boards per wheel. If you&#8217;re interested though to take this to the next level though, feel free to contact me and we can talk about it. But be warned: a lot of work needs to be done to have it work really well.</p>
<p><strong>Update</strong>: it seems that around the time I built this, <a href="http://www.monkeylectric.com/">some other guys</a> also got the idea and commercialized it. Their simple version does not support images or synchronization of the units, but looks awesome nevertheless. Their pro version is very cool and even supports animations and on-the-fly wireless programming but is priced at thousands of dollars. It seems though, they have done a great job! :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://janpaulposma.nl/pimpmybike-biking-at-night-with-style/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

