Me RGB LED
The Me RGB LED module comprises four adjustable and panchromatic RGB LEDs. The color of each LED can be decided by the values of red (R), green (G), and blue (B). With built-in control chip in each RGB LED, you need only a single signal line to implement independent full-color function. It features adjustable brightness, so the effects of running water, twinkling, and rainbow light can be achieved. Its yellow ID means that it has a single-digital port and needs to be connected to the port with yellow ID on Makeblock Orion.
- Operating voltage: 5V DC
- Quantity of LED: 4 x RGB LED
- Maximum current: 60mA each, 240mA in total
- LED type: WS2812-4
- Luminance range: 0~255
- Control mode: Single-digital port control
- Angle of visibility: >140°
- Module size: 51 x 24 x 18 mm (L x W x H)
- With 256 levels of brightness for the RGB color of each pixel, it features true color display of 16,777,216 colors and scanning frequency no less than 400Hz
- With concatenated serial ports, you can complete receiving and decoding of data with a single line
- White area of module is the reference area to contact metal beams
- Anti-reverse protection – connecting the power supply inversely will not damage IC
- Support mBlock GUI programming, and applicable to users of all ages
- Adopt RJ25 port for easy connection
- Provide pin-type port to support most development boards including Arduino series
The port of Me Ultrasonic Sensor has three pins, and their functions are as follows:
● Connecting with RJ25
Since the port of Me Ultrasonic Sensor has yellow ID, you need to connect the port with yellow ID on Makeblock Orion when using RJ25 port.
Taking Makeblock Orion as example, you can connect to ports No. 3, 4, 5, 6, 7, and 8 as follows:
● Connecting with Dupont wire
When the Dupont wire is used to connect the module to the Arduino UNO Baseboard, its SIG pin should be connected to digital port as follows:
Guide to programming
● Arduino programming
If you use Arduino to write a program, the
Makeblock-Library-master should be invoked to control the Me RGB LED. This is a routine to change the color of four LEDs regularly to implement beautiful color cycling through Arduino programming.
● mBlock programming
Me RGB LED supports the mBlock programming environment and its instructions are introduced as follows:
Me RGB LED adopts the mode of single-line-return-to-zero code as its communication protocol. When the pixel is in power and reset, the DIN end receives the data sent from the controller. The first 24 bits of the data are retrieved by the first pixel and sent to the data latch for the pixel; the rest of the data is reshaped and amplified by internal reshaping circuit, and then forwarded to the next cascaded pixel through the DO port. The signal is reduced by 24 bits transmitted through a pixel. The automatic reshaping and forwarding technology is used by the pixels, so that the number of cascaded pixels is not limited by the transmission of signal, but limited by the speed of signal transmission.
RGB color table: http://tool.oschina.net/commons?type=3