<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Fanjita's Rants</title>
    <link>http://www.fanjita.org/serendipity/</link>
    <description>Fanjita's little home on the web</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6 - http://www.s9y.org/</generator>
    <pubDate>Sun, 05 Feb 2012 00:50:29 GMT</pubDate>

    <image>
        <url>http://www.fanjita.org/serendipity/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Fanjita's Rants - Fanjita's little home on the web</title>
        <link>http://www.fanjita.org/serendipity/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>More ICSP laziness : the Frankentiny</title>
    <link>http://www.fanjita.org/serendipity/archives/38-More-ICSP-laziness-the-Frankentiny.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/38-More-ICSP-laziness-the-Frankentiny.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=38</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=38</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;It&#039;s all well and good being able to place an ATTiny in my universal ZIF ICSP board, flash it, and then put it back in the circuit being prototyped. &amp;#160;But wouldn&#039;t it be better to be able to flash it in place, without all that tedious plugging and unplugging from sockets?&lt;/p&gt;&lt;p&gt;Well, I could add a 6-pin ICSP header to all my projects, which would make that possible. &amp;#160;But it&#039;s a bit of a pain to do that, and once the project is complete, that header will never be used again. &amp;#160;Seems like a waste.&lt;/p&gt;&lt;p&gt;And so, partly inspired by a post at &lt;a href=&quot;http://jeelabs.org/&quot; target=&quot;_self&quot; title=&quot;&quot;&gt;JeeLabs&lt;/a&gt;&amp;#160;(although I&#039;d independently been thinking along the same lines), I came up with a different approach - the Frankentiny.&lt;/p&gt;&lt;p&gt;The principle is to create a small daughter board, comprising an 8 pin socket, and ICSP header, which can plug into another 8 pin socket. &amp;#160;This way, I can plug the ATTiny under development into the Frankentiny board, and plug that board into the socket in the circuit being developed. When I need to reflash, I just disconnect the power, connect the ICSP cable, and click &quot;upload&quot;.&amp;#160;As far as the prototype circuit is concerned, this board indistinguishable from an ATTiny.&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); &quot;&gt;This takes a little bit of caution to make sure that there are no delicate components connected to the ATTiny pins used by ICSP, but that&#039;s not much to ask in return for the convenience.&amp;#160;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here&#039;s a picture of the ugly beast:&lt;/p&gt;
&lt;p&gt;&lt;a   rel=&#039;lightbox&#039; href=&#039;http://www.fanjita.org/serendipity/uploads/Photo 2 Feb 2012 22:58.jpg&#039;&gt;&lt;!-- s9ymdb:11 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;320&quot; height=&quot;240&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/Photo 2 Feb 2012 22:58.serendipityThumb.jpg&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt; 
    </content:encoded>

    <pubDate>Sun, 05 Feb 2012 00:13:37 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/38-guid.html</guid>
    <category>arduino</category>
<category>attiny</category>
<category>icsp</category>

</item>
<item>
    <title>Duplo traffic lights</title>
    <link>http://www.fanjita.org/serendipity/archives/41-Duplo-traffic-lights.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/41-Duplo-traffic-lights.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=41</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=41</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;[UPDATE: And overnight, it was chosen to be featured as an Editor&#039;s Pick! &amp;#160;I&#039;m delighted.]&lt;/p&gt;&lt;p&gt;I just published my first ever Instructable, after being inspired by following their channel on &lt;a href=&quot;&#039;http://flipboard.com&#039;&quot;&gt;Flipboard&lt;/a&gt; for the last couple of months.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here it is : &lt;a href=&quot;http://www.instructables.com/id/Fully-functional-Duplo-traffic-light/&quot; title=&quot;Instructable: Duplo traffic lights&quot;&gt;How to build your own Duplo traffic lights&lt;/a&gt;, using an ATTiny, switch, 3 LEDs and a few bits of Lego.&lt;/p&gt;&lt;iframe width=&quot;480&quot; height=&quot;270&quot; src=&quot;http://www.youtube.com/embed/cqJy2AQCcXY&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt; 
    </content:encoded>

    <pubDate>Sat, 04 Feb 2012 23:57:00 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/41-guid.html</guid>
    <category>arduino</category>
