16x12 G click
PID: MIKROE-2758
16x12 G click carries a 16x12 LED display and the IS31FL3733 matrix driver. The click is
designed to run on either 3.3V or 5V power supply. It communicates with the target
microcontroller over I2C interface, and the following pins on the mikroBUS™ line: INT, RST,
CS.
Each LED can be controlled individually – both for on/off control and light intensity.
IS31FL3733 driver features
The IS31FL3733 is a general purpose 12×16 LEDs matrix driver with 1/12 cycle rate.
Each of the 192 LEDs can be dimmed individually with 8-bit PWM data, which allows 256 steps
of linear dimming.
The driver has selectable 3 Auto Breath Modes for each LED ( ABM-1, ABM-2, and ABM-3).
Specifications
Type
Applications
LED Matrix
Gaming devices, small handheld devices, home appliances, IoT devices, etc.
On‐board modules IS31FL3733 matrix driver
Key Features
Key Benefits
Interface
Input Voltage
Click board size
Selectable 3 Auto Breath Modes for each dot, Individual 256 PWM control steps
Each of the 192 LEDs can be dimmed individually
GPIO,I2C
3.3V or 5V
L (57.15 x 25.4 mm)
Pinout diagram
This table shows how the pinout on
16x12 G click
corresponds to the pinout on the mikroBUS™
socket (the latter shown in the two middle columns).
Notes
Pin
Pin
1
2
3
4
5
6
7
8
AN
RST
CS
SCK
MISO
MOSI
3.3V
GND
PWM
INT
TX
RX
SCL
SDA
5V
GND
16
15
14
13
12
11
10
9
NC
INT
NC
NC
SCL
SDA
+5V
GND
Notes
NC
Reset
Standby
RST
SDB
NC
Interrupt pin
NC
I2C clock
I2C data
Power supply
Ground
NC
Power supply
Ground
+3.3V
GND
Jumpers and settings
Designator Name Default Position Default Option
JP1
JP2
JP2
PWR.SEL. Left
ADDR. 1 Left
ADDR. 2 Left
3V3
0
0
Description
Power Supply Voltage Selection 3V3/5V, left
position 3V3, right position 5V
The last two bits of the I2C address
The last two bits of the I2C address
Programming
Code examples for 16x12 G click, written for MikroElektronika hardware and compilers are
available on Libstock.
Code snippet
The following code snippet shows the default initialization procedure for 16x12 G click board™.
01
IS31FL3733_init(
&instance,
_IS31FL3733_GND_ADDR, _IS31FL3733_GND_ADDR,
02
I2C2_Start, I2C2_Stop, I2C2_Write, I2C2_Read
);
03
IS31FL3733_setGCC(
&instance,
64
);
04
// PWM control mode (default)
05
for(
i
=
0;
i
<
_IS31FL3733_CS;
++i
)
06
{
07
// Set PWM values for all LEDs at i-th row to 55/255 level.
08
IS31FL3733_setLEDPWM
(
&instance,
i, _IS31FL3733_SW,
55
);
09
// Turn on selected LEDs.
10
IS31FL3733_setLEDState
(
&instance,
i, _IS31FL3733_SW,
11
_IS31FL3733_LED_STATE_ON
);
12
}
13
// Clear the matrix
14
IS31FL3733_clearMatrix(
&instance
);
https://shop.mikroe.com/16x12‐g‐click 9‐29‐17