hColorLED
Monday, April 21st, 2008
hColorLed is a AVR USB MCU firmware to manipulate tricolor LED, with color transition and timing, controlled through USB-HID (Human Interface Device) by computer host.
This is a demostration implementation of my UsbAvrUsb project.
With this device, I could control a Red, Green and Blue LED through a user-space program from my Windows. The program accepts RGB or HSV input, with timing parameter to control the speed of transition.
The LED has a 15-bit color resolution theoretically (32 brightness grades for each primary color). The brightness is controlled by PWM, with a 128Hz cycling rate.
Usage
Currently this can only compiled by avr-gcc. Windows user might want to check out WinAVR. Once the zip file is unpacked, it should able to built by avr-gcc.
For the implementation details and protocol, please refer to the next page.
Please also refer to the my UsbAvrUsb project, the library that this software is built upon. Also UsbHid, a C# program for controlling USB-HID device in Windows.
Source Access
Subversion Repository: http://svn.hellosam.net/hcolorled/trunk
Change Log
- v1.0.0.0
Initial release
License
hColorLED by Sam Wong is licensed under a GNU General Public License 2.0.
































































English