<category>attiny</category>
<category>LEDs</category>
<category>lego</category>

</item>
<item>
    <title>Even lazier ICSP programming</title>
    <link>http://www.fanjita.org/serendipity/archives/37-Even-lazier-ICSP-programming.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/37-Even-lazier-ICSP-programming.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=37</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;The previous post discussed my gradual drift to using a dedicated ICSP programmer to reflash AVR chips.  This post describes how to make useful ICSP slave boards, to make life easier yet.
&lt;p&gt;First up, some pinouts.  I&#039;m mostly interested in the 6-pin ICSP header, and the ATTiny85 (absolutely tiny, not many I/O pins), ATTiny2313 (a bit bigger, tiny memory, but built-in UART and more I/O pins), and ATmega328 (as used in Arduino).  &lt;i&gt;These are all drawn on a Mac in &quot;Shapes&quot;, by the way.  Another experiment, and it seems OK for basic diagrams, if a little buggy.  &amp;pound;2.99 from the App Store.&lt;/i&gt;
&lt;p&gt;&lt;!-- s9ymdb:15 --&gt;&lt;img width=&quot;320&quot; height=&quot;400&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/ISP6Header.png&quot;  alt=&quot;&quot; /&gt;
&lt;!-- s9ymdb:16 --&gt;&lt;img width=&quot;320&quot; height=&quot;240&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/Tiny85.png&quot;  alt=&quot;&quot; /&gt;
&lt;!-- s9ymdb:17 --&gt;&lt;img  width=&quot;320&quot; height=&quot;400&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/Tiny2313.png&quot;  alt=&quot;&quot; /&gt;&lt;!-- s9ymdb:18 --&gt;&lt;img width=&quot;320&quot; height=&quot;400&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/Mega328.png&quot;  alt=&quot;&quot; /&gt;
&lt;p&gt;I&#039;ve only marked the pins that are important for ICSP.  Connecting one of these up to an ICSP header is trivial - just connect the corresponding pin labels together between the ICSP header, and an IC socket.  Notes:
&lt;ol&gt;&lt;li&gt;If you want to flash an IC that&#039;s to be fused for an external oscillator, or already is fused that way, then you&#039;ll need to do some work with the XTAL1 and XTAL2 pins before the ICSP master will communicate properly with the slave.  For simple ATTiny work, you don&#039;t need to bother with external oscillators, but for Arduino, you do.
&lt;li&gt;On the ATmega328, the Vref and AVcc pins also connect to Vcc on the ISP header.&lt;/ol&gt;
&lt;p&gt;Ah - but see how a lot of the pins are all in &lt;em&gt;roughly&lt;/em&gt; the same place and order?  Well, I wondered if you could connect up a single socket in such a way that it can be used to program any of these 3 chips?  Luckily, we can!   &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/37-Even-lazier-ICSP-programming.html#extended&quot;&gt;Continue reading &quot;Even lazier ICSP programming&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 02 Feb 2012 23:00:00 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/37-guid.html</guid>
    <category>arduino</category>
<category>attiny</category>
<category>icsp</category>
<category>pinouts</category>

</item>
<item>
    <title>Making it easy to program an ATTiny</title>
    <link>http://www.fanjita.org/serendipity/archives/34-Making-it-easy-to-program-an-ATTiny.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/34-Making-it-easy-to-program-an-ATTiny.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&#039;http://en.wikipedia.org/wiki/Larry_Wall&#039;&gt;Larry Wall&lt;/a&gt; once said that laziness is one of the 3 main virtues of a programmer.  I guess that makes me a great programmer...  Anyway, this post describes my ongoing quest to make programming an ATTiny as painless as possible, something that I seem strangely driven to achieve.
