MikroElektronika
7-SEG RGB click
7-SEG RGB click
SKU:MIKROE-2734
Couldn't load pickup availability
Share
7-SEG RGB click carries a full-color single 7 segment digit display. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over the CS, and PWM pin on the mikroBUS™ line.
The click can be connected in a chain, in order to display a larger number of characters. Unlike with conventional 7 segment displays, you will be able to use multiple colors on the display.
Display features
Each segment has R, G, B LEDs that can be adjusted in 255 steps and therefore 16,581,375 color combinations are available for each segment of the digit on the display.
Also, the ability to control the brightness of all the LED's is driven at 255 steps. It should be noted that the brightness values above 80 should rarely be used.
Specifications
Type | LED Segment |
Applications | Displaying digits and letters on a seven segment in full color |
Brightness | Adjustable from 0 to 255 steps |
On-board modules | RGBdigit full color single 7 Segment digit display |
Key Features | Multi-colored display |
Interface | PWM |
Input Voltage | 3.3V or 5V |
Click board size | L (57.15 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on 7-SEG RGB click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Jumpers and settings
Designator | Name | Default Position | Default Option | Description |
---|---|---|---|---|
JP1 | Logic level | Left | 3.3V | Data in level Voltage Selection 3V3/5V, left position 3V3, right position 5V |
Programming
Code examples for 7-SEG RGB click, written for MikroElektronika hardware and compilers are available on Libstock.
Code snippet
The following code snippet writes the numbers 1, 2 and 3 in green, red and blue colors on 7-SEG RBG click.
01 #define ONE 0x06 02 #define TWO 0x5B 03 #define THREE 0x4F 04 sbit CS_BIT at GPIOD_ODR.B13; 05 sbit RGB_CONTROL_BIT at GPIOA_ODR.B0; 06 void systemInit() 07 { 08 GPIO_Digital_Output( &GPIOD_BASE, _GPIO_PINMASK_13 ); 09 GPIO_Digital_Output( &GPIOA_BASE, _GPIO_PINMASK_0 ); 10 } 11 void RGB_7_SEG_Init() 12 { 13 RGB_CONTROL_BIT = 0; 14 CS_BIT = 0; 15 } 16 void RGB_7_SEG_Task() 17 { 18 setSevenSegment(ONE,40,0,0); 19 Delay_ms(1000); 20 setSevenSegment(TWO,0,40,0); 21 Delay_ms(1000); 22 setSevenSegment(THREE,0,0,40); 23 Delay_ms(1000); 24 } 25 void main() 26 { 27 systemInit(); 28 RGB_7_SEG_Init(); 29 while( 1 ) 30 { 31 RGB_7_SEG_Task(); 32 } 33 }




New Products
-
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / perSold out -
Sold out
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / perSold out -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
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