How to create an Usb controlled rgb light that changes colour depending on input from pc?
8
answers
|
Answer it!
|
http://www.youtube.com/watch?v=zZTWdrwuiCE
He has written his own program to control it via an colour wheel on the pc and outputs via usb to serial chip.
After an bit of thought i came up with "why not use an xbee rfid module and make it wireless aswell"
I've been looking at some diagrams and it should be possible to communicate it as the arduino has an daughter board for the xbee which would translate the data to serial.
Then as frollard says i could use the pwm outputs to control the leds.
Dont suppose anyone would be willing to work out an wiring diagram from the above video for me so that i can work out an prototype board?
And of course once tested ill put an instructable up crediting them so that others can make one.
Just more of an update really...... It Lives!
I have an arduino controlled RGB light and have coded an wmp visualization to send colour codes via an Com port.
However, I cant seem to get the below line in VC++ 2008 to take the com port as an variable, Or get the properties box for the visualization to save the Entered Com port text. e.g. "COM5" Help!?
m_hCommPort = CreateFile("COM5",GENERIC_WRITE,
0, NULL, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED |
FILE_FLAG_NO_BUFFERING,NULL);
![]() |
