&lt;p&gt;First, a note of explanation of the technique behind all of this. AVR chips include functionality called &lt;b&gt;In Circuit System Programming&lt;/b&gt; (or ICSP, sometimes shortened to ISP).  In essence, this allows the non-volatile memory on the chip to be reprogrammed at any time, even when it&#039;s already embedded in a circuit.  ICSP works by holding the /RESET line low, which disables the normal operation of the chip, and then manipulating some special data lines to effectively communicate with an in-built primitive bootloader.  AVR sell a number of programmer boards that implement ICSP, but they can be quite pricey (~ &amp;pound;50).  All modern Arduino boards include a 6-pin ICSP header, clearly labelled, which allows your Arduino to be reflashed &lt;i&gt;in situ&lt;/i&gt;, if you have such a programmer.  To avoid confusion, I&#039;m going to refer to the device that is generating ICSP control signals as the &lt;b&gt;ICSP master&lt;/b&gt;, and the device being programmed as the &lt;b&gt;ICSP slave&lt;/b&gt;.
&lt;p&gt;The cheapest way to start programming any AVR chip, assuming that you have an Arduino already, is to use the Arduino as an ICSP master, using a sketch that simulates one of AVR&#039;s branded boards.  This is all documented very well &lt;a href=&#039;http://hlt.media.mit.edu/?p=1229&#039;&gt;here&lt;/a&gt;.
&lt;blockquote&gt;Important note: The ArduinoISP sketch delivered with Ardunio 1.0 is broken.  The easiest solution is to install Arduino 022 alongside your 1.0 installation, and follow those instructions (rather than the 1.0 instructions on the same site).&lt;/blockquote&gt;&lt;br/&gt;
&lt;p&gt;That works pretty well, but there are drawbacks:
&lt;ol&gt;&lt;li&gt;It uses up breadboard space, and takes sufficient time to build the circuit that you won&#039;t want to dismantle and remantle every time you program a chip.
&lt;li&gt;You have to upload the ArduinoISP sketch to your Arduino each time.  If you&#039;re working on a project that uses an Arduino talking to another AVR chip, then you have to keep switching sketches.  That&#039;s dull.
&lt;li&gt;You can&#039;t reflash your Arduino&#039;s chip, as it can&#039;t be both an ICSP master and ICSP slave at the same time.
&lt;li&gt;Having to install two versions of the Arduino IDE is annoying.
&lt;/ol&gt;
&lt;p&gt;Surely we can do better than this... &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/34-Making-it-easy-to-program-an-ATTiny.html#extended&quot;&gt;Continue reading &quot;Making it easy to program an ATTiny&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 02 Feb 2012 22:15:00 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/34-guid.html</guid>
    <category>arduino</category>
<category>attiny</category>
<category>icsp</category>
<category>usbtinyisp</category>

</item>
<item>
    <title>Automatic USB disconnector</title>
    <link>http://www.fanjita.org/serendipity/archives/36-Automatic-USB-disconnector.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/36-Automatic-USB-disconnector.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;I use a Linux box with a cheap (but extended-range) bluetooth dongle to monitor the invertor for my solar panels, and also my central heating monitor.  This is fine, except that occasionally the bluetooth dongle seems to crash, and it needs to be physically unplugged to recover.  Since there doesn&#039;t seem to be any comprehensive way to do this through software (you can reset the device, but it doesn&#039;t perform a power interruption so doesn&#039;t recover it sufficiently), I decided to make a little hardware dongle to do it for me.
&lt;p&gt;The design is extremely simple - just use an ATTiny to periodically (perhaps once a day) interrupt the 5V USB line.  All other USB lines (data +/-, GND) pass straight through.  Rather than power the attached device directly from an ATTiny I/O pin (which can only source ~40mA) I drive the attached device&#039;s power line through a PNP transistor (in this case rated at ~ 200mA, which is enough for my purposes, but 500mA would be needed for general purpose USB loads).
 &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/36-Automatic-USB-disconnector.html#extended&quot;&gt;Continue reading &quot;Automatic USB disconnector&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 31 Jan 2012 23:30:00 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/36-guid.html</guid>
    <category>arduino</category>
