<?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>Plingboot</title>
	<atom:link href="http://www.plingboot.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.plingboot.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 10 Aug 2011 17:39:36 +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>mbed audio flash trigger</title>
		<link>http://www.plingboot.com/mbed-sound-flash-trigger</link>
		<comments>http://www.plingboot.com/mbed-sound-flash-trigger#comments</comments>
		<pubDate>Wed, 10 Aug 2011 17:27:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.plingboot.com/?p=170</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.plingboot.com/wp-content/uploads/2011/08/flash.jpg" alt="" title="sound flash trigger" width="500" height="262" class="alignnone size-full wp-image-171" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plingboot.com/mbed-sound-flash-trigger/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mbed numitron ticker</title>
		<link>http://www.plingboot.com/mbed-numitron-ticker</link>
		<comments>http://www.plingboot.com/mbed-numitron-ticker#comments</comments>
		<pubDate>Fri, 12 Feb 2010 16:17:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.plingboot.com/?p=74</guid>
		<description><![CDATA[Thanks hackaday This quick mbed test project took just a couple of hours to complete&#8230; a battery powered web based numitron ticker! I had some numitrons lying around left over from a another half finished project. These nixie look-a-like 7 segment displays run on &#60; 5V and can be wired directly to the mbed. No [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.plingboot.com/wp-content/uploads/2010/02/numitron1.jpg" alt="" title="numitron" width="500" height="262" class="alignnone size-full wp-image-143" /><br />
<span id="more-74"></span><br />
Thanks <a href="http://hackaday.com/2010/02/12/internet-controlled-scrolling-numitron/">hackaday</a></p>
<p>This quick <a href="http://mbed.org/">mbed</a> test project took just a couple of hours to complete&#8230; a battery powered web based numitron ticker!</p>
<p><object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=831d96eb1c&#038;photo_id=4345742755"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=831d96eb1c&#038;photo_id=4345742755" height="300" width="400"></embed></object></p>
<p>I had some numitrons lying around left over from a <a href="http://www.flickr.com/photos/limpfish/sets/72157622241985191/">another half finished project</a>. These nixie look-a-like 7 segment displays run on &lt; 5V and can be wired directly to the mbed. No additional electronics to drive huge numbers of displays here. Just quick and dirty hackery with each segment of each of the three displays directly connected to an mbed digital-out pin (there&#8217;s 30 of them, just enough for 3 numitrons). Simple.</p>
<h3>IV9 Numitron</h3>
<p><img src="http://www.plingboot.com/wp-content/uploads/2010/02/numitron.jpg" alt="pin-out numitron" title="numitron" width="500"  class="alignnone size-medium wp-image-113" /><br />
&nbsp;</p>
<h3>The mbed Pin-outs</h3>
<p><a title="mbed pin outs by limpfish, on Flickr" href="http://www.flickr.com/photos/limpfish/4348536993/"><img src="http://farm3.static.flickr.com/2744/4348536993_b1a89f9ac7.jpg" alt="mbed pin outs" width="500" height="319" /></a></p>
<p>Coding was fairly trivial, after initial success at turning outputs on &amp; off and then displaying characters (well, as best I could with a numeric 7 seg display).  I thought I&#8217;d try to expand it a little.</p>
<p>The mbed&#8217;s online compiler made it really easy to add an <a href="http://mbed.org/projects/cookbook/wiki/HTTPClient">http client</a> from their repository. I gave it a try and attempted to read a string from a web server. Worked first time.  On the web side of things &#8211; ignoring the obvious twitter hook up &#8211; some basic PHP handled a web form and saved the posted text string to a web accessable file to be grabbed by the mbed and scrolled across the 3 numitrons.</p>
<p><a title="ethernet wired directly by limpfish, on Flickr" href="http://www.flickr.com/photos/limpfish/4349447878/"><img src="http://farm5.static.flickr.com/4001/4349447878_7b2793c1f3.jpg" alt="ethernet wired directly" width="375" height="500" /></a></p>
<p><em>Ethernet connects directly to the mbed.</em></p>
<p>&nbsp;</p>
<p>Here&#8217;s my code</p>
<pre>
#include "mbed.h"
#include "HTTPClient.h"

HTTPClient http;

DigitalOut numitron[3][7] ={
                        {p5,p6,p7,p8,p9,p10,p11},  // output pins
                        {p12,p13,p14,p15,p16,p17,p18},
                        {p19,p20,p21,p22,p23,p24,p25}
                    };

void show(int display, int letter)
{

int charac[26][7]={
       // SEGMENTS:  A B C D E F G
                    {1,1,1,0,1,1,1},  // 0 : A
                    {1,1,1,1,1,1,1},  // 1 : B
                    {1,0,0,1,1,1,0},  // 2 : C
                    {1,1,1,1,1,1,0},  // 3 : D
                    {1,0,0,1,1,1,1},  // 4 : E
                    {1,0,0,0,1,1,1},  // 5 : F
                    {1,0,1,1,1,1,0},  // 6 : G
                    {0,1,1,0,1,1,1},  // 7 : H
                    {0,0,0,0,1,1,0},  // 8 : I
                    {0,1,1,1,1,0,0},  // 9 : J
                    {0,1,1,0,1,1,1},  //10 : K
                    {0,0,0,1,1,1,0},  //11 : L
                    {1,1,1,0,1,1,0},  //12 : M
                    {1,1,1,0,1,1,0},  //13 : N
                    {1,1,1,1,1,1,0},  //14 : O
                    {1,1,0,0,1,1,1},  //15 : P
                    {1,1,1,1,1,1,0},  //16 : Q
                    {1,1,1,0,1,1,1},  //17 : R
                    {1,0,1,1,0,1,1},  //18 : S
                    {0,0,0,1,1,1,1},  //19 : T
                    {0,1,1,1,1,1,0},  //20 : U
                    {0,1,1,1,1,1,0},  //21 : V
                    {0,0,0,0,0,0,0},  //22 : W
                    {0,0,0,0,0,0,0},  //23 : X
                    {0,1,1,1,0,1,1},  //24 : Y
                    {1,1,0,1,1,0,1}   //25 : Z

                  };

    for(int i=0;i&lt;7;i++)
    {
       numitron[display][i]=charac[letter][i];
    }

}
int main(void)
{
  char s[64];

  int strlength;

  while(1)
    {

    for (int j=0;j&lt;64;j++)
    {
    s[j] = '\0';
    }

    http.get("http://192.168.0.1/test/text.txt", s);

    strlength =  strlen(s);

    //pad with blanks
    s[strlength+1]="X";
    s[strlength+2]="X";
    s[strlength+3]="X";

    for (int j=0;j&lt;strlength;j++)
    {

        show( 2, s[j]-65);
        show( 1, s[j+1]-65);
        show( 0, s[j+2]-65);  

        wait(0.36);
    }

    }
}</pre>
<p><a title="Untitled by limpfish, on Flickr" href="http://www.flickr.com/photos/limpfish/4349293622/"><img src="http://farm5.static.flickr.com/4072/4349293622_8041db1f42.jpg" alt="" width="500" height="375" /></a></p>
<p>There we have it, all running from a 9v battery. It took next to no time to complete. Lots of room for improvement, I know. Maybe I&#8217;ll add more numitrons, or more likely ditch it and try <a href="http://mbed.org/esc/">something else completely</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plingboot.com/mbed-numitron-ticker/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generating a geocaching heat map</title>
		<link>http://www.plingboot.com/generating-a-geocaching-heat-map</link>
		<comments>http://www.plingboot.com/generating-a-geocaching-heat-map#comments</comments>
		<pubDate>Sat, 08 Sep 2007 18:31:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.plingboot.com/?p=25</guid>
		<description><![CDATA[I recently wrote a quick PHP program to generate a heat map for geocaching.com&#8217;s &#8216;My Finds&#8217;. It takes their GPX file, parses it and layers the points on a UK map&#8230; it then sticks a 70&#8242;s Michael Fish on for good measure before sending it direct to your PC. Try it here : http://www.poieditor.com/geocache-heatmap/ although [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.plingboot.com/wp-content/uploads/2007/09/Untitled-2.jpg" alt="" title="Untitled-2" width="500" height="262" class="alignnone size-full wp-image-136" /><br />
<span id="more-25"></span><br />
I recently wrote a quick PHP program to generate a heat map for <a href="http://www.geocaching.com">geocaching.com&#8217;s</a> &#8216;My Finds&#8217;.  It takes their GPX file, parses it and layers the points on a UK map&#8230; it then sticks a 70&#8242;s Michael Fish on for good measure before sending it direct to your PC.</p>
<p>Try it here : <a href="http://www.poieditor.com/geocache-heatmap/"> http://www.poieditor.com/geocache-heatmap/</a> although you&#8217;ll  need to be a signed up geocacher to use it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.plingboot.com/generating-a-geocaching-heat-map/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB chewing gum</title>
		<link>http://www.plingboot.com/usb-chewing-gum</link>
		<comments>http://www.plingboot.com/usb-chewing-gum#comments</comments>
		<pubDate>Sun, 27 Nov 2005 18:32:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.plingboot.com/?p=27</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.plingboot.com/usbchew.jpg" alt="usb chewing gum" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plingboot.com/usb-chewing-gum/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

