So I decided to look at how I could code for this device. I found this very useful (albeit quite old) article on USB HID devices, a wery well though standard for this kind of devices (and keyboards, mouses, joysticks).
I also used a USB protocol analyzer to see what data was sent to the device. I managed to make it accept any color I want (whereas the bundled software only has green, red and blinking blue).
Each component is 5 bits, that makes some noticable transitions between adjacent colors. Also not all colors we use to get on LCD displays are available, because there is no black.
Here is a small image of an orange notifier.
I made 3 command line programs (building them requires the Windows DDK):
- a simple color setter, arguments are R G B
- a HUE wheel switcher
- a CPU usage related color, green beeing 0%, red 100%
There is certainly many other possible uses for this cheap device:
- An IMAP4 mail notifier, making use of all IMAP4 features
- An automatic build indicator, for example for CruiseControl
- an event remainder
- ...
As usual source code will be send on request.
9 comments:
Hey wow awesome the software for this really annoyed me too, I was wondering if I could check out your source :)
how do i get in contact with you?
hi....could u send me how to do that...?? with the cpu i mean... bill88frost@hotmail.com
It would be adorable if you could give the source code in your next post with explanation.
no code?
what data did you send to the device to display custom RGB values?
i know its been a while - dont suppose you still have the source code at all do you?!
email sarcasm_kingdom@hotmail.com
Hi frederic,
I'm very intrested about your development.
Could you please send me your source code?
Thanks!
mathiouse@gmail.com
Source code, please! :)
Source code, please! :)
Post a Comment