MikroElektronika
Matrix RGB click
Matrix RGB click
SKU:MIKROE-2239
Out of stock
Couldn't load pickup availability
Share
Matrix RGB click is a mikroBUS™ add-on board powered by a 32-bit FT900 MCU designed specifically for powering 16x32 RGB LED matrices. The board has a 16 wire IDC connector for connecting to a single 16x32 LED panel; however, the firmware inside the FT900x chip can drive more than one panel. Multiple panels can be connected to each other into a daisy-chain configuration (see the video). Matrix RGB click communicates with the target MCU through the SPI interface. It uses a 3.3V power supply only. Complete ?kits with Matrix RGB click, a single 32x32 RGB LED matrix panel (consisting of two 16x32 matrices joined together), and a power supply unit are available to order.
Alternatively, panels and power supplies can be purchased separately.
Specification
Type | LED Matrix |
Applications | Driving up to 16 16x32 RGB LED panels (more than 32 is possible, but flickering may occurr) |
On-board modules | 32-bit FT900 MCU |
Key Features | Can drive up to 16 panels of 16x32 RGB LEDs, Removes the load from the host MCU |
Key Benefits | Custom firmware simplifies integration, Able to drive multiple panels chained together, Microcontroller can be accessed through separate IDC connector |
Interface | GPIO,SPI |
Input Voltage | 3.3V |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Features and usage notes
RGB Panels are driven by shift registers. There are 9 shift registers for driving LED colors and row selections effectively, along with 3 pins to latch, clock and enable leds. There are 2 for each color, 3 for row selection( A, B, C ), clock pin ( CLK ), latch pin ( STB ), and a OE / enable pin. Top row color shift registers are labeled R1, G1 and B1, while bottom row color registers are labeled R2, G2 and B2. Row selection registers are used to make re-writes appear more fluent. While your row selection is set to row 0, row 8 will also be updated. Shifting data onto R1, B1 and G1, will update row 0 data, and R2, B2, and G2 will update row 8.
Multiple panels can be connected to each other into a daisy-chain configuration (see the video). Matrix RGB click communicates with the target MCU through the SPI interface. It uses a 3.3V power supply only.
A detailed development guide is available on the learn page.
However powerful, Matrix RGB click is only a driver board, and you need to have one or more RGB panels and a power adapter to see the output. Make sure to buy them along with the click.
A full Matrix RGB development kit is also available. It includes matrix RGB click, 32x32 RGB LED Matrix Panel - 6mm pitch, 12V-3A power supply with EU plug (can power up up to two panels)
Programming
This snippet shows how to initialize the matrix, add scrolling text, scroll bitmap images, all with different colors and speeds very easily.
1 #include "matrixrgb_hw.h" 2 #include "resources.h" 3 ? 4 sbit MATRIXRGB_CS at GPIOD_ODR.B13; 5 sbit MATRIXRGB_READY at GPIOD_IDR.B10; 6 sbit MATRIXRGB_RST at GPIOC_ODR.B2; 7 ? 8 void system_setup( uint8_t width, uint8_t height ); 9 ? 10 void main() 11 { 12 color_t my_color; 13 ? 14 system_setup( 2, 1 ); 15 ? 16 matrixrgb_scroll_img_left( MikroE_Sign_bmp, 32, 32, 4 ); 17 matrixrgb_scroll_off_scrn_down( 4 ); 18 matrixrgb_set_color( &my_color, 1, 1, 1 ); 19 matrixrgb_scroll_text_right( "Matrix ", my_color, 10, 10 ); 20 matrixrgb_set_color( &my_color, 1, 0, 0 ); 21 matrixrgb_scroll_text_left( "R", my_color, 10, 1 ); 22 matrixrgb_set_color( &my_color, 0, 1, 0 ); 23 matrixrgb_scroll_text_left( "G", my_color, 10, 1 ); 24 matrixrgb_set_color( &my_color, 0, 0, 1 ); 25 matrixrgb_scroll_text_left( "B ", my_color, 10, 1 ); 26 matrixrgb_set_color( &my_color, 1, 1, 1 ); 27 matrixrgb_scroll_off_scrn_up( 10 ); 28 matrixrgb_set_color( &my_color, 1, 0, 0 ); 29 matrixrgb_scroll_img_right( MikroeBITMAP_bmp, 64, 16, 10 ); 30 matrixrgb_scroll_off_scrn_right( 10 ); 31 matrixrgb_set_color( &my_color, 1, 0, 0 ); 32 matrixrgb_image_load( MikroeBITMAP_bmp, 64, 16 ); 33 matrixrgb_scroll_img_right( MikroeBITMAP_bmp, 64, 16, 10 ); 34 while(1) 35 { 36 matrixrgb_scroll_text_left( "MikroElektronika", my_color, 3, 16 ); 37 matrixrgb_set_color( &my_color, 1, 1, 1 ); 38 matrixrgb_scroll_text_left( "Matrix", my_color, 20, 10 ); 39 matrixrgb_set_color( &my_color, 1, 0, 0 ); 40 matrixrgb_scroll_text_left( "R", my_color, 20, 1 ); 41 matrixrgb_set_color( &my_color, 0, 1, 0 ); 42 matrixrgb_scroll_text_left( "G", my_color, 20, 1 ); 43 matrixrgb_set_color( &my_color, 0, 0, 1 ); 44 matrixrgb_scroll_text_left( "B", my_color, 20, 1 ); 45 ? 46 } 47 } 48 ? 49 void system_setup( uint8_t width, uint8_t height ) 50 { 51 52 GPIO_Digital_Output( &GPIOD_BASE, _GPIO_PINMASK_13); // Set Chip Select pin as output 53 GPIO_Digital_Output( &GPIOC_BASE, _GPIO_PINMASK_2 ); // Set Reset pin to output 54 GPIO_Digital_Input( &GPIOD_BASE, _GPIO_PINMASK_10); // Set Ready to input 55 ? 56 // Initialize SPI 57 SPI3_Init_Advanced(_SPI_FPCLK_DIV2, _SPI_MASTER | _SPI_8_BIT | 58 _SPI_CLK_IDLE_LOW | _SPI_FIRST_CLK_EDGE_TRANSITION | 59 _SPI_MSB_FIRST | _SPI_SS_DISABLE | _SPI_SSM_DISABLE | _SPI_SSI_1, 60 &_GPIO_MODULE_SPI3_PC10_11_12); 61 ? 62 MATRIXRGB_RST = 0; //Reset slave ( toggle ) 63 Delay_ms(20); 64 MATRIXRGB_RST = 1; 65 Delay_ms(200); 66 ? 67 matrixrgb_init( width, height ); 68 Delay_ms(200); 69 ? 70 }
Code examples that demonstrate the usage of Matrix RGB click with MikroElektronika hardware, written for mikroC for ARM, AVR, dsPIC, FT90x, PIC and PIC32 are available on Libstock.




