<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Superpositioned: Category My Projects</title>
    <link>http://superpositioned.com/articles/category/my-projects</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Electronics news and projects in the frequency domain</description>
    <item>
      <title>Doorknob touch alarm</title>
      <description>&lt;p&gt;I recently found a &lt;a href="http://superpositioned.com/files/dooralm2.pdf"&gt;doorknob touch alarm schematic&lt;/a&gt; while browsing &lt;a href="http://www.discovercircuits.com"&gt;Discover Circuits&amp;#8217;&lt;/a&gt; archives.  The project was originally intended as a present for my brother&amp;#8217;s dorm room, but a bad capacitor and the lack of a proper oscilloscope caused delays.  It has not made it off the breadboard, and it probably will not until his next semester.  The circuit contains a few basic elements, an flip-flop based oscillator, a set of delays, a flip-flop as a sensor, and the audible alarm.&lt;/p&gt;

&lt;p&gt;&lt;a title="Close-up" href="http://superpositioned.com/gallery/v/doorknob/circuit.jpg.html"&gt;&lt;img class="gallery" alt="Close-up" src="http://superpositioned.com/gallery/d/109-2/circuit.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;The schematic&lt;/h3&gt;

&lt;p&gt;&lt;a href="http://superpositioned.com/files/dooralm2.pdf"&gt;Download the schematic&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/dooralm2.png" alt="Doorknob touch alarm schematic"/&gt;&lt;/p&gt;

&lt;h3&gt;The oscillator&lt;/h3&gt;

&lt;p&gt;The first section of the circuit is an oscillator based on a flip-flop.  Clock and D are both grounded while Reset is tied high.  Hence, the output Q will only be high if Set (&lt;em&gt;node 6&lt;/em&gt;) is high.  When the output is low, the transistor &lt;em&gt;Q1* is cutoff.  This allows *node 6&lt;/em&gt; to be charged with a delay relating to the system of impedances &lt;em&gt;R1*, *R2&lt;/em&gt;, &lt;em&gt;R3*, and *C3&lt;/em&gt;.  Once the voltage at &lt;em&gt;node 6&lt;/em&gt; triggers Set, the output changes to high and &lt;em&gt;Q1* is opened.  *Node 6&lt;/em&gt; then discharges out through the capacitor.  Once &lt;em&gt;node 6&lt;/em&gt; is low enough, Set is no longer triggered and the output is automatically reset (because R is tied high) to low and the process is repeated.&lt;/p&gt;

&lt;p&gt;The screen capture below shows &lt;em&gt;node 6&lt;/em&gt; charging and discharging as the blue trace.  The yellow trace is the output at &lt;em&gt;node 1&lt;/em&gt;.  You can see that the output turns high when &lt;em&gt;node 6&lt;/em&gt; reaches the switching threshold of the flip-flop (about 1.8 volts).  Right afterwards it spikes up due to feedback through &lt;em&gt;C2*, but quickly starts discharging.  The oscillator switches off when *node 6&lt;/em&gt; returns below the 1.8volt switching voltage.  Feedback through &lt;em&gt;C2* draws *node 6&lt;/em&gt; to ground before the process repeats itself.&lt;/p&gt;

&lt;p&gt;&lt;a title="Charging and discharging of the oscillator" href="http://superpositioned.com/gallery/v/doorknob/charge.jpg.html"&gt;&lt;img class="gallery" alt="Charging and discharging of the oscillator" src="http://superpositioned.com/gallery/d/107-1/charge.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In order to change the period of oscillation, adjust the value at &lt;em&gt;C3*.  If you would like to make the pulses longer, adjust *C2&lt;/em&gt;.  The circuit works best right where it is at, though.&lt;/p&gt;

&lt;h3&gt;The delay and &amp;#8216;sensor&amp;#8217;&lt;/h3&gt;

&lt;p&gt;The output of the oscillator is divided down two paths.  The time constants of the two delays are nearly equal and can be adjusted with the sensitivity potentiometer.  The path to &lt;em&gt;node 11&lt;/em&gt; is the Clock input of the flip-flop, and the path to &lt;em&gt;node 9&lt;/em&gt; determines if there is an alarm or not.&lt;/p&gt;

&lt;p&gt;&lt;a title="A perfectly calibrated sensor" href="http://superpositioned.com/gallery/v/doorknob/calibrated.jpg.html"&gt;&lt;img class="gallery" alt="A perfectly calibrated sensor" src="http://superpositioned.com/gallery/d/105-2/calibrated.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the capture above, &lt;em&gt;node 9&lt;/em&gt; high than the the clock.  Hence, the flip-flop stays high when the leading clock edge triggers it to lock.  When the doorknob is touched, your body absorbs some of the charge and &lt;em&gt;node 9&lt;/em&gt; charges slower.  This can be seen in the capture below.  When the clock edge rises, &lt;em&gt;node 9&lt;/em&gt; is not high yet and low value is locked into the flip-flop.&lt;/p&gt;