<category>attiny</category>
<category>usb</category>

</item>
<item>
    <title>Wavetable synthesis with an ATTiny45/85</title>
    <link>http://www.fanjita.org/serendipity/archives/35-Wavetable-synthesis-with-an-ATTiny4585.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/35-Wavetable-synthesis-with-an-ATTiny4585.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=35</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=35</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;Here&#039;s something to aspire to - being able to wring miracles out of the ATTiny as well as this guy: &lt;a href=&#039;http://elm-chan.org/works/mxb/report.html&#039;&gt;Electronic Lives Manufacturing&lt;/a&gt;.
&lt;p&gt;Using just an ATTiny45 and a loudspeaker, he&#039;s able to produce a full, polyphonic musical box using wavetable synthesis, capable of playing tunes with over 300 notes.  It&#039;s a far cry from those musical greetings cards inserts, which are usually just monophonic square wave tone generators and a piezo transducer.
&lt;p&gt;To achieve the necessary speed and compactness (just 4KB of flash space), it&#039;s all written in AVR assembler.  I&#039;m not sure I&#039;ve got time, or room in my head, to learn yet another assembler instruction set, but this is certainly some pretty serious inspiration to get the most of these amazing little chips.
&lt;p&gt;Given that I&#039;ve got ATTiny85s, with double the flash space, I&#039;d quite like to tinker and add some simple extra functionality to this (e.g. deep sleep mode, playing one cycle of the tune for each press of the reset button; and my own choice of tune) but that might have to wait a while. 
    </content:encoded>

    <pubDate>Mon, 30 Jan 2012 23:20:55 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/35-guid.html</guid>
    <category>arduino</category>
<category>attiny</category>
<category>audio</category>

</item>
<item>
    <title>Instrument Tuner - Zero Crossing analysis</title>
    <link>http://www.fanjita.org/serendipity/archives/23-Instrument-Tuner-Zero-Crossing-analysis.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/23-Instrument-Tuner-Zero-Crossing-analysis.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=23</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=23</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;Having captured audio over a microphone, and converted to a voltage suitable for the Arduino ADC, the next challenge is capturing the analogue data and converting it into an estimation of the frequency of the current note being heard.  That&#039;s a fairly tricky problem, as it turns out.
&lt;p&gt;Firstly, the default Arduino analogRead() function is way too slow.  At 100 microseconds per read, that&#039;s a maximum sample rate of 10kHz - and even that is only possible when tight-looping doing reads, and nothing else.  According to Nyquist&#039;s theorem, at a bare minimum I need to be able to sample at at least twice the highest note&#039;s fundamental frequency, which is probably going to be about 1kHz, so double up to 2kHz.  I&#039;d ideally like to sample at least 5-6 times the highest fundamental, and calculating the incoming frequency requires some maths too.  So, I decided to look into alternative approaches.
&lt;p&gt;A naive approach to frequency counting is to count zero-crossings in a given direction - i.e. observe the waveform, and everytime it goes from negative to positive, increment a counter.  Counting the number of crossings in a given time directly gives you the frequency.  It turns out that both the ATTiny85 and the ATmega328 (Arduino) chips both contain an analogue comparator, hooked up in such a way that zero crossing counting can be done extremely efficiently.
 &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/23-Instrument-Tuner-Zero-Crossing-analysis.html#extended&quot;&gt;Continue reading &quot;Instrument Tuner - Zero Crossing analysis&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 29 Jan 2012 00:30:28 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/23-guid.html</guid>
    <category>adc</category>
<category>analogue</category>
<category>arduino</category>
<category>comparator</category>
<category>frequency</category>
<category>timer</category>
<category>tuner</category>

