16x9 G Click Board
16x9 G Click Board
Overview
Welcome to the world of innovation with the 16x9 G Click Board! This incredible board combines functionality and style to bring your projects to life.
The 16x9 G Click Board features a vibrant green LED matrix powered by the advanced IS31FL3731 audio modulated matrix LED driver. With a dimension of 16x9, each LED can be individually controlled for both on/off functions and light intensity adjustments.
One of the key benefits of the 16x9 G Click Board is its versatility. This board is compatible with 3.3V or 5V power supplies, giving you the flexibility to integrate it into various projects seamlessly. Additionally, it communicates effortlessly with your target microcontroller via the I2C interface.
- Individually controllable LEDs for custom lighting effects
- Compatible with both 3.3V and 5V power supplies for easy integration
Unleash your creativity and let the 16x9 G Click Board be the highlight of your next electronic masterpiece. Whether you are a seasoned maker or just starting out, this board is designed to inspire and elevate your projects to new heights.
Upgrade your creations with the 16x9 G Click Board and experience the perfect blend of technology and design at your fingertips. Elevate your projects and make a statement with this cutting-edge LED matrix board!
The 16x9 Click Board™ is based on the IS31FL3731, a LED array driver from Integrated Silicon Solution, Inc, which employs the cross-plexing technique to drive up to 144 LEDs. It drives LED array with constant current set by a single resistor, can store up to 8 frames in its memory making it able to play short animations, it has two separate modes optimized for displaying animation or pictures, it has 256 steps of brightness for each LED, can use various breathing or blinking effects between frames, can even use audio signal to modulate the intensity or advance the playback, and it uses the fast I2C interface for the communication. The chip also offers INT and STB lines (interrupt and stand-by), allowing simple control by the host MCU. This IC requires a very low count of additional components, which simplifies the design. It can be used in entertainment or gaming industry, for development of various types of LED display applications, and similar.
How Does The 16x9 Click Board™ Work?
The main device on the 16x9 Click Board™ is the IS31FL3731, a LED array driver from ISSI. This device uses the cross-plexing technology which allows it to drive a large number of LED segments (144) with a small number of I/O pins. The IC has 28 pins in total, but it has two matrices with only 9 pins each for LED driving - which makes it 18 pins in total. It is possible by using the cross-plexing technique, also known as the Charlie-plexing, named by Charlie Allen, an engineer from Maxim Integrated, who made the first practical application example by utilizing this technique, for the company he was working at. The working principle of this technique is based around using Hi-Z pins. This adds the third element for the LED control, unlike the commonly used matrix multiplexing, when two pins can change states to either LOW-HI or HI-LOW, saving only a single pin per cell. A basic cell of the cross-plexed LED matrix consists of three pins and 6 LEDs which is substantially more than the regular matrix. The bigger the matrix is, the higher the efficiency of such multiplexing becomes. N pins are able to drive N2-N LED segments.
The IS31FL3731 has some additional features. Besides two banks of driving pins, it can store up to 8 frames in its internal memory. This allows small movies to be autonomously played back by the IC itself, without using the MCU processing power. The device can operate in Picture Mode, in the Auto Frame Mode, and in the Audio Frame Mode. While operating in Picture mode, it will display a selected frame and can apply a breathing effect to it. Auto Frame Mode will sequence through all the frames. The delay between frames, as well as the transition effect, can be configured by the user. The Auto Frame Mode can also be used as the buffer for playing back more frames, which can be externally loaded to the IC while it plays back its 8 frames buffer. Finally, the Audio Frame Mode allows the audio signal at the IN pin to control the frame rate advancement (lowest signal level will display the first frame, the highest signal level will display the last frame). All the programmable parameters are stored via the I2C to appropriate registers. The datasheet of the IS31FL3731 offers ian n-depth explanation of all the registers.
The interrupt engine allows the interrupt event to be generated by pulling the INTB pin to a LOW logic level and setting the appropriate status register bit to 1. INTB pin will report whenever the cycle in the Auto Frame Mode is finished. Every time when the frame sequence is ended, this pin will be pulsed to a LOW logic level, and after 7ms, it will return to a HIGH logic level, automatically. The INT bit signalizing the interrupt will be cleared once the Status Register is read by the host MCU but will not automatically revert to 0. The INTB pin is routed to the mikroBUS™ INT pin.
The SDB pin can be used to completely turn off the IC when power saving is a concern. Pulling this pin to a LOW logic level will put the device into the Hardware Shutdown Mode, which powers down the entire IC. No read or write operations are possible, unlike the Software Shutdown Mode, which is set by a bit in the respective (Shutdown) register. Software shutdown Mode will turn off the drivers and most of the IC, but the communication will be possible. In fact, some registers can be read only in Software Shutdown Mode, such as the Frame registers. The SDB pin is normally pulled to a LOW logic level by the onboard pulldown resistor, so initialization procedure should contain setting this pin to a HIGH logic level. The SDB pin routed to the mikroBUS™ CS pin and it is labelled as SDB.
The IN pin of the IS31FL3731 is used to sample the input data and either modulate the LED segment brightness according or advance the playback frame. It is decoupled by a capacitor, accepting the line-level audio signal. On the 16x9 Click board™, this pin is routed to the PWM pin of the mikroBUS™, thus the PWM signal from the MCU can be used instead of the audio signal. Naturally, the device will still react to an audio source, since the PWM signal is just another type of a waveform applied to the IN pin. The PWM pin of the mikroBUS™ is labelled as IN on the Click board™.
There are two SMD jumpers on the 16x9 Click Board™. The first SMD jumper is used to select the least significant bit (LSB) of the I2C address, and it is labelled as the ADDR SEL. The second SMD jumper is labelled as the VCC SEL and it is used to set the operating voltage of the device, allowing it to be interfaced with both 3.3V and 5V MCUs.
SPECIFICATIONS
Type | LED Matrix |
Applications | The 16x9 Click Board™ can be used in entertainment or gaming industry, for development of various types of LED display applications, and similar. |
On-board modules | IS31FL3731, a matrix LED display driver, from Integrated Silicon Solution, Inc |
Key Features | 144 LED matrix display, memory for storing up to 8 frames, programmable transitions including breathing and blinking effects, audio/pwm modulation of the frame advancement or the LED segment intensity, low number of pins and external components, and more |
Interface | I2C,PWM |
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 16x9 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 | IN | PWM/Audio IN | |
NC | 2 | RST | INT | 15 | INT | Interrupt | |
HW ShutDown | SDB | 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 JUMPER AND SETTINGS
Label | Name | Default | Description |
---|---|---|---|
PWR | PWR | - | Power LED indicator |
VCC SEL | VCC SEL | Left | Operating voltage level selection: left position 3.3V, right position 5V |
ADDR SEL | ADDR SEL | Down | I2C address LSB selection: up position 1, down position 0 |
Software Support
We provide a library for the 16x9 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 initializes and defines the I2C bus driver that offers a choice for writing data in the register. The library includes a function for displaying one character, image, or rectangle drawing. The user also has the function for display refresh and control all LEDs.
Key Functions
void c16x9g_drawPoint(uint8_t x, uint8_t y, uint8_t pwm)
- Functions for draw pointvoid c16x9g_displayByte(char ch, uint8_t frame, uint8_t pwm)
- Function for displaying one charactervoid c16x9g_displayRefresh()
- Function for refresh displayvoid c16x9g_displayImage(uint8_t *pImage, uint8_t frame, uint8_t pwm)
- Image display function
Example Description
The application is composed of three sections:
- System Initialization - Initializes I2C module
- Application Initialization - Initializes driver init
- Application Task - (code snippet) - Display character, image and rectangle every 1 second.
void applicationTask() { c16x9g_displayRefresh(); c16x9g_displayByte(demoChar, C16X9G_FRAME_1, 250); Delay_1sec(); c16x9g_displayRefresh(); c16x9g_displayImage(&demoImageOn[0], C16X9G_FRAME_1, 250); Delay_1sec(); c16x9g_displayRefresh(); c16x9g_displayImage(&demoImageOff[0], C16X9G_FRAME_1, 250); Delay_1sec(); c16x9g_displayRefresh(); c16x9g_drawRectangle(1,4,6,4,250); Delay_1sec(); }
The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- I2C
ADDITIONAL NOTES AND INFORMATION
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The 16x9 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.
Software Support
We provide a library for the 16x9 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 initializes and defines the I2C bus driver that offers a choice for writing data in the register. The library includes a function for displaying one character, image, or rectangle drawing. The user also has the function for display refresh and control all LEDs.
Key Functions
void c16x9g_drawPoint(uint8_t x, uint8_t y, uint8_t pwm)
- Functions for draw pointvoid c16x9g_displayByte(char ch, uint8_t frame, uint8_t pwm)
- Function for displaying one charactervoid c16x9g_displayRefresh()
- Function for refresh displayvoid c16x9g_displayImage(uint8_t *pImage, uint8_t frame, uint8_t pwm)
- Image display function
Example Description
The application is composed of three sections:
- System Initialization - Initializes I2C module
- Application Initialization - Initializes driver init
- Application Task - (code snippet) - Display character, image and rectangle every 1 second.
void applicationTask() { c16x9g_displayRefresh(); c16x9g_displayByte(demoChar, C16X9G_FRAME_1, 250); Delay_1sec(); c16x9g_displayRefresh(); c16x9g_displayImage(&demoImageOn[0], C16X9G_FRAME_1, 250); Delay_1sec(); c16x9g_displayRefresh(); c16x9g_displayImage(&demoImageOff[0], C16X9G_FRAME_1, 250); Delay_1sec(); c16x9g_displayRefresh(); c16x9g_drawRectangle(1,4,6,4,250); Delay_1sec(); }
The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- I2C
ADDITIONAL NOTES AND INFORMATION
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The 16x9 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.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.