8 Segment 4 digid red display common cathode

R36.86 inc VAT

In a LED 7 segment display, as the name indicates the 7 segments plus the dot segment are based on LEDs. This display features 4 LED segment making it very useful for applications that use more than 4 digits.

Out of stock - Join the waitlist to be emailed when this product becomes available

SKU: led-124 Category:

Description

Do you need a display to show off your next project? This 4 Digit (7-Segment) Display is perfect for projects that need to display clock time, counters, range data, temperatures, or just about anything that uses up to 4 numbers to represent the data. The dimensions allow for easy prototyping on standard breadboards. Get yours today and complete your project!!

4 Digit (7-Segment) Display Specifications:

  • Continuous uniform segments
  •  Low power requirement
  •  Excellent characters appearance
  •  Solid state reliability
  •  Categorized for luminous intensity
  •  Multiplex drive common anode
  •  Black face, white segments
  •  Dimensions (L x W x H): 40.18 mm X 12.8 mm X 7 mm
  •  Width between pin Columns: 10.16 mm

Example Sketch & Diagram

 

Code

int timer = 200; 
int ledPins[] = {2, 3, 4, 5, 6, 7};

void setup() {
 for (int thisPin = 0; thisPin < 6 ; thisPin++) {
 pinMode(ledPins[thisPin], OUTPUT); }
 pinMode(8, OUTPUT);
 pinMode(9, OUTPUT);
 pinMode(10, OUTPUT);
 pinMode(11, OUTPUT);
 pinMode(12, OUTPUT);
}

void loop() {
 digitalWrite(9, HIGH);
 cycle();
 digitalWrite(10, HIGH);
 cycle(); 
 digitalWrite(11, HIGH);
 cycle();
 digitalWrite(12, HIGH);
 cycle();
 Flash();
 digitalWrite(12, LOW);
 cycle();
 digitalWrite(11, LOW);
 cycle();
 digitalWrite(10, LOW);
 cycle();
 }

void cycle(){
 for (int thisPin = 0; thisPin < 6; thisPin++) {
 digitalWrite(ledPins[thisPin], HIGH);
 delay(timer);
 digitalWrite(ledPins[thisPin], LOW);
 }
}

void Flash(){
 for (int i = 0; i < 5; i++){ 
 digitalWrite(8, HIGH);
 delay(timer);
 digitalWrite(8, LOW);
 delay(timer);
 }
}

Brand

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.