<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://torkildr.no/feed.xml" rel="self" type="application/atom+xml" /><link href="https://torkildr.no/" rel="alternate" type="text/html" /><updated>2026-02-23T07:33:06+00:00</updated><id>https://torkildr.no/feed.xml</id><title type="html">Torkild’s Stuff</title><entry><title type="html">Wall mounted Arduino display</title><link href="https://torkildr.no/2012/04/07/wall-mounted-arduino-display/" rel="alternate" type="text/html" title="Wall mounted Arduino display" /><published>2012-04-07T02:15:08+00:00</published><updated>2012-04-07T02:15:08+00:00</updated><id>https://torkildr.no/2012/04/07/wall-mounted-arduino-display</id><content type="html" xml:base="https://torkildr.no/2012/04/07/wall-mounted-arduino-display/"><![CDATA[<p>For the last few months, my ongoing, slowly paced project, has been making a wall mounted display.</p>

<!--more-->

<p>I recently bought an Arduino to play around with, and wanted to find some semi-useful purpose for it (probably to justify the purchase). After doing some research, I found a project which gave me a bunch of great ideas.</p>

<p>Based on the code and basic components from <a href="http://www.instructables.com/id/PS2You-Go-anywhere-LED-digital-message-board/" title="this project">this project</a>, the idea was crafted: What I wanted was, a wall mounted, interaction free display, able to show different information from a configurable data source. The “simple” solution to this is to make it web-capable, and throw up some simple web server, serving pre-processed data at in properly sized chunks.</p>

<p>The code for the device is a work in progress, and will probably never be “finished”, but does currently support NTP-time synchronization, with cycling data feeds to come. Complete source code can be found at <a href="https://github.com/torkildr/display" title="github">github</a>. A lot of the display driver code, as well as some of the display library code is based on the “PS/2/You” project, mentioned above. The variable width font I created (because let’s face it, it’s just that much cooler), can be found <a href="https://github.com/torkildr/BitmapFont" title="here">here</a>.</p>

<p>The parts list for this project should be pretty straight forward, but it might be worth to note that a lot of the code is pretty tightly tied in with the display I used.</p>

<ul>
  <li><a href="http://www.sparkfun.com/products/9950" title="Arduino Uno R3">Arduino Uno R3</a>: Anything Atmega328-ish will probably do, this I had lying around.</li>
  <li><a href="http://www.sparkfun.com/products/9026" title="Arduino Ethernet Shield">Arduino Ethernet Shield</a>: Probably any Wiznet W5100 will do, but the shield comes in handy together with the Uno.</li>
  <li><a href="http://www.sparkfun.com/products/10088">Project enclosure</a>: Nice for keeping things tidy, specially cables.</li>
  <li>Four <a href="http://www.sureelectronics.net/goods.php?id=1118">Sure P4 32X8 Green LED Dot Matrix displays</a>: Great value for the price. Decent quality, and works well with the Atmega. (there’s no reason this setup shouldn’t work with fewer displays, but 4 in daisy chain is maximum supported out of the box).</li>
  <li>5V voltage regulator, with proper amount of capacitors (display power supply).
<!--kg-card-end: markdown--></li>
</ul>]]></content><author><name></name></author><category term="wall-display" /><category term="project" /><category term="arduino" /><summary type="html"><![CDATA[For the last few months, my ongoing, slowly paced project, has been making a wall mounted display.]]></summary></entry><entry><title type="html">Connection trouble, solutions, epiphanies..</title><link href="https://torkildr.no/2010/11/25/connection-trouble-solutions-epiphanies/" rel="alternate" type="text/html" title="Connection trouble, solutions, epiphanies.." /><published>2010-11-25T22:11:03+00:00</published><updated>2010-11-25T22:11:03+00:00</updated><id>https://torkildr.no/2010/11/25/connection-trouble-solutions-epiphanies</id><content type="html" xml:base="https://torkildr.no/2010/11/25/connection-trouble-solutions-epiphanies/"><![CDATA[<p>Last week, my trusty old server recently went down, or more correctly, the internet connection it resides on, for a pretty prolonged period of time. Shouldn’t really be a big surprise, and some might say that it was a miracle something hadn’t gone majorly wrong earlier, as hosting anything out of your home internet connection is an inherently wonky model.</p>

