Binary clock, version 2.0

Submitted by Emil on Thu, 02/05/2009 - 18:20

Using only nine pins for output compared to the twenty pins used in version 1.0, my binary clock 2.0 is far more advanced both were it comes to the wiring and the coding.

It could have been done using Charlieplexing and only five pins, but that would have made the code much more complicated.

I'm currently considering getting rid of the three time setting indicators at the bottom and blinking the selected column instead. This will probably be the case in version 3.0, which is to be built as a watch.

Binary clock, version 1.0

Submitted by Emil on Thu, 02/05/2009 - 18:17

The first version of my binary clock, where each LED has a corresponding pin on the PIC.

The yellow cords to the left should connect to three buttons. The PIC is a PIC16F887, which is a slight overkill for a project that uses 20 output and 3 input pins, but I wanted to be sure that my first project would work.

The next version will be built on a PIC16F630, which is about a sixth of the 887's size.

Compacting Firefox

Submitted by Emil on Sat, 11/08/2008 - 09:33

Just found this nice Firefox add-on that made it possible to better use the screen resolution my laptop has: Compact Menu 2. Install it, restart Firefox, right click the toolbar and drag the compact menu button out, drag the activity indicator down from the menu bar and finally, right click the menu bar and remove the tick next to "Menubar". Voila!

Update: Also try the Classic Compact theme to save even more space.

mod_rewrite is awesome!

Submitted by Emil on Thu, 07/17/2008 - 21:31

mod_rewrite is an amazing module for Apache! First time I came in contact with it was when installing Drupal once a long time ago. Back then, I thought it was extremely awesome and guessed it was really hard to implement myself. Yesterday, I started using it and found that it was in fact quite easy.

Upcoming: KlargodutUpload

Submitted by Emil on Mon, 07/14/2008 - 22:03

As the geekiest soldier in the Central Band of the Royal Swedish Army Band 2008, I am responsible for the band's unofficial website: http://www.amk2008.se.

One thing I and others with me have found problematic is uploading images to the site. Formerly, I used standard html file upload controls to send the files one by one. But as it used to crash when sending large files and the process of uploading many files became quite a pain, I decided to code a client-server java + php & mysql solution.