|
19 January 2007
Last weeks problem with the rope light, Unfortunately the 24 bit route to a solution did not work, as I have since measured the number of bits to be more like 1937, but by sending one and one only at a time, a pattern emerges. The pattern seems to be, each LED is allocated 3 bits, red, green & blue and for 250 LEDs as in the sample rope still equates to 750 bits, all sent serially with a clock, then an enable pulse at the end. This format at least appeared to be repeatable and reliable, however the customer really wanted DMX control of the rope.
So a new problem.
After some searching on the WEB I found the full DMX protocol and with the loan of a simple DMX controller, I have now managed to read eight dimmer levels into registers on a PIC, and a rock bottom PIC at that (16C55), no serial in hardware, but at 16Mhz it appears to reliably read these commands.
Fun as it is I must now concentrate on a very real job of the LEDLIFT26 and the problems of giving it a CE mark, though I think this is more an exercise in paperwork, than any real technology.
|