How does it work?
BIG 7-Seg R Click is based on the SC10-21SRWA, a single-digit numeric display from Kingbright. This super bright red source color device is made with a Gallium Aluminium Arsenide red light-emitting diode. It features low current operation, high light output, excellent character appearance, and is mechanically rugged. The display works on 5V and has a common cathode as its internal design. It consists of seven red LED segments that form an 8 number and the eighth segment as a decimal point, or DP.
The communication between the host MCU and the Big 7-Seg R Click is established via a 4-Wire SPI serial interface and the 8-bit serial-IN, parallel-OUT 74HC595, a shifter register with 3-state output registers from Texas Instruments. The shift register provides a separate clock for both the shift and the storage register. In addition, you can set all shift register values to zero by applying logic LOW state on pin MR, and this function is independent of all clocks. One of the main features of the Big 7-Seg R Click is light intensity management. The light intensity can be set over the PWM pin.
The SC10-21SRWA display is a 5V-only device. To work with 3.3V logic MCUs, this Click board™ features five SN74LVC1T45s, single-bit dual-supply bus transceivers with configurable voltage translation, and 3-state outputs from Texas Instruments. These noninverting transceivers use two separate configurable power-supply rails and are designed for asynchronous communication between the two data buses.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the DATA SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, this Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used as a reference for further development.
Specifications
Type
7-segment,LED Segment
Applications
Can be used for the development of many applications requiring a visible display or others that display numerical/textual information
On-board modules
SC10-21SRWA – single-digit numeric display from Kingbright
Key Features
One-inch digit height, red 7 segments, and eighth decimal point, light intensity control, low current operation, excellent character appearance, displays letters, numbers, and symbols, and more
Interface
SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on BIG 7-SEG R Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1 | DATA SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
BIG 7-SEG R Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Software Support
We provide a library for the BIG 7-SEG Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for BIG 7-SEG Click driver.
Key functions
-
Turn OFF BIG 7-SEG display
-
Function write number
-
Function write character
Example Description
This application sets seven-segment leds on the display.
void application_task ( )
{
uint8_t counter;
big7seg_reset7seg( &big7seg );
big7seg_display_on( &big7seg );
Delay_1sec( );
big7seg_write_data( &big7seg, 0x40 );
Delay_1sec( );
big7seg_write_data_character( &big7seg, 'B' );
Delay_1sec( );
big7seg_write_data_character( &big7seg, 'I' );
Delay_1sec( );
big7seg_write_data_character( &big7seg, 'G' );
Delay_1sec( );
big7seg_write_data( &big7seg, 0x08 );
Delay_1sec( );
big7seg_write_data_number( &big7seg, 7 );
Delay_1sec( );
big7seg_write_data( &big7seg, 0x40 );
Delay_1sec( );
big7seg_write_data_character( &big7seg, 'S' );
Delay_1sec( );
big7seg_write_data_character( &big7seg, 'E' );
Delay_1sec( );
big7seg_write_data_character( &big7seg, 'G' );
Delay_1sec( );
big7seg_write_data( &big7seg, 0x00 );
Delay_1sec( );
for ( counter = 65; counter < 91; counter ++ )
{
big7seg_write_data_character( &big7seg, counter );
Delay_1sec( );
}
big7seg_display_off( &big7seg );
Delay_1sec( );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Big7Seg
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.