</item>
<item>
    <title>Instrument Tuner - Audio Input Stage</title>
    <link>http://www.fanjita.org/serendipity/archives/22-Instrument-Tuner-Audio-Input-Stage.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/22-Instrument-Tuner-Audio-Input-Stage.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=22</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=22</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;I&#039;ve been experimenting with creating some sort of instrument tuning helper device, as it seemed like a good mix of analog and digital, as well as a useful thing to have around the house after the arrival of a Ukulele shortly after Christmas.
&lt;p&gt;More on the trials and tribulations at the code level later, but I thought I&#039;d experiment with the &lt;a href=&#039;http://fritzing.org&#039;&gt;Fritzing&lt;/a&gt; circuit design package as a means of recording my more complex circuits, starting with the AF input stage for the tuner.  At first glance, Fritzing seems like everything I need:
&lt;ul&gt;&lt;li&gt;It can handle breadboard representations - in fact, you can enter your circuit via the breadboard view and it will automatically generate a schematic and PCB design, if you want them.
&lt;li&gt;The output looks nice
&lt;li&gt;It seems popular
&lt;li&gt;It&#039;s free!&lt;/ul&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/22-Instrument-Tuner-Audio-Input-Stage.html#extended&quot;&gt;Continue reading &quot;Instrument Tuner - Audio Input Stage&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 28 Jan 2012 00:36:33 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/22-guid.html</guid>
    <category>arduino</category>
<category>audio</category>
<category>frequency</category>
<category>tuner</category>

</item>
<item>
    <title>Servo toy</title>
    <link>http://www.fanjita.org/serendipity/archives/21-Servo-toy.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/21-Servo-toy.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=21</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=21</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt; Most recent first...  Yesterday it occurred to me that I haven&#039;t ever played with servo motor control, despite having received one in my Sparkfun starter kit.&lt;/p&gt; 
&lt;p&gt;Since I&#039;d just received a Wii Nunchuck breakout adapter from ThingM Labs, I figured I&#039;d kill two birds with one stone and have a bash at controlling a servo with a nunchuck.&lt;/p&gt; 
&lt;p&gt;The circuit couldn&#039;t be much simpler, just connect the servo power to 0V, 5V and digital pin 9, and plug the breakout board (after soldering on a simple 4-pin header) into analogue pins A2-A5:&lt;/p&gt; 
&lt;p&gt;&lt;!-- s9ymdb:1 --&gt;&lt;img width=&quot;640&quot; class=&quot;serendipity_image_center&quot; src=&quot;http://www.fanjita.org/serendipity/uploads/Photo%2026%20Jan%202012%2021:52.jpg&quot; alt=&quot;The assembled circuit&quot; /&gt; &lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/21-Servo-toy.html#extended&quot;&gt;Continue reading &quot;Servo toy&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 26 Jan 2012 22:36:59 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/21-guid.html</guid>
    <category>arduino</category>
<category>nunchuck</category>
<category>servo</category>

</item>
<item>
    <title>The silence is broken</title>
    <link>http://www.fanjita.org/serendipity/archives/20-The-silence-is-broken.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/20-The-silence-is-broken.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=20</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=20</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;Gosh.&amp;#160; It seems like forever since I blogged here.&amp;#160; And that&#039;s maybe because it is.&lt;/p&gt; 
&lt;p&gt;I&#039;ve discovered a new playground recently with Arduino, and the world of physical computing, and so it seemed worthwhile to start recording some of my adventures.&lt;/p&gt; 
&lt;p&gt; &lt;a href=&quot;http://www.arduino.cc&quot; title=&quot;Arduino homepage&quot;&gt;Arduino&lt;/a&gt; is an incredibly easy way to prototype embedded computing hardware - sometimes known as physical computing, because it&#039;s all about the process of interfacing microcontrollers with the physical world.&amp;#160; Once upon a time, prototyping such hardware required a lot of knowledge, equipment, money and effort - so although I was capable of doing it, I rarely bothered.&amp;#160; But Arduino changes all that - making it trivial to run software within gadgets, and to develop intelligent hardware that can easily interface to a standard PC. &lt;br /&gt;&lt;/p&gt; 
&lt;p&gt;Arduino consists of an IDE, a standardised hardware platform, and a set of libraries, all of which are open source.&amp;#160; If you&#039;ve never tried it, then I urge you to give it a go - you can buy a starter kit that will give you weeks of fun, for less than £50, and it&#039;s a completely open-ended hobby.&lt;/p&gt; 
&lt;p&gt;Anyway, this section of the blog will be used to document some of my Arduino projects, and the lessons that I&#039;ve learnt along the way.&amp;#160; That&#039;s assuming that I can tear myself away from playing for long enough to type things up...!&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 26 Jan 2012 21:19:51 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/20-guid.html</guid>
    <category>Arduino</category>