<p>Alas, for the last 5 or so years, my home server (though upgraded several times), and in part, my more or less stable internet connection, has housed anything I could throw at it. Mostly this has been used for ssh-connections, file/svn/git-hosting, and for the last couple of years, mail.</p>

<p>As I said, it’s a wonder it has worked as good as it has, but the moment I found out my server would be without connection for the better part of the week, it was time to reconsider some proper hosting. I’ve been considering a virtual private server for some time, and lately, I’ve heard a lot of good things (as well as it having a good price point) about <a href="http://www.linode.com/?r=b98cf60236d3837985fa3511f7f57361a542618a">Linode</a> (shameless referral plug!).</p>

<p>After an hour or so from signing up, <a href="http://trommelyd.no">Trommelyd</a> was running properly in a freshly installed Apache at a freshly set up Ubuntu install (seriously! &lt;5 minutes from I decided to go for it to I sat there in root login!). A couple or so hours later, the first DNS-propagations started to hit DNS-servers, and the site started looking alive again, I started seeing hits in the logs, and my all my internet related worries started to fade away…</p>

<p>Anyways… What have I learned from all this?</p>

<ol>
  <li>Backup? Yes! I used it! While my home server was without internet, my off site backup was all and well and was willing to copy over all I needed to bring the site back up.</li>
  <li>Norwegian Post’s effectiveness? Not so much. I’m still waiting on a callback as to why my VDSL modem was never delivered at time. Bah…</li>
  <li>VPS, worth it? YES! Just on how streamlined the process was for setting the server up, the price point, what I have seen from hardware capabilities this far, I’m not looking back.
Here is a snip from the HTTP-load time logs for both servers. This number doesn’t really tell all that much, but it should give some idea as to the capabilities of the new host. My old server, though no power horse, a dual core AMD-processor, has trouble keeping up with a VPS on shared awesome hardware (you notice the average load time is an order of magnitude lower).</li>
</ol>

<p><img src="__GHOST_URL__ /content/images/2014/Mar/http_loadtime_week_beate.png" alt="Load time home server" /><br />
 <img src="__GHOST_URL__ /content/images/2014/Mar/http_loadtime_week_kaylee.png" alt="Load time hosted server" /></p>

<!--kg-card-end: markdown-->]]></content><author><name></name></author><category term="ubuntu" /><category term="linode" /><summary type="html"><![CDATA[Last week, my trusty old server recently went down, or more correctly, the internet connection it resides on, for a pretty prolonged period of time. Shouldn’t really be a big surprise, and some might say that it was a miracle something hadn’t gone majorly wrong earlier, as hosting anything out of your home internet connection is an inherently wonky model.]]></summary></entry><entry><title type="html">Trommelyd for Android released!</title><link href="https://torkildr.no/2010/09/21/trommelyd-for-android/" rel="alternate" type="text/html" title="Trommelyd for Android released!" /><published>2010-09-21T17:09:59+00:00</published><updated>2010-09-21T17:09:59+00:00</updated><id>https://torkildr.no/2010/09/21/trommelyd-for-android</id><content type="html" xml:base="https://torkildr.no/2010/09/21/trommelyd-for-android/"><![CDATA[<p>This is the announcement of the release of Trommelyd for Android™, the official application for <a href="http://trommelyd.no">Trommelyd</a>.</p>

<p>The project is hosted on <a href="http://github.com/torkildr/Trommelyd">GitHub</a>, and is licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>.</p>

<p>There are more features planned ahead.. Just you wait!</p>

<!--kg-card-end: markdown-->]]></content><author><name></name></author><summary type="html"><![CDATA[This is the announcement of the release of Trommelyd for Android™, the official application for Trommelyd.]]></summary></entry></feed>