Archive for the 'Hacks & Tweeks' Category
Harlem Shake with a Stewart platform
I have a project assignment to do for one of my university courses (Numerical Analysis). The project is about modeling a Stewart platform in MATLAB. I took it a step further and animated a Harlem Shake of the final result. Enjoy the video after the hop.
Read more
Master Thesis Prototype
Currently I am doing my Master Thesis at the Department of Electrical and Information Technology, Lund University. In this project we are aiming to demonstrate a new concept for improving traffic safety using wireless communication between vehicles.
This image is a sneak peak into our second prototype. Can you guess what the lower part is? The final report will be published here in the beginning of June.
2 commentsBlocket Contest Solution

As I mentioned last week I have participated in a contest. In total I got 17 points, which means 7 extra points out of 10 for my solution in the last challenge. That puts me in place 28, or in place 3, depending if you consider everybody with the same points in the same place or not.
Here comes my solution, the problem description can be found in the picture above.
Read more
Blocket Easter Eggs Contest

Blocket.se
Blocket.se is a Swedish online market for buying and selling goods. They are very big and probably exist in your country too under a different name.
They are now hiring people and what better way to recruit programmers than setting up a contest? They have hidden 10 easter eggs (geeky riddles) in the guts of their website and the challenge is to find them and provide the right answers.
Me and a friend of mine have found them all. We also found out that the last egg has a follow-up task which you are not required to complete. However, I have completed it and I will post my answer here after the contest ends on the 7:th of April.
1 commentArduino LCD Keypad Shield – Clock Application
UPDATED: I removed all delay(); calls because they were not accurate enough and there was a time drift. Instead now there is a while(); that waits until the required time has passed.
Recently I found here a really cheap LCD shield with buttons for Arduino.
Today it arrived and I made a simple clock program to test it out. It’s little slow when refreshing the screen but it’s perfect for the price.
A really cool application would be to use it together with a Raspberry Pi to execute simple commands and see the status of a small web server.
Here are some pictures, a video and the code for the clock application. It is using the LCDKeypad C++ class which can be found here.
- LCD Keypad
- Arduino and LCD Keypad
Read more No comments
RFID tag emulation with an AVR
Some time ago I read this article about using an AVR ATtiny85 microcontroller to emulate an EM4102 RFID tag and today I thought of giving it a try.
I used an Arduino as an ISP programmer to program the ATtiny85 with this source code. The electronics used:
- 1x AVR ATtiny85
- 1x 10uF capacitor
- 1x 22uF ceramic capacitor
- 1x Home-made coil from toilet paper cardboard
Here are some pictures and a video from the result:
- ArduinoISP programmer
- Emulated tag
Box2D Test iOS Application
So I started learning some Box2D to improve skills in game programming. Box2D is a physics engine written in C++. Many games use a graphics engine but not a physics engine. The graphics engine usually accelerates the graphics on the GPU but what makes movements look realistic is the physics engine.
Because Box2D is written in C++ you cannot simply use it in your iOS project, but thanks to Objective-C++ support you can change your file extensions to .mm and then simply use C++ in your Objective-C project.
In this example im not using a graphics engine, only Box2D and basic UIKit elements (UIView). Next step would be to do a similar example using a graphics engine like Cocos2D.
Source code: https://github.com/Dimme/Box2DTest
2 commentsRaspberry Pi Unboxing Video

I have been waiting in the queue for months in order to purchase a Raspberry Pi. Raspberry Pi is a very small computer with very powerful (for it’s specs) graphics. It costs only $35 and of course I got one!
So here comes a small video that I made while unboxing it.
No commentsEuro 2012 Greece iPhone App
The past 2 weeks I have been making an iPhone application for the team of Greece in the UEFA EURO 2012 championship. Right after the 1-1 against Poland, Apple has now released my application to the public.
I was hoping for them to be a little faster but better late than never. This is the version 1.0 and if you are interested about Greece or just simply want a livescore application for Euro 2012 in greek, you can download it from here for free:
Here are some screenshots of the first version. Version 1.1 will be submitted shortly and will contain more live information about the games and teams.
Summer Project – FleetWars
So now it has come to this. Summer is here and I feel the need to to something. I applied for a summer job but didn’t get an answer, so the project for this summer is called Fleet Wars!
Fleet Wars will be a massive multiplayer on-line role playing game placed in the outer space. Long name? Sure, some of you might recognize these types of games as MMORPG. It will be a web-based 2D game with some animations to begin with. There are plans to move beyond this plattform but there is a need for a base first. The launch date will be some time this summer, I do not want to make any promisses for definite dates.
And now to some shameless self-promotion:
- Website: http://fleetwars.net
- Facebook: http://www.facebook.com/FleetWars.Net
- Twitter: http://twitter.com/FleetWars
- Google+: http://plus.google.com/102394202512304455298












