7x10 B click is essentially a dual character display capable of showing letters, numbers, and characters in more readable typefaces since the 7x5 resolution is the standard one for displaying ASCII characters. This type of resolution is more readable than the 14-segment display.
The dot matrix can also show scrolling text, thus fitting longer messages in small space. Two 74HC595 8-bit shift registers are used for driving the columns of the LED matrix separately. The 74HC595 is a 8-bit, serial-in, parallel-out shift register. The rows of the LED are connected to the decoded outputs of CD4017 through ULN2003. CD4017 is a 5-stage Johnson counter and ULN2003 is a high-voltage, high-current Darlington transistor array. The Johnson counter (CD4017) performs the necessary LED multiplex and the current amplification that's needed for driving the LEDs is performed by a Darlington Transistor array.
Type | LED Matrix |
Applications | 7x5 dot matrix text display for user interfaces, for example on vending machines |
On-board modules | Matrix of 70 blue LEDs driven by a pairs of 8-bit serial-in, parallel-out shift registers, a Darlington Transistor array and a Johnson counter |
Key Features | Displays letters in highly readable format, scrolling text capability |
Interface | GPIO,SPI |
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 7x10 B click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Designator | Name | Default Position | Default Option | Description |
---|---|---|---|---|
JP1 | VCCIO SEL. | Left | 3V3 | Logic level voltage and power supply selection 3V3/5V, left position 3V3, right position 5V |
JP1 - this jumper allows you to select the logic level voltage for the communication lines and power supply voltage. If it's in the left position then the logic level voltage and power supply from the mikroBUS™ is 3.3V. If the jumper is in the right position the logic level voltage and power supply from the mikroBUS™ is 5V. Jumper J1 is soldered in 3.3V position by default.
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Operating Power-Supply Voltage | 3.3 | 3.3 | 5 | V |
Designator | Name | Type | Description |
---|---|---|---|
LD1 | PWR | LED | Power LED, lights green when the power supply is established properly. |
We provide a library for the 7x10 B click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo application can run on all the main MikroElektronika development boards.
Note: You can use our free supporting software - GLCD Font Creator, and make personalized fonts, symbols, and icons for the LED matrix onboard the click. Create fonts and symbols from scratch, or by importing existing fonts on your system. It lets you modify and adjust them for your needs, apply effects and finally export them as source code for use in mikroC, mikroBasic or mikroPascal compilers.
The library carries all functions necessary for complete control over the 7x10 B click. There is also an additional font header file which carries 5x7 letter definitions.
bool c7x10b_refreshDisplay( void )
- Refreshes the display; this function should be called upon as frequently as possible.void c7x10b_drawPixel( uint8_t row, uint8_t col )
- Draws single pixel on the desired location.void c7x10b_drawText( char *text )
- Writes the text; The first character is placed on the first LED matrix, and the second one is placed on the second LED matrix (if there is more than one character).c7x10b_drawPixel
.void applicationTask() { bool ind; static bool called = false; int i, j; c7X10b_clearDisplay(); if ( !called ) { c7X10b_drawText( " MikroElektronika" ); c7X10b_scrollEnable( _C7X10B_SPEED_MED ); called = true; } do { ind = c7X10b_refreshDisplay(); c7X10b_tick(); Delay_ms( 10 ); } while( ind ); called = false; for( i = 0; i < 11; ++i ) { c7x10b_clearDisplay(); c7x10b_drawNumber( i ); for( j = 0; j < 30; ++j ) { c7X10b_refreshDisplay(); Delay_ms( 10 ); } } c7x10b_clearDisplay(); c7x10b_drawPixel( 6, 3 ); c7x10b_drawPixel( 6, 8 ); c7x10b_drawPixel( 2, 3 ); c7x10b_drawPixel( 2, 8 ); for( j = 0; j < 100; ++j ) { c7x10b_refreshDisplay(); Delay_ms( 10 ); } }
The full application code and libraries are available for download on our LibStock page.
Learn: 7x10 LEDs, magic vision