Description
0.56-Inch Red 3-Digit 7-Segment LED Display
This red LED display has three numeric digits, each approximately 0.56 inch (14 mm) high. Choose the common-cathode or common-anode version that matches your circuit. It has no built-in driver; a microcontroller or external driver controls the segments and digit selection.
Specifications
- Three digits; displays values from 000 to 999
- Digit height: approximately 0.56 inch (14 mm)
- LED color: red
- 12 pins: typically eight shared segment lines (A–G and DP) and one common connection for each digit; verify the exact pinout
- Available as common cathode or common anode
- Multiplexed display; the controller rapidly selects each digit
Choose the correct version
For common cathode, the selected digit common is switched to ground and a segment lights when its line is driven high through a resistor. For common anode, the digit common is switched to the positive supply and a segment lights when its line is driven low. These versions use opposite drive logic. Confirm the variant and pinout before wiring.
Wiring and use
The three digits share segment lines. Use a separate current-limiting resistor for each segment line and multiplex the digit commons. Use transistor drivers when the digit current exceeds the controller pin rating. The exact pin arrangement varies by part; consult the display pinout. The examples below are preserved from the original listing and should be checked against the actual component before use.
Original Arduino examples
#include <SevSeg.h>
SevSeg afficheur;
const byte nombreChiffres = 3;
// Connexions communes des trois chiffres
byte brochesChiffres[] = {10, 11, 12};
// Segments dans l’ordre : A, B, C, D, E, F, G, DP
byte brochesSegments[] = {2, 3, 4, 5, 6, 7, 8, 9};
unsigned long tempsPrecedent = 0;
int compteur = 0;
void setup() {
byte typeAfficheur = COMMON_CATHODE;
bool resistancesSurSegments = true;
bool actualisationAvecDelais = false;
bool zerosAGauche = true;
bool desactiverPointDecimal = false;
afficheur.begin(
typeAfficheur,
nombreChiffres,
brochesChiffres,
brochesSegments,
resistancesSurSegments,
actualisationAvecDelais,
zerosAGauche,
desactiverPointDecimal
);
afficheur.setBrightness(70);
afficheur.setNumber(compteur);
}
void loop() {
if (millis() - tempsPrecedent >= 1000) {
tempsPrecedent = millis();
compteur++;
if (compteur > 999) {
compteur = 0;
}
afficheur.setNumber(compteur);
}
// Nécessaire pour maintenir le multiplexage
afficheur.refreshDisplay();
}
byte typeAfficheur = COMMON_CATHODE;
byte typeAfficheur = COMMON_ANODE;