</item>
<item>
    <title>Say no to Phorm!</title>
    <link>http://www.fanjita.org/serendipity/archives/18-Say-no-to-Phorm!.html</link>
            <category>Blether</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/18-Say-no-to-Phorm!.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    
If you live in the UK, you may be aware that some of the major ISPs (Virgin Media, BT) have been in discussions with an ex-spyware company (Phorm) to set up a system (WebWise) that will eavesdrop on &lt;u&gt;all&lt;/u&gt; of your internet activity, so that it can send you adverts.&lt;p&gt;This is unacceptable - it contravenes several privacy and copyright laws, and although there are claims that it is &#039;completely safe&#039;, the companies involved have displayed a terrible record of deception and disrespect of people&#039;s rights.  The authorities have so far refused to intervene, so it&#039;s up to the people to try to sort things out for themselves.&lt;/p&gt;&lt;p&gt;There are plenty of activist sites on the net to give you information on the issues involved (start at &lt;a title=&quot;Bad Phorm&quot; target=&quot;_blank&quot; href=&quot;http://www.badphorm.co.uk&quot;&gt;Bad Phorm&lt;/a&gt;), and I urge you to take a stand if you value your privacy.  If you&#039;re with one of the affected ISPs (especially BT), then you really should be thinking about getting a new ISP, one that will not sell you down the river.&lt;/p&gt;I&#039;ve done my bit by starting to pull together some easy-to-use tools for webmasters to control who gets to visit their site, and to automatically warn people who are subject to Phorm about the issues facing them.  You can check it out here: &lt;a title=&quot;Phorm Check Database&quot; href=&quot;http://www.phormcheck.co.uk/&quot;&gt;Phorm Check Database&lt;/a&gt; .&lt;br /&gt;&lt;p&gt;On a similar note, I&#039;ve put up a couple of summary pages covering the general consensus on the &lt;a href=&quot;http://iswebwiselegal.com/&quot; title=&quot;Is BT / Phorm WebWise legal?&quot;&gt;legal status of Phorm / WebWise&lt;/a&gt;, and the &lt;a href=&quot;http://iswebwiselegal.co.uk/should_I_trust_bt_webwise.html&quot; title=&quot;Should I trust BT Webwise and Phorm?&quot;&gt;trust issues&lt;/a&gt; surrounding the whole nightmare.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Tue, 28 Oct 2008 01:02:24 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/18-guid.html</guid>
    <category>Blether</category>

</item>
<item>
    <title>The Last Hurrah</title>
    <link>http://www.fanjita.org/serendipity/archives/17-The-Last-Hurrah.html</link>
            <category>Blether</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/17-The-Last-Hurrah.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>215</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    
