<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="http://emergent.unpythonic.net/"/>

<title>Jeff Epler's blog</title>
<modified>2011-06-22T20:19:10Z</modified>
<tagline>Photos, electronics, cnc, and more</tagline>
<author><name>Jeff Epler</name><email>jepler@unpythonic.net</email></author>
<entry>
<title>Towards my GPS LED Light Clock</title>
<issued>2011-06-22T20:19:10Z</issued>
<modified>2011-06-22T20:19:10Z</modified>
<id>http://emergent.unpythonic.net/01308773950</id>
<link rel="alternate" type="text/html" href="http://emergent.unpythonic.net/01308773950"/>
<content type="text/html" mode="escaped">
A few years ago, I made a CCFL light clock using an Arduino with a custom
shield containing a transformer (to get a reliable 60Hz timebase) and a
triac (for solid-state switching of the lamp).  By having a simple 7-day alarm calendar (set at compile time), the clock seldom requires interaction except for the reading lamp function.

&lt;p&gt;However, the design has two main problems:</content>
</entry>
<entry>
<title>Red Alert Box</title>
<issued>2009-01-31T16:29:41Z</issued>
<modified>2009-01-31T16:29:41Z</modified>
<id>http://emergent.unpythonic.net/01233419381</id>
<link rel="alternate" type="text/html" href="http://emergent.unpythonic.net/01233419381"/>
<content type="text/html" mode="escaped">&lt;div style=&quot;float:right;clear:right&quot;&gt;&lt;!-- ohno.jpg--&gt;&lt;div class=albumouter style=width:306px id=&gt;&lt;div class=albumimage style=&quot;width:306px;margin-left:0px;&quot;&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01233419381/ohno-medium.jpg&quot; class=&quot;thickbox&quot; rel=&quot;album&quot; title=&quot;Oh no, vmware crashed again&quot;&gt;&lt;img src=&quot;http://media.unpythonic.net/emergent-files/01233419381/ohno-small.jpg&quot; width=300 height=210&gt;&lt;/a&gt;&lt;div &gt;&lt;div style=&quot;float: right&quot; &gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01233419381/ohno-medium.jpg&quot;&gt;(M)&lt;/a&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01233419381/ohno.jpg&quot;&gt;(L)&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01233419381/ohno.jpg&quot;&gt;Oh no, vmware crashed again&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
Every morning I get up too late, and then I think to myself &amp;quot;I'll just check
real quick to see that everything on my home network is running&amp;quot;.  45 minutes
later I've browsed all the new &lt;a href=&quot;http://icanhascheezburger.com/&quot;&gt;lolcats&lt;/a&gt; and read a few personal trainwreck posts on &lt;a href=&quot;http://ask.metafilter.com&quot;&gt;askme&lt;/a&gt;, and now I'm running really late.

&lt;p&gt;This is the kind of problem we can solve with technology!</content>
</entry>
<entry>
<title>Improved Analog & Digital Interface with Arduino</title>
<issued>2007-12-25T14:51:34Z</issued>
<modified>2007-12-25T14:51:34Z</modified>
<id>http://emergent.unpythonic.net/01198594294</id>
<link rel="alternate" type="text/html" href="http://emergent.unpythonic.net/01198594294"/>
<content type="text/html" mode="escaped">
&lt;div style=&quot;float:right;clear:right&quot;&gt;&lt;!-- arduino-vcp.png--&gt;&lt;div class=albumouter style=width:306px id=&gt;&lt;div class=albumimage style=&quot;width:306px;margin-left:0px;&quot;&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/arduino-vcp-medium.png&quot; class=&quot;thickbox&quot; rel=&quot;album&quot; title=&quot;Arduino Virtual Control Panel&quot;&gt;&lt;img src=&quot;http://media.unpythonic.net/emergent-files/01198594294/arduino-vcp-small.png&quot; width=300 height=52&gt;&lt;/a&gt;&lt;div &gt;&lt;div style=&quot;float: right&quot; &gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/arduino-vcp-medium.png&quot;&gt;(M)&lt;/a&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/arduino-vcp.png&quot;&gt;(L)&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/arduino-vcp.png&quot;&gt;Arduino Virtual Control Panel&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;float:right;clear:right&quot;&gt;&lt;!-- ArduinoDiecimila400.jpg--&gt;&lt;div class=albumouter style=width:306px id=&gt;&lt;div class=albumimage style=&quot;width:306px;margin-left:0px;&quot;&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/ArduinoDiecimila400-medium.jpg&quot; class=&quot;thickbox&quot; rel=&quot;album&quot; title=&quot;Arduino Diecimila board&quot;&gt;&lt;img src=&quot;http://media.unpythonic.net/emergent-files/01198594294/ArduinoDiecimila400-small.jpg&quot; width=300 height=230&gt;&lt;/a&gt;&lt;div &gt;&lt;div style=&quot;float: right&quot; &gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/ArduinoDiecimila400-medium.jpg&quot;&gt;(M)&lt;/a&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/ArduinoDiecimila400.jpg&quot;&gt;(L)&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/ArduinoDiecimila400.jpg&quot;&gt;Arduino Diecimila board&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
Building on my &lt;a href=&quot;http://emergent.unpythonic.net/01198525592&quot;&gt;earlier work&lt;/a&gt;, I've now improved
the interface between HAL and &lt;a href=&quot;http://arduino.cc&quot;&gt;the Arduino board&lt;/a&gt;
to have:
&lt;ul&gt;&lt;li&gt;6 10-bit analog inputs&lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;li&gt;6 8-bit PWM &amp;quot;analog&amp;quot; outputs&lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;li&gt;6 digital inputs/outputs (partition chosen when component is loaded)&lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;li&gt;GPL license statement in source files&lt;/li&gt;&lt;/ul&gt;
As before, the driver consists of an Arduino Sketch (&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/halintf.pde&quot;&gt;halintf.pde&lt;/a&gt;)
and a HAL Userspace Component written in Python (&lt;a href=&quot;http://media.unpythonic.net/emergent-files/01198594294/arduino.py&quot;&gt;arduino.py&lt;/a&gt;).</content>
</entry>
</feed>