New Products
-
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / perSold out -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / perSold out -
Sold out
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 149.00Regular priceUnit price / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 12" (30 cm)
Vendor:POLOLURegular price Rs. 279.00Regular priceUnit price / perSold out -
Wires with Pre-Crimped Terminals 10-Pack M-F 6"
Vendor:POLOLURegular price Rs. 339.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-M 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color F-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Sold out
Pololu 30T Track Set - Black
Vendor:POLOLURegular price Rs. 1,809.00Regular priceUnit price / perSold out -
Pololu High-Power Stepper Motor Driver 36v8
Vendor:POLOLURegular price Rs. 3,119.00Regular priceUnit price / perSold out -
Sold out
Pololu USB AVR Programmer v2.1
Vendor:POLOLURegular price Rs. 1,239.00Regular priceUnit price / perSold out -
3-Channel Wide FOV Time-of-Flight Distance Sensor for TI-RSLK MAX Using OPT3101
Vendor:POLOLURegular price Rs. 6,289.00Regular priceUnit price / perSold out -
75:1 Micro Metal Gearmotor MP 6V with 12 CPR Encoder, Side Connector
Vendor:POLOLURegular price Rs. 3,149.00Regular priceUnit price / perSold out -
Happy hacker bundle - Crazyflie 2.1 Brushless
Vendor:BitcrazeRegular price Rs. 62,804.00Regular priceUnit price / perSold out -
Lighthouse explorer bundle - Crazyflie 2.1 Brushless
Vendor:BitcrazeRegular price Rs. 129,999.00Regular priceUnit price / perRs. 131,985.00Sale price Rs. 129,999.00Sold out