&lt;p&gt;&lt;a title="When the doorknob is touched" href="http://superpositioned.com/gallery/v/doorknob/touched.jpg.html"&gt;&lt;img class="gallery" alt="When the doorknob is touched" src="http://superpositioned.com/gallery/d/117-3/touched.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;The alarm&lt;/h3&gt;

&lt;p&gt;The designer uses an audible buzzer in order to relay the alarm.  This is also my intent for the circuit, but I use a LED in my photos because you cannot see sound.  They are both attached to the inverting output of the second op-amp (Q-bar) because it is high when the alarm is triggered.&lt;/p&gt;

&lt;p&gt;&lt;a title="The sensor being tripped" href="http://superpositioned.com/gallery/v/doorknob/alarm.jpg.html"&gt;&lt;img class="gallery" alt="The sensor being tripped" src="http://superpositioned.com/gallery/d/98-2/alarm.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is an endless number of uses for this circuit, but I will just name a few crazy ideas:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Using the intended buzzer for your hotel or dorm room.  (This is a bit more impressive than the old sock trick.)&lt;/li&gt;
&lt;li&gt;Connecting the output to a relay that triggers the doorbell for you house.  Just make sure to put it in parallel with your standard doorbell switch.  That way you can still hear the Fed-Ex man.  (This one has a major cool factor when someone opens your door.)&lt;/li&gt;
&lt;li&gt;Tying the output into a security or home automation system.  You could have the lights turn on as soon as you touch the door handle to scare the dog away from laying on the door.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;Photo Gallery&lt;/h3&gt;

&lt;p&gt;&lt;a title="Close-up" href="http://superpositioned.com/gallery/v/doorknob/circuit.jpg.html"&gt;&lt;img class="gallery" alt="Close-up" src="http://superpositioned.com/gallery/d/110-2/circuit.jpg" /&gt;&lt;/a&gt;
&lt;a title="The Oscillator" href="http://superpositioned.com/gallery/v/doorknob/oscillator.jpg.html"&gt;&lt;img class="gallery" alt="The Oscillator" src="http://superpositioned.com/gallery/d/116-2/oscillator.jpg" /&gt;&lt;/a&gt;
&lt;a title="Oscillator charging" href="http://superpositioned.com/gallery/v/doorknob/charge.jpg.html"&gt;&lt;img class="gallery" alt="Oscillator charging" src="http://superpositioned.com/gallery/d/108-2/charge.jpg" /&gt;&lt;/a&gt;
&lt;a title="Uncalibrated" href="http://superpositioned.com/gallery/v/doorknob/high.jpg.html"&gt;&lt;img class="gallery" alt="Uncalibrated" src="http://superpositioned.com/gallery/d/114-2/high.jpg" /&gt;&lt;/a&gt;
&lt;a title="Calibrated" href="http://superpositioned.com/gallery/v/doorknob/calibrated.jpg.html"&gt;&lt;img class="gallery" alt="Calibrated" src="http://superpositioned.com/gallery/d/106-2/calibrated.jpg" /&gt;&lt;/a&gt;
&lt;a title="Alarm touched" href="http://superpositioned.com/gallery/v/doorknob/touched.jpg.html"&gt;&lt;img class="gallery" alt="Alarm touched" src="http://superpositioned.com/gallery/d/118-2/touched.jpg" /&gt;&lt;/a&gt;
&lt;a title="Connected to handle" href="http://superpositioned.com/gallery/v/doorknob/connected.jpg.html"&gt;&lt;img class="gallery" alt="Connected to handle" src="http://superpositioned.com/gallery/d/112-2/connected.jpg" /&gt;&lt;/a&gt;
&lt;a title="Alarm tripped 1" href="http://superpositioned.com/gallery/v/doorknob/alarm2.jpg.html"&gt;&lt;img class="gallery" alt="Alarm tripped 1" src="http://superpositioned.com/gallery/d/102-2/alarm2.jpg" /&gt;&lt;/a&gt;
&lt;a title="Alarm tripped 2" href="http://superpositioned.com/gallery/v/doorknob/alarm3.jpg.html"&gt;&lt;img class="gallery" alt="Alarm tripped 2" src="http://superpositioned.com/gallery/d/104-2/alarm3.jpg" /&gt;&lt;/a&gt;
&lt;a title="Alarm tripped 3" href="http://superpositioned.com/gallery/v/doorknob/alarm1.jpg.html"&gt;&lt;img class="gallery" alt="Alarm tripped 3" src="http://superpositioned.com/gallery/d/99-2/alarm1.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 25 Apr 2006 03:14:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:f8f3490a-9f6f-43a0-a739-80855feb7842</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/04/25/doorknob-touch-alarm</link>
      <category>My Projects</category>
      <category>exclusive</category>
      <category>schematics</category>
      <category>diy</category>
      <enclosure type="image/png" url="http://superpositioned.com/files/dooralm2.png" length="28527"/>
    </item>
    <item>
      <title>Measuring the speed of light with Chocolate Chips</title>
      <description>&lt;p&gt;Over the past week, I&amp;#8217;ve been really busy with exams and projects.  Trying to save time by finding the speed of light on Google, I stumbled upon an extremely interesting article on measuring the speed of light &lt;a href="http://physics.about.com/cs/opticsexperiments/a/290903.htm"&gt;with a microwave&lt;/a&gt;.  As any decent cook knows, microwaves do not heat evenly.  In fact, this article explains their heating patterns are relative to the speed of light!&lt;/p&gt;

