How does it work?
UT-L 7-SEG B Click is based on two blue JSS-5611BUB-21s, ultra-thin single-digit numeric displays from Ningbo Junsheng Electronics. This high-intensity and reliable blue source color device is made with Indium-Gallium-Nitride light-emitting diode conducting material. It features low current operation, high light output, excellent character appearance, and is mechanically rugged. The display can work on 5V and 3.3V and has a common anode as its internal design. It consists of seven blue 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 UT-L 7-SEG B Click is established via an industry-standard shift-register-plus-latch-type serial interface and the MAX6969, 16-port constant-current LED driver from Analog Devices. This driver has a 4-wire serial interface using four inputs and a data output. The output-enable input (OE) gates to all 16 outputs ON and OFF and is fast enough to be used as a PWM input for LED intensity control. The constant-current outputs are programmed together to around 15mA using a single external resistor.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC 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
JSS-5611BUB-21 – ultra-thin single-digit numeric display from Ningbo Junsheng Electronics
Key Features
0.56-inch digit height, 7 blue segments, and eighth decimal point, light intensity control, low current operation, excellent character appearance, displays letters, numbers, and symbols, and more
Interface
SPI
Feature
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 UT-L 7-SEG B 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 | VCC SEL | Left | Power/Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5 |
UT-L 7-SEG B Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Operating Current | – | 15 | – | mA |
Software Support
We provide a library for the UT-L 7-SEG B 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 UT-L 7-SEG B Click driver.
Key functions
-
utl7segb_display_number
UT-L 7-SEG B display number function. -
utl7segb_enable
UT-L 7-SEG B enable function.
Example Description
This example demonstrates the use of the UT-L 7-SEG B Click board™ by writing and displaying the desired numbers on the screen.
void application_task ( void )
{
for ( uint8_t hex_num = 0x00; hex_num < 0xFF; hex_num++ )
{
if ( UTL7SEGB_OK == utl7segb_display_number( &utl7segb,
UTL7SEGB_BASE_NUM_SYS_HEXADECIMAL,
hex_num,
UTL7SEGB_NO_DOT ) )
{
log_printf( &logger, " --- %.2X ---rn", ( uint16_t ) hex_num );
Delay_ms( 500 );
}
}
}
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.UTL7SEGB
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.