The Sparkle has got to be one of the most popular and satisfying Crumbs (components) for the Crumble. It is an easy to use RGB LED, and as such, allows a variety of different colours to be produced. If this wasn’t enough, you can chain up to 32 together, and individually control them!

You need to connect the + and – output on the Crumble to the corresponding pads on the Sparkle, and you need to connect D on the Crumble to the data in pad on the Sparkle. The Crumble should connect to the left-hand-side of the Sparkle (as pictured above).

Note: Don’t forget you will need to add batteries.

Screeny Shot 9 Nov 2017, 11.11.06

These are the blocks associated with the Sparkle. You can program individual Sparkles, or control them all. You can even choose specific RGB values.

Screeny Shot 9 Nov 2017, 11.10.32

This code, which repeats forever, turns Sparkle(0) (which is the first one) red, then waits 200ms, then turns it blue and waits another 200ms.

This is the end result.

The same principles apply to our other Sparkle-based projects, including the Sparkle Baton and Matrix.

Where next?

There are numerous possibilities for one Sparkle, including the option of 16777216 different colours! Or if you chain (connect) multiple Sparkles together, or use a Sparkle Baton, you could convey messages, create disco lights or even count in binary!