Now that I’ve finished some of the scientific work that was monopolizing my time, here’s some geeky and nerdy gadget for Linux fans. BTW, why is it that trying to find out what “geeky and nerdy” actually means, is also “geeky and nerdy” :-) ?
It’s just a rehash of the 8×8 RGB matrix, but as I didn’t have any better ideas (yeah, could’ve made a pumpkin thingy…) I just wrote a little perl script and modified the firmware a bit.
Behold: THE LOAD MONITOR !
It needs the PERL module Device::SerialPort installed!
perl -MCPAN -e shell
The user must also have RW access to the serial port (e.g. /dev/ttyUSB0). On openSUSE this is done with putting the user into the UUCP group ( as of openSUSE 11.2 it is ‘dialout’ ! ) + re-login.
Just one color right now, no moving history yet. I will upgrade it tomorrow I think.
→ Update 1: 26.10.2008:
Put some colors into it. Low load: green, high load: red
→ Update 2: 28.10.2008:
Now comes with a history graph and stylish new colors. Bottom and top color can be set in the perl script (HSV color space).
→ Update 3: 29.10.2008:
Next update to the perl script. Now implements a scrolling history plot, instead of restarting at the left edge.
OK. I declare this project as finished. Maybe I’ll get a nice wooden box for it.
→ Update 3: 24.11.2008:
Some illustration on how the matrix is redrawn by the ISR routine and how the ON/OFF stream is created for each LED.
→ Update 4: 22.11.2009: