<?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>My 2µF</title>
	<atom:link href="http://blog.spitzenpfeil.org/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spitzenpfeil.org/wordpress</link>
	<description>&#34;Another visitor! Stay a while. Staaaaay, FOREVER!&#34;</description>
	<lastBuildDate>Sun, 07 Mar 2010 07:13:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wasting Energy &#8212; Electricity utility business lives on &#8220;I&#8217;m off, really!&#8221;</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2010/03/06/wasting-energy-electricity-utility-business-lives-on-im-off-really/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2010/03/06/wasting-energy-electricity-utility-business-lives-on-im-off-really/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 00:42:48 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[The Dump.]]></category>
		<category><![CDATA[electricity]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[standby]]></category>
		<category><![CDATA[waste]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2835</guid>
		<description><![CDATA[Yesterday I got another shipment with electronics parts, which is almost better than Xmas. Among other things it contained a remarkably cheap energy meter. They&#8217;ve also got a link to a c&#8217;t-article about energy meters there. For readers of adafruit blog, it is similar to a &#8220;Kill-a-watt&#8221;, but for 220V 50Hz. This one only costs [...]


 
 
No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got another shipment with electronics parts, which is almost better than Xmas. Among other things it contained a remarkably cheap <a href="http://www.reichelt.de/?;ACTION=3;LA=3;GROUP=D139;GROUPID=4033;ARTICLE=88135" target="_blank">energy meter</a>. They&#8217;ve also got a link to a <a href="http://www.heise.de/ct" target="_blank">c&#8217;t</a>-article about energy meters there. For readers of adafruit blog, it is similar to a <a href="http://en.wikipedia.org/wiki/Kill_A_Watt" target="_blank">&#8220;Kill-a-watt&#8221;</a>, but for 220V 50Hz. This one only costs 9.95€ at <a href="http://www.reichelt.de" target="_blank">reichelt.de</a> and can measure powers from 0.2W to 3.6kW (220V single phase). It&#8217;s ideal for finding &#8216;fake standby&#8217; devices. It measures line voltage (V), frequency (Hz), current (A), effective power (W), total energy consumption (kWh) and cost (€). The price per kWh can be adjusted. A nice feature is the lack of any battery.</p>
<p>As my back is killing my right now, I won&#8217;t be going anywhere anyways. So I might as well crawl around my home and measure how much energy I waste. Maybe this will bore the little devils sticking hot needles into my back to death and they go away. Even if walking upright was a major step in the evolution of mankind, it comes at a price&#8230;</p>
<p>&nbsp;</br><br />
The measurements:</p>
<table style="width: 600px;" border="0" align="left">
<tbody>
<tr style="background-color: #000000;">
<td style="color: #ffffff;" align="left">activity</td>
<td style="color: #ffffff;" align="center">hh:mm</td>
<td style="color: #ffffff;" align="center">W</td>
<td style="color: #ffffff;" align="center">off</td>
<td style="color: #ffffff;" align="center">kWh</td>
<td style="color: #ffffff;" align="center">cost</td>
<td style="color: #ffffff;" align="center">comment</td>
</tr>
<tr>
<td>vacuum cleaning</td>
<td>0:45</td>
<td>1444</td>
<td>0.0</td>
<td>1.083</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>laundry @ 30°C</td>
<td>2:15</td>
<td>386</td>
<td>0.0</td>
<td>0.868</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>laundry dryer</td>
<td>1:43</td>
<td>1061</td>
<td>0.0</td>
<td>1.822</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>fridge</td>
<td>24:00</td>
<td>15.8</td>
<td>0.6</td>
<td>0.378</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>web surfing</td>
<td>1:00</td>
<td>137</td>
<td style="font-weight: bold; color: #ff0000;">7.0</td>
<td>0.137</td>
<td>-</td>
<td>standby ?</td>
</tr>
</tbody>
</table>
<p>&nbsp;<br />
Wattages of some other devices:</p>
<table style="width: 600px;" border="0" align="left">
<tbody>
<tr style="background-color: #000000;">
<td style="color: #ffffff;" align="left">device</td>
<td style="color: #ffffff;" align="center">switch</td>
<td style="color: #ffffff;" align="center">off</td>
<td style="color: #ffffff;" align="center">standby</td>
<td style="color: #ffffff;" align="center">idle</td>
<td style="color: #ffffff;" align="center">job A</td>
<td style="color: #ffffff;" align="center">job B</td>
<td style="color: #ffffff;" align="center">job C</td>
</tr>
<tr>
<td>PC</td>
<td align="center">1</td>
<td>0.0</td>
<td style="font-weight: bold; color: #ff0000;">7.0</td>
<td>102</td>
<td>157</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>DSL modem</td>
<td align="center">0</td>
<td>-</td>
<td>-</td>
<td>3.0</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>speakers</td>
<td align="center">1</td>
<td style="font-weight: bold; color: #ff0000;">3.5</td>
<td>-</td>
<td>7.5</td>
<td>7.5</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>19&#8221; LCD</td>
<td align="center">1</td>
<td>0.5</td>
<td>0.6</td>
<td>34.0</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>8-port switch</td>
<td align="center">0</td>
<td>-</td>
<td>-</td>
<td>2.8</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>HP 2605DN</td>
<td align="center">1</td>
<td>0.0</td>
<td>-</td>
<td>14.8</td>
<td>28-35</td>
<td>285-584</td>
<td>-</td>
</tr>
<tr>
<td>750W microwave</td>
<td align="center">1</td>
<td>0.0</td>
<td>-</td>
<td>-</td>
<td>1170</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td>Adafruit Ice Clock</td>
<td align="center">0</td>
<td>-</td>
<td>-</td>
<td>3.7</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
</tbody>
</table>
<p>&nbsp;<br />
Now many folks may think that 10.5W of standby power isn&#8217;t a whole lot, but an average year has 8760 hours. Multiply that by 10.5W and you end up with 92kWh per year, senselessly wasted! According to my measurements that would be enough to have about 30 full loads of laundry washed and dried! If you like to think about it in terms of money, 92kWh would cost somewhere from 14€ to 24€ depending on where you get the juice. That&#8217;s definitely enough for going to the movies and maybe having some food as well.</p>
<p>Assuming that I&#8217;m &#8220;better&#8221; than average in terms of avoiding the standby trap, let&#8217;s just assume the average guy/dude/dudess/single/singless/family also has a big stereo, maybe an XBox or PS3 + TV, radio, alarm clock etc. etc. &#8211; all running on standby power. Let it be 50W total for sake of this thought experiment. Now take a country like the USA (0.30 milliard people, it&#8217;s NOT billion dudes!)</p>
<p>&nbsp;<br />
Short intermission:</p>
<img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?<br />
\parstyle<br />
\begin{align*}\dots \\ \frac{1}{\mathrm{trillion}} &#038;= 10^{-18} &#038;&#038; \text{atto} \\ \frac{1}{\mathrm{billiard}} &#038;= 10^{-15} &#038;&#038; \text{femto} \\ \frac{1}{\mathrm{billion}} &#038;= 10^{-12} &#038;&#038; \text{pico} \\ \frac{1}{\mathrm{milliard}} &#038;= 10^{-9} &#038;&#038; \text{nano} \\ \frac{1}{\mathrm{million}} &#038;= 10^{-6} &#038;&#038; \text{micro} \\ \frac{1}{1000} &#038;= 10^{-3} &#038;&#038; \text{milli} \\ 1 &#038;= 10^{0} &#038;&#038; \text{$>>$ start here $<<$} \\ 1000&#038;= 10^{3} &#038;&#038; \text{kilo}  \\ 1\mathrm{~million} &#038;= 10^{6} &#038;&#038; \text{mega} \\1\mathrm{~milliard} &#038;= 10^{9} &#038;&#038; \text{giga} \\ 1\mathrm{~billion}&#038;= 10^{12} &#038;&#038; \text{tera} \\ 1\mathrm{~billiard}&#038;= 10^{15} &#038;&#038; \text{peta} \\ 1\mathrm{~trillion}&#038;= 10^{18} &#038;&#038; \text{exa} \\ \dots \end{align*}<br />
" align="middle" border="0px" />
<p>See also <a href="http://en.wikipedia.org/wiki/SI_prefix" target="_blank">here</a>. BTW, short scale is crap and the world is metric!</p>
<p>Where was I&#8230; right the USA. Again 300 million people, maybe about <a href="http://quickfacts.census.gov/qfd/states/00000.html" target="_blank">100 million households</a> wasting the above assumed 50W. That&#8217;s a whoppin&#8217; 120&#8242;000&#8242;000 kWh a day, 43&#8242;800&#8242;000&#8242;000 kWh a year or the output of a standard nuclear power plant (2GW) running for 2.5 years nonstop.</p>
<p>Fact: it takes about <a href="http://hyperphysics.phy-astr.gsu.edu/hbase/tables/phase.html#c1" target="_blank">334kJ to melt 1kg of ice of 0°C</a>. Doing the math one gets: 1 kWh = 3600kWs = 3.6MJ, therefore the very large number from above gets multiplied by 3.6 to give MJ. Dividing that humongous number by 0.334MJ gives about 472 million tons of ice or roughly 0.5 km³, a cube with sides of about 800m. 800 meters are about the same size as the new <a href="http://en.wikipedia.org/wiki/Burj_Khalifa" target="_blank">Burj Khalifa</a> sky scraper, which was completed earlier this year.</p>
<p>Gasoline has an energy content of about <a href="http://de.wikipedia.org/wiki/Heizwert#Fl.C3.BCssige_Brennstoffe_.28bei_25.C2.A0.C2.B0C.29" target="_blank">38MJ/l</a>. Wasting said amount of energy is equal to burning about 1&#8242;000&#8242;000&#8242;000 gallons of gasoline. That would take your average 25miles/gallon car 1&#8242;000&#8242;000 times around the globe.</p>
<p>All of this waste because of &#8220;I&#8217;m off, really!&#8221; a.k.a. &#8220;Standby&#8221;. Personally I&#8217;m more than willing to make the very small effort and switch off my gear when I don&#8217;t need it. Awareness to energy waste should be taught at school (and it could be fun too), as well as &#8220;Shut off the lights when you leave the room!&#8221;.</p>
<p>/rant</p>
<p><a href="http://www.forkosh.com/" target="_blank">Mystery link!</a></p>


<p> </p><p> </p><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2010/03/06/wasting-energy-electricity-utility-business-lives-on-im-off-really/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nitelite upgrade &#8212; another RGB thingy</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2010/02/28/nitelite-upgrade-another-rgb-thingy/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2010/02/28/nitelite-upgrade-another-rgb-thingy/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 00:12:19 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Arduino.]]></category>
		<category><![CDATA[Electronics.]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[dead bug style]]></category>
		<category><![CDATA[free-form soldering]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[modding]]></category>
		<category><![CDATA[RGB]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2771</guid>
		<description><![CDATA[A few days ago I visited my parents. The main purpose was to &#8216;deposit&#8217; my new Lecroy WaveAce224 DSO. I bought it as a gift for myself, but I haven&#8217;t fulfilled all criteria to receive the gift yet. Therefore my parents are &#8216;guarding&#8217; it for me until I&#8217;m allowed to have it. As Lecroy were [...]


 
 
Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/08/ikea-samtid-modification-%e2%80%94-part-1/' rel='bookmark' title='Permanent Link: IKEA SAMTID modification &#8212; part 1'>IKEA SAMTID modification &#8212; part 1</a> <small>I have 3 Ikea Samtid lamps. They&#8217;re affordable, useful and...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/09/digital-storage-oscilloscopy-with-an-avr-jyetech-diy-kit/' rel='bookmark' title='Permanent Link: Jyetech AVR digital oscilloscope DIY KIT &#8212; Firmware upgrade odyssey'>Jyetech AVR digital oscilloscope DIY KIT &#8212; Firmware upgrade odyssey</a> <small>I bought the DIY KIT at seeedstudio recently, as I...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/04/14/using-a-standard-arduino-to-program-v3-matrix-boards/' rel='bookmark' title='Permanent Link: Using a standard Arduino to program V3 Matrix boards'>Using a standard Arduino to program V3 Matrix boards</a> <small>A comment by Andy reminded me of the fact that...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>A few days ago I visited my parents. The main purpose was to &#8216;deposit&#8217; my new Lecroy WaveAce224 DSO. I bought it as a gift for myself, but I haven&#8217;t fulfilled all criteria to receive the gift yet. Therefore my parents are &#8216;guarding&#8217; it for me until I&#8217;m allowed to have it. As Lecroy were offering a promotional sale on these, I just had to buy it right now.</p>
<p>I happened to see a pretty simple nitelite my mom likes to use. It comes with a base unit and a glass sphere resembling the planet earth on top of that. It only had a blue LED, and a pretty inefficient one as well. It was pulling 80mA and wasn&#8217;t any bright at all. The upgraded &#8216;thing&#8217; now comes with an RGB LED and an ATmega168 microcontroller as the brains. The metal cap now works as a <a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&#038;nodeId=2600&#038;param=en535168" target="_blank">capacitive touch sensor</a>.</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4390512238/illuminated-glass-globe.html" class="tt-flickr tt-flickr-Medium" title="Illuminated glass globe"><img class="alignnone" src="http://farm3.static.flickr.com/2752/4390512238_9e3d8c0c89.jpg" alt="Illuminated glass globe" width="500" height="375" /></a> </p>
<p>As you can see in the video, as soon as you touch the base it changes color. In normal mode it slowly fades through all colors. When touched, it shows the delay time used for the fading encoded in red and blue. If it&#8217;s more on the red side the delay is large, if it&#8217;s on the blue side the delay is small. The longer you touch it, the more the delay is changed. I used an uint8_t variable to hold it, so it automatically wraps around to zero once it gets larger than 255.</p>
<p><object width="600" height="363"><param name="movie" value="http://www.youtube.com/v/jU23Af8sHPo&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/jU23Af8sHPo&#038;fs=1" type="application/x-shockwave-flash" width="600" height="363" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Here&#8217;s a look at the somewhat messy innards:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4389745097/illuminated-glass-globe-inside.html" class="tt-flickr tt-flickr-Medium" title="Illuminated glass globe - inside"><img class="alignnone" src="http://farm3.static.flickr.com/2756/4389745097_cacfea3a59.jpg" alt="Illuminated glass globe - inside" width="500" height="375" /></a> </p>
<p>The metal cap to the left connects to two pins of the ATmega168 microcontroller. Together with 2x 510k&Omega; resistors it forms a voltage divider. The cap has a small capacitance against &#8216;ground&#8217; that can be charged through the resistors. The code of the CapSense library measures the time it takes until the &#8217;sense pin&#8217; changes its state from LOW to HIGH (RC-time measurement). By moving your hand closer to the metal base the capacitance is increased. In case the power supply is not grounded (wall wart), the measurement is somewhat limited, as the ground reference is missing. The difference is huge if you do the same measurement when connecting it to your PC (which is grounded). That&#8217;s why I had to set the threshold to 2 to get any result. When connected to properly grounded PC, the values reported by the code are magnitudes higher. It might have helped to install a copper ground plane, but that wasn&#8217;t possible. Together with the metal cap it would have approximated a parallel plate capacitor.</p>
<p>Closeup of the important parts:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4389744767/illuminated-glass-globe-inside.html" class="tt-flickr tt-flickr-Medium" title="Illuminated glass globe - inside"><img class="alignnone" src="http://farm3.static.flickr.com/2767/4389744767_530d437d15.jpg" alt="Illuminated glass globe - inside" width="500" height="375" /></a></p>
<p>The 1k&Omega; resistor glued to the ATmega168&#8217;s belly is used to bring the wall wart&#8217;s voltage down to a safe value. It&#8217;s a cheap one labeled to provide 3.5V. When loaded with the old blue LED it supplied 3.8V at 80mA. With no load it spits out 6V, which would kill the microcontroller. The resistor pulls about 5mA out of it which brings it down to about 5 volts, which is safe enough. The 10k&Omega; resistor is used as a pull-up for the RESET pin, 100&Omega; go to the red LED and the parallel pairs of 130&Omega; are used for blue and green.</p>
<p>Here&#8217;s the pretty simple <a href="http://git.spitzenpfeil.org/cgi-bin/gitweb.cgi" target="_blank">code</a>. It requires the <a href="http://www.arduino.cc" target="_blank">Arduino</a> <a href="http://www.arduino.cc/playground/Main/CapSense" target="_blank">CapSense</a> library by Paul Badger.</p>
<p>A few words of caution:</p>
<p>Please make sure you&#8217;ve flashed a bootloader to the chip AND verified that it actually works BEFORE you start the solder job. I had flashed a bootloader, but as it turned out it was the wrong one. ARGH ARGH ARGH. I can recommend the &#8216;ATmegaBOOT_168_lilypad.hex&#8217; one with a long enough wait phase. The other ones don&#8217;t give you enough time for manual upload. Fuse settings for internal RC oscillator: LFUSE:0xE2 &#8211; HFUSE:0xDD &#8211; EFUSE:0&#215;00</p>
<p>As the chip is mounted belly up, it is VERY useful to draw a mirrored diagram of all the pins you&#8217;ll need to use + their function. If you don&#8217;t do this, you&#8217;re bound to make mistakes. Trust me on this.</p>


<p> </p><p> </p><p>Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/08/ikea-samtid-modification-%e2%80%94-part-1/' rel='bookmark' title='Permanent Link: IKEA SAMTID modification &#8212; part 1'>IKEA SAMTID modification &#8212; part 1</a> <small>I have 3 Ikea Samtid lamps. They&#8217;re affordable, useful and...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/09/digital-storage-oscilloscopy-with-an-avr-jyetech-diy-kit/' rel='bookmark' title='Permanent Link: Jyetech AVR digital oscilloscope DIY KIT &#8212; Firmware upgrade odyssey'>Jyetech AVR digital oscilloscope DIY KIT &#8212; Firmware upgrade odyssey</a> <small>I bought the DIY KIT at seeedstudio recently, as I...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/04/14/using-a-standard-arduino-to-program-v3-matrix-boards/' rel='bookmark' title='Permanent Link: Using a standard Arduino to program V3 Matrix boards'>Using a standard Arduino to program V3 Matrix boards</a> <small>A comment by Andy reminded me of the fact that...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2010/02/28/nitelite-upgrade-another-rgb-thingy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing with complex numbers</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2010/02/14/playing-with-complex-numbers/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2010/02/14/playing-with-complex-numbers/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 16:04:02 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[The Dump.]]></category>
		<category><![CDATA[complex numbers]]></category>
		<category><![CDATA[imaginary unit]]></category>
		<category><![CDATA[mandelbrot]]></category>
		<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2740</guid>
		<description><![CDATA[I&#8217;m just keeping my mind busy, ordering some thoughts and testing my memory.
Almost 20 years ago I was lucky to have a math teacher willing to teach our class &#8216;all about&#8217; complex numbers. At that time there were some changes to the curriculum and he could have skipped that or chosen something else. I don&#8217;t [...]


 
 
No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just keeping my mind busy, ordering some thoughts and testing my memory.</p>
<p>Almost 20 years ago I was lucky to have a math teacher willing to teach our class &#8216;all about&#8217; complex numbers. At that time there were some changes to the curriculum and he could have skipped that or chosen something else. I don&#8217;t remember what the alternative could have been, probably stochastics (I just couldn&#8217;t resist) ;-)</p>
<p>One part of it was analytical transformations. Of course it wasn&#8217;t called that way back then at school and we weren&#8217;t told what criteria complex valued functions have to meet to be called analytical either, because that needed knowledge about derivatives, possibly integration and a whole lot about a guy named Cauchy. And of course calculating derivatives and integrals was part of next year&#8217;s math curriculum.</p>
<p>But we were taught quite a lot about <img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?\dpi{150}\displaystyle z, z^{*}, z \cdot z^{*}, exp(i\varphi) \dots" align="middle" border="0px" /></p>
<p>And of course there&#8217;s the famous: <img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?\dpi{150}\displaystyle i^{2} = -1" align="middle" border="0px" /></p>
<p>BTW, complex math is the source of the world famous <a href="http://en.wikipedia.org/wiki/Mandelbrot_set" target="_blank">Mandelbrot set</a>.</p>
<p>Here&#8217;s what I&#8217;ve found in the deep chasms of my mind today:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4356426382/wzz2absz-1.html" class="tt-flickr tt-flickr-Medium" title="w(z)=z*(2/abs(z)-1)"><img class="alignnone" src="http://farm3.static.flickr.com/2755/4356426382_b75ebc0b7e.jpg" alt="w(z)=z*(2/abs(z)-1)" width="498" height="500" /></a> </p>
<p>This little formula acts as a mirror using the dashed circle of radius 1 as the &#8216;axis&#8217;. Funny things happen.</p>
<p>If I&#8217;m not mistaken this transformation here is actually not analytical. If it were it should reproduce the 90° angles of the square perfectly. One textbook application of analytical transformations is calculating equipotential lines and electric fields in unpleasant geometries. As everybody should know field lines and equipotential lines are orthogonal. This fact is preserved if transforming geometries of electrodes into a more pleasant shape, meaning that calculation becomes easy or even trivial.</p>
<p>And the last one:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4356633176/wzz2absz-1.html" class="tt-flickr tt-flickr-Medium" title="w(z)=z*(2/abs(z)-1)"><img class="alignnone" src="http://farm3.static.flickr.com/2724/4356633176_6292b1c0d5.jpg" alt="w(z)=z*(2/abs(z)-1)" width="480" height="500" /></a></p>
<p>Here&#8217;s the files that were used to create the images. Some Inkscape post processing is necessary.</p>
<p><a href='http://blog.spitzenpfeil.org/wordpress/wp-content/uploads/2010/02/circle_mirror.pl'>circle_mirror.pl</a> , <a href='http://blog.spitzenpfeil.org/wordpress/wp-content/uploads/2010/02/makeplot_circle_mirror.txt'>makeplot_circle_mirror.txt</a></p>


<p> </p><p> </p><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2010/02/14/playing-with-complex-numbers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My stupid intelligent washing machine</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2010/01/25/my-stupid-intelligent-washing-machine/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2010/01/25/my-stupid-intelligent-washing-machine/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 19:23:54 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Electronics.]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2694</guid>
		<description><![CDATA[I&#8217;m trying to save money.
Heating up water with electricity is madness. It costs a fortune and most likely fossil fuels were burned for that before. So why not use my gas/water heater and a simple bucket for getting warm water into my washing machine ? It only comes with a hose for cold water. The [...]


 
 
No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to save money.</p>
<p>Heating up water with electricity is madness. It costs a fortune and most likely fossil fuels were burned for that before. So why not use my gas/water heater and a simple bucket for getting warm water into my washing machine ? It only comes with a hose for cold water. The tricky thing is hidden in here:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4304493162/stupid-intelligent-washing-machine-schematic.html" class="tt-flickr tt-flickr-Medium" title="Stupid intelligent washing machine schematic"><img class="alignnone" src="http://farm3.static.flickr.com/2711/4304493162_9d4a4e72b4.jpg" alt="Stupid intelligent washing machine schematic" width="369" height="500" /></a></p>
<p>This machine has a temperature sensor. Good. It&#8217;s also used by the on-board brain to lock down the lid if the contents are above 40°C. Why 40? </p>
<p>If you just fill the machine with hot water by hand and start it, it will pump out all of it again. To trick the machine, you need to start it and let it suck in some cold water and only then pour in more hot water by hand. If anything goes wrong the machine locks the lid. Of course that&#8217;s what happened. Fortunately the lid can be opened by removing power for 2 minutes. Unfortunately this also resets the microcontroller, but I found that one out too late.</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4304493152/top-loader-with-en-evil-locking-mechanism.html" class="tt-flickr tt-flickr-Medium" title="Top loader with en evil locking mechanism"><img class="alignnone" src="http://farm5.static.flickr.com/4040/4304493152_0b48e107be.jpg" alt="Top loader with en evil locking mechanism" width="360" height="500" /></a></p>
<p>Now all hot water will be pumped out again, but that is not what we want. As the machine is still hot inside tricking it by letting it suck in some cold water doesn&#8217;t help either. Because of the thermal lock-down the lid will stay shut. The lid must stay open while the machine runs in this case. Of course normally you&#8217;d just let it suck in some water and then add hot water by hand, but that only works once and with a cold machine.</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4304493154/the-evil-hole.html" class="tt-flickr tt-flickr-Medium" title="The evil hole"><img class="alignnone" src="http://farm3.static.flickr.com/2775/4304493154_4800df83d0.jpg" alt="The evil hole" width="500" height="412" /></a> </p>
<p>Fortunately the machine can be tricked by pushing the lid lock switch by hand with the machine still open. Now you can add hot water. As the machine is hot and its brain thinks it favourable to lock the lid, the lid now cannot be closed anymore. Argh!</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4304493150/tape-hacked-washing-machine.html" class="tt-flickr tt-flickr-Medium" title="Tape-hacked washing machine"><img class="alignnone" src="http://farm5.static.flickr.com/4032/4304493150_581d17d648.jpg" alt="Tape-hacked washing machine" width="349" height="500" /></a></p>
<p>Outsmarted by a washing machine. But I&#8217;ve got sticky tape, HAH!</p>


<p> </p><p> </p><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2010/01/25/my-stupid-intelligent-washing-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Picture Dump &#8212; Jan 2010</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2010/01/25/picture-dump-jan-2010/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2010/01/25/picture-dump-jan-2010/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 07:20:28 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[The Dump.]]></category>
		<category><![CDATA[DPSS]]></category>
		<category><![CDATA[laser]]></category>
		<category><![CDATA[LIDAR]]></category>
		<category><![CDATA[POV]]></category>
		<category><![CDATA[snow]]></category>
		<category><![CDATA[winter]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2673</guid>
		<description><![CDATA[New Year is over, time to post something new to get the fireworks images out of the way ;-) Here&#8217;s a slogan that&#8217;s a perfect match to my current state of mind:
&#8220;Until you decide that NOTHING will stop you from success, EVERYTHING will.&#8221;
That one contains a lot of wisdom.
And now some images of snow (lots [...]


 
 
Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/12/31/happy-new-year-2010/' rel='bookmark' title='Permanent Link: Happy New Year 2010'>Happy New Year 2010</a> <small> 2009 has been a pretty tough year for everybody...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>New Year is over, time to post something new to get the fireworks images out of the way ;-) Here&#8217;s a slogan that&#8217;s a perfect match to my current state of mind:</p>
<p>&#8220;Until you decide that NOTHING will stop you from success, EVERYTHING will.&#8221;</p>
<p>That one contains a lot of wisdom.</p>
<p>And now some images of snow (lots actually, I&#8217;m sick of it already), my new green 5mW DPSS laser pointer from Dealextreme, and some POV experiments. The laser pointer will come in handy once I&#8217;m done with my current occupation. I call it &#8220;The Bane&#8221;.</p>
<p>Riding my bike will be interesting in these conditions:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4303188858/snow-again.html" class="tt-flickr tt-flickr-Medium" title="Snow again..."><img class="alignnone" src="http://farm5.static.flickr.com/4051/4303188858_ac93f775c5.jpg" alt="Snow again..." width="500" height="375" /></a> </p>
<p>Losing some photons:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4303188868/inexcusable-loss-of-intensity.html" class="tt-flickr tt-flickr-Medium" title="Inexcusable loss of intensity"><img class="alignnone" src="http://farm5.static.flickr.com/4049/4303188868_bf1799c867.jpg" alt="Inexcusable loss of intensity" width="500" height="375" /></a> </p>
<p>Much better:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4303188870/wanna-be-lidar.html" class="tt-flickr tt-flickr-Medium" title="Wanna be LIDAR"><img class="alignnone" src="http://farm5.static.flickr.com/4049/4303188870_8061707245.jpg" alt="Wanna be LIDAR" width="500" height="375" /></a> </p>
<p>Lissajous Figures. The first to calculate the frequency ratio and phase shift will get a little something:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4303188866/pov-and-scattering-on-water-droplets-lissajous-figures.html" class="tt-flickr tt-flickr-Medium" title="POV and scattering on water droplets. Lissajous Figures."><img class="alignnone" src="http://farm5.static.flickr.com/4005/4303188866_d23e2ebdc0.jpg" alt="POV and scattering on water droplets. Lissajous Figures." width="500" height="375" /></a> </p>
<p>More POV:</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4303188884/temperature-enhanced-pov-using-self-stabilizing-multilayers-of-ice-crystals.html" class="tt-flickr tt-flickr-Medium" title="Temperature enhanced POV using self stabilizing multilayers of ice crystals."><img class="alignnone" src="http://farm5.static.flickr.com/4070/4303188884_0896d1215e.jpg" alt="Temperature enhanced POV using self stabilizing multilayers of ice crystals." width="500" height="375" /></a> </p>
<p>And now if you will excuse me, I&#8217;ll have to take a hot shower. Otherwise I&#8217;ll freeze to death outside. Probably I shouldn&#8217;t ride my bike, but at least it won&#8217;t be boring. Up till now I wouldn&#8217;t have thought that boredom in a more abstract sense could be so annoying &#8211; and that is an understatement.</p>
<p>Edit:</p>
<p>On second thought I shouldn&#8217;t call it boredom, but a massive shift of interest. The emotional subsystem of the human brain is as strong as ever, thanks to our distant ancestors, tiny rodent like mammals. Or in other words: RATS!</p>


<p> </p><p> </p><p>Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/12/31/happy-new-year-2010/' rel='bookmark' title='Permanent Link: Happy New Year 2010'>Happy New Year 2010</a> <small> 2009 has been a pretty tough year for everybody...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2010/01/25/picture-dump-jan-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy New Year 2010</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2009/12/31/happy-new-year-2010/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2009/12/31/happy-new-year-2010/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 07:34:08 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[The Dump.]]></category>
		<category><![CDATA[fireworks]]></category>
		<category><![CDATA[happy new year]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2487</guid>
		<description><![CDATA[
2009 has been a pretty tough year for everybody it seems. I&#8217;ve had a big share of nasty setbacks myself. Let&#8217;s hope the next decade of the second millennium has more pleasant things in store for us. Let&#8217;s make 2010 the perfect year. Concentrate on what really matters to you and quit being somebody else&#8217;s [...]


 
 
Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/01/01/happy-new-year-2009/' rel='bookmark' title='Permanent Link: Happy New Year 2009'>Happy New Year 2009</a> <small> ...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2010/01/25/picture-dump-jan-2010/' rel='bookmark' title='Permanent Link: Picture Dump &#8212; Jan 2010'>Picture Dump &#8212; Jan 2010</a> <small>New Year is over, time to post something new to...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.spitzenpfeil.org/wordpress/wp-content/uploads/2009/12/fireforks_2009-10.png"><img src="http://blog.spitzenpfeil.org/wordpress/wp-content/uploads/2009/12/fireforks_2009-10.png" alt="Happy New Year 2010" title="Happy New Year 2010. The image was created with the &#039;Fireworkx&#039; plugin of xscreensaver." width="495" height="372" class="alignnone size-full wp-image-2491" /></a></p>
<p>2009 has been a pretty tough year for everybody it seems. I&#8217;ve had a big share of nasty setbacks myself. Let&#8217;s hope the next decade of the second millennium has more pleasant things in store for us. Let&#8217;s make 2010 the perfect year. Concentrate on what really matters to you and quit being somebody else&#8217;s dog. Bite back!</p>
<p>And now some real fireworks !</p>
<p><!-- Smart Youtube --><span class="youtube"><object type="application/x-shockwave-flash" width="480" height="360" data="http://www.youtube.com/v/_4XPkaomGXc&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showsearch=0&amp;ap=%2526fmt%3D18"><param name="movie" value="http://www.youtube.com/v/_4XPkaomGXc&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showsearch=0&amp;ap=%2526fmt%3D18" /><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /></object></span><a href="http://www.youtube.com/watch?v=_4XPkaomGXc&fmt=18"><img src="http://img.youtube.com/vi/_4XPkaomGXc/default.jpg" width="130" height="97" border=0></a></p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4232520238/happy-new-year-2010.html" class="tt-flickr tt-flickr-Medium" title="Happy New Year 2010"><img class="alignnone" src="http://farm3.static.flickr.com/2801/4232520238_c8fab17a32.jpg" alt="Happy New Year 2010" width="500" height="375" /></a> </p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4232520548/happy-new-year-2010.html" class="tt-flickr tt-flickr-Medium" title="Happy New Year 2010"><img class="alignnone" src="http://farm5.static.flickr.com/4064/4232520548_c7a112b510.jpg" alt="Happy New Year 2010" width="500" height="375" /></a> </p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4231750769/happy-new-year-2010.html" class="tt-flickr tt-flickr-Medium" title="Happy New Year 2010"><img class="alignnone" src="http://farm3.static.flickr.com/2532/4231750769_60f0a0fd60.jpg" alt="Happy New Year 2010" width="500" height="375" /></a> </p>


<p> </p><p> </p><p>Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/01/01/happy-new-year-2009/' rel='bookmark' title='Permanent Link: Happy New Year 2009'>Happy New Year 2009</a> <small> ...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2010/01/25/picture-dump-jan-2010/' rel='bookmark' title='Permanent Link: Picture Dump &#8212; Jan 2010'>Picture Dump &#8212; Jan 2010</a> <small>New Year is over, time to post something new to...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2009/12/31/happy-new-year-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Macroblock LED driver group buy</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2009/12/29/macroblock-led-driver-group-buy/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2009/12/29/macroblock-led-driver-group-buy/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 05:13:22 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Electronics.]]></category>
		<category><![CDATA[DeTeXify]]></category>
		<category><![CDATA[group buy]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[LED driver]]></category>
		<category><![CDATA[macroblock]]></category>
		<category><![CDATA[MathTeX]]></category>
		<category><![CDATA[MBI5168]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2416</guid>
		<description><![CDATA[I&#8217;ll be placing an order at Kingelectronics on January 14th 2010.
To my knowledge Kingelectronics is currently the sole distributor for Macroblock LED drivers in the western world. They have quite a few interesting chips, e.g. the MBI5168. It&#8217;s an 8bit shift register with included constant current sink drivers. Just one external potentiometer is enough to [...]


 
 
No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be placing an order at <a href="http://www.kingelectronics.com/" target="_blank">Kingelectronics</a> on January 14th 2010.</p>
<p>To my knowledge Kingelectronics is currently the sole distributor for <a href="http://www.mblock.com.tw/" target="_blank">Macroblock</a> LED drivers in the western world. They have quite a few interesting chips, e.g. the <a href="http://www.kingelectronics.com/images/products/MBI5168DatasheetVA.02-English.pdf" target="_blank">MBI5168</a>. It&#8217;s an 8bit shift register with included constant current sink drivers. Just one external potentiometer is enough to adjust the current from about 5 to 120mA per channel. With three of these you can easily drive 8 common anode RGB LEDs and simply balance the colors with the potentiometers. As the outputs are current limited, you can also parallelize them if you need to switch a bigger LED. Proper thermal design required. This chips is ideal for Arduino users wanting to drive somewhat bigger LEDs at a reasonable price. The MBI5168 chips are used in <a href="http://www.seeedstudio.com" target="_blank">Seeedstudio</a>&#8217;s Rainbowduino BTW. Other LED drivers are available as well.</p>
<p>If you find something of use in their list, you can join. But I only accept requests from inside the EU to keep shipping costs down. And as usual, I&#8217;m a hobbyist and no big business ;-)</p>
<p>Here&#8217;s the math for calculating the price per chip and the final one:</p>
<ul>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?p_{i}:" align="middle" border="0px" /> price of a single chip in US$ as per Kingelectronic&#8217;s website.</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?p_{i}^{\prime}:" align="middle" border="0px" /> price of the chip in € including all import costs that I have to pay.</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?S_{imp.}:" align="middle" border="0px" /> shipping costs for importing the whole order (current estimate: 30$).</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?S_{EU}:" align="middle" border="0px" /> shipping cost from Me to You in € (somewhere between 1.45€ and 3.00€).</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?H:" align="middle" border="0px" />1€ handling. carton, envelope, tape etc.</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?N_{i}:" align="middle" border="0px" /> number of parts for a certain component (i) (whole order).</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?N_{i}^{\prime}:" align="middle" border="0px" /> number of parts for a certain component (i) (yours only)</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?T_{imp.}:" align="middle" border="0px" /> import tax in % that I have to pay for the whole order (parts + shipping, 19%)</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?n:" align="middle" border="0px" /> number of different components</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?i:" align="middle" border="0px" /> component (i)</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?C_{cnv.}:" align="middle" border="0px" /> €/$ ratio on January 14th 2010</li>
<li><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?P_{user}:" align="middle" border="0px" /> price in € for your parts including shipping from Me to You.</li>
</ul>
<p><center><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?\dpi{150}p_{i}^{\prime} = \Bigl( p_{i} + S_{imp.} \cdot \frac{p_{i}}{\sum\limits_{i=1}^{n}N_{i}p_{i}} \Bigr) \cdot C_{cnv.} \cdot (1+\frac{T_{imp.}}{100}) " align="middle" border="0px" /></center>&nbsp;</p>
<p><center><img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?\dpi{150}\displaystyle P_{user} = \sum\limits_{i} N_{i}^{\prime}p_{i}^{\prime} + S_{EU} + H" align="middle" border="0px" /></center>&nbsp;</p>
<p>So the chip price <img src="http://blog.spitzenpfeil.org/cgi-bin/mathtex.cgi?p_{i}^{\prime}" align="middle" border="0px" /> is calculated from the original chip price + percentaged shipping costs and all import fees there might be. The percentaged shipping costs are weighted by the chip&#8217;s price. If the chip is cheap, only a small part of the total shipping cost will be added. If the chip is expensive, more of the shipping cost will be added.</p>
<p>Example order (no real prices, just easy to calculate):</p>
<ul>
<li>Part A &#8211; total order 100 pcs &#8211; 0.50$ each</li>
<li>Part B &#8211; total order 10 pcs &#8211; 5$ each</li>
<li>Part C &#8211; total order 1 pc &#8211; 50$ each</li>
</ul>
<p>Each component contributes with 50$ to the whole order, therefore total shipping costs would be split into 3 equal chunks of 10$. If shipping cost 30$, the price (before tax and import) for Part C would be 60$, Part B: 6$ and Part A 0.60$. I hope that can be considered as fair.</p>
<p>You can chose other parts too of course.</p>
<p>Once again, this is a &#8216;hobby-level&#8217; order and I won&#8217;t advance pay for 100s of dollars and only accept requests from inside the EU. As the paypal fees have gone up again lately, I&#8217;d prefer bank transfer for payment, which shouldn&#8217;t be a problem in the EU. Thanks to EU regulations, EU bank transfers don&#8217;t cost more than normal national transfers.</p>
<p>Cummulative group buy list as of  Jan. 14th 2010 including the approximated chip prices in EUR according to the formulas above:</p>
<ul>
<li>130x MBI5168 DIP16 &#8211;> 0.69€</li>
<li>115x MBI5168 SOP16-150 &#8211;> 0.69€</li>
<li>025x MBI5031 SOP24-300 &#8211;> 1.32€</li>
</ul>
<p><b>ORDERED</b> &#8212; Any news regarding the order will be posted in the comments section!</p>
<p>BTW, here are a few nice links: <a href="http://www.ctan.org/tex-archive/support/mathtex/" target="_blank">MathTeX</a>, <a href="http://detexify.kirelabs.org/classify.html" target="_blank">DeTeXify</a>, <a href="http://picasaweb.google.com/cschlaeger/JapanLinuxSymposium#5395358413061926434" target="_blank">No fake!</a></p>


<p> </p><p> </p><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2009/12/29/macroblock-led-driver-group-buy/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Playing with the OSCCAL register of an ATmega168</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2009/12/25/playing-with-the-osccal-register-of-an-atmega168/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2009/12/25/playing-with-the-osccal-register-of-an-atmega168/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 00:27:47 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Arduino.]]></category>
		<category><![CDATA[Electronics.]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[calibration]]></category>
		<category><![CDATA[DSO]]></category>
		<category><![CDATA[frequency]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[oscillator]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2341</guid>
		<description><![CDATA[I was having problems with the &#8220;led ring&#8221; boards. Their internal oscillators were not ticking with the same speed and required constant re-syncing. I tried to improve the situation by recalibrating by adjusting the OSCCAL registers. Recalibration can be done quite easily with an oscilloscope. Either assuming that the _delay_ms() routine is reasonably correct for [...]


 
 
Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/06/09/interactively-controlled-animation-on-a-64-pixel-rgb-led-display/' rel='bookmark' title='Permanent Link: Interactively controlled animation on a 64-pixel RGB LED display'>Interactively controlled animation on a 64-pixel RGB LED display</a> <small>OK, enough with this pompous title. I&#8217;ll just show how...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/04/04/experimenting-with-the-portcd-connectors-i%c2%b2c/' rel='bookmark' title='Permanent Link: Experimenting with the PORTC/D connectors on V3 boards: I²C'>Experimenting with the PORTC/D connectors on V3 boards: I²C</a> <small>First let&#8217;s have a look at the pinout of the...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/04/03/flashing-the-bootloader-with-usbtinyispavrdude/' rel='bookmark' title='Permanent Link: Flashing the bootloader with USBtinyISP/avrdude'>Flashing the bootloader with USBtinyISP/avrdude</a> <small>First make sure the chip sits on the PCB properly...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I was having problems with the &#8220;led ring&#8221; boards. Their internal oscillators were not ticking with the same speed and required constant re-syncing. I tried to improve the situation by recalibrating by adjusting the OSCCAL registers. Recalibration can be done quite easily with an oscilloscope. Either assuming that the _delay_ms() routine is reasonably correct for say 5ms (easy to measure on a scope), or using that <b>&#8220;out  0&#215;05 r9&#8243;</b> (e.g. &#8220;PORTB = 0&#215;00&#8243;) executes in just one clock cycle. Register <b>r9</b> contains e.g. 0&#215;00 to turn on a LED by pulling its cathode LOW. At 8MHz a single cycle should take 125ns.</p>
<p>The following graph is taken from the old! ATmega168 datasheet. It is not valid for the newer P or PA series. For the newer series there is also a difference between chips with different memory sizes. As usual, reading the datasheet is necessary.</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/wp-content/uploads/2009/12/ATmega168_ocscal.png"><img src="http://blog.spitzenpfeil.org/wordpress/wp-content/uploads/2009/12/ATmega168_ocscal.png" alt="ATmega168_ocscal.png" title="ATmega168_ocscal.png" width="550" class="alignnone size-full wp-image-2363" /></a></p>
<p>Here&#8217;s the <a href="http://www.arduino.cc" target="_blan"k>Arduino</a> code used to find good values for OSCCAL using an oscilloscope. The current value of OSCCAL is sent to a terminal. Note that you&#8217;ll probably want to use your own pins, as I used my custom boards for this test. So better use pinMode() and digitalWrite() as usual for the LED. But on the other hand, if you already have an oscilloscope, you&#8217;ll probably know what you&#8217;re doing anyway ;-)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
</pre></td><td class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;util/delay.h&gt;</span>
<span style="color: #339900;">#include &lt;stdint.h&gt;</span>
<span style="color: #339900;">#include &lt;avr/io.h&gt;</span>
<span style="color: #339900;">#include &lt;avr/interrupt.h&gt;</span>
<span style="color: #339900;">#include &quot;cxa_guard_acquire.h&quot;</span>
&nbsp;
<span style="color: #0000ff;">void</span>
setup <span style="color: #008000;">&#40;</span><span style="color: #0000ff;">void</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
  Serial.<span style="color: #007788;">begin</span> <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
  DDRD <span style="color: #000040;">|</span><span style="color: #000080;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">1</span> <span style="color: #000080;">&lt;&lt;</span> PD5<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// PD5 output</span>
  PORTD <span style="color: #000040;">|</span><span style="color: #000080;">=</span> <span style="color: #008000;">&#40;</span><span style="color: #008000;">&#40;</span><span style="color: #0000dd;">1</span> <span style="color: #000080;">&lt;&lt;</span> PD5<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>	<span style="color: #666666;">// RED anodes HIGH. All 8 anodes go to this pin</span>
  DDRB <span style="color: #000080;">=</span> <span style="color: #208080;">0xFF</span><span style="color: #008080;">;</span>			<span style="color: #666666;">// all outputs</span>
  PORTB <span style="color: #000080;">=</span> <span style="color: #208080;">0xFF</span><span style="color: #008080;">;</span>			<span style="color: #666666;">// all 8 cathodes HIGH --&gt; OFF</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #0000ff;">void</span>
loop <span style="color: #008000;">&#40;</span><span style="color: #0000ff;">void</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
  <span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> ctr1<span style="color: #008080;">;</span>		<span style="color: #666666;">// using an int, so I won't have to check if ctr1 wraps from 255 to 0 in the for loop</span>
  <span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">int</span> ctr2<span style="color: #008080;">;</span>
  <span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">char</span> osccal_tmp<span style="color: #008080;">;</span>
  <span style="color: #0000ff;">static</span> <span style="color: #0000ff;">unsigned</span> <span style="color: #0000ff;">char</span> osccal_factory <span style="color: #000080;">=</span> OSCCAL<span style="color: #008080;">;</span>	<span style="color: #666666;">// see &quot;cxa_guard_acquire.h&quot; for a bit more info</span>
  OSCCAL <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
  _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">2000</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// wait some time to let it stabilize        </span>
&nbsp;
  <span style="color: #0000ff;">for</span> <span style="color: #008000;">&#40;</span>ctr1 <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> ctr1 <span style="color: #000080;">&lt;=</span> <span style="color: #0000dd;">255</span><span style="color: #008080;">;</span> ctr1<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">&#123;</span>
      _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">20</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// wait some time to let it stabilize      </span>
      osccal_tmp <span style="color: #000080;">=</span> OSCCAL<span style="color: #008080;">;</span>	<span style="color: #666666;">// save current value</span>
      OSCCAL <span style="color: #000080;">=</span> osccal_factory<span style="color: #008080;">;</span>	<span style="color: #666666;">// change to factory to make serial work all the time</span>
      _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">20</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// wait some time to let it stabilize</span>
      Serial.<span style="color: #007788;">print</span> <span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot;osccal: &quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
      Serial.<span style="color: #007788;">print</span> <span style="color: #008000;">&#40;</span>osccal_tmp, BIN<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
      Serial.<span style="color: #007788;">print</span> <span style="color: #008000;">&#40;</span><span style="color: #FF0000;">&quot; - &quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
      Serial.<span style="color: #007788;">println</span> <span style="color: #008000;">&#40;</span>osccal_tmp, DEC<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
      _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">20</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// wait some time to let it stabilize</span>
      OSCCAL <span style="color: #000080;">=</span> osccal_tmp<span style="color: #008080;">;</span>	<span style="color: #666666;">// restore</span>
      _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">20</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// wait some time to let it stabilize</span>
&nbsp;
      <span style="color: #0000ff;">for</span> <span style="color: #008000;">&#40;</span>ctr2 <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> ctr2 <span style="color: #000080;">&lt;=</span> <span style="color: #0000dd;">10</span><span style="color: #008080;">;</span> ctr2<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>			<span style="color: #666666;">// blink blink for the oscilloscope</span>
	  PORTB <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// all on</span>
	  _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">5</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>	<span style="color: #666666;">// check the LOW period on the scope. should be about 5ms </span>
	  PORTB <span style="color: #000080;">=</span> <span style="color: #208080;">0xFF</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// all off</span>
	  _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">5</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
      _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">20</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// wait some time to let it stabilize</span>
      OSCCAL<span style="color: #000040;">++</span><span style="color: #008080;">;</span>
      _delay_ms <span style="color: #008000;">&#40;</span><span style="color: #0000dd;">20</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>		<span style="color: #666666;">// wait some time to let it stabilize</span>
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>For code download click on ‘Projects &#8211;> GIT repo’ in the menu above.</p>
<p>I used the &#8220;measure the 5ms delay&#8221; method, as it was easier than measuring 125ns on my old 10MHz scope. I got values for OSCCAL of 104 and 122 for the two boards. That&#8217;s a relative deviation of 17.3% between the boards, using 104 as reference.</p>
<p>Final thoughts: </p>
<p>I still need to re-sync the two boards. Not much gained, but learned something new. It might have been a good idea to use the CLKO (clock output) pin of one board as the clock source for the other. But unfortunately that is on PB0 again. PORTB is used for driving the cathodes of the LEDs already. And I still want/need/crave a new digital scope. Maybe I should get a cheap 50MHz Rigol just so the &#8216;itching&#8217; stops. I can still buy a good 4CH 100MHz one later.</p>


<p> </p><p> </p><p>Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/06/09/interactively-controlled-animation-on-a-64-pixel-rgb-led-display/' rel='bookmark' title='Permanent Link: Interactively controlled animation on a 64-pixel RGB LED display'>Interactively controlled animation on a 64-pixel RGB LED display</a> <small>OK, enough with this pompous title. I&#8217;ll just show how...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/04/04/experimenting-with-the-portcd-connectors-i%c2%b2c/' rel='bookmark' title='Permanent Link: Experimenting with the PORTC/D connectors on V3 boards: I²C'>Experimenting with the PORTC/D connectors on V3 boards: I²C</a> <small>First let&#8217;s have a look at the pinout of the...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/04/03/flashing-the-bootloader-with-usbtinyispavrdude/' rel='bookmark' title='Permanent Link: Flashing the bootloader with USBtinyISP/avrdude'>Flashing the bootloader with USBtinyISP/avrdude</a> <small>First make sure the chip sits on the PCB properly...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2009/12/25/playing-with-the-osccal-register-of-an-atmega168/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LT1618 at work &#8212; A versatile boost converter</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2009/12/18/lt1618-at-work-a-versatile-boost-converter/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2009/12/18/lt1618-at-work-a-versatile-boost-converter/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 10:32:37 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Electronics.]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[SMD]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2302</guid>
		<description><![CDATA[Please make sure you check the schematic, as this one may contain errors! I shall not be responsible for any damage to your chip. This post is about the experimentation phase only. Best to start from the spice model provided by Linear and make your own modifications to it.
 
I took the schematic directly from [...]


 
 
Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/20/seeedstudio-super-white-led-lighting-bar-3w-first-test/' rel='bookmark' title='Permanent Link: Seeedstudio Super White LED lighting bar 3W &#8212; first test'>Seeedstudio Super White LED lighting bar 3W &#8212; first test</a> <small>I finally got my trusty digital power supply back. It...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/12/09/rgb-led-toy-it-works/' rel='bookmark' title='Permanent Link: RGB LED Toy &#8212; It works'>RGB LED Toy &#8212; It works</a> <small>Well&#8230; sort of. I finally got the PCBs from sparkfun!...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/02/03/trying-to-fix-the-sound-of-my-sega-game-gear/' rel='bookmark' title='Permanent Link: Trying to fix the sound of my Sega Game Gear &#8212; part 1'>Trying to fix the sound of my Sega Game Gear &#8212; part 1</a> <small>Last time I turned it on, I didn&#8217;t get the...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Please make sure you check the schematic, as this one may contain errors! I shall not be responsible for any damage to your chip. This post is about the experimentation phase only. Best to start from the spice model provided by Linear and make your own modifications to it.</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/3780692429/lt1618-step-up-led-driver.html" class="tt-flickr tt-flickr-Medium" title="LT1618 - step-up LED driver"><img class="alignnone" src="http://farm4.static.flickr.com/3249/3780692429_d51eeac20a.jpg" alt="LT1618 - step-up LED driver" width="500" height="406" /></a> </p>
<p>I took the schematic directly from the LT1618&#8217;s <a href="http://cds.linear.com/docs/Datasheet/1618fas.pdf" target="_blank">datasheet</a> and modified the <a href="http://www.linear.com/designtools/software/" target="_blank">LTSpice</a> model a <a href="http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1042,C1031,C1061,P2079,D13897" target="_blank">bit</a>. I moved the current sensing resistor from the input side (which has advantages as well) to the output side. That way it can be used as a constant current driver. The &#8220;SHDN&#8221; pin can be connected to V(in) as well, it doesn&#8217;t have to be 3.3V. For lack of a model for the 12V LED bar I just used a few other LEDs.</p>
<p>One interesting an annoying thing that showed up during testing is that the switching operation of the chip seems to confuse my power supply&#8217;s voltage regulation. More decoupling necessary. Luckily a battery doesn&#8217;t care about such things. The brightness of the LED bar was stable although I operated the converter without a current sensing resistor. I just couldn&#8217;t find 0.22&Omega; anywhere. So I will skip the LC output filter I had planned to add.</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4193122165/step-up-converter-with-lt1618.html" class="tt-flickr tt-flickr-Medium" title="Step-up converter with LT1618"><img class="alignnone" src="http://farm3.static.flickr.com/2655/4193122165_fe2655be6d.jpg" alt="Step-up converter with LT1618" width="500" height="375" /></a> </p>
<p>This circuit here operated a 12V 3W LED bar at 270mA. Input voltage was 4.3V and it was drawing a current of 1.35A. The chip was getting a bit warm to the touch.</p>
<p>It was also really nice to see how it regulates. Set a current for the LED bar and change the input voltage of the circuit. As power should be more or less constant, it automatically adjusted the current it needed.</p>
<p>Here&#8217;s a crappy <a href="http://www.flickr.com/photos/madworm_de/4193122169/" target="_blank">video</a>. I really should get a camera with autofocus that also works in video mode, not just _before_ you start the clip.</p>
<p>Just for the record: the LT1618 is a versatile chip, but I&#8217;ve just managed to kill it. And I don&#8217;t know how, maybe ESD. The failure mode is especially unpleasant. It starts switching normally for a second (the LED turns on) and then stops. But it just doesn&#8217;t shut down, no, it keeps drawing current through the inductor. I&#8217;ve looked at it with my old scope. First second or so: heavy switching, after that: several amps of DC current. That creates a lot of heat. I burnt my temperature probe while monitoring the chip for abnormal values. My pinky still hurts. Next time I&#8217;ll use the other hand. So now I&#8217;ll have to get me a bunch of these chips to keep going. The good thing is that the adapter board has survived ;-)</p>


<p> </p><p> </p><p>Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/20/seeedstudio-super-white-led-lighting-bar-3w-first-test/' rel='bookmark' title='Permanent Link: Seeedstudio Super White LED lighting bar 3W &#8212; first test'>Seeedstudio Super White LED lighting bar 3W &#8212; first test</a> <small>I finally got my trusty digital power supply back. It...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/12/09/rgb-led-toy-it-works/' rel='bookmark' title='Permanent Link: RGB LED Toy &#8212; It works'>RGB LED Toy &#8212; It works</a> <small>Well&#8230; sort of. I finally got the PCBs from sparkfun!...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/02/03/trying-to-fix-the-sound-of-my-sega-game-gear/' rel='bookmark' title='Permanent Link: Trying to fix the sound of my Sega Game Gear &#8212; part 1'>Trying to fix the sound of my Sega Game Gear &#8212; part 1</a> <small>Last time I turned it on, I didn&#8217;t get the...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2009/12/18/lt1618-at-work-a-versatile-boost-converter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MSOP10/TSSOP8 &#8211; DIP adapters &#8212; they&#8217;ve finally arrived</title>
		<link>http://blog.spitzenpfeil.org/wordpress/2009/12/17/msop10tssop8-dip-adapters-theyve-finally-arrived/</link>
		<comments>http://blog.spitzenpfeil.org/wordpress/2009/12/17/msop10tssop8-dip-adapters-theyve-finally-arrived/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:05:44 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[DIY.]]></category>
		<category><![CDATA[Electronics.]]></category>
		<category><![CDATA[PCBs 'n stuff.]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[MSOP]]></category>
		<category><![CDATA[SMD]]></category>

		<guid isPermaLink="false">http://blog.spitzenpfeil.org/wordpress/?p=2294</guid>
		<description><![CDATA[I&#8217;ve waited almost 8 weeks&#8230; and finally the reward ;-)
And I&#8217;ve already managed to solder the LT1618 boost converter chip to one of these. Compared to soldering TQFP-32 packages this screams for solder paste and a hot air station. You need patience and flux&#8230; LOTS!

This needs a very steady hand. Even with a quite pointy [...]


 
 
Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/10/16/who-needs-cheap-msop10-tssop8-to-dip-adapters/' rel='bookmark' title='Permanent Link: Who needs cheap MSOP10/TSSOP8 to DIP adapters ?'>Who needs cheap MSOP10/TSSOP8 to DIP adapters ?</a> <small>Hi, I&#8217;ve been planning to build a prototype driver for...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/08/04/note-to-self-26-0v-2-60v-a-short-chipquik-review/' rel='bookmark' title='Permanent Link: Note to self: 26.0V >> 2.60V &#8212; A short ChipQuik review'>Note to self: 26.0V >> 2.60V &#8212; A short ChipQuik review</a> <small>Nothing good can come from a freak idea after midnight...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/17/v3-04-pcbs-from-makepcb-have-arrived/' rel='bookmark' title='Permanent Link: V3.04 PCBs from MakePCB have arrived'>V3.04 PCBs from MakePCB have arrived</a> <small>I&#8217;ve waited for 5 weeks for the 2nd batch of...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve waited almost 8 weeks&#8230; and finally the reward ;-)</p>
<p>And I&#8217;ve already managed to solder the LT1618 boost converter chip to one of these. Compared to soldering TQFP-32 packages this screams for solder paste and a hot air station. You need patience and flux&#8230; LOTS!</p>
<p><a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4193147698/msop10tssop8-dip-adapters.html" class="tt-flickr tt-flickr-Medium" title="MSOP10/TSSOP8 - DIP adapters"><img class="alignnone" src="http://farm3.static.flickr.com/2619/4193147698_7b3800cc57.jpg" alt="MSOP10/TSSOP8 - DIP adapters" width="500" height="437" /></a></p>
<p>This needs a very steady hand. Even with a quite pointy tip pin-by-pin soldering just doesn&#8217;t work anymore. Flood all of them, apply plenty of flux and use a clean tip to wipe the excess off. If I had to do many of them, I&#8217;d get solder paste and a hot air station.<br />
<a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4193147688/lt1618-on-dip-adapter.html" class="tt-flickr tt-flickr-Medium" title="LT1618 on DIP adapter"><img class="alignnone" src="http://farm3.static.flickr.com/2680/4193147688_37768b1dd8.jpg" alt="LT1618 on DIP adapter" width="500" height="375" /></a> </p>
<p>The other side is for TSSOP8 chips.<br />
<a href="http://blog.spitzenpfeil.org/wordpress/flickr/madworm_de/photo/4193147696/msop10tssop8-dip-adapter.html" class="tt-flickr tt-flickr-Medium" title="MSOP10/TSSOP8 - DIP adapter"><img class="alignnone" src="http://farm3.static.flickr.com/2608/4193147696_3f633e0a79.jpg" alt="MSOP10/TSSOP8 - DIP adapter" width="500" height="375" /></a></p>
<p>If you need some of them, drop me a message (No headers, no chips, just the bare adapter PCB). But I don&#8217;t want to find any of these on ebay! This is intended for hobbyists who actually need these for prototyping and don&#8217;t want to pay the hilarious prices for adapters. If you need thousands, just download the gerber files and have them made. </p>


<p> </p><p> </p><p>Related posts:<ol><li><a href='http://blog.spitzenpfeil.org/wordpress/2009/10/16/who-needs-cheap-msop10-tssop8-to-dip-adapters/' rel='bookmark' title='Permanent Link: Who needs cheap MSOP10/TSSOP8 to DIP adapters ?'>Who needs cheap MSOP10/TSSOP8 to DIP adapters ?</a> <small>Hi, I&#8217;ve been planning to build a prototype driver for...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/08/04/note-to-self-26-0v-2-60v-a-short-chipquik-review/' rel='bookmark' title='Permanent Link: Note to self: 26.0V >> 2.60V &#8212; A short ChipQuik review'>Note to self: 26.0V >> 2.60V &#8212; A short ChipQuik review</a> <small>Nothing good can come from a freak idea after midnight...</small></li>
<li><a href='http://blog.spitzenpfeil.org/wordpress/2009/07/17/v3-04-pcbs-from-makepcb-have-arrived/' rel='bookmark' title='Permanent Link: V3.04 PCBs from MakePCB have arrived'>V3.04 PCBs from MakePCB have arrived</a> <small>I&#8217;ve waited for 5 weeks for the 2nd batch of...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.spitzenpfeil.org/wordpress/2009/12/17/msop10tssop8-dip-adapters-theyve-finally-arrived/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
