|
"...let light shine out of darkness..."
Three serial data streams control the colors
As opposed to my two previous circuits (https://everycircuit.com/circuit/6420598886236160 and https://everycircuit.com/circuit/6571612822044672) in which each LED was controlled individually in parallel, this version controls the LEDs in sequence by serial data.
The red, green and blue serial information is marked by the red, green and blue waveform respectively. Each of the 10 RGB LEDs is connected to a counter which functions as a register. The register loads the current color data from the red, green and blue serial streams. By sampling the data at the right time, the LED will cycle through the colors. Each LED group is delayed slightly from the one before, giving the rolling color effect.
Since every RGB LED is controlled by serial data, they do not all refresh immediately (like if they where in parallel). Instead it takes time for all the LEDs to change to the next color. At high speed, this effect is not seen, but slow the simulation speed down and you should see the LEDs refresh from left to right.
|