Monthly Archives: April 2006

Project Voxel – Laboratory

We have set up a laboratory for development, and I have installed Ubuntu on the computer we use. Now it’s just the rest left. We also had a meeting where we discussed the report.

Project Voxel – Card12 has arrived!

Finally, the m68hc12 card has arrived. It is neat, fast and good-looking. Bundled with a good manual, it was easy to start with the development. I have already downloaded and modified the ermat program to the chip, and to my great surprise it worked perfectly from the beginning. However, it was extremely slow thanks to a stupid compiler (at least I think). I rewrote the syncdata() function, and somehow it sped up about a hundred times. Funny.

If we are using one image per degree of the display, it can output 3,7 Hz of monitor update frequency. This is too low, of course, so we will probably reduce the “phi-resolution” (a new term invented by me) to one image each fifth degree. This would give us 20 Hz, which is OK for our purposes. In a real product, this speed must increase, of course; but this is only a prototype.

Project Voxel – Sjölanders Mekaniska

We have now ordered the axles and parts that make up the frame for the display. I am nearly completed with the programming.

Project Voxel – Debugging

Spend a hard day debugging and cleaning up the code in ermat. We also had a briefing with George, and found out that the HC12 cards should arrive in one week.

Project Voxel – Run-length encoding

I have worked further on xirmat and ermat to use run-length coding. Now, the output of xirmat is compressed and then hard-coded into ermat’s souce code. Ermat then uncompresses the data, one byte at a time.

The compression is highly effective, and reduces the 113 KiB file to a 3 KiB one, which can be hard-coded into a header file.

I still need to solve the problem on how to accurately display the right image on right time.