RGB LED Bricklet

Features

  • 1x RGB LED
  • 24 bit color resolution

Description

The RGB LED Bricklet can be used to extend the features of Bricks with the capability to control a RGB LED. Each of the three channels (red, green, blue) can be controlled individually with 8 bit resolution.

Technical Specifications

Property Value
LED WS2812B
Current Consumption
Black: 25mW (5mA at 5V)
White: 225mW (45mA at 5V)
   
Luminous intensity (R, G, B) 390-420mcd, 660-720mcd, 180-200mcd
   
Dimensions (W x D x H) 25 x 20 x 5mm (0.98 x 0.79 x 0.19")*
Weight 2g

* Because of a lack of attention on our part the RGB LED Bricklet with hardware version 1.0 was produced with a size of 25 x 17.5 x 5mm (0.98 x 0.69 x 0.19"). It is was unfortunately not in our standard 5mm grid. This was fixed with version 1.1.

Resources

Test your RGB LED Bricklet

To test a RGB LED Bricklet you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.

Connect the RGB LED Bricklet to a Brick with a Bricklet Cable.

If you connect the Brick to the PC over USB, you should see a new tab named "RGB LED Bricklet" in the Brick Viewer after a moment. Select this tab.

RGB LED Bricklet in Brick Viewer

If everything went as expected you can now control the RGB LED color with different sliders:

RGB LED Bricklet animation

After this test you can go on with writing your own application. See the Programming Interface section for the API of the RGB LED Bricklet and examples in different programming languages.

Case

Coming soon...

Programming Interface

See Programming Interface for a detailed description.

Language API Examples Installation
C/C++ API Examples Installation
C# API Examples Installation
Delphi/Lazarus API Examples Installation
Java API Examples Installation
JavaScript API Examples Installation
LabVIEW API Examples Installation
Mathematica API Examples Installation
MATLAB/Octave API Examples Installation
Perl API Examples Installation
PHP API Examples Installation
Python API Examples Installation
Ruby API Examples Installation
Shell API Examples Installation
Visual Basic .NET API Examples Installation
TCP/IP API    
Modbus API