LED Ring 2 Click Board
LED Ring 2 Click Board
Key Features
- 18 constant current sinks, 54 LEDs arranged in a circular pattern for animation and indication purposes, wide operating voltage, high performance, high efficiency PWM dimming, low power consumption, fully addressable SRAM to minimize data traffic, I2C interface, and more
- Based n the LP5862 - LED matrix driver from Texas Instruments
- Can be used for animation and indication purposes for amusement products, LED status signalization, home automation projects, and more
- mikroBUS: I2C Interface
Overview
Illuminate Your World with the LED Ring 2 Click Board™
Introducing the LED Ring 2 Click Board™ - a compact, cutting-edge electronic lighting solution designed to brighten up your projects. This extraordinary board features three I2C-configurable, high-performance LED matrix drivers, the LP5862 from Texas Instruments. Experience vibrant illumination with 18 constant current sinks driving 18 dazzling yellow LEDs. And with two additional LP5862 drivers, the possibilities are endless - create a spectacular 54 yellow LED circular pattern, perfect for catching anyone's attention.
Master Your Lighting with Versatile PWM Dimming Effects
Upgrade your animation and indication projects with the LED Ring 2 Click Board™. Suitable for a wide range of applications, including amusement products, LED status signalization, home automation, and more, this Click board™ boasts exceptional PWM dimming effects, offering you complete control over your lighting designs.
Effortless Integration and Compatibility
Supported by a mikroSDK compliant library, the LED Ring 2 Click Board™ streamlines your software development process. Featuring a range of convenient functions, this board is a fully tested product, ready to be used on any system equipped with the mikroBUS™ socket. Enhance your projects with the remarkable LED Ring 2 Click Board™ today!
How Does The ED Ring 2 Click Board™ Work?
The LED Ring 2 Click Board™ is based on the LP5862, a high-performance LED matrix driver from Texas Instruments. The LP5862 integrates 18 constant current sinks for driving 18 LEDs. A standard yellow LED is used as a light source, the SML-LX0402SYC-TR, with a peak wavelength of 590nm. With the help of two additional LP5862 drivers, it is realized, as shown on this board, a LED ring of 54 yellow LEDs arranged in a circular pattern. This Click board™ can significantly improve user experience in various animation and indication application areas like smart home, gaming equipment, and other human-machine interaction applications.
The LED Ring 2 Click Board™ communicates with an MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Fast-Plus mode with a frequency of up to 1MHz. The LP5862 also supports the register-configurable PWM dimming method for efficiently adjusting LED light brightness. For PWM dimming, the integrated 8-bit or 16-bit configurable, >20kHz PWM generators for each LED enable smooth, vivid animation effects without audible noise. Each LED can also be mapped into an 8-bit group PWM to achieve group control with minimum data traffic. The VSY pin of the mikroBUS™ socket serves as a synchronization signal.
The LP5862 also implements full addressable SRAM, supporting entire SRAM data refresh and partial SRAM data update on demand to minimize the data traffic. Besides, the LP5862 implements the ghost cancellation circuit to eliminate upside and downside ghosting.
The LED Ring 2 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. In addition, it is possible to select the LED supply voltage between either 3.3V or 5V voltage level set via the VLED SEL jumper. 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 | I2C,LED Matrix |
Applications | It can be used for animation and indication purposes for amusement products, LED status signalization, home automation projects, and more |
On-board modules | LP5862 - LED matrix driver from Texas Instruments |
Key Features | 18 constant current sinks, 54 LEDs arranged in a circular pattern for animation and indication purposes, wide operating voltage, high performance, high-efficiency PWM dimming, low power consumption, fully addressable SRAM to minimize data traffic, I2C interface, and more |
Interface | I2C |
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 of the LED Ring 2 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 | VSY | Synchronization Signal | |
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
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 | - | Power LED Indicator |
- | - | - | Yellow Ring LED Indicators |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | VLED SEL | Left | LED Supply Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
LED RING 2 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Software Support
Software Support
We provide a library for the LED Ring 2 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for LED Ring 2 Click driver.
Key functions
-
ledring2_set_led_brightness
LED Ring 2 set LED brightness function. -
ledring2_set_led_pos_state
LED Ring 2 set LED state function. -
ledring2_enable
LED Ring 2 enable function.
Example Description
This library contains API for the LED Ring 2 Click Board™ driver. The library initializes and defines the I2C bus drivers to write and read data from registers. The library also includes a function for controlling LEDs.
void application_task ( void )
{
for ( uint8_t led_pos = 1; led_pos < 55; led_pos++ )
{
if ( LEDRING2_OK == ledring2_set_led_brightness( &ledring2, led_pos, ( led_pos * 100 ) + 255 ) )
{
ledring2_set_vsync( &ledring2 );
Delay_ms( 10 );
}
}
Delay_ms( 1000 );
for ( uint8_t led_pos = 54; led_pos > 0; led_pos-- )
{
if ( LEDRING2_OK == ledring2_set_led_brightness( &ledring2, led_pos, 0 ) )
{
ledring2_set_vsync( &ledring2 );
Delay_ms( 10 );
}
}
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The 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.LEDRing2
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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
The LED Ring 2 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Software Support
Software Support
We provide a library for the LED Ring 2 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for LED Ring 2 Click driver.
Key functions
-
ledring2_set_led_brightness
LED Ring 2 set LED brightness function. -
ledring2_set_led_pos_state
LED Ring 2 set LED state function. -
ledring2_enable
LED Ring 2 enable function.
Example Description
This library contains API for the LED Ring 2 Click Board™ driver. The library initializes and defines the I2C bus drivers to write and read data from registers. The library also includes a function for controlling LEDs.
void application_task ( void )
{
for ( uint8_t led_pos = 1; led_pos < 55; led_pos++ )
{
if ( LEDRING2_OK == ledring2_set_led_brightness( &ledring2, led_pos, ( led_pos * 100 ) + 255 ) )
{
ledring2_set_vsync( &ledring2 );
Delay_ms( 10 );
}
}
Delay_ms( 1000 );
for ( uint8_t led_pos = 54; led_pos > 0; led_pos-- )
{
if ( LEDRING2_OK == ledring2_set_led_brightness( &ledring2, led_pos, 0 ) )
{
ledring2_set_vsync( &ledring2 );
Delay_ms( 10 );
}
}
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The 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.LEDRing2
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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
The LED Ring 2 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Frequently Asked Questions
Ask a Question-
Can I use the LED Ring 2 Click Board™ immediately after purchase?
Yes, the LED Ring 2 Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
-
Is the LED Ring 2 Click Board™ compatible with the mikroSDK library?
Yes, the LED Ring 2 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development, making it easier to integrate the board into your project.
-
What kind of dimming effects does the LED Ring 2 Click Board™ provide?
The LED Ring 2 Click Board™ offers excellent PWM (pulse-width modulation) dimming effects, which allow for precise control over the brightness of the LEDs.
-
What is the LP5862 and what is its role on the LED Ring 2 Click Board™?
The LP5862 is a high-performance LED matrix driver from Texas Instruments. It integrates 18 constant current sinks for driving 18 yellow LEDs. On the LED Ring 2 Click Board™, two additional LP5862 drivers are used to achieve a solution of 54 yellow LEDs arranged in a circular pattern.
-
What are the primary applications of the LED Ring 2 Click Board™?
The LED Ring 2 Click Board™ is suitable for animation and indication purposes in amusement products, LED status signalisation, home automation projects, and many other applications.
-
What is the LED Ring 2 Click Board™?
The LED Ring 2 Click Board™ is a compact add-on board that offers a circular-shaped electronic lighting solution. It features three I2C-configurable high-performance LED matrix drivers, the LP5862 from Texas Instruments, which allows it to support 54 yellow LEDs arranged in a circular pattern.