BarGraph 4 Click Board™
Product Code: MIKROE-4782
How Does The BarGraph 4 Click Board™ Work? The BarGraph 4 Click Board™ as its foundation uses the TLC59283, a 16-channel, constant-current sink light-emitting diode (LED) driver from Texas Instruments. Each channel can be individually controlled with a simple serial communications protocol compatible with 3.3V or 5V logic levels depending on the operating VCC. It also comes with a constant-current value of all 16 channels, determined by an external resistor R2 with a value of 2.2kΩ, limiting the current to 24mA. You can find the exact value of the current per channel, as well as the corresponding resistance value for a given current, in the attached datasheet. In the upper part on the front side of the board, marked with the characters A, B, C, and D, four green four-segment LED bar graph displays, the HLMP-2550 are placed. The Green HLMP-2500 series LEDs use a liquid phase GaPepitaxial layer on a GaP substrate. These light bars are designed for various applications where a large bright light source is required, making this Click board™ suitable for creating different VU meters, status indicators, counters, and similar devices.
The TLC59283 communicates with MCU using the standard SPI serial interface with a maximum frequency of 35MHz. It has a 16-bit shift register and an output ON/OFF data latch. Both shift register and data latch are 16 bits long and used to turn the constant-current outputs on and off. It also comes with one GPIO pin, routed on the RST pin of the mikroBUS™ socket, used to turn off all outputs during Power-On and output data latching to prevent unwanted image displays during these times.
When the device is initially powered on, the data in the 16-bit shift register and output on or off data latch are not set to default values. Therefore, the output ON/PFF data must be written to the data latch before turning the constant-current output ON. The RST pin should be high when powered on because the constant-current may be turned ON due to random data in the output on or off data latch.
The BarGraph 4 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the SPI 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
Bargraph,LED Segment
Applications
Can be used for creating various types of VU meters, status indicators, different types of counters, and similar devices
On-board modules
TLC59283 - 16-channel, constant-current sink light-emitting diode (LED) driver from Texas Instruments
Key Features
16-channel constant-current LED Driver, each channel individually controlled, output force-off pin, four green four-segment LED bar graph displays, bright uniform light emitting areas, and more
Interface
SPI
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 on BarGraph 4 Click 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
NC
Output Channels
Force-OFF
RST
2
RST
INT
15
NC
SPI Chip Select
CS
3
CS
RX
14
NC
SPI Clock
SCK
4
SCK
TX
13
NC
SPI Data OUT
SDO
5
MISO
SCL
12
NC
SPI Data IN
SDI
6
MOSI
SDA
11
NC
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
Descrip
Visit the Debug Store website for more information on BarGraph 4 Click Board™