&lt;h3&gt;Understanding how a microwave heats&lt;/h3&gt;

&lt;p&gt;As we all know, microwaves heat using electromagnetic waves.  These waves are at a frequency perfect for &lt;a href="http://www.colorado.edu/physics/2000/microwaves/water_rotates2.html"&gt;rotating water molecules&lt;/a&gt; (f = 2.5 GHz).  The rotating water molecules create friction and thereby heat.&lt;/p&gt;

&lt;h3&gt;Two types of electromagnetic waves&lt;/h3&gt;

&lt;p&gt;Although there are two types of electromagnetic waves, we typically only consider traveling waves.  The amplitude of the wave travels forward in position over times.  The following animation demonstrates the amplitude of a wave over space and time.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/mic-travel.gif" alt="A traveling wave"/&gt;&lt;br/&gt;
 &amp;nbsp; &amp;nbsp; &lt;img src="http://superpositioned.com/files/mic-small.jpg" alt="Chocolate chips"/&gt;&lt;/p&gt;

&lt;p&gt;The waves in a microwave are &lt;strong&gt;not traveling&lt;/strong&gt;.  If they were, it would be nearly impossible to distinguish any uneven heating patterns!&lt;/p&gt;

&lt;h3&gt;Standing waves in a microwave&lt;/h3&gt;

&lt;p&gt;The waves in a microwave oven are standing waves.  These waves are stationary in space with an amplitude changing over time.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/mic-stand.gif" alt="A standing wave"/&gt;&lt;br/&gt;
 &amp;nbsp; &amp;nbsp; &lt;img src="http://superpositioned.com/files/mic-small.jpg" alt="Chocolate chips"/&gt;&lt;/p&gt;

&lt;p&gt;With this demonstration, it is obvious that particular sections of the chips are heated more than others.  In fact, these locations are located half of the wave&amp;#8217;s length apart.&lt;/p&gt;

&lt;h3&gt;The physics of waves&lt;/h3&gt;

&lt;p&gt;We now know the frequency of the microwave and can presumably measure the length of the wave, but how are they related to the speed of light?  Simple.  Electromagnetic waves propagate through free space (like that in a microwave) at the speed of light.  Therefore, their length is related directly to the speed of light by &amp;lambda; = c / f where &amp;lambda; is the wavelength, c is the speed of light, and f is the frequency of the microwave.  Solving for the speed of light, c = &amp;lambda; * f.&lt;/p&gt;

&lt;h3&gt;Where do the chocolate chips come in?&lt;/h3&gt;

&lt;p&gt;Chocolate chips are perfect for measuring the distance between melted spots.  The heat does not spread as quickly through them because they are not uniform.  This means the melted spots will be smaller and you will have more time to measure before they all start to melt.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/mic-chips1.jpg" alt="Melted chocolate chips"/&gt;&lt;/p&gt;

&lt;p&gt;It is hard to tell from the photos, but there were distinct melting spots almost exactly 6cm apart.  Remember, this is only half of the wavelength, so &amp;lambda; = 12cm.  Plugging all the known variables into our equation, we get c = 12x10&lt;sup&gt;-2&lt;/sup&gt; * 2.5x10&lt;sup&gt;9&lt;/sup&gt; = 3x10&lt;sup&gt;8&lt;/sup&gt;.  Not bad!  The true &lt;a href="http://www.google.com/search?q=speed+of+light"&gt;speed of light&lt;/a&gt; is 2.9987x10&lt;sup&gt;8&lt;/sup&gt;.&lt;/p&gt;