&lt;p&gt;It&#039;s with much regret that I have to announce that I&#039;m going to retire from the sharp end of the PSP homebrew scene.  The betrayal of trust that preceded the Pandora release was extremely hurtful, and has left me unable to fully trust the people I&#039;d previously enjoyed working so hard with.  And so, I have had to decide to stop working on projects that require that level of trust.&lt;/p&gt;&lt;p&gt;Besides that, life continues to be very busy in the run up to fatherhood, and there are various non-PSP projects that I&#039;d like to play with.  Not to mention the fact that I&#039;m tired of the continual pressure and idiocy of the PSP scene - long gone are the fun days of pioneering amongst like minds, in a mutually supportive and gentlemanly environment.&lt;/p&gt;&lt;p&gt;The Pandora Battery therefore marks my last major PSP project.  I expect that Team C+D and Noobz will continue to release stuff without me, and I still hope to finish up some of the non-exploit projects that I&#039;d been working on (Installotron, piKey etc.).&lt;/p&gt;&lt;p&gt;It was a fun ride while it lasted.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 26 Aug 2007 23:25:03 +0100</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/17-guid.html</guid>
    <category>Blether</category>

</item>
<item>
    <title>Fringe Benefits</title>
    <link>http://www.fanjita.org/serendipity/archives/16-Fringe-Benefits.html</link>
            <category>Blether</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/16-Fringe-Benefits.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=16</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=16</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    
&lt;p&gt;I mentioned a while back (&amp;quot;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/12-Busy-busy-busy.html&quot; title=&quot;Busy Busy Busy&quot;&gt;Busy Busy Busy&lt;/a&gt;&amp;quot;) that I&#039;ve been working on a non-PSP project recently.&lt;/p&gt;&lt;p&gt;Well, it&#039;s a website that has recently gone live, although there&#039;s lots of exciting content still in the pipeline for the next few weeks.  The website is &lt;a href=&quot;http://www.fringeguru.com&quot; title=&quot;Fringe Guru&quot;&gt;FringeGuru.com&lt;/a&gt;, and essentially it&#039;s a visitor&#039;s guide to the Edinburgh Festivals (including the famous Fringe) - not so much about what&#039;s on, but more how to make the most of it and to &amp;quot;do&amp;quot; the festivals most effectively.&lt;/p&gt;&lt;p&gt;I think it&#039;s going to be a great resource for the thousands of people who descend upon Edinburgh each year - if you&#039;re planning to come here this summer, then why not take a look?&lt;/p&gt;&lt;p&gt;
&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 18 Jul 2007 23:31:00 +0100</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/16-guid.html</guid>
    <category>Blether</category>

</item>
<item>
    <title>The Roll of Dishonour</title>
    <link>http://www.fanjita.org/serendipity/archives/15-The-Roll-of-Dishonour.html</link>
            <category>Idiot's Corner</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/15-The-Roll-of-Dishonour.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=15</wfw:comment>

    <slash:comments>16</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=15</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    
&lt;p&gt;Aharrrr!  Here be a list of scurrrvy dogs that be writing to me for blatant help with piracy.&lt;/p&gt;&lt;p&gt;Don&#039;t want to be on the list? Then don&#039;t send me stupid emails.&lt;/p&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/15-The-Roll-of-Dishonour.html#extended&quot;&gt;Continue reading &quot;The Roll of Dishonour&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 11 Jul 2007 21:04:39 +0100</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/15-guid.html</guid>
    <category>Idiot's Corner</category>

</item>
<item>
    <title>The morality of downgrading</title>
    <link>http://www.fanjita.org/serendipity/archives/14-The-morality-of-downgrading.html</link>
            <category>Blether</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/14-The-morality-of-downgrading.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=14</wfw:comment>

    <slash:comments>48</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=14</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    
&lt;p&gt;So, we recently released the v3.50 PSP downgrader, and it was interesting to see how many people commented on forums etc, to the effect of &amp;quot;every time you release a downgrader, you&#039;re boosting piracy on the PSP&amp;quot;.  That got me thinking - is piracy my fault?&lt;/p&gt;&lt;p&gt;After a lot of soul searching, I&#039;m satisfied that the answer is no.  And here&#039;s why...&lt;/p&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/14-The-morality-of-downgrading.html#extended&quot;&gt;Continue reading &quot;The morality of downgrading&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 01 Jul 2007 17:28:00 +0100</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/14-guid.html</guid>
    <category>Blether</category>

</item>

</channel>
</rss>
