Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Adafruit Charlieplex 9x16 Yellow: Examples, Pinouts, and Specs

Image of Adafruit Charlieplex 9x16 YellowDesign with Adafruit Charlieplex 9x16 Yellow in Cirkit Designer

Introduction

The Adafruit Charlieplex 9x16 Yellow is an innovative LED matrix display that leverages the charlieplexing technique to control a grid of 144 yellow LEDs using a minimal number of microcontroller pins. This compact and versatile display is ideal for creating eye-catching visual displays, and it's perfect for projects that require a small footprint without sacrificing brightness or functionality. Common applications include wearable electronics, informational displays, and custom user interfaces.

Explore Projects Built with Adafruit Charlieplex 9x16 Yellow

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Name Description
1 GND Ground connection
2 VCC Power supply (3.0V - 5.5V)
3 SDA I2C Data line
4 SCL I2C Clock line
5 ADDR I2C Address selection (connect to GND or VCC)

Usage Instructions

Connecting to a Circuit

  1. Connect the GND pin to the ground on your microcontroller.
  2. Connect the VCC pin to a 3.0V - 5.5V power supply.
  3. Connect the SDA and SCL pins to the I2C data and clock lines on your microcontroller.
  4. Optionally, connect the ADDR pin to GND or VCC to set the I2C address if using multiple displays.

Important Considerations and Best Practices

Example Code for Arduino UNO

#include <Wire.h>
#include <Adafruit_IS31FL3731.h>

// Create an instance of the display
Adafruit_IS31FL3731 matrix = Adafruit_IS31FL3731();

void setup() {
  Wire.begin(); // Initialize I2C
  matrix.begin(); // Initialize the display
}

void loop() {
  // Clear the display buffer
  matrix.clear();
  
  // Draw a simple pattern
  for (int i = 0; i < 9; i++) {
    for (int j = 0; j < 16; j++) {
      matrix.drawPixel(i, j, (i + j) % 2 ? 255 : 0);
    }
  }
  
  // Display the buffer on the LEDs
  matrix.display();
  delay(500);
}

Troubleshooting and FAQs

Common Issues

Solutions and Tips for Troubleshooting

FAQs

Q: Can I daisy-chain multiple Charlieplex 9x16 displays? A: Yes, you can connect multiple displays in series by ensuring each one has a unique I2C address.

Q: How do I control individual LEDs in the matrix? A: Individual LEDs can be controlled using the drawPixel function provided by the Adafruit_IS31FL3731 library, specifying the column, row, and brightness level.

Q: What is the maximum number of displays I can control with one microcontroller? A: The maximum number of displays is limited by the number of unique I2C addresses available. Check the datasheet for the IS31FL3731 driver chip for more details.

Q: Can I use this display with a 3.3V microcontroller? A: Yes, the display can operate at voltages as low as 3.0V, making it compatible with 3.3V microcontrollers.