&lt;h3&gt;Notes if you replicate this experiment&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The chocolate chips only take 20-30 seconds to melt.  The longer you have them in, the bigger the melted spots will be and the less time you will have to measure.&lt;/li&gt;
&lt;li&gt;This will not work in a microwave with a spinning carousel.  In fact, the microwave spins to counteract these effects.  Usually, you can just flip the carousel upside down to stop it from spinning.  (&lt;em&gt;Thanks Ryan&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;If you plan on putting the chips back in the bag, simply refrigerate them.  Freezing causes them to stick to the plate.&lt;/li&gt;
&lt;li&gt;You can microwave anything that melts.  (Cheese or a chocolate bar)  However, chips work particularly well.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Photo gallery&lt;/h3&gt;

&lt;p&gt;&lt;a title="Microwave data sheet." href="http://superpositioned.com/gallery/v/microwave/data.jpg.html"&gt;&lt;img class="gallery" alt="Microwave data sheet." src="http://superpositioned.com/gallery/d/73-2/data.jpg" /&gt;&lt;/a&gt; &lt;a title="Melting the chips." href="http://superpositioned.com/gallery/v/microwave/microwave.jpg.html"&gt;&lt;img class="gallery" alt="Melting the chips." src="http://superpositioned.com/gallery/d/77-2/microwave.jpg" /&gt;&lt;/a&gt; &lt;a title="Measuring." href="http://superpositioned.com/gallery/v/microwave/chips1.jpg.html"&gt;&lt;img class="gallery" alt="Measuring." src="http://superpositioned.com/gallery/d/80-2/chips1.jpg" /&gt;&lt;/a&gt; &lt;a title="Measuring." href="http://superpositioned.com/gallery/v/microwave/chips2.jpg.html"&gt;&lt;img class="gallery" alt="Measuring." src="http://superpositioned.com/gallery/d/83-2/chips2.jpg" /&gt;&lt;/a&gt; &lt;a title="Measuring." href="http://superpositioned.com/gallery/v/microwave/chips3.jpg.html"&gt;&lt;img class="gallery" alt="Measuring." src="http://superpositioned.com/gallery/d/86-2/chips3.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 09 Mar 2006 23:41:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:7960894e-ff62-4d97-ae80-a726b0fbfb37</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/03/09/measure-the-speed-of-light-with-chips</link>
      <category>My Projects</category>
      <category>exclusive</category>
      <category>electromagnetics</category>
      <enclosure type="image/jpeg" url="http://superpositioned.com/files/mic-small.jpg" length="2808"/>
    </item>
    <item>
      <title>A low power, long life LED flashlight circuit</title>
      <description>&lt;p&gt;Scouring the Internet for information on LEDs, I accidentally stumbled upon a PDF detailing a &lt;a href="http://www.getto-for-ypsi-school-board.com/flashlight.pdf"&gt;flashlight made from PVC&lt;/a&gt;.  For the torch, he biases ultra-bright LEDs with ballast resistors as described in my &lt;a href="http://superpositioned.com/articles/2006/02/25/diy-led-lighting-guide"&gt;LED lighting guide&lt;/a&gt;.  This is a simple solution, but a with a slightly more complicated circuit we can extend battery life by over ten times!&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.getto-for-ypsi-school-board.com/flashlight.pdf"&gt;Download PDF instructions for the inefficient version&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/pvc_flashlight.jpg" alt="PVC flashlight LEDs"/&gt;&lt;/p&gt;

&lt;h3&gt;Electrical losses in the flashlight&lt;/h3&gt;

&lt;p&gt;In this flashlight, each LED/resistor combination consumes 4.5volts at 30mA or about 135mWatts.  The ballast resistor alone consumes 1.1volts at 30mA or about 33mWatts.  Therefore, 25% of the power being drained from the batteries is lost in the resistor of each LED chain!!&lt;/p&gt;

&lt;h3&gt;Battery life&lt;/h3&gt;

&lt;p&gt;The &amp;#8216;C&amp;#8217; size batteries in the &lt;a href="http://www.getto-for-ypsi-school-board.com/flashlight.pdf"&gt;PVC flashlight&lt;/a&gt; have a capacity of around 4 500mAh.  If you build your flashlight with seven LEDs, there is a constant current drain of 7 * 30mA or 210mA.  Dividing this into our battery capacity, it becomes obvious this flashlight will only stay lit for about a day.  This is a far cry from the 50-100 hours claimed by commercial flashlights running on smaller &amp;#8216;AA&amp;#8217; batteries.&lt;/p&gt;

&lt;h3&gt;Cutting your losses&lt;/h3&gt;

&lt;p&gt;As mentioned above, the ballast resistors are wasting 25% of our battery power.  &lt;a href="http://www.elecdesign.com"&gt;Electronic Design&lt;/a&gt; proposed a simple circuit to resolve this in a &lt;a href="http://www.elecdesign.com/Articles/ArticleID/12083/12083.html?feed=rss"&gt;recent article&lt;/a&gt;.  The front end of their circuit draws less than a milliamp of extra current.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/boostcircuit.png" alt="LED Boost Controller"/&gt;&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;The circuit is best described in two parts: one, the boost circuit function of Q1 and Q2, and two, the control circuit of Q3 and JFET1. Assume Q1 is off. With the battery voltage slightly above Q2&amp;#8217;s VVB, a positive Q2 base current [iB = (battery voltage VBE)/RJET1] would flow. Q2 turns on, which switches inductor L1 to ground.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The end result is a 23volt pulse (as shown in &lt;a href="http://www.elecdesign.com/Files/29/12083/Figure_02.gif"&gt;Figure 2&lt;/a&gt;) across the series of ultra-bright LEDs.  At 278kHz, the human eye cannot distinguish the difference between these pulses and a constantly lit LED.  This saves even more battery power.&lt;/p&gt;

&lt;p&gt;As the battery voltage decreases, the pulses become further apart.  The brightness remains indistinguishable until the voltage falls near 2volts.  (The circuit does not function well below 2volts)  I doubt the &lt;a href="http://www.getto-for-ypsi-school-board.com/flashlight.pdf"&gt;PVC flashlight&lt;/a&gt; has this efficiency near the end of its life.&lt;/p&gt;

&lt;h3&gt;The extended battery life&lt;/h3&gt;

&lt;p&gt;According to Electronic Design, this circuit consumes an current equivalent to about 17mA.  Powered by our &amp;#8216;C&amp;#8217; cell in the PVC, this circuit could run for 265 hours!  This is ten times the original PVC design.&lt;/p&gt;</description>
      <pubDate>Thu, 02 Mar 2006 20:17:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:bd530ba1-47ff-403d-9c25-4084e1ed3224</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/03/02/a-low-power-led-flashlight-with-pvc</link>
      <category>My Projects</category>
      <category>schematics</category>
      <category>exclusive</category>
      <category>led</category>
      <category>diy</category>
    </item>
    <item>
      <title>Powering LEDs costs mere pennies</title>
      <description>&lt;p&gt;Lately the hoopla concerning LED lighting has been overwhelming.  Everyone claims this costs mere pennies to power.  I decided to put a new twist on a classic science experiment to prove that LEDs do cost pennies to power.  Literally. &lt;/p&gt;

&lt;p&gt;&lt;a title="An LED powered by pennies." href="http://superpositioned.com/gallery/v/pennypower/itworks.jpg.html"&gt;&lt;img class="gallery" alt="An LED powered by pennies." src="http://superpositioned.com/gallery/d/49-2/itworks.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Creating a battery from pennies&lt;/h3&gt;

&lt;p&gt;In order to turn pennies into batteries, another electrode and an electrolyte are needed.  In this case, dimes (zinc) are used as the positive electrodes and salt water is used an electrolyte.  Copper wire, galvanized nails, and lemon juice are also popular and cheaper solutions.  Such a battery produces a differential of about &lt;a href="http://superpositioned.com/gallery/v/pennypower/singlevoltage.jpg.html"&gt;0.5 volts&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a title="One penny battery in an ice cube try." href="http://superpositioned.com/gallery/v/pennypower/singlebank.jpg.html"&gt;&lt;img class="gallery" alt="One penny battery in an ice cube try." src="http://superpositioned.com/gallery/d/39-2/singlebank.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Finding ample power for an LED&lt;/h3&gt;

&lt;p&gt;Unfortunately, this battery is not enough to light an LED.  In order to string eight of these cells in series,  an ice cube tray is used.  Metal paperclips hang the pennies and dimes into the electrolyte banks.  Because the paperclips are conductive, the eight cells are automatically connected in series forming a more powerful battery.  This provides a differential of about &lt;a href="http://superpositioned.com/gallery/v/pennypower/totalvoltage.jpg.html"&gt;two volts&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;As you may notice, 0.5 volts * 8 != 2 volts.  Not all of the banks produced a reliable voltage.  In fact, one bank seemed to be working against me.&lt;/p&gt;

&lt;p&gt;&lt;a title="8 battery banks connected in series." href="http://superpositioned.com/gallery/v/pennypower/8banks.jpg.html"&gt;&lt;img class="gallery" alt="8 battery banks connected in series." src="http://superpositioned.com/gallery/d/41-2/8banks.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Lighting a LED with pennies&lt;/h3&gt;

&lt;p&gt;Generally, LEDs require a resistor to prevent excessive current flow from blowing them out.  This project does not require a resistor because the battery simply cannot provide that amount of current.&lt;/p&gt;

&lt;p&gt;Connecting the short end of the LED to the penny and the long end to the dime lights up the LED!  Everything works as planned.  The penny batteries provide about 110 micro-amps of current in series.  At two volts, this is only about 220 micro-watts of power!&lt;/p&gt;

&lt;p&gt;It does in fact &amp;#8216;cost&amp;#8217; pennies to power an LED.&lt;/p&gt;

&lt;h3&gt;Project Photo Gallery&lt;/h3&gt;

&lt;p&gt;&lt;a title="Cleaning the pennies before hand." href="http://superpositioned.com/gallery/v/pennypower/cleaning.jpg.html"&gt;&lt;img class="gallery" alt="Cleaning the pennies before hand." src="http://superpositioned.com/gallery/d/35-2/cleaning.jpg" /&gt;&lt;/a&gt;
&lt;a title="Drying the pennies." href="http://superpositioned.com/gallery/v/pennypower/drying.jpg.html"&gt;&lt;img class="gallery" alt="Drying the pennies." src="http://superpositioned.com/gallery/d/38-2/drying.jpg" /&gt;&lt;/a&gt;
&lt;a title="One penny battery in an ice cube try." href="http://superpositioned.com/gallery/v/pennypower/singlebank.jpg.html"&gt;&lt;img class="gallery" alt="One penny battery in an ice cube try." src="http://superpositioned.com/gallery/d/40-6/singlebank.jpg" /&gt;&lt;/a&gt;
&lt;a title="8 battery banks connected in series." href="http://superpositioned.com/gallery/v/pennypower/8banks.jpg.html"&gt;&lt;img class="gallery" alt="8 battery banks connected in series." src="http://superpositioned.com/gallery/d/42-2/8banks.jpg" /&gt;&lt;/a&gt;
&lt;a title="Voltage difference over a single battery bank." href="http://superpositioned.com/gallery/v/pennypower/singlevoltage.jpg.html"&gt;&lt;img class="gallery" alt="Voltage difference over a single battery bank." src="http://superpositioned.com/gallery/d/44-2/singlevoltage.jpg" /&gt;&lt;/a&gt;
&lt;a title="Total differential voltage over all 8 penny batteries." href="http://superpositioned.com/gallery/v/pennypower/totalvoltage.jpg.html"&gt;&lt;img class="gallery" alt="Total differential voltage over all 8 penny batteries." src="http://superpositioned.com/gallery/d/46-2/totalvoltage.jpg" /&gt;&lt;/a&gt;
&lt;a title="The current lighting the LED." href="http://superpositioned.com/gallery/v/pennypower/totalcurrent.jpg.html"&gt;&lt;img class="gallery" alt="The current lighting the LED." src="http://superpositioned.com/gallery/d/48-2/totalcurrent.jpg" /&gt;&lt;/a&gt;
&lt;a title="The LED powered by the pennies." href="http://superpositioned.com/gallery/v/pennypower/itworks.jpg.html"&gt;&lt;img class="gallery" alt="The LED powered by the pennies." src="http://superpositioned.com/gallery/d/50-10/itworks.jpg" /&gt;&lt;/a&gt;
&lt;a title="The LED is fairly bright in the dark." href="http://superpositioned.com/gallery/v/pennypower/brightdark.jpg.html"&gt;&lt;img class="gallery" alt="The LED is fairly bright in the dark." src="http://superpositioned.com/gallery/d/52-2/brightdark.jpg" /&gt;&lt;/a&gt;
&lt;a title="Night vision even though the lights are out." href="http://superpositioned.com/gallery/v/pennypower/nightvision.jpg.html"&gt;&lt;img class="gallery" alt="Night vision even though the lights are out." src="http://superpositioned.com/gallery/d/54-2/nightvision.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 07 Feb 2006 14:07:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:eab6c4d0-f780-4d2d-af8d-799a1a917ee7</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/02/07/powering-leds-costs-mere-pennies</link>
      <category>My Projects</category>
      <category>battery</category>
      <category>diy</category>
      <category>led</category>
      <category>exclusive</category>
    </item>
    <item>
      <title>Sound card based signal generators</title>
      <description>&lt;p&gt;Previously, &lt;a href="http://superpositioned.com/articles/2006/01/15/sound-cards-as-signal-generators"&gt;E-DSP visited&lt;/a&gt; the possibility of using your sound card as a signal/function generator.  I was curious about the results, but did not have a Windows machine close by to test it.  After some searching, I found a Linux alternative and was able to test the limitations of my Sound Blaster Live!&lt;/p&gt;

&lt;h3&gt;SigGEN: A Linux signal generator&lt;/h3&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/siggen.png" alt="SigGEN for Linux Screenshot"/&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.comp.leeds.ac.uk/jj/linux/siggen.html"&gt;SigGEN&lt;/a&gt; is a fairly advanced signal generator designed specifically for Linux.  It is able to generate sine, cosine, triangle, sawtooth, square, and pulse waves as well as white noise and frequency sweeps.  It also supports separate waves on each stereo channel and setting phase differences between them.&lt;/p&gt;

&lt;h3&gt;Digital Signal Generator (Windows)&lt;/h3&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/siggen-win.gif" alt="Digital Signal Generator Screenshot"/&gt;&lt;/p&gt;

&lt;p&gt;I was also able to find a Windows-based solution &lt;a href="http://heliso.tripod.com/download/generator/dsg.htm"&gt;more advanced&lt;/a&gt; than &lt;a href="http://www.e-dsp.com/index.php?subaction=showfull&amp;amp;id=1136135798&amp;amp;archive=&amp;amp;start_from=&amp;amp;ucat=&amp;amp;"&gt;E-DSP&amp;#8217;s&lt;/a&gt;.  It is able to generate sine, square, and triangle waves as well as chirp signals and noise.&lt;/p&gt;

&lt;h3&gt;Reproduced wave accuracy&lt;/h3&gt;

&lt;p&gt;Modern computers have no problem accurately calculating a reproducing small signals.  Therefore, any limitations will lie in the sound cards specs.  Most modern sound cards have a 16-bit digital to analog converter (DAC), and 24-bit DACs are becoming more popular.  Even 16 bits of accuracy is far better than the 10 bits common on most embedded microcontrollers.&lt;/p&gt;

&lt;p&gt;The major limiting factor in wave reproduction is the sound cards sampling frequency.  It is limited to 48kHz.  Hence, any frequencies &lt;a href="http://en.wikipedia.org/wiki/Nyquist-Shannon_sampling_theorem"&gt;near or above&lt;/a&gt; 24kHz are extremely hard (if not impossible) to reproduce without additional hardware.  This limit is rather low and limits the generator usefulness as a high frequency signal generator.&lt;/p&gt;

&lt;h3&gt;Maximum deliverable voltage&lt;/h3&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/siggen-volts.jpg" alt="Testing the maximum voltage delivered"/&gt;&lt;/p&gt;

&lt;p&gt;I am sure that different sound cards are capable of delivering different voltages.  My Sound Blaster Live! card was able to deliver four volts as seen above.&lt;/p&gt;

&lt;h3&gt;Maximum current and power&lt;/h3&gt;

&lt;p&gt;A sound card is also limited in the amount of power it can deliver.  Once a voltage source reaches its power limit, it begins acting as a constant current source.  It simply delivers less voltage to compensate for the limited current.&lt;/p&gt;

&lt;p&gt;In order to test the sound card&amp;#8217;s limit, a potentiometer is connected between the generated signal and ground.  The resistance is then decreased until the current peaks and the voltage starts to decrease.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/siggen-power.jpg" alt="Finding the maximum power"/&gt;&lt;/p&gt;

&lt;p&gt;Once we find the point of maximum power, the potentiometer&amp;#8217;s resistance is measured, and &lt;a href="http://en.wikipedia.org/wiki/Ohm's_law"&gt;Ohm&amp;#8217;s Law&lt;/a&gt; is used to find the current delivered.  In this case, the resistance is 24.8K ohms.  &lt;code&gt;V = I*R&lt;/code&gt; tells us 0.16mA is being delivered.  &lt;code&gt;P = V*I =&lt;/code&gt; 0.6mW maximum power.&lt;/p&gt;

&lt;p&gt;This is not a lot of current or power.  This is why  E-DSP reccommends &lt;a href="http://www.e-dsp.com/index.php?subaction=showfull&amp;amp;id=1133627021&amp;amp;archive=1136092105&amp;amp;start_from=&amp;amp;ucat=&amp;amp;"&gt;an amplifier&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;Project photo gallery&lt;/h3&gt;

&lt;p&gt;&lt;a title="" href="http://superpositioned.com/gallery/v/soundcardgenerator/siggen-phones.jpg.html"&gt;&lt;img class="gallery" alt="" src="http://superpositioned.com/gallery/d/19-4/siggen-phones.jpg" /&gt;&lt;/a&gt;&lt;a title="" href="http://superpositioned.com/gallery/v/soundcardgenerator/siggen-clippers.jpg.html"&gt;&lt;img class="gallery" alt="" src="http://superpositioned.com/gallery/d/21-2/siggen-clippers.jpg" /&gt;&lt;/a&gt;&lt;a title="" href="http://superpositioned.com/gallery/v/soundcardgenerator/siggen-stripped.jpg.html"&gt;&lt;img class="gallery" alt="" src="http://superpositioned.com/gallery/d/23-2/siggen-stripped.jpg" /&gt;&lt;/a&gt;&lt;a title="" href="http://superpositioned.com/gallery/v/soundcardgenerator/siggen-volts.jpg.html"&gt;&lt;img class="gallery" alt="" src="http://superpositioned.com/gallery/d/25-2/siggen-volts.jpg" /&gt;&lt;/a&gt;&lt;a title="" href="http://superpositioned.com/gallery/v/soundcardgenerator/siggen-freq.jpg.html"&gt;&lt;img class="gallery" alt="" src="http://superpositioned.com/gallery/d/27-4/siggen-freq.jpg" /&gt;&lt;/a&gt;&lt;a title="" href="http://superpositioned.com/gallery/v/soundcardgenerator/siggen-power.jpg.html"&gt;&lt;img class="gallery" alt="" src="http://superpositioned.com/gallery/d/29-2/siggen-power.jpg" /&gt;&lt;/a&gt;&lt;a title="" href="http://superpositioned.com/gallery/v/soundcardgenerator/siggen-resistance.jpg.html"&gt;&lt;img class="gallery" alt="" src="http://superpositioned.com/gallery/d/31-2/siggen-resistance.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 24 Jan 2006 21:40:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9fb8d60f-f435-4d3a-9b72-50bd26c20c31</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/01/24/sound-card-based-signal-generators</link>
      <category>My Projects</category>
      <category>equipment</category>
      <category>diy</category>
      <category>exclusive</category>
    </item>
    <item>
      <title>DIY Lie detectors</title>
      <description>&lt;p&gt;&lt;a href="http://www.makezine.com/blog/"&gt;Makezine&lt;/a&gt; recently posted a diy &lt;a href="http://www.apogeekits.com/lie_detector.htm"&gt;lie detector kit&lt;/a&gt; that uses your skin resistance (aka sweat) to detect a lie.  The kit is well explained and consists of two probes you place on your palm with a red/green led readout.&lt;/p&gt;

&lt;h3&gt;Multimeter based feedback&lt;/h3&gt;

&lt;p&gt;This is all well and good, but sometimes a little more feedback is a bit more intuitive.  We are trying to learn here.&lt;/p&gt;

&lt;p&gt;Some time ago, Jason Bradbury created &lt;a href="http://www.jasonbradbury.com/jason_bradbury/2004/07/diy_lie_detecto.html"&gt;his own lie detector&lt;/a&gt; using only a resistor, a transistor, an led, and a multimeter.  The led lights up if you are lying, but the multimeter provides more precise feedback of the skin&amp;#8217;s resistance.&lt;/p&gt;

&lt;p&gt;If you are really desperate, you can just clip the leads of your multimeter straight to your subjects palm.  The &amp;#8216;scary&amp;#8217; device may cause them to sweat and ruin the experiment, though.  Just don&amp;#8217;t tell your girlfriend you will shock her if she does not love you.&lt;/p&gt;

&lt;h3&gt;Finger straps and the LEGO RCX&lt;/h3&gt;

&lt;p&gt;The &lt;a href="http://www.plazaearth.com/usr/gasperi/gsr.htm"&gt;galvanic skin response sensor&lt;/a&gt; uses a LEGO RCX brick to detect lies and also has numeric feedback.  The finger straps are the best part of this project.  Your subject will know you mean business when you clip these puppies to your multimeter.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://superpositioned.com/files/gsr.jpg" alt="Galvanic skin response finger straps"/&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 20 Jan 2006 06:10:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:465c3531-5748-4af2-adb7-8b17e6f14bf3</guid>
      <author>Matthew</author>
      <link>http://superpositioned.com/articles/2006/01/20/diy-lie-detectors</link>
      <category>My Projects</category>
      <category>lego</category>
      <category>exclusive</category>
      <category>diy</category>
    </item>
  </channel>
</rss>
