Features
- Single-digit display for numbers from 0 to 9
- Common cathode configuration
- Red LED segments for clear visibility
- Total of 10 connection pins
- Pin pitch of 2 mm for easy integration
- Compact size suitable for small projects
- Lightweight and easy to handle
Principle of Operation
The display consists of seven LED segments arranged to form numeric characters. Each segment is an individual LED, and all cathodes are connected together to a common ground connection.
When a high signal is applied to a segment pin, the corresponding LED lights up. By turning specific segments on or off, numbers and symbols can be displayed.
Pinout

- Pin 1 Decimal point
- Pin 2 Segment a
- Pin 3 Segment b
- Pin 4 Segment c
- Pin 5 Segment d
- Pin 6 Segment e
- Pin 7 Segment f
- Pin 8 Segment g
- Pin 9 Common cathode
- Pin 10 Common cathode
Applications
- Digital clocks
- Counters and timers
- Measurement instruments
- Industrial control panels
- Scoreboards
- Educational electronics projects
- Consumer electronic devices
Example Circuit
Connect both common cathode pins to ground. Connect each segment pin to a digital output pin on the Arduino through a 220 ohm resistor. This protects the LEDs from excess current.
Library
No external library is required to use this display.
Arduino Code Example
int segments[] = {2, 3, 4, 5, 6, 7, 8};
void setup() {
for (int i = 0; i < 7; i++) {
pinMode(segments[i], OUTPUT);
}
}
void loop() {
for (int num = 0; num < 10; num++) {
displayNumber(num);
delay(1000);
}
}
void displayNumber(int num) {
byte numberPatterns[] = {
B1111110,
B0110000,
B1101101,
B1111001,
B0110011,
B1011011,
B1011111,
B1110000,
B1111111,
B1111011
};
for (int i = 0; i < 7; i++) {
digitalWrite(segments[i], bitRead(numberPatterns[num], 6 - i));
}
}
Technical Details
- Product name LED digital display
- Model LD 5161
- Type common cathode
- Emitted color red
- Number of pins 10
- Pin pitch 2 mm
- Display size 19 x 13 x 7 mm without pins
- Digit height 14.2 mm
- Net weight 22 g
Comparison
Compared to common anode displays, the common cathode display turns on segments when a high signal is applied. This makes it compatible with many microcontrollers that are designed to source current easily.
Features
- Single-digit display for numbers from 0 to 9
- Common cathode configuration
- Red LED segments for clear visibility
- Total of 10 connection pins
- Pin pitch of 2 mm for easy integration
- Compact size suitable for small projects
- Lightweight and easy to handle
Principle of Operation
The display consists of seven LED segments arranged to form numeric characters. Each segment is an individual LED, and all cathodes are connected together to a common ground connection.
When a high signal is applied to a segment pin, the corresponding LED lights up. By turning specific segments on or off, numbers and symbols can be displayed.
Pinout

- Pin 1 Decimal point
- Pin 2 Segment a
- Pin 3 Segment b
- Pin 4 Segment c
- Pin 5 Segment d
- Pin 6 Segment e
- Pin 7 Segment f
- Pin 8 Segment g
- Pin 9 Common cathode
- Pin 10 Common cathode
Applications
- Digital clocks
- Counters and timers
- Measurement instruments
- Industrial control panels
- Scoreboards
- Educational electronics projects
- Consumer electronic devices
Example Circuit
Connect both common cathode pins to ground. Connect each segment pin to a digital output pin on the Arduino through a 220 ohm resistor. This protects the LEDs from excess current.
Library
No external library is required to use this display.
Arduino Code Example
int segments[] = {2, 3, 4, 5, 6, 7, 8};
void setup() {
for (int i = 0; i < 7; i++) {
pinMode(segments[i], OUTPUT);
}
}
void loop() {
for (int num = 0; num < 10; num++) {
displayNumber(num);
delay(1000);
}
}
void displayNumber(int num) {
byte numberPatterns[] = {
B1111110,
B0110000,
B1101101,
B1111001,
B0110011,
B1011011,
B1011111,
B1110000,
B1111111,
B1111011
};
for (int i = 0; i < 7; i++) {
digitalWrite(segments[i], bitRead(numberPatterns[num], 6 - i));
}
}
Technical Details
- Product name LED digital display
- Model LD 5161
- Type common cathode
- Emitted color red
- Number of pins 10
- Pin pitch 2 mm
- Display size 19 x 13 x 7 mm without pins
- Digit height 14.2 mm
- Net weight 22 g
Comparison
Compared to common anode displays, the common cathode display turns on segments when a high signal is applied. This makes it compatible with many microcontrollers that are designed to source current easily.