7seg Click is a compact add-on board representing an easy solution for adding numeric or hexadecimal displays to your application. This board features a double pack of the SN74HC595D, an 8-bit serial-in, parallel-out shift register modules from Texas Instruments, as well as two seven-segment red displays, the JS1-5213AE from Ningbo Junsheng Electronics. This PWM-driven seven-segment display, measuring 17.5x12.4x8.4mm, comes with a decimal point and is characterized by a wide viewing range and ultra-segment intensity. This Click board™ is suitable for many applications requiring a visible display or others that display numerical/textual information.
7seg Click Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
HOW DOES IT WORK?
7seg Click uses two seven-segment red LED displays, the JS1-5213AE from Ningbo Junsheng Electronics, driven by the SN74HC595D, an 8-bit serial-in, parallel-out shift register module from Texas Instruments. The JS1-5213AE display consists of seven LEDs arranged in a rectangular fashion, where each of the seven LEDs is called a segment because when illuminated, the segment forms part of a numerical digit (both decimal and hex) to be displayed. With dimensions of 17.5x12.4x8.4mm and a decimal point, these displays are also characterized by a wide viewing range and ultra-segment intensity. This board is suitable for numeric or hexadecimal displays, such as for a clock, timer, counter, or similar applications.
As mentioned before, this Click board™ communicates with MCU through a standard SPI interface across SN74HC595D with a maximum frequency of 5MHz. In addition to the SPI communication, the 7seg Click uses two additional pins for the direct shift register override function, and display activation routed to the RST and PWM pins of the mikroBUS™ socket. Setting the PWM pin to logic high state turns the displays ON. After that, users can see the functionality of the 7seg click by showing numbers or characters on the left and right displays.
This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the PWR SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the 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 many applications requiring a visible display or others that display numerical/textual information |
On-board modules | JS1-5213AE - seven-segment LED display from Ningbo Junsheng Electronics SN74HC595D - 8-bit serial-in, parallel-out shift register module from Texas Instruments |
Key Features | Low power consumption, ultra segment intensity, wide viewing angle, red color, SPI interface, 0.52″ high characters, and more |
Interface | GPIO,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 on 7seg 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 | PWR SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
7SEG CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Peak Wavelength | - | 625 | - | nm |
SOFTWARE SUPPORT
We provide a library for the 7seg Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for 7seg Click driver.
Key functions
This function sets display state for 7seg click.
This function writes left and right number on 7seg display.
This function writes left and right character on 7seg display.
Example Description
Example code consist of two sections: AppInit and AppTask, and shows number or character on 7seg display.
void application_task ( void ) { uint8_t counter; c7seg_display_mode( &c7seg, C7SEG_DISPLAY_ON ); Delay_ms ( 1000 ); for ( counter = 0; counter < 9; counter ++ ) { c7seg_write_data_number( &c7seg, counter, counter + 1 ); Delay_ms ( 1000 ); } Delay_ms ( 1000 ); for ( counter = 65; counter < 90; counter ++ ) { c7seg_write_data_character( &c7seg, counter, counter + 1 ); Delay_ms ( 1000 ); } Delay_ms ( 1000 ); c7seg_display_mode( &c7seg, C7SEG_DISPLAY_OFF ); Delay_ms ( 1000 ); }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.7seg
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 MikroElektronika compilers.
MIKROSDK
This Click board™ is supported with mikroSDK - MikroElektronika 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.
Shipping rates Australia wide and New Zealand
FAQ:
- How do I estimate shipping for my order?
- Add products in the shopping cart and head to the checkout page to estimate the shipping.
Dispatch time
Unless expressly agreed otherwise with you, we will not commence delivery of an order until we have received cleared payment of the purchase price in full.
All orders placed before 11 am AEST (Monday to Friday) will ordinarily be processed on the same day.
We will endeavour to ship the Products by the applicable time indicated on the website, but all times are indicative only. All shipping times are dispatch times only, and actual delivery dates will depend on the shipping method chosen, delivery address and delivery service provider.
Note- Please make a note during purchase if you require any item urgently. However we cannot guarantee that we will be able to comply with any request.
*Go to Australia post delivery time calculation to get various Australia post service in your area please use our shipping postcode Thomastown, 3074 as the "from" address - https://auspost.com.au/parcels-mail/delivery-times.html?ilink=tools-open-deliv-times.
We ship all products throughout mainland Australia, Tasmania and New Zealand - Including Darwin, Melbourne, Sydney, Tasmania, Adelaide, Brisbane, Perth, all metro and regional areas but do not deliver to areas in Australia where the Australia Post delivery network is not available.
Check Express shipping delivery coverage area at - http://auspost.com.au/parcels-mail/delivery-areas.html
Receipt of deliveries
Deliveries to post office boxes are not permitted where delivery is by courier. If delivery is by courier and nobody is available at the delivery address to accept delivery when delivery is attempted then the courier may either:
- leave the relevant parcel at the unattended address (the courier will do so if specified in your delivery requirements); or
- re-attempt delivery at a later time or date, in which case we may charge you an additional re-delivery fee.
Note that if a delivery is left unattended at the shipping address and is subsequently stolen then the theft is your responsibility, not ours.
Payment & Security
Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.