EveryCircuit
Contact
Reviews
Home
592azy2circuitdude
modified 3 years ago

Scrolling RGB LED Strip - Serial Data

7
0
507
03:50:24
"...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.
published 3 years ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy