<?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>Sean's Obsessions &#187; Engineering</title>
	<atom:link href="http://ertw.com/blog/category/engineering/feed/" rel="self" type="application/rss+xml" />
	<link>http://ertw.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 30 Jan 2012 08:55:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Simple trickle charger for a cordless drill</title>
		<link>http://ertw.com/blog/2007/03/02/simple-trickle-charger-for-a-cordless-drill/</link>
		<comments>http://ertw.com/blog/2007/03/02/simple-trickle-charger-for-a-cordless-drill/#comments</comments>
		<pubDate>Fri, 02 Mar 2007 16:24:17 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[Engineering]]></category>

		<guid isPermaLink="false">http://ertw.com/blog/2007/03/02/simple-trickle-charger-for-a-cordless-drill/</guid>
		<description><![CDATA[I&#8217;ve got a couple of cheap cordless drills, one&#8217;s a 9.6 volt and the other is 18.2 volts. They work well, but the annoying thing is the charger isn&#8217;t &#8220;smart&#8221;. By smart, I mean that it will continue to charge the battery even after it&#8217;s been charged. With NiCad batteries this means that the batteries [...]<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got a couple of cheap cordless drills, one&#8217;s a 9.6 volt and the other is 18.2 volts.  They work well, but the annoying thing is the charger isn&#8217;t &#8220;smart&#8221;.  By smart, I mean that it will continue to charge the battery even after it&#8217;s been charged.  With NiCad batteries this means that the batteries become damaged after time and stop holding a charge.</p>
<p>I had started to build my own smart charger but made one major mistake with the <a href="http://en.wikipedia.org/wiki/MOSFET">MOSFETs</a> so I threw out that design and went simpler.  I converted the chargers that came with the batteries to trickle chargers based on some advice from a coworker who pointed out that more often than not, I just want a charged drill when I need it, and rarely will need to charge the battery quickly.</p>
<p><span id="more-164"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-7559692267475906";
google_ad_channel = "ertw-blog-inline";
google_ui_features = "rc:6";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text_image";
google_alternate_ad_url = "?adsensem-benice=250x250";
google_color_border = "99a9ba";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "99a9ba";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
Rechargable batteries are rated in terms of Amp-Hours (AH) or milliamp Hours (mAh).  Theoretically, a battery rated at 1AH can deliver 1A of current for 1 hour, or 2A for 1/2 hour, or 1/2A for 2 hours, and so forth. </p>
<p>The product of Amps and time is the <a href="http://en.wikipedia.org/wiki/Coulomb">Coulomb</a>, so the capacity of the battery is sometimes written as C.  To charge the battery one must put back the number of coulombs that were taken out (plus some for transfer loss).  Charge rates are usually expressed as a rate of C.  Most cheap drills I&#8217;ve run into have battery packs rated at 1200mAh.  To charge the drill I could do 1.2A for 1 hr (which would be a rate of C), or .6A for 2 hrs (C/2), or 2.4A for 1/2 hr (2C).  Practically speaking though, the cheap batteries need a lower charge rate for a longer time, such as C/2 or C/4.</p>
<p>The chargers that come with the drills are actually just a transformer to limit the current.  The only electronics are a transistor, a resistor, and an LED to indicate the current is flowing.  The transformer limits the current, so if you have a 300mA transformer you need 4-5 hours of charging at C/4.  Leave it any longer at that rate, and you&#8217;ll be hurting your batteries.</p>
<p>Drop the rate really low, to C/20 (~60mA) and you can keep the current on indefinately.  It will take a long time to charge (20-24 hours), but you never have to worry about pulling the drill off.  This is how most smart chargers work, they give the battery a high charge until it&#8217;s done (ie at C, or C/2), and then drop to a low charge like C/20 to keep the battery topped off.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-7559692267475906";
google_ad_channel = "ertw-blog-inline";
google_ui_features = "rc:6";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text_image";
google_alternate_ad_url = "?adsensem-benice=250x250";
google_color_border = "99a9ba";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "99a9ba";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
Converting an existing charger to a trickle charger is actually very simple.  There is a part called the <a href="http://www.national.com/pf/LM/LM117.html">LM117</a> that&#8217;s an ajustable 3 terminal regulator.  Normally the LM117 is used to provide a constant voltage given a variable input, but it can do other things.  The circuit I used is even in the datasheet, it makes the device a 50mA constant current source.  That is, no matter what voltage you put in, the LM117 will pump out that voltage at 50mA.  You have to apply 24 ohms across terminals 1 and 2 (read the datasheet for which pin is which), for which I used two 47ohm resistors in parallel soldered directly to the lm117.  Throw that in between the battery and the source, and you&#8217;ve got a constant current source.</p>
<p><a class="imagelink" href="http://ertw.com/blog/wp-content/uploads/2007/03/100_1243.JPG" title="100_1243.JPG"><img id="image165" src="http://ertw.com/blog/wp-content/uploads/2007/03/100_1243.thumbnail.JPG" alt="100_1243.JPG" /></a></p>
<p>The parts are easily available and should cost no more than a few dollars.  You might even be able to order the LM117s as samples, or go to a local hobby shop to get it.  <a href="http://glitchbuster.com">Glitchbuster</a> is a great place to order stuff from too.</p>
<p>Be careful when working with batteries.  This only works for NiCad and possibly NiMH, and not LiON, and certainly not alkeline.</p>
<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://ertw.com/blog/2007/03/02/simple-trickle-charger-for-a-cordless-drill/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>It&#8217;s a plumbing problem, and we&#8217;re a bunch of carpenters</title>
		<link>http://ertw.com/blog/2006/02/13/its-a-plumbing-problem-and-were-a-bunch-of-carpenters/</link>
		<comments>http://ertw.com/blog/2006/02/13/its-a-plumbing-problem-and-were-a-bunch-of-carpenters/#comments</comments>
		<pubDate>Mon, 13 Feb 2006 21:34:44 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://ertw.com/blog/2006/02/13/its-a-plumbing-problem-and-were-a-bunch-of-carpenters/</guid>
		<description><![CDATA[I was reading through some of the notes from the talks at NANOG, the North America Network Operators Group. In particular, notes about the transition to IPv6 caught my eye. I&#8217;ll be the first to admit I don&#8217;t know enough about the protocol, but what always struck me as odd was that there&#8217;s no multihoming [...]<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I was reading through some of the notes from the talks at <a href="http://nanog.org/">NANOG</a>, the North America Network Operators Group.  In particular,  notes about <a href="http://www.merit.edu/mail.archives/nanog/msg15674.html">the transition to IPv6</a> caught my eye.</p>
<p>I&#8217;ll be the first to admit I don&#8217;t know enough about the protocol, but what always struck me as odd was that there&#8217;s no multihoming for enterprise customers.  Only carriers get to multihome (advertise their prefixes out multiple providers), and by strict interpretation anything longer than a /46 is to be dropped (the default allocation for companies is /64).</p>
<p>The talk went over some of the barriers to IPv6 adoption, and one of the reoccuring themes was lack of multihoming.  For some companies, this is essential since the Internet is their only revenue stream.  So maybe it&#8217;s not that multihoming isn&#8217;t available, it&#8217;s just that there is no good high availability solution for enterprises, and in our IPv4 mindset we think of multihoming.</p>
<p>The argument against this is that it goes against aggreagation.  If a network is to be multihomed, it can&#8217;t be aggregated, and there&#8217;s one more prefix out on the Internet.  Already on the Internet we have almost 180,000 prefixes on the Internet.  Increase the address space by a factor of 2^96 and routers will be overwhelmed.</p>
<p>The counter argument to that is largely that it&#8217;s possible to build routers that can outpace the growth of the Internet routing tables.</p>
<p>Regardless of the arguments, I&#8217;m happy to see that groups are taking a pragmatic view of IPv6 adoption, and looking to overcome the hurdles. </p>
<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://ertw.com/blog/2006/02/13/its-a-plumbing-problem-and-were-a-bunch-of-carpenters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>There are two types of IT shops out there</title>
		<link>http://ertw.com/blog/2004/02/27/there-are-two-types-of-it-shops-out-there/</link>
		<comments>http://ertw.com/blog/2004/02/27/there-are-two-types-of-it-shops-out-there/#comments</comments>
		<pubDate>Sat, 28 Feb 2004 03:53:40 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[Engineering]]></category>

		<guid isPermaLink="false">http://ertw.com/blog2/?p=73</guid>
		<description><![CDATA[There are those that are going to embrace Voice-Data convergence, and those that are wasting time and money. I&#8217;ve always thought along these lines, but my recent trip to see a large call centre in action reinforced it. It&#8217;s difficult to gather my thoughts on this issue and explain, so start here: The End of [...]<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>There are those that are going to embrace Voice-Data convergence, and those that are wasting time and money.</p>
<p>I&#8217;ve always thought along these lines, but my recent trip to see a large call centre in action reinforced it.</p>
<p>It&#8217;s difficult to gather my thoughts on this issue and explain, so start here:</p>
<p><a href="http://www.spectrum.ieee.org/WEBONLY/publicfeature/jan03/clude.html">The End of The Middle</a> &#8211; a condensed version of the famous <a href="http://isen.com/stupid.html">Rise of the Stupid Network</a></p>
<p><a href="http://tmdenton.com/">Tim Denton</a> wrote some <a href="http://tmdenton.com/pub/index.htm">papers</a> on the same subject.</p>
<p>Traditionally, the voice world has been dominated by big iron, running on leased lines, and making the network the intelligent part.  Think of how dumb your phone is&#8230; You pick up the handset, the other end sends you a dialtone.  You press buttons that make music, the other end decyphers it into a number.  The other end figures out where to send the call.  The other end rings the other person&#8217;s phone.</p>
<p>The old world is only good at building channels from person A to person B.  Anything else.. Call waiting, voice mail, and call hold, is done on the PBX end.</p>
<p>Compare this to the Internet.  Your web browser speaks HTTP.  The web server speaks HTTP.  You talk.  The network doesn&#8217;t know what you&#8217;re doing, nor does (or should) it care.  It&#8217;s just a packet.</p>
<p>Bring this into the voice world.</p>
<p>An organization needs flexibility and to be cost effective.  TDM lines take weeks to be installed.  PBX programming is complex.  Getting into the SS7 integration is expensive and even more complex.</p>
<p>Data connections are built and rebuilt thousands of times a second.  All you need are two endpoints, and it&#8217;s there.  An organization that needs to connect two voice endpoints over its WAN just needs IP addresses.</p>
<p>Moving the PBX functionality to the network, and onto a piece of open hardware allows tighter integration of existing software into the system.  Suddenly you have access to everything you need.  You have the flexibility to easily monitor the system in real time.  You can move agents between queues or change queues in a flash.</p>
<p>While I am rather PBX naive, I know that a lot of these things can still be done on big iron.  But I know enough that the stupid network, the one that just flips packets, is a better bet than one that has all the smarts in the centre.</p>
<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://ertw.com/blog/2004/02/27/there-are-two-types-of-it-shops-out-there/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EngineeringWiki</title>
		<link>http://ertw.com/blog/2004/01/11/engineeringwiki/</link>
		<comments>http://ertw.com/blog/2004/01/11/engineeringwiki/#comments</comments>
		<pubDate>Sun, 11 Jan 2004 21:18:39 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[Engineering]]></category>

		<guid isPermaLink="false">http://ertw.com/blog2/?p=65</guid>
		<description><![CDATA[I originally registered ERTW.COM with the idea of turning it into a resource for engineers and engineers-to-be. In the past, I ran the front page as a news site and ran some forums. I was also talking to various student councils across the country about sharing announcements and stuff. Somehow, it never took off. This [...]<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I originally registered ERTW.COM with the idea of turning it into a resource for engineers and engineers-to-be.  In the past, I ran the front page as a news site and ran some forums.  I was also talking to various student councils across the country about sharing announcements and stuff.  Somehow, it never took off.  This went through two iterations before I gave up.</p>
<p>Hopefully, the third time is the charm.  I&#8217;ve put up the <a href="http://ertw.com/engineering/">EngineeringWiki</a>, built on <a href="http://tavi.sourceforge.net">WikiTikiTavi</a>.</p>
<p>If you&#8217;re not familiar with a Wiki, it is a web site that can be updated by anyone.  Each time you type a term with WordsSmashedTogether (like that), it makes a link to that page/node.  The first time you type in that term, it creates the page.  It also has its own markup syntax, which is designed to make it easier for people to add content.</p>
<p>I&#8217;ve gone through and added a bit, with the intention of adding more.  If you&#8217;re an Engineer, are thinking of becoming one, or are in the midst of your studies, go ahead and add stuff.  The emphasis is on content, not looking good (which is par for the course in Engineering).</p>
<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://ertw.com/blog/2004/01/11/engineeringwiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

