Site is over 10000 visits!

Thanks! šŸ˜€

3D snake game for the LEDcube


I’ve just finished the next application for my FadeCube, a 3D snake game! It is a very small pure C application, developed under Linux with CodeBlocks IDE. It uses a multithreaded solution. Actually it is my first try to use POSIX threads.

The first thread is listening for the keyboard. Another one is computing the snake pieces and the food. Tthe third is responsible to render the cube data and sends it to the cube. It’s always blocked on a mutex, until the snake thread sends a signal.

The snake length is always incremented when it eats šŸ™‚ . It is controlled by WASD and /’ buttons.

The result:

It seems much better in live.

The code:



Six channel audio selector with remote control

Hi again!

Today I’m going to show You an audio selector, which I made for my friend and which has an extra feature: it can be controlled with a regular IR remote controller (which you probably have at home :)).

I could say it is a general remote control reciever library with a demo application: an audio selector :-). I could say this because I completely rewrote my infra red handling code, which I made for my IR remote switch, on a way that it can be used for any other applications easily. The decoding is the same as before, I have 4 IR remote controls around me, and it works with 3 of them. The biggest improvement is that you don’t have to measure the startbit with an other application before you can use one of your controllers, it is automatic now. The code is under 2kBytes, so you can port it even to an ATtiny25 (I used ATmega8, cause (now at Hungary) it is for the same price as an ATtiny or an ATmega48). An other comfort feature is to remember the last selected source in case of the device is switched off.

Read more ›

10x10x10 ledcube


This time I will show my biggest project, since I make electronic applications at home. This is a led cube, which is not a new thing in 2011, but I wanted to make my version somehow different then the others’.

Read more ›

Mastech MAS-345 digital multimeter Windows GUI


Now I finally swapped out my old multimeter, because I got a Mastech MAS-345. The device itself is very cool, with lot of extra features (backlight, capacity and temperature measurement, autorange, etc.), including a PC interface (RS232). However the multimeter is cool, the software is not. The first thing is, the included CD stores an extremely old software for it, it can not run on x64 Windows. I found one home-made GUI for it, with the same result. But the best is the broken download link on the manufacturers homepage šŸ™‚ . So I couldn’t find any native solution for windows, than IĀ  started my own.

Read more ›

Genius SP-HF 2000X Speakers – Eliminate power supply hum

Let me tell you a story about my Genius 2000X Speakers.
I am very satisfied with the tone of these speakers. Only one thing which disturbing is a soft hum. I use it with a laptop and when I go to bed the computer is delayed to shutdown but the speakers are on all night. If the shutdown is earlier as I would fall asleep then I hear the hum from the speakers. So I decided to eliminate somehow. I had some failed try but finally succeeded. Read more ›

IR remote switch


Today I will show you, what is in my 8 channel remote switch system. It is for to control (switch on/off) electronic devices, which normally haven’t got any IR reciever on them.

The very first idea was just to catch some IR transmission, which comes from a remote controller (of a TV, or an old video player, etc.) with an AVR. I used TSOP31233 to recieve the raw data. As I couldn’t find any general description about IR transmission protocols or anything like this, I had several unsuccesful try. But finnaly I found out a quite usable algorithm to identify the difference or the conformity between two buttons on a controller. Some minutes after this, I had the plan šŸ™‚ . Read more ›

Mood lamp

Hello World!

In this post, I will show you my RGB LED powered mood lamp. Now for first, let’s see the result:

It was placed into a cheap lamp enclosure from IKEA. I took out the original 230V socket, and placed my panel in.

Read more ›

Digital clock

Hi everybody,

Today I will show you, how I built my digital clock. Many years ago, when I didn’t know what the microcontroller is, and in the secondary school we learned about TTL logics, I couldn’t imagine how to build, for example a digital clock. Now I already have one šŸ™‚

Read more ›

Bicolor led matrix with atmega8


Today I’m going to show you, how could I draw and play some animation on a bicolor 8×8 led matrix. Approximately a year ago, I found a used, but cheap matrix (it was about 2ā‚¬). I think this is the most common pinout for the bicolor led matrixes:

So the schematic is is:

The control is rather simple. One line is drawed at once, but this line is changing very quickly. Thats why the human eye can see one still picture, not just blinking lines. Basically the matrix is driven by shift registers, vertically and horizontally as well. So it consumes only 4 IO pin (two for the data (hor. and vert.) and two for the clocks). The uC could be any attiny variant of the AVR family, but in this case, the AVR have to store all of the frames.

Read more ›