0.56-Inch Red 2-Digit 7-Segment LED Display

8,00 DH 10,00 DH

SKU: 0243 Categories: ,

Description

0.56-Inch Red 2-Digit 7-Segment LED Display

This red LED display has two numeric digits, each approximately 0.56 inch (14 mm) high. Choose the common-cathode or common-anode version that matches your circuit. It is a bare display without a built-in controller, so a microcontroller or external driver must handle the segments and digit selection.

🔧 Specifications

  • Display: 2 digits; can show values from 00 to 99
  • Digit height: approximately 0.56 inch (14 mm)
  • LED color: red
  • Package: 10 pins — typically eight shared segment lines (A–G and DP) plus one common connection per digit; confirm the exact pinout
  • Variants: common cathode (CC) or common anode (CA)
  • Display method: multiplexed; the controller rapidly selects each digit in turn

🔄 Select the correct electrical version

Variant Common connection Segment turns on when
Common cathode Selected common pin is switched to GND Segment pin is driven HIGH through its resistor
Common anode Selected common pin is switched to the positive supply Segment pin is driven LOW through its resistor

The two variants use opposite segment-drive logic. Confirm your selection and the part’s pinout before wiring or choosing the corresponding software setting.

⚙️ Wiring and multiplexing

The two digits share their segment lines, while each digit has a separate common pin. A controller alternates between the digits quickly enough that they appear continuously lit. Use a separate current-limiting resistor for each segment line. For higher brightness or current beyond the microcontroller’s pin limits, add suitable transistor drivers on the digit-common lines.

Pin positions vary by display part number. Use the manufacturer’s pin diagram for the exact device; the example wiring below is illustrative and must be checked against your display before connecting power.

💻 Arduino example

The original Arduino/SevSeg code examples below are preserved unchanged. The first example is configured for common-cathode operation; for the common-anode option, use the setting shown in the original listing. Adjust pin assignments to match the verified pinout of your display.

#include <SevSeg.h>

SevSeg afficheur;

const byte nombreChiffres = 2;

// Connexions communes des deux chiffres
byte brochesChiffres[] = {10, 11};

// 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 > 99) {
      compteur = 0;
    }

    afficheur.setNumber(compteur);
  }

  // Nécessaire pour maintenir l’affichage multiplexé
  afficheur.refreshDisplay();
}

For common-anode operation, the source example changes the display-type setting as follows:

byte typeAfficheur = COMMON_CATHODE;

Use the corresponding common-anode constant for this version:

byte typeAfficheur = COMMON_ANODE;

⚠️ Usage notes

  • Install one current-limiting resistor per segment.
  • Do not connect LED segments directly across a power supply.
  • Check the display’s exact pinout and common type before powering it.
  • Keep refreshing the multiplexed display in the main loop; long blocking delays can cause flicker or blanking.
  • Use transistor drivers if the selected digit current is too high for the controller pins.

💡 Typical uses

  • Two-digit counters and timers
  • Temperature, voltage and other measurement readouts
  • Small control panels, robotics and Arduino projects
  • Learning multiplexing and digital display control

Additional information

Type

Common Cathode, Common Anode

Thank you for your loyalty!

EN