<?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>Zapro.dk Blog</title>
	<atom:link href="http://www.blog.zapro.dk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.blog.zapro.dk</link>
	<description>Zapro.dk blogging happens here</description>
	<lastBuildDate>Mon, 13 Feb 2012 18:21:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>ZM1000 Test shield for Arduino</title>
		<link>http://www.blog.zapro.dk/?p=280</link>
		<comments>http://www.blog.zapro.dk/?p=280#comments</comments>
		<pubDate>Sun, 12 Feb 2012 17:18:42 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Nixie]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=280</guid>
		<description><![CDATA[Recently, i purchased a big lot of Philips ZM1000 Nixies, and needed a test PCB to test out if all was good &#8211; i got sockets for a number of the tubes, so i settled on making a PCB with the correct socket, so I easily can test them. Being fond of the Arduino, i [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010171.jpg"><img class="size-medium wp-image-287 aligncenter" style="border-style: initial; border-color: initial;" title="Parts mounted" src="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010171-300x257.jpg" alt="" width="300" height="257" /></a>Recently, i purchased a big lot of Philips ZM1000 Nixies, and needed a test PCB to test out if all was good &#8211; i got sockets for a number of the tubes, so i settled on making a PCB with the correct socket, so I easily can test them.</p>
<p>Being fond of the Arduino, i just thought, why not make it an Arduino shield &#8211; this way it&#8217;s a nice compact solution, powered by the USB-port, and no extra cables needed.</p>
<p>I earlier on aquired one of the real nice high voltage supplies, perfect for nixies from <a title="Taylor Electronics 1363 Power supply" href="http://www.tayloredge.com/storefront/SmartNixie/PSU/index.html">Taylor Electronics</a></p>
<p>So i made a single PCB that fits the small power supply module, a socket for a 74141 Nixie driver, and a socket for the ZM1000 tube.</p>
<p>I milled the PCB on our PCB milling machine in the local hackerspace where i frequent, <a title="Labitat - Copenhagen Hackerspace" href="http://labitat.dk/">Labitat</a></p>
<p>I did not mount all the headers on the finished PCB, since they are not in used. The use of stacking headers are a little waste, since there is no way I can mount anything on top of the Nixie PCB, but they make the PCB headers more mechanically stable, since they are soldered on on the bottom side of the PCB.</p>
<p>A small video of the circuit in operation, running a simple counting program, testing all digits: <a title="Arduino ZM1000 Nixie test shield" href="http://youtu.be/TF39VdhQcQQ">Youtube</a></p>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010166.jpg"><img class="alignnone size-medium wp-image-285" style="border-style: initial; border-color: initial;" title="The lof of the tubes" src="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010166-300x231.jpg" alt="" width="300" height="231" /></a><a href="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010172.jpg"><img class="size-medium wp-image-288 aligncenter" title="Parts mounted, another view" src="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010172-300x247.jpg" alt="" width="300" height="247" /></a><a href="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010168.jpg"><img class="alignnone size-medium wp-image-284" style="border-style: initial; border-color: initial;" title="Finished PCB with components mounted" src="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010168-300x251.jpg" alt="" width="300" height="251" /></a><a href="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010167.jpg"><img class="size-medium wp-image-283 aligncenter" style="border-style: initial; border-color: initial;" title="Finished PCB with components" src="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010167-300x230.jpg" alt="" width="300" height="230" /></a><a href="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010170.jpg"><img class="size-medium wp-image-286 aligncenter" title="Finished PCB, bottom view" src="http://www.blog.zapro.dk/wp-content/myimages/2012/02/P1010170-300x258.jpg" alt="" width="300" height="258" /></a></p>
<p style="text-align: center;">You can get the Eagle PCB files for the project here: <a rel="attachment wp-att-293" href="http://www.blog.zapro.dk/?attachment_id=293">ZM1000_Shield</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=280</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve been featured on Hacked Gadgets!</title>
		<link>http://www.blog.zapro.dk/?p=275</link>
		<comments>http://www.blog.zapro.dk/?p=275#comments</comments>
		<pubDate>Tue, 24 Jan 2012 08:07:19 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=275</guid>
		<description><![CDATA[Wow, i didn&#8217;t expect being featured on Hacked Gadgets with my *ugly* LCD ribbon connector hack, but what the hell. &#160; Thank you guys! // Per.]]></description>
			<content:encoded><![CDATA[<p>Wow, i didn&#8217;t expect being featured on Hacked Gadgets with my *ugly* LCD ribbon connector hack, but what the hell.</p>
<p>&nbsp;</p>
<p>Thank you guys!</p>
<p>// Per.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=275</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cheap USB interface for programming Arduino&#8217;s</title>
		<link>http://www.blog.zapro.dk/?p=191</link>
		<comments>http://www.blog.zapro.dk/?p=191#comments</comments>
		<pubDate>Sun, 17 Jul 2011 01:01:47 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=191</guid>
		<description><![CDATA[Programming Arduino Mini&#8217;s and similar units with no on-board USB requires a USB/RS232 adaptor for the computer (unless you really have a RS232 port on your PC, then you need a MAX232 Level Translator) I scoured eBay to find the cheapest converter, and i found this. Looking a bit further, for a bit more you [...]]]></description>
			<content:encoded><![CDATA[<p>Programming Arduino Mini&#8217;s and similar units with no on-board USB requires a USB/RS232 adaptor for the computer (unless you really have a RS232 port on your PC, then you need a MAX232 Level Translator)</p>
<p>I scoured eBay to find the cheapest converter, and i found <a title="USB 2.0 to UART TTL 6 Pin COM Module Converter CP2102" href="http://kortlink.dk/ebay/98ru" target="_blank">this</a>.</p>
<p>Looking a bit further, for a bit more you can get this that is housed in a nice case [<a title="USB 2.0 to TTL 6 Pin COM Module Converter CP2102 Case" href="http://kortlink.dk/ebay/98rv" target="_blank">link</a>]</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P1000621.jpg"><img class="alignnone size-thumbnail wp-image-192" title="P1000621" src="http://www.blog.zapro.dk/wp-content/P1000621-150x150.jpg" alt="" width="150" height="150" /> </a><a href="http://www.blog.zapro.dk/wp-content/P1000625.jpg"><img class="alignnone size-thumbnail wp-image-193" title="P1000625" src="http://www.blog.zapro.dk/wp-content/P1000625-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>These units use the CP2102 USB to TTL converter chip [<a title="SINGLE-CHIP USB TO UART BRIDG" href="http://www.silabs.com/Support%20Documents/TechnicalDocs/cp2102.pdf" target="_blank">Datasheet</a>]</p>
<p>Funnily enough, the RST pin is brought out, this pin, when taken low will make the CP2102 go into low power mode and de-enumerate. You can wake up a computer in sleep mode by toggling this pin.</p>
<p>But i do not need to do this, i&#8217;m more interested in using this for programming Arduino&#8217;s.</p>
<p>Arduino&#8217;s use the DTR pin for the reset of the bootloader, and this pin is fortunately at the very corner of the QFN chip so it&#8217;s easy to get to.</p>
<p>Removing the pullup resistor [R2] and soldering a small wire from the DTR pin to the RST pin brings out the DTR pin for Arduino programming.</p>
<p>I cut the original trace for the RST pin on the underside of the PCB, but i was too lazy to take a picture of that.</p>
<p>When i was modifying the unit i replaced the header pins too, since they looked like they were soldered on the wrong way round, they don&#8217;t really fit in the cutout of the case&#8230;</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P1000630.jpg"><img class="alignnone size-thumbnail wp-image-194" title="P1000630" src="http://www.blog.zapro.dk/wp-content/P1000630-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://www.blog.zapro.dk/wp-content/P1000629.jpg"><img class="alignnone size-thumbnail wp-image-196" title="P1000629" src="http://www.blog.zapro.dk/wp-content/P1000629-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Some pics of the modification:</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P1000633.jpg"><img class="alignnone size-thumbnail wp-image-197" title="P1000633" src="http://www.blog.zapro.dk/wp-content/P1000633-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://www.blog.zapro.dk/wp-content/P1000634.jpg"><img class="alignnone size-thumbnail wp-image-198" title="P1000634" src="http://www.blog.zapro.dk/wp-content/P1000634-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=191</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flashing a Extruder Controller 3.4 with Atmega328p fitted</title>
		<link>http://www.blog.zapro.dk/?p=166</link>
		<comments>http://www.blog.zapro.dk/?p=166#comments</comments>
		<pubDate>Wed, 22 Jun 2011 08:58:42 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=166</guid>
		<description><![CDATA[Hi folks. A fellow member in Labitat, Peter assembles electronics for Makerbot, at the moment he is making: Makerbot Motherboard v2.4 Extruder Controller v3.6 Stepper motor driver v3.3 Mech endstop v1.2 &#160; I bought a set of electronics for my RepRap Mendel that is in the making at the moment. Peter was foresighted and fitted [...]]]></description>
			<content:encoded><![CDATA[<p>Hi folks. A fellow member in <a title="Labitat Hackerspace" href="https://labitat.dk/">Labitat</a>, <a title="Peter's profile on Labitat" href="https://labitat.dk/wiki/User:Peter">Peter</a> assembles electronics for Makerbot, at the moment he is making:</p>
<ul>
<li>Makerbot Motherboard v2.4</li>
<li>Extruder Controller v3.6</li>
<li>Stepper motor driver v3.3</li>
<li>Mech endstop v1.2</li>
</ul>
<p>&nbsp;</p>
<p><a href="http://www.blog.zapro.dk/wp-content/5239144255_00ebca3151.jpg"><img class="alignnone size-medium wp-image-181" title="5239144255_00ebca3151" src="http://www.blog.zapro.dk/wp-content/5239144255_00ebca3151-295x300.jpg" alt="" width="295" height="300" /></a></p>
<p>I bought a set of electronics for my RepRap Mendel that is in the making at the moment.</p>
<p>Peter was foresighted and fitted an Atmega328p instead of the bog standard Atmega168 that is a bit old today, this way the EC will have room for improvements which is not bad!</p>
<p>The standard ReplicatorG software cannot program the Atmega328p at this moment, but you can modify it by compiling the code your self, and add something in the firmware.xml &#8211; but i don&#8217;t see this as a good solution, since you won&#8217;t get updated firmware from Makerbot this way.</p>
<p>If you want to program your Extruder Controller fitted with a Atmea328p, follow this guide and it will work out for you:</p>
<p><a title="Compiling Firmware" href="http://wiki.makerbot.com/v2-firmware">http://wiki.makerbot.com/v2-firmware</a></p>
<p>A beginner&#8217;s mistake was writing</p>
<blockquote>
<pre><code>scons -f SConstruct.extruder
scons -f SConstruct.extruder port=/dev/SERIALDEVICE upload</code></pre>
</blockquote>
<pre><span style="font-family: monospace;">It didn't work because i had not read all the instructions. It defaults to compiling</span></pre>
<pre><span style="font-family: monospace;">the code for the old </span><span style="font-family: monospace;">Extruder Board 2.2 and not the Extruder Board v3.4</span></pre>
<pre><span style="font-family: monospace;">So running this made it work:</span></pre>
<blockquote>
<pre><span style="font-family: monospace;">scons -f SConstruct.extruder platform=ecv34</span></pre>
<pre><span style="font-family: monospace;">scons -f SConstruct.extruder flatform=ecv34 port=/dev/SERIALDEVICE upload</span></pre>
</blockquote>
<pre><span style="font-family: monospace;">This compiles the code from source to your Atmega168-fitted boards. To compile for</span></pre>
<pre><span style="font-family: monospace;">the Atmega328p you need to do these changes:</span></pre>
<pre><span style="font-family: monospace;">
</span></pre>
<pre><span style="font-family: monospace;">inside the /G3Firmware/v2/src/Extruder/ there is a SConscript file, edit this.</span></pre>
<blockquote>
<pre><span style="font-family: monospace;">if platform == 'ec36':</span></pre>
<pre><span style="font-family: monospace;">platform = 'ecv34'</span></pre>
<pre><span style="font-family: monospace;">default_baud = '19200'</span></pre>
<pre><span style="font-family: monospace;">mcu='atmega168'</span></pre>
</blockquote>
<pre><span style="font-family: monospace;">Edit it so it says this:</span></pre>
<blockquote>
<pre><span style="font-family: monospace;">if platform == 'ec36':</span></pre>
<pre><span style="font-family: monospace;">platform = 'ecv34'</span></pre>
<pre><span style="font-family: monospace;">default_baud = '57600'</span></pre>
<pre><span style="font-family: monospace;">mcu='atmega328p'
</span></pre>
</blockquote>
<pre><span style="font-family: monospace;">
</span></pre>
<pre><span style="font-family: monospace;">Further down the file change this:</span></pre>
<blockquote>
<pre><span style="font-family: monospace;">elif (platform == 'ecv34'):</span></pre>
<pre><span style="font-family: monospace;">default_baud = '19200'</span></pre>
<pre><span style="font-family: monospace;">mcu='atmega168'</span></pre>
</blockquote>
<pre><span style="font-family: monospace;">So it reads like this:</span></pre>
<blockquote>
<pre><span style="font-family: monospace;">elif (platform == 'ecv34'):</span></pre>
<pre><span style="font-family: monospace;">default_baud = '57600'</span></pre>
<pre><span style="font-family: monospace;">mcu='atmega328p'
</span></pre>
</blockquote>
<pre><span style="font-family: monospace;">With these changes you can compile for the Atmega328 <img src='http://www.blog.zapro.dk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </span></pre>
<pre><span style="font-family: monospace;">

</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=166</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kulitorum donated some phones to Labitat&#8230;</title>
		<link>http://www.blog.zapro.dk/?p=143</link>
		<comments>http://www.blog.zapro.dk/?p=143#comments</comments>
		<pubDate>Fri, 10 Jun 2011 17:26:45 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[General Hacks]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=143</guid>
		<description><![CDATA[A member of Labitat, [Kulitorum] donated around 50 telephones to labitat since his work place scrapped them. I took one of the phones home to reverse engineer the LCD. After about 10 minutes with the logic analyser, it was clear that it&#8217;s based on the Hitachi HD44780 or compatible controller. Just connect the contrast pin [...]]]></description>
			<content:encoded><![CDATA[<p>A member of Labitat, [<a title="Kulitorum" href="https://labitat.dk/wiki/User:Kulitorum">Kulitorum</a>] donated around 50 telephones to <a title="Labitat - Copenhagen Hackerspace" href="http://labitat.dk">labitat</a> since his work place scrapped them.</p>
<p>I took one of the phones home to reverse engineer the LCD. After about 10 minutes with the logic analyser, it was clear that it&#8217;s based on the Hitachi HD44780 or compatible controller.</p>
<p>Just connect the contrast pin to GND, then contrast is perfect for most projects &#8211; unfortunately the LCD is meant to be viewed from an angle, and is not good for a front panel etc. that you will view front-on.</p>
<p>I drew up the connections here:</p>
<p><a href="http://www.blog.zapro.dk/wp-content/Screen-shot-2011-06-17-at-10.08.26.png"><img class="alignnone size-full wp-image-159" title="Display pinout" src="http://www.blog.zapro.dk/wp-content/Screen-shot-2011-06-17-at-10.08.26.png" alt="" width="258" height="242" /></a></p>
<p>&nbsp;</p>
<p>Some pctures of the LCD and the adaptor i soldered up.</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P1000395.jpg"><img class="alignleft size-medium wp-image-146" title="P1000395" src="http://www.blog.zapro.dk/wp-content/P1000395-300x143.jpg" alt="" width="300" height="143" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P1000397.jpg"><img class="alignleft size-medium wp-image-145" title="P1000397" src="http://www.blog.zapro.dk/wp-content/P1000397-300x205.jpg" alt="" width="300" height="205" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The phones contain some other nice parts, a DC-DC converter module some Xtal&#8217;s, Electret microphone, speaker etc.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=143</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting to know Processing&#8230;</title>
		<link>http://www.blog.zapro.dk/?p=133</link>
		<comments>http://www.blog.zapro.dk/?p=133#comments</comments>
		<pubDate>Wed, 01 Jun 2011 22:01:38 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=133</guid>
		<description><![CDATA[Was cleaning out in the shed today, and found an old piece of kit, some kind of controller box from Evans &#38; Sutherland with 8 encoders and 8 pcs. 8-digit LED readout The Display units are intelligent Alphanumeric LED readouts, have to do something with them some day&#8230; Anyway, the encoders is HP QEDS-7596, enclosed [...]]]></description>
			<content:encoded><![CDATA[<p>Was cleaning out in the shed today, and found an old piece of kit, some kind of controller box from <a href="http://www.es.com/" target="_blank">Evans &amp; Sutherland</a> with 8 encoders and 8 pcs. 8-digit LED readout</p>
<p>The Display units are intelligent Alphanumeric LED readouts, have to do something with them some day&#8230; Anyway, the encoders is HP QEDS-7596, enclosed optical encoders, 512 pulses per revolution. Very nice encoders, must have cost a small fortune!</p>
<p>Wired it to my Arduino (yep, still playing with it, hehe) and opened a serial terminal to see the position of the encoder wheel, works nicely, the resolution of these encoders are just insane.</p>
<p>Googled around, i wanted to show the result on my computer (i&#8217;m using a Mac) and have read about processing, but never tried it. Now i had a reason to try it out.</p>
<p>Downloaded it, and got it running in a few minutes, it&#8217;s just as plug and play as the arduino, very nice!</p>
<p>I&#8217;ll upload some pictures of the result soon.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=133</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with I2C Controlled display (PCF8576-controller)</title>
		<link>http://www.blog.zapro.dk/?p=121</link>
		<comments>http://www.blog.zapro.dk/?p=121#comments</comments>
		<pubDate>Sun, 29 May 2011 22:18:40 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=121</guid>
		<description><![CDATA[I have these displays from an old Ship navigator i scrapped for parts. It was a Philips Navigator, model F 505-2 I kept the displays as the three PCF8576 controller chips sat nicely behind the display glass, so i cut the PCB along the smart mechanism that holds the display glass and elastomers tight to [...]]]></description>
			<content:encoded><![CDATA[<p>I have these displays from an old Ship navigator i scrapped for parts.</p>
<p>It was a Philips Navigator, model F 505-2</p>
<p>I kept the displays as the three <a href="http://www.blog.zapro.dk/wp-content/PCF8576C.pdf" target="_blank">PCF8576</a> controller chips sat nicely behind the display glass, so i cut the PCB along the smart mechanism that holds the display glass and elastomers tight to the PCB <img src='http://www.blog.zapro.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>It&#8217;s a quite curious design, the first 9 digits are standard 7-segment letters, and a bunch of symbols.</p>
<p>The last 18 digits are 11-segments, nor 12, 14 or 16 which seems to be the &#8220;standard&#8221; around&#8230;</p>
<p>Each of the last 18 characters needs 12 data bits, so writing them becomes quite a challenge, as one can only send 8 bits at a time with the I2C-bus. So writing the first character is 8 bits and you can control 8 segments, and the next byte, the first nibble is the remaining segments for the first digit etc.</p>
<p>So addressing the display is like this</p>
<ol>
<li>DIGIT1(8 Bits)</li>
<li>DIGIT1(4 Bits)/DIGIT2 (4 Bits)</li>
<li>DIGIT2(8 Bits)</li>
<li>Etc&#8230;.</li>
</ol>
<p>Before scrapping the navigator completely, i hooked up my logic analyser to see how the chips were adressed via the I2C-bus.</p>
<p>A shot with all segments lit:</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P1000358.jpg"><img class="alignnone size-medium wp-image-123" title="P1000358" src="http://www.blog.zapro.dk/wp-content/P1000358-300x198.jpg" alt="" width="300" height="198" /></a></p>
<p>I wrote a simple and _ugly_ program for the Arduino to test the display, and the results can be seen here:</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P1000359.jpg"><img class="alignnone size-medium wp-image-124" title="P1000359" src="http://www.blog.zapro.dk/wp-content/P1000359-300x201.jpg" alt="" width="300" height="201" /></a></p>
<p>You can get the Arduino-program <a href="http://www.blog.zapro.dk/wp-content/I2C_display_0_9_A_H.pde" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=121</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with Arduino</title>
		<link>http://www.blog.zapro.dk/?p=96</link>
		<comments>http://www.blog.zapro.dk/?p=96#comments</comments>
		<pubDate>Sun, 22 May 2011 10:24:01 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=96</guid>
		<description><![CDATA[Waiting for my RepRap to be finished i could just as well get to know the Arduino hardware, so i installed the programming environment from Arduino on my Mac. That went real easy and it worked in the first try. Success! What do you start out on with a new board/compiler ? Blink an LED [...]]]></description>
			<content:encoded><![CDATA[<p>Waiting for my RepRap to be finished i could just as well get to know the Arduino hardware, so i installed the programming environment from <a href="http://www.arduino.cc/" target="_blank">Arduino</a> on my Mac. That went real easy and it worked in the first try. Success!</p>
<p>What do you start out on with a new board/compiler ? Blink an LED of course! Looking in the <strong>/File/Examples/Basics/Blink</strong> there was a test program to blink the LED on the Arduino board. Worked just fine <img src='http://www.blog.zapro.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Next i needed to try something a bit more exciting, so i dug up my trusty &#8216;ol PLED display (Organic LED) with a KS0066 controller (it&#8217;s HD44780 Compatible) and tried to get it work - no go, it simply wouldn&#8217;t work, so maybe it got damaged during moving my stuff - who knows.</p>
<p>I whipped up some wires and a bit more standard LCD display, the <a href="http://uk.rs-online.com/web/5326559.html" target="_blank">162COG-BA-BC</a> and it worked fine.</p>
<p><a href="http://www.blog.zapro.dk/wp-content/R5326559-99.jpg"><img class="size-thumbnail wp-image-97 alignnone" title="LCD" src="http://www.blog.zapro.dk/wp-content/R5326559-99-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>But what is fun using a standard LCD - that has to be the oldest hack in the shed - apart from the Blinking LED example.</p>
<p>I knew i had some <a title="New Old Stock" href="http://en.wikipedia.org/wiki/New_old_stock" target="_blank">NOS</a> VFD displays kicking around somewhere, that i got from a former employer. They was controlled by SPI bus and were 1x16 character standard ASCII.</p>
<p>I dug them up from my Display box (yep, i actually have two boxes ONLY with displays and display-related technology, among Nixie tubes etc.)</p>
<p><a href="http://www.blog.zapro.dk/wp-content/P10003251.jpg"><img class="alignnone size-medium wp-image-103" title="P1000325" src="http://www.blog.zapro.dk/wp-content/P10003251-300x91.jpg" alt="" width="300" height="91" /></a> <a href="http://www.blog.zapro.dk/wp-content/P10003261.jpg"><img class="alignnone size-medium wp-image-104" title="P1000326" src="http://www.blog.zapro.dk/wp-content/P10003261-300x89.jpg" alt="" width="300" height="89" /></a></p>
<p>Tried getting them to work by adjusting the example suppled with the arduino found in <strong>/File/Examples/SPI/DigitalPotControl</strong></p>
<p>It simply wouldn&#8217;t work reliably, i got i to show some very dim characters and it gave me a audible whine when i changed the display contents, but almost nothing was showing on the display.</p>
<p>Then i caught the smell of fish! - it turns out that two capacitors on these <a title="New Old Stock" href="http://en.wikipedia.org/wiki/New_old_stock" target="_blank">NOS</a> displays was leaking Electrolyte all over the PCB and main switcher, i just hadn&#8217;t seen it. Incredible for <a title="New Old Stock" href="http://en.wikipedia.org/wiki/New_old_stock" target="_blank">NOS</a> electronics that has never been used (i hooked these up for a short moment when i got them years ago, but otherwise unused)</p>
<p>Capacitors C4 (10μF/50V) and C9 (100μF/10V) seemed to be bad - especially the C4 (SMD) it was leaking all over the switcher. I replaced both and the display sprang to life immediately.</p>
<p><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="425" height="344" src="http://www.youtube.com/embed/fzUqMvjjvbI?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;loop=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0" frameborder="0"></iframe>
</span><p><a href="http://www.youtube.com/watch?v=fzUqMvjjvbI">www.youtube.com/watch?v=fzUqMvjjvbI</a></p></p>
<p>A datasheet for the display can be found here: <a href="http://www.blog.zapro.dk/wp-content/CU165.pdf">CU165ECPB-T2J</a> and here: <a href="http://www.blog.zapro.dk/wp-content/CU165ECPB_T2J_specification.pdf">CU165ECPB_T2J_specification</a></p>
<p>You can get my test routine <a href="http://www.blog.zapro.dk/wp-content/CU165_VFD.pde" target="_self">here</a> - it&#8217;s very ugly but it works.</p>
<p>UPDATE: After looking a bit around on the net, i actually found someone else that has been playing with the same display, just on a PCB from HP. You can find documentation and a library <a title="HP Laserjet VFD on Arduino" href="http://arduino.cc/playground/Main/M66004Vfd" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=96</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I got my Arduino Mega today</title>
		<link>http://www.blog.zapro.dk/?p=78</link>
		<comments>http://www.blog.zapro.dk/?p=78#comments</comments>
		<pubDate>Sat, 21 May 2011 09:00:16 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=78</guid>
		<description><![CDATA[Today the postman came with my Arduino Mega 1280, i ordered it on eBay link. It&#8217;s actually destined for my RepRap that i am amidst of building right now &#8211; i have it all done, but need to make the X carriage, extruder and then i need the Motherboard, stepper controllers etc. A fellow member [...]]]></description>
			<content:encoded><![CDATA[<p>Today the postman came with my Arduino Mega 1280, i ordered it on eBay <a href="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=250796465898" target="_blank">link</a>.</p>
<p>It&#8217;s actually destined for my RepRap that i am amidst of building right now &#8211; i have it all done, but need to make the X carriage, extruder and then i need the Motherboard, stepper controllers etc.</p>
<p>A fellow member at <a href="http://www.labitat.dk" target="_blank">Labitat</a> is supplying me with the boards i need <img src='http://www.blog.zapro.dk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://www.blog.zapro.dk/wp-content/KGrHqIOKioE14OK1goBNkpToc36g_12.jpg"><img class="alignnone size-full wp-image-80" title="Arduino Mega 1280" src="http://www.blog.zapro.dk/wp-content/KGrHqIOKioE14OK1goBNkpToc36g_12.jpg" alt="" width="500" height="254" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=78</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Pro Hackintosh</title>
		<link>http://www.blog.zapro.dk/?p=84</link>
		<comments>http://www.blog.zapro.dk/?p=84#comments</comments>
		<pubDate>Sat, 01 Jan 2011 10:00:42 +0000</pubDate>
		<dc:creator>Per Jensen</dc:creator>
				<category><![CDATA[General Hacks]]></category>

		<guid isPermaLink="false">http://www.blog.zapro.dk/?p=84</guid>
		<description><![CDATA[Some people still come lurking here to see and read about my &#8220;Hack Pro&#8221; Hackintosh build. Well i don&#8217;t have the machine any more, i sold it and bought myself a real Mac instead. I will leave the pictures here for your viewing pleasure anyway.]]></description>
			<content:encoded><![CDATA[<p>Some people still come lurking here to see and read about my &#8220;Hack Pro&#8221; Hackintosh build.</p>
<p><a href="http://www.blog.zapro.dk/wp-content/IMG_4615.jpg"><img class="alignnone size-medium wp-image-85" title="IMG_4615" src="http://www.blog.zapro.dk/wp-content/IMG_4615-300x224.jpg" alt="" width="300" height="224" /></a></p>
<p>Well i don&#8217;t have the machine any more, i sold it and bought myself a real Mac instead.</p>
<p>I will leave the pictures <a href="http://gallery.zapro.dk/index.php?album=Technical+%28Teknik%29%2Fhack-pro" target="_blank">here</a> for your viewing pleasure anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.zapro.dk/?feed=rss2&#038;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

