The 4-digit FND (Four-Digit Seven-Segment Display) is a versatile electronic component designed to display numerical information. Manufactured by Custom with the part ID 4-digit FND, this display is commonly used in applications such as digital clocks, counters, and various other digital displays. Its ability to show four digits makes it ideal for scenarios where multiple numerical values need to be displayed simultaneously.
Parameter | Value |
---|---|
Operating Voltage | 3.3V - 5V |
Current per Segment | 10mA (typical) |
Power Consumption | 200mW (typical) |
Display Type | Common Anode / Common Cathode |
Number of Digits | 4 |
Segment Count | 7 segments per digit + 1 decimal point per digit |
Pin Number | Description | Function |
---|---|---|
1 | Digit 1 Anode | Controls the first digit |
2 | Segment B | Controls the B segment of all digits |
3 | Digit 2 Anode | Controls the second digit |
4 | Segment A | Controls the A segment of all digits |
5 | Segment F | Controls the F segment of all digits |
6 | Segment G | Controls the G segment of all digits |
7 | Segment E | Controls the E segment of all digits |
8 | Digit 3 Anode | Controls the third digit |
9 | Segment D | Controls the D segment of all digits |
10 | Segment C | Controls the C segment of all digits |
11 | Decimal Point | Controls the decimal point of all digits |
12 | Digit 4 Anode | Controls the fourth digit |
Pin Number | Description | Function |
---|---|---|
1 | Digit 1 Cathode | Controls the first digit |
2 | Segment B | Controls the B segment of all digits |
3 | Digit 2 Cathode | Controls the second digit |
4 | Segment A | Controls the A segment of all digits |
5 | Segment F | Controls the F segment of all digits |
6 | Segment G | Controls the G segment of all digits |
7 | Segment E | Controls the E segment of all digits |
8 | Digit 3 Cathode | Controls the third digit |
9 | Segment D | Controls the D segment of all digits |
10 | Segment C | Controls the C segment of all digits |
11 | Decimal Point | Controls the decimal point of all digits |
12 | Digit 4 Cathode | Controls the fourth digit |
// Example code to drive a 4-digit FND with an Arduino UNO
// This example assumes a common anode configuration
const int segmentPins[] = {2, 3, 4, 5, 6, 7, 8}; // A, B, C, D, E, F, G
const int digitPins[] = {9, 10, 11, 12}; // Digit 1, 2, 3, 4
const byte digitPatterns[10] = {
0b00111111, // 0
0b00000110, // 1
0b01011011, // 2
0b01001111, // 3
0b01100110, // 4
0b01101101, // 5
0b01111101, // 6
0b00000111, // 7
0b01111111, // 8
0b01101111 // 9
};
void setup() {
for (int i = 0; i < 7; i++) {
pinMode(segmentPins[i], OUTPUT);
}
for (int i = 0; i < 4; i++) {
pinMode(digitPins[i], OUTPUT);
digitalWrite(digitPins[i], HIGH); // Turn off all digits initially
}
}
void loop() {
displayNumber(1234); // Example number to display
}
void displayNumber(int number) {
for (int digit = 0; digit < 4; digit++) {
int digitValue = number % 10;
number /= 10;
displayDigit(digit, digitValue);
delay(5); // Short delay to reduce flicker
}
}
void displayDigit(int digit, int value) {
digitalWrite(digitPins[digit], LOW); // Activate the digit
for (int i = 0; i < 7; i++) {
digitalWrite(segmentPins[i], (digitPatterns[value] >> i) & 0x01);
}
delay(1); // Short delay to allow the digit to be displayed
digitalWrite(digitPins[digit], HIGH); // Deactivate the digit
}
Display Not Lighting Up:
Segments Not Displaying Correctly:
Flickering Display:
Overheating:
By following this documentation, users can effectively integrate and troubleshoot the 4-digit FND in their projects, ensuring reliable and accurate numerical displays.