<?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>Lerneaen Hydra &#187; hydra</title>
	<atom:link href="http://www.lerneaenhydra.net/author/hydra/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lerneaenhydra.net</link>
	<description>Random objects of curiosity</description>
	<lastBuildDate>Fri, 09 Dec 2011 16:38:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>AVR-based fan temperature controller</title>
		<link>http://www.lerneaenhydra.net/2011/02/avr-based-fan-temperature-controller/</link>
		<comments>http://www.lerneaenhydra.net/2011/02/avr-based-fan-temperature-controller/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 13:20:11 +0000</pubDate>
		<dc:creator>hydra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lerneaenhydra.net/?p=183</guid>
		<description><![CDATA[A relatively simple application of an ATINY-45 is to control a fan based on a temperature. This solution uses an NTC thermistor in a voltage divisor to generate an analog signal which is fed into the TINY45. A pregenerated lookup table maps the read value to temperature in some unit (in this case degrees celcius [...]]]></description>
			<content:encoded><![CDATA[<p>A relatively simple application of an ATINY-45 is to control a fan  based on a temperature. This solution uses an NTC thermistor in a  voltage divisor to generate an analog signal which is fed into the  TINY45. A pregenerated lookup table maps the read value to temperature  in some unit (in this case degrees celcius (0 to 255 degC). Finally the  microprocessor uses a very crude system to regulate the fan speed, where  the output to the fan is;</p>
<ul>
<li>min_pwr, if t&lt;t_min</li>
<li>max_pwr, if t&gt;t_max</li>
<li>((max_pwr-min_pwr)*(t-t_min))/(t_max-t_min) otherwise</li>
<li>(optionally) min_pwr, if t&lt;alpha*(t_max-t_min)</li>
</ul>
<p>Ie. the output is at some minimum power for low temperatures, at some  max power for high temperatures and linearly interpolated for  temperatures inbetween. Additionally there's a minumum increase in power  which is useful if min_pwr is set to completely off, so that the fan is  always driven with enough power to ensure it can turn on. Finally  hysteresis is applied to the output to reduce irritating fluctuations in  the fan speed. Do keep in mind that this is not a "stable" control  system, as it's effectively something like a regulator with primarily  integrating feedback. However in practice the behavior is nice.</p>
<p>In the file posted below is everything used, schematic, board, matlab  code for finding the "optimal" voltage divisor and source code for the  AVR. Please excuse the awfully commented and ugly matlab code. (The  optimal voltage divider is defined as one that causes the largest swing  in ADC counts over a specified temperature range).</p>
<p>Note: Be sure to enable the WDT fuse!</p>
<p><a href="http://www.lerneaenhydra.net/base/wp-content/upload/2010_avr_fan_cont.zip">2010_avr_fan_cont</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lerneaenhydra.net/2011/02/avr-based-fan-temperature-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>12V Transient Suppressor</title>
		<link>http://www.lerneaenhydra.net/2010/05/12v-transient-suppressor/</link>
		<comments>http://www.lerneaenhydra.net/2010/05/12v-transient-suppressor/#comments</comments>
		<pubDate>Mon, 10 May 2010 21:29:05 +0000</pubDate>
		<dc:creator>hydra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lerneaenhydra.net/?p=155</guid>
		<description><![CDATA[A transient suppressor for 12V systems can be quite useful, especially in automotive/marine environments which have a high degree of short transients and can exhibit load dumps with peak voltages in excess of 100V. This is of course a very nasty environment for electronics, so making a transient suppressor for sensitive/cheap electronics is a good [...]]]></description>
			<content:encoded><![CDATA[<p>A transient suppressor for 12V systems can be quite useful, especially in automotive/marine environments which have a high degree of short transients and can exhibit load dumps with peak voltages in excess of 100V. This is of course a very nasty environment for electronics, so making a transient suppressor for sensitive/cheap electronics is a good idea.</p>
<p>The <a href="http://www.linear.com/pc/productDetail.jsp?navId=H0,C1,C1003,C1006,C1065,P38400">LT4356</a> is a really nice device that manages to pull off a whole lot of functionality, it uses an external mosfet as  a pass element that it uses as a linear regulator when the input voltage exceeds some set threshold, and it turns the output off completely if the input voltage is too high for too long. It also manages overcurrent situations and has an extra internal amplifier that is used in the following circuit as a low-battery cutoff with hysteresis.</p>
<p>The designed circuit is based pretty much entirely on the sample circuits in the datasheet, with the IRFR3710Z mosfet. It limits the output voltage to 16V, and cuts off after about 1-10ms (depending on the voltage and load current). It's designed for 8A, which at 12V is about 100W, which is sufficient for most applications. This limit is mostly due to the connection interface used ("Cigarette lighter plugs").</p>
<p>Eagle libraries for the extra components, schematic and board are available <a href="http://www.lerneaenhydra.net/base/wp-content/upload/Archive.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lerneaenhydra.net/2010/05/12v-transient-suppressor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Half-bridge</title>
		<link>http://www.lerneaenhydra.net/2009/08/half-bridge/</link>
		<comments>http://www.lerneaenhydra.net/2009/08/half-bridge/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 18:04:17 +0000</pubDate>
		<dc:creator>hydra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lerneaenhydra.net/?p=83</guid>
		<description><![CDATA[Here's a simple half-bridge driver based on the LM5106 half-bridge driver with charge pump and programmable dead time coupled with a FDS6986AS dual N mosfet . It's pretty much the sample circuit in the datasheet with an added jumper to select the charge pump source. The current setup allows for driving loads at 30V up [...]]]></description>
			<content:encoded><![CDATA[<p>Here's a simple half-bridge driver based on the <a href="http://www.national.com/pf/LM/LM5106.html">LM5106</a> half-bridge driver with charge pump and programmable dead time coupled with a <a href="http://www.fairchildsemi.com/ds/FD/FDS6986AS.pdf">FDS6986AS</a> dual N mosfet . It's pretty much the sample circuit in the datasheet with an added jumper to select the charge pump source. The current setup allows for driving loads at 30V up to 6.5A continuously while switching at high frequencies (50khz and up). By replacing the chosen dual mosfet with two discrete high power fets up to 100V loads and very high currents can be controlled. The current minimum switching frequency is around 1-2Hz (charge pump self-discharge).</p>
<p>Eagle library, schematic and board available <a href="http://www.lerneaenhydra.net/base/wp-content/upload/2009_half_bridge_driver.zip">here</a>. Use 25V X5R or X7R capacitors, do <strong>not</strong> use Y5V/Z5U capacitors.</p>
<p>The second image shows a use for the half-bridge driver; driving a synchronous three-phase hard-disk motor. Commutation is done "blindly" with an adjustable delay between each commutation step. The output to each phase is a trapezoidal waveform. Speeds of up to 20,000 RPM are easily achieved. This design can easily be scaled up for larger motors.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-12-83">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.lerneaenhydra.net/2009/08/half-bridge/?show=slide">
			[Show as slideshow]		</a>
	</div>

	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.lerneaenhydra.net/base/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=12&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-106" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/halfbridge-driver/img_2645.jpg" title=" " class="shutterset_set_12" >
								<img title="img_2645" alt="img_2645" src="http://www.lerneaenhydra.net/base/wp-content/gallery/halfbridge-driver/thumbs/thumbs_img_2645.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-108" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/halfbridge-driver/out.jpg" title="Testing the driver by driving a three-phase synchronous hard-drive motor with three half-bridge drivers. Commutation is done &quot;blindly&quot; with only delays, the output to each phase is a trapezoidal waveform. Speeds of 20,000 RPM are easily achieved." class="shutterset_set_12" >
								<img title="Driving a hard-drive motor" alt="Driving a hard-drive motor" src="http://www.lerneaenhydra.net/base/wp-content/gallery/halfbridge-driver/thumbs/thumbs_out.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.lerneaenhydra.net/2009/08/half-bridge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple audio amp</title>
		<link>http://www.lerneaenhydra.net/2009/08/simple-audio-amp/</link>
		<comments>http://www.lerneaenhydra.net/2009/08/simple-audio-amp/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 17:11:27 +0000</pubDate>
		<dc:creator>hydra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lerneaenhydra.net/?p=78</guid>
		<description><![CDATA[I've often found that I need a basic audio amplifier for smaller projects so I decided once and for all to make a basic low-cost audio amplifier that can be used in a whole range of applications. After some searching I managed to find a surprisingly good monolithic amplifier, the TDA7057AQ. It's good features are [...]]]></description>
			<content:encoded><![CDATA[<p>I've often found that I need a basic audio amplifier for smaller projects so I decided once and for all to make a basic low-cost audio amplifier that can be used in a whole range of applications. After some searching I managed to find a surprisingly good monolithic amplifier, the <a href="http://www.nxp.com/pip/TDA7057AQ_4.html">TDA7057AQ</a>. It's good features are that it drives the load differentially (up to 8W), so only a single supply is needed, controls both left and right volume logarithmically from a single-channel potentiometer and mutes at very low volumes, has a very small number of required additional components, has a reasonable voltage range and is surprisingly cheap. It is limited in that the output can't swing very close to the rails, is limited to 8W per channel and can't operate above 18V, however for most simple solutions these limitations aren't really problematic.</p>
<p>I've made a relatively small board that mostly follows the recommended setup detailed in the datasheet, I've added some more decoupling, the 0603 SMD X5R capacitor is placed directly underneath the IC in an attempt to reduce the risk of oscillation or other strange behavior from PCB lead-inductance (probably not a problem as the IC has a GBW of only around 300kHz). There's also a fuse and a reverse polarity protection diode, use a low forward voltage SMC-case Schottky diode (<a href="http://se.farnell.com/jsp/search/productdetail.jsp?sku=8647887">here's one</a>, though somewhat over dimensioned).</p>
<p>Eagle schematic, board and library for TDA7057AQ available <a href="http://www.lerneaenhydra.net/base/wp-content/upload/2009_general_purpose_audio_amp.zip">here</a></p>

<div class="ngg-galleryoverview" id="ngg-gallery-11-78">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.lerneaenhydra.net/2009/08/simple-audio-amp/?show=slide">
			[Show as slideshow]		</a>
	</div>

	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.lerneaenhydra.net/base/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=11&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-105" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/simple-audio-amp/out.jpg" title=" " class="shutterset_set_11" >
								<img title="Simple audio amplifier" alt="Simple audio amplifier" src="http://www.lerneaenhydra.net/base/wp-content/gallery/simple-audio-amp/thumbs/thumbs_out.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.lerneaenhydra.net/2009/08/simple-audio-amp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2xAA to 5V/500mA Boost</title>
		<link>http://www.lerneaenhydra.net/2009/06/2xaa-to-5v500ma-boost/</link>
		<comments>http://www.lerneaenhydra.net/2009/06/2xaa-to-5v500ma-boost/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 21:59:06 +0000</pubDate>
		<dc:creator>hydra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lerneaenhydra.net/?p=63</guid>
		<description><![CDATA[One aspect common to most available consumer 'MP3 Players' is that they, while very thin and easy to fit in a pocket, use a non replacable Li-Ion battery. Additionally usually they're only rechargable via USB! The previous music player I had used AA batteries and it was very nice to be able to swap them [...]]]></description>
			<content:encoded><![CDATA[<p>One aspect common to most available consumer 'MP3 Players' is that they, while very thin and easy to fit in a pocket, use a non replacable Li-Ion battery. Additionally usually they're only rechargable via USB! The previous music player I had used AA batteries and it was very nice to be able to swap them when they got discharged. One possible way of solving this problem is by externally delivering 5V (nominal voltage for the USB bus). However as a NiMh cell is only 1.25-1.2V when discharging that would lead to using a lot of batteries! A somewhat more complex solution is to construct a voltage raising DC-DC regulator (boost, flyback, sepic etc), which would allow the use of one or two cells.</p>
<p>I've seen one switching solution on the web, called <a href="http://www.ladyada.net/make/mintyboost/">MintyBoost!</a>, but it was limited to around 100-200mA output current which I felt was a bit on the short side, considering USB devices can draw up to 500mA. I didn't have any data on how much current my music player drew, but it would be safe to design a regulator that could output 500mA constantly.</p>
<p>I've opted to go for a boost-type circuit as they're relatively simple and there are a bunch of monolithic solutions requiring only an external inductor, diode, and stabilizing capacitors. The <a href="http://www.national.com/pf/LM/LM2621.html">LM2621</a> was one (of many) circuits that offered the specifications I needed; small, high output current, monolithic, low input voltage.  As it happens it uses a 'gated oscillator' control scheme which <strong>greatly</strong> simplifies the routing of the PCB, from an anal retentive level that typical controllers use to the easier level of super-pendant. (Using two layers would simplify routing a lot).</p>
<p>I pretty much followed the design shown in example 1 on page 9, with the exception of CF1 which I found tended to feed too much noise into the FB pin and caused erratic operation (most likely because of the limitations caused by a single-sided PCB). By removing it the circuit it very stable but has a larger output voltage ripple (about 100mV, an approximate value is V_OUT/1.2028*30*10^-3, this as the hysteresis on the FB pin is 30 mV and the voltage is divied from V_OUT to this pin).  I managed to squeeze the entire boost part of the circuit into a box about 30x25x5mm (plus PCB thickness), and with some safety components about 40x35mm. The sustained output current is tested to around 500mA. 600mA worked for about 10 minutes before the device overheats and enters thermal shutdown. When 500mA is drawn out it gets hotter than I would like to run it, for high current applications using a 2-sided PCB with lots of cooling area on the back side is probably a good idea. 400mA is not a problem at all, it gets warm but not uncomfortably so.</p>
<p>The device is stable with input voltages between 2.3 and 3.5V at loaded at &lt;=500mA. The output voltage is kept within 5.05 - 4.95V from 1mA-500mA load (there's a power OK led that draws 1mA). When drawing small currents (approx &lt;50mA) then it can start from only one cell (1.2-1.4V), but it never enters it's gated control scheme, so efficiency is probably a bit lowered, though the output voltage is still kept stable.</p>
<p>When I tested this with my music player, to my surprise, it drew very little current, only 300-600mA on the low side (so around 100-200mA on the 5V side, with a fudged efficiency of 70%). This varied primarily on whether the backlight was on or not. This means that the 2.1Ah low self-discharge NiMh batteries I use will last long enough for it to charge completely about twice (a full charge takes about 3 hours, assuming 300mA charge current), or about 20-30 hours of playing time!</p>
<p>It may well be that the mintyboost is powerful enough for most players, nevertheless it feels good to know that this circuit can handle up to the maximum possible current USB is rated for.</p>
<p>The parts I've used are primarily;</p>
<p>Diode - http://se.farnell.com/jsp/search/productdetail.jsp?sku=8647887</p>
<p>Inductor - http://se.farnell.com/jsp/search/productdetail.jsp?sku=1669991</p>
<p>Buffering capacitor - <span style="text-decoration: line-through;">http://se.farnell.com/jsp/search/productdetail.jsp?sku=1650938</span></p>
<p><strong>Update:</strong> It has come to my attention that Y5v and Z5U ceramic dielectrics are really, hideously awful. Check out <a href="http://avx.com/docs/Catalogs/cy5v.pdf">this PDF </a> (look at the capacitance vs. DC bias and temperature plots), you only effectively get 5% of the rated capacitance at 65°C and &gt;50% rated voltage! So the capacitors I thought were 22µF are only effectively 3.3µF each. In my application the output is stable, though a far better capacitor choice would be to use X5R or X7R dielectrics, which are available in nearly the same range and have far better characteristics! (see http://se.farnell.com/jsp/search/productdetail.jsp?sku=1650891 for example).</p>
<p>Regulator - http://se.farnell.com/jsp/search/productdetail.jsp?sku=9779248</p>
<p>Along with some other common odds and ends laying around (fuses, cabling, electrolytic capacitor and so on)</p>
<p>Eagle board and schematic can be found <a href="http://www.lerneaenhydra.net/base/wp-content/upload/5v_boost_schem.zip">here</a>, there are some deviations from the schematic on the final board. I've used a couple more 22µF capacitors on the output, there are 3 1W 6V2 diodes that should clamp spurious voltage spikes, and a 0.33 ohm output resistor, followed by a 220 µF electrolyte in parallel with a 22µF ceramic capacitor to filter out the worst high frequency noise.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-10-63">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.lerneaenhydra.net/2009/06/2xaa-to-5v500ma-boost/?show=slide">
			[Show as slideshow]		</a>
	</div>

	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.lerneaenhydra.net/base/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=10&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-99" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/IMG_2419.JPG" title="There's a power switch, power OK led and the USB output" class="shutterset_set_10" >
								<img title="Outer casing" alt="Outer casing" src="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/thumbs/thumbs_IMG_2419.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-100" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/IMG_2420.JPG" title="In use, powering my music player" class="shutterset_set_10" >
								<img title="In use" alt="In use" src="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/thumbs/thumbs_IMG_2420.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-101" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/IMG_2422.JPG" title="The main PCB, note some differences to the eagle board (zener diodes, some extra ceramic capacitors on output, the R/C output link)" class="shutterset_set_10" >
								<img title="PCB" alt="PCB" src="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/thumbs/thumbs_IMG_2422.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-102" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/board.png" title=" " class="shutterset_set_10" >
								<img title="board.png" alt="board.png" src="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/thumbs/thumbs_board.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-103" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/schem.png" title=" " class="shutterset_set_10" >
								<img title="schem.png" alt="schem.png" src="http://www.lerneaenhydra.net/base/wp-content/gallery/5v_boost/thumbs/thumbs_schem.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.lerneaenhydra.net/2009/06/2xaa-to-5v500ma-boost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boombox</title>
		<link>http://www.lerneaenhydra.net/2009/06/boombox/</link>
		<comments>http://www.lerneaenhydra.net/2009/06/boombox/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 14:02:04 +0000</pubDate>
		<dc:creator>hydra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lerneaenhydra.net/?p=50</guid>
		<description><![CDATA[I've recently got a boombox in exchange for development of a Li-Ion charger (the same charger is inside the boombox). The charger is a very simple one based on the L200 linear regulator and an Atmel Mega168 microcontroller. The L200 is configured to charge with a constant current/constant voltage scheme limited to 2A and 16.75V, [...]]]></description>
			<content:encoded><![CDATA[<p>I've recently got a boombox in exchange for development of a Li-Ion charger (the same charger is inside the boombox).</p>
<p>The charger is a very simple one based on the L200 linear regulator and an Atmel Mega168 microcontroller. The L200 is configured to charge with a constant current/constant voltage scheme limited to 2A and 16.75V, the microcontroller measures the current going into the battery with an INA139 and cuts of the power to the regulator with a P-type mosfet when the current is below 200mA. A charge is initiated only when the battery voltage is below 16V. This is done to ensure that there's no risk of continuously topping up the battery. When the unit is powered by an external laptop-style power supply (19V) the audio  amplifier is switched by a relay to be driven by the external power, so there's no power draw on the battery when powered from an external source. The microcontroller also displays the current battery level and charge status on some LEDs.</p>
<p>The audio amplifier is a AMP-9 Basic amplifier from http://www.41hz.com which is based on a Tripath <span class="itemdescription">TAA4100A monolithic switching amplifier, which has a very high efficiency. There's also a minimal amount of electronics before the amplifier (basic ESD protection with diodes, mono mixing, volume adjustment). With the batteries placed inside the boombox currently (14V nominal, 4AH Li-Ion) I get around 15 hours of low volume play time (limited mostly by the quiescent current of the amplifier) and about 6-7 hours of painful-at-less-than-3-meters volume, which is very acceptable for me.</span></p>
<p><span class="itemdescription">The enclosure is designed as a base reflex enclosure (not made by myself) and considering that it's made from 2mm aluminum it works very well. There's certainly a noticeable tonal difference compared to heavy MDF/fiberglass damped speakers, but considering the total weight of 5kg for the entire system (speakers, amplifier, enclosure, battery, power supply) it is very acceptable and certainly better than other "boomboxes" I've seen.</span><br />
This is essentially everything you need when going to the park, beach, or anything else!</p>

<div class="ngg-galleryoverview" id="ngg-gallery-9-50">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.lerneaenhydra.net/2009/06/boombox/?show=slide">
			[Show as slideshow]		</a>
	</div>

	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.lerneaenhydra.net/base/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=9&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-95" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/IMG_2415.JPG" title="Loudspeakers behind the grill and a thin cloth." class="shutterset_set_9" >
								<img title="IMG_2415.JPG" alt="IMG_2415.JPG" src="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/thumbs/thumbs_IMG_2415.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-96" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/IMG_2416.JPG" title="Volume and power switch on the lower right side, phono jacks on the left." class="shutterset_set_9" >
								<img title="IMG_2416.JPG" alt="IMG_2416.JPG" src="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/thumbs/thumbs_IMG_2416.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-97" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/IMG_2417.JPG" title="Power status LEDs are green, amber, red. Blue indicates the output is clipping. All are lit for a couple hundred milliseconds when powering down." class="shutterset_set_9" >
								<img title="IMG_2417.JPG" alt="IMG_2417.JPG" src="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/thumbs/thumbs_IMG_2417.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-98" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/IMG_2418.JPG" title="pink and fluffy" class="shutterset_set_9" >
								<img title="IMG_2418.JPG" alt="IMG_2418.JPG" src="http://www.lerneaenhydra.net/base/wp-content/gallery/boombox/thumbs/thumbs_IMG_2418.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.lerneaenhydra.net/2009/06/boombox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.lerneaenhydra.net/2009/04/hello-world-2/</link>
		<comments>http://www.lerneaenhydra.net/2009/04/hello-world-2/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 06:51:17 +0000</pubDate>
		<dc:creator>hydra</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lerneaenhydra.net//?p=1</guid>
		<description><![CDATA[So, I've transferred the website to wordpress and to a new host (ie. no longer from the basement). Let's see how things turn out. All data will be transferred to this new site relatively soon. Update: All data worth transferring should now be transferred. W00t!]]></description>
			<content:encoded><![CDATA[<p>So, I've transferred the website to wordpress and to a new host (ie. no longer from the basement). Let's see how things turn out. All data will be transferred to this new site relatively soon.</p>
<p>Update: All data worth transferring should now be transferred. W00t!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lerneaenhydra.net/2009/04/hello-world-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	<img style='margin:0;padding:0;border:0;' width='1px' height='1px' src="http://www.lerneaenhydra.net/base/wp-content/plugins/mystat/mystat.php?act=time_load&id=80820&rnd=928827208" /></channel>
</rss>

