UT-S 7-Segment R Click-Platine
UT-S 7-Segment R Click-Platine
Overview
Das UT-S 7 Seg R Click Board™ verwendet zwei ultradünne SMD DSM7UA20101 7-SEG-LED-Displays, die mit der patentierten Technologie hergestellt werden, die eine Dicke von nur 2,1 mm ermöglicht. Diese Displays werden vom MAX6969 angetrieben, einem integrierten LED-Treiber mit konstantem Strom von Maxim Integrated, der die serielle SPI-Schnittstelle zur Kommunikation verwendet und eine stabile und konstante Stromquelle für die LED-Segmente liefert.
Die 7-Segment-LED-Anzeige ist die am häufigsten verwendete Anzeigeart zur Darstellung sich ändernder numerischer Werte. Das Prinzip ist sehr einfach: Sieben LED-Segmente sind in einer bestimmten Form angeordnet und durch Ein- oder Ausschalten bestimmter Segmente leuchtet die Form, die einer bestimmten Zahl ähnelt. Diese Methode zur Anzeige von Zahlen wurde erstmals zu Beginn des 20. Jahrhunderts verwendet, ist aber nach der Erfindung der LED im Jahr 1970 die am häufigsten verwendete Methode zur Anzeige von Zahlen. Dabei wird ein ziemlich einfaches und kostengünstiges Design verwendet, bei dem die Zahlen deutlich sichtbar sind. Ob es sich um eine Uhr auf dem Nachttisch, eine Werbetafel am Flughafen, eine Anzeige an einer Maschine, eine Tafel an einem Instrument oder eine Anzeige an der Zapfsäule an der Tankstelle handelt – die Zahlen sind immer gut zu sehen und zu lesen, auch im Dunkeln.
The UT-S 7 Seg R Click Board™ uses two SMD ultra-thin DSM7UA20101 7-SEG LED displays, made with the patented technology that delivers thickness of only 2.1 mm. Those displays are driven by the MAX6969, a constant current LED integrated driver from Maxim Integrated, which uses the SPI serial interface for communication and delivers steady and constant power source for the LED segments.
How Does The UT-S 7 SEG R Click Board™ Work?
The UT-S 7 Seg R Click Board™ drives two LED seven segment displays with the MAX6969, a LED driver integrated circuit, built to drive this kind of displays. The current through the segments is set as constant, by the resistor connected between the GND and the SET pin of the IC. In this case, it is kept at around 23 mA, as per segment requirements. The click can work with both 3.3V and 5V, selectable by the PWR SEL jumper.
The used displays are SMD type DSM7UA20101 LED thin displays from VCC company, with medium sized (5.08mm/0.20") numerical characters. The characters can perfectly fit to a smaller dimension housing, and emit a red light.
The UT-S 7 Seg R Click Board™ uses the SPI communication lines. The data received via the SPI serial interface is kept inside the internal serial-to-parallel shift register. The reading process happens when the LE (load enable) pin is set to the logic HIGH state. When the LE pin of the click is altered to a logic LOW state, the content of the serial-to-parallel shift register is shifted to the sixteen output latches. The latches are connected to the output pins - from OUT0 to OUT15 respectively, driving the LED segments of the two 7 SEG displays.
Outputs can be additionally turned off and on by the OE pin of the click, routed to the #OE pin of the MAX6969 IC itself. The signal is inverted by the means of the additional NPN transistor, so the logic LOW state of the OE pin will turn off the outputs, regardless of the inverted nature of the #OE pin on the IC itself. The state change on OE pin will not alter the content of the latches, so it can be used to dim the LED segments by applying the PWM signal. For this reason, the OE pin is routed to the PWM pin of the mikroBUS™.
The serial data is also sent out via the SDO pin of the click during the rising edge of the CLK (clock) signal, so daisy chaining of several devices is also possible.
Libraries supported with this click allow for an easy implementation in the code and the included example demonstrates the functionality of the click, using the functions that these libraries provide. The example can also be used as a reference or a starting point for any custom application design.
SPECIFICATIONS
Type | 7-segment,LED Segment |
Applications | Displaying characters on two 7 segment displays |
On-board modules | MAX6969 16-Port, 5.5V Constant-Current LED Driver |
Key Features | Low power, low profile SMD 7 seg displays, common anode, serial 4-Wire communication, up to 25Mbit/s |
Interface | PWM,SPI |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the UT-S 7 Seg R Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | OE | Output-Enable Input | |
NC | 2 | RST | INT | 15 | NC | ||
Load-Enable Input | LE | 3 | CS | RX | 14 | NC | |
Clock Input | SCK | 4 | SCK | TX | 13 | NC | |
Serial Data Output | SDO | 5 | MISO | SCL | 12 | NC | |
Serial Data Input | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | +3.3V | 7 | 3.3V | 5V | 10 | +5V | Power supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR LED | - | Power indication LED |
JP1 | PWR SEL. | Left | Power supply voltage selection, left position 3V3, right position 5V |
Software Support
We provide a library for the UT-S 7 Seg R Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions for the UT-S 7 Seg R Click Board™ control.
Key functions
uts7segr_writeData
- Generic write function
uts7segr_writeNumDec
- Writes decimal number
uts7segr_writeNumHex
- Writes hexadecimal number
Example Description
The demo application is composed of three sections:
- System Initialization - Initialize GPIO pins and SPI module for communication with UT 7SEG click.
- Application Initialization - Driver Initialization and turning on the lights by setting PWM pin to logical 1.
- Application Task - Contains four sequences:
- The first sequence shows how to use generic write functions by providing minus and custom.
- The second sequence is a demonstration of the counter using the function for decimal numbers.
- The third sequence is a demonstration of the counter using the function for hexadecimal numbers.
- The fourth sequence is a demonstration of the counter using a function with dot option.
NOTE: Brightness can be adjusted using the MCUs PWM module. In that case, GPIO setup for PWM pin is not necessary.
void applicationTask() { uts7segr_writeData( _UTS7SEGR_MINUS, 0xFF ); counter = 0; while (counter < 3) { uts7segr_lightCtl( 0 ); Delay_ms( 200 ); uts7segr_lightCtl( 1 ); Delay_ms( 300 ); counter++; } counter = 0; while (counter < 100) { uts7segr_writeNumDec( counter ); Delay_ms(100); counter++; } counter = 0; while (counter < 0xFF) { uts7segr_writeNumHex( counter ); Delay_ms(100); counter++; } counter = 0; while (counter < 100) { uts7segr_writeNumDot( counter, _UTS7SEGR_DOT_L ); Delay_ms(100); counter++; } }
The full application code, and ready to use projects can be found on our LibStock page.
MIKROSDK
This click board is supported with mikroSDK, the MikroElektronika Software Development Kit. To download mikroSDK visit LibStock.
Software Support
We provide a library for the UT-S 7 Seg R Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions for the UT-S 7 Seg R Click Board™ control.
Key functions
uts7segr_writeData
- Generic write function
uts7segr_writeNumDec
- Writes decimal number
uts7segr_writeNumHex
- Writes hexadecimal number
Example Description
The demo application is composed of three sections:
- System Initialization - Initialize GPIO pins and SPI module for communication with UT 7SEG click.
- Application Initialization - Driver Initialization and turning on the lights by setting PWM pin to logical 1.
- Application Task - Contains four sequences:
- The first sequence shows how to use generic write functions by providing minus and custom.
- The second sequence is a demonstration of the counter using the function for decimal numbers.
- The third sequence is a demonstration of the counter using the function for hexadecimal numbers.
- The fourth sequence is a demonstration of the counter using a function with dot option.
NOTE: Brightness can be adjusted using the MCUs PWM module. In that case, GPIO setup for PWM pin is not necessary.
void applicationTask() { uts7segr_writeData( _UTS7SEGR_MINUS, 0xFF ); counter = 0; while (counter < 3) { uts7segr_lightCtl( 0 ); Delay_ms( 200 ); uts7segr_lightCtl( 1 ); Delay_ms( 300 ); counter++; } counter = 0; while (counter < 100) { uts7segr_writeNumDec( counter ); Delay_ms(100); counter++; } counter = 0; while (counter < 0xFF) { uts7segr_writeNumHex( counter ); Delay_ms(100); counter++; } counter = 0; while (counter < 100) { uts7segr_writeNumDot( counter, _UTS7SEGR_DOT_L ); Delay_ms(100); counter++; } }
The full application code, and ready to use projects can be found on our LibStock page.
MIKROSDK
This click board is supported with mikroSDK, the MikroElektronika Software Development Kit. To download mikroSDK visit LibStock.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.