Category: Arduino

This will be a very, very short post. I found out there is a few things in my google code page I don’t have a “blahg” entry for, my old ClickButton library for the Arduino is one of them.

Basically, I was annoyed by some of my formerly named variables and some minor stuff (hello, OCD?). That, and also someone asked a question about it so I took another look at it. Above all it is untested, for now, so feel free to report back any problems. Or go back to the previous version.

It still just copes with one button, but I included a simple example using an array of ClickButton objects for more buttons.

It features basically two types of button clicks; short and long clicks, and can test for click-and-hold. Button logic does not matter (active low or active high buttons).

I removed the maxPresses (max click count) limit, it seemed unnecessary.

Until next time,

Morse endecoder

Morse EnDecoder



This is just a little writeup about a Morse code encoder and decoder I made for the Arduino platform. I spotted someone asking for one at the Arduino forum in november 2010, even offering a reward, but alas I was too late for that. No matter, for reasons unknown to me (I’m actually not that into Morse) this is one of many small projects I have been meaning to get around to, but lacking impetus I hadn’t yet done (as with many others). And besides, I would’nt really sell “my” morse decoder anyway. So I gave it away 🙂

Here is the project page on google code, with description of how to use it in your own programs:

What follows is basically just a little explanation as to how it works. Continue reading

Just an extremely minor update about the Cubeduino.
Continue reading

Acrylic casing!

Acrylic casing!


Time for a little update regarding my build of the “cubeduino”. I finally got a nice acrylic casing on it.
Continue reading


First, I haven’t really blogged before, so this blog is also (hopefully) a work in progress. It will probably look really bad. For starters I have no idea why it is so narrow! Sorry about that!

Also, I absolutely wanted an offline editor on my Linux box for the blog. For the moment that is Bleezer (link at bottom). Doesn’t seem to be supported anymore, but that’s the one I got working-ish. The point about this is that every time I update this blog, the comments disappears… sorry about that too. And I will try not to update it via Bleezer if and when comments appear (Sorry to my brother who has supplied me with a couple of nice comments already!).



This is about an electronic Rubik’s cube like display thing I’ve made. Except it’s not completely finished yet, but for now I do have a working Rubik’s Revenge (as the Rubik’s cube 4 x 4 x 4 is called) on it. It is based on the Arduino platform using an Atmega 328 microcontroller, lots of RGB LEDs and shiftregisters. I have dabbled a little in electronics and programming from time to time throughout the years, but very periodically.
Continue reading