The Adafruit 14-Segment LED Alphanumeric Backpack is a versatile and visually appealing display module that allows users to add a bright, easy-to-read display to their projects. This blue LED display is capable of showing letters, numbers, and a variety of characters by illuminating specific combinations of its 14 segments. Common applications include digital clocks, counters, and readouts for various sensors in hobbyist and educational projects.
Pin Name | Description |
---|---|
VCC | Power supply (2.3V to 5.5V) |
GND | Ground |
SDA | I2C Data Line |
SCL | I2C Clock Line |
ADDR | Address selection (connect to GND or VCC) |
RST | Reset pin (optional, connect to VCC if unused) |
To use the Adafruit 14-Segment LED Alphanumeric Backpack in a circuit, follow these steps:
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_LEDBackpack.h>
Adafruit_AlphaNum4 display = Adafruit_AlphaNum4();
void setup() {
display.begin(0x70); // Initialize the display with its I2C address
display.setBrightness(15); // Set the display brightness (0-15)
display.writeDisplay(); // Write data to the display
}
void loop() {
display.clear(); // Clear the display buffer
display.writeDigitAscii(0, 'H'); // Set 'H' on the first digit
display.writeDigitAscii(1, 'E'); // Set 'E' on the second digit
display.writeDigitAscii(2, 'L'); // Set 'L' on the third digit
display.writeDigitAscii(3, 'P'); // Set 'P' on the fourth digit
display.writeDisplay(); // Send buffer to the display
delay(1000); // Wait for a second
}
Q: Can I daisy-chain multiple displays? A: Yes, you can connect multiple displays in series by connecting the SDA and SCL lines together and setting unique I2C addresses for each display.
Q: How do I change the I2C address? A: The I2C address can be changed by soldering the address jumpers on the back of the PCB to connect them to either VCC or GND.
Q: What is the maximum number of characters that can be displayed? A: The backpack supports up to four characters at a time. However, multiple backpacks can be chained together for longer messages.
Q: Can the display show special characters? A: Yes, the display can show a variety of special characters and symbols by lighting up the appropriate segments. You may need to create custom character maps for less common symbols.
For further assistance, consult the Adafruit support forums or the product's official documentation.