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

18,00 DH

SKU: 0245 Categories: ,

Description

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

This red LED display presents four numeric digits, from 0000 to 9999, with each digit approximately 0.56 inch (14 mm) high. It is available in common-cathode and common-anode versions. The display itself has no integrated decoder or driver; a microcontroller or external driver must control the segments and digit selection.

Specifications

  • Display: four red 7-segment digits
  • Digit height: approximately 0.56 inch (14 mm)
  • Display range: 0000–9999
  • Package: 12 through-hole pins; typically eight shared segment lines (A–G and DP) and four digit-common lines
  • Variants: common cathode (CC) or common anode (CA)
  • Operation: multiplexed; digits are refreshed one after another

Choose the correct variant

Common-cathode and common-anode displays use opposite segment-drive logic. In a common-cathode circuit, the selected digit common is switched to ground and a segment is lit by driving its line high through a resistor. In a common-anode circuit, the selected common is switched to the positive supply and a segment is lit by driving its line low. Confirm the selected version and exact pinout before wiring.

Wiring and multiplexing

The four digits share the segment lines, while each digit has its own common connection. A controller rapidly selects each digit and sets the required segments. Use a current-limiting resistor on every segment line. For higher current or brightness, use suitable transistor drivers or a dedicated display-driver IC; do not exceed the microcontroller pin ratings.

Pin arrangements can vary by exact part number. Check the component’s pin diagram before soldering or applying power. The original Arduino examples below are preserved exactly as supplied and should be checked against your display and wiring.

Original Arduino examples

#include <SevSeg.h>

SevSeg afficheur;

const byte nombreChiffres = 4;

// Broches communes des quatre chiffres
byte brochesChiffres[] = {10, 11, 12, 13};

// Broches des segments : 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 > 9999) {
      compteur = 0;
    }

    afficheur.setNumber(compteur);
  }

  // Cette fonction doit être appelée continuellement
  afficheur.refreshDisplay();
}
byte typeAfficheur = COMMON_CATHODE;
byte typeAfficheur = COMMON_ANODE;

Additional information

Type

Common Cathode, Common Anode

Thank you for your loyalty!

EN