|
|
3mm Red LED |
x 59 | |
|
|
1k 1/8W resistor |
x 28 | |
|
|
2.7k 1/8W resistor |
x 4 | |
|
|
100nF ceramic capacitor |
x 4 | |
|
|
74hc595 |
x 5 |
Discrete 4-digit LED 7-segment display
Discrete 7-segment LED from 32 3mm LED's, with a serial interface for your arduino. Now <100mm wide!
See github page https://github.com/prosper00/Circuits/tree/master/7segment for latest updates
Arduino example:
#define latch D6
#define clk D7
#define dat D8
uint8_t digits[16] = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};
// '.' == digit[n] + 0x80
uint8_t segs[7] =
{0x10,0x20,0x1,0x2,0x4,0x8,0x40}; // clockwise, starting with the lowerl eft
uint8_t rsegs[7] =
{0x4,0x2,0x1,0x20,0x19,0x8,0x40}; // anticlockwise, starting with the lower right
void setup() {
pinMode(latch, OUTPUT);
pinMode(clk, OUTPUT);
pinMode(dat, OUTPUT);
}
void loop() {
for(uint8_t i=0; i<10; i++) {
for(int j=0; j<6; j++) {
digitalWrite(latch, LOW);
shiftOut(dat, clk, LSBFIRST, segs[j]);
shiftOut(dat, clk, LSBFIRST, digits[9-i]);
shiftOut(dat, clk, LSBFIRST, digits[i]);
shiftOut(dat, clk, LSBFIRST, rsegs[j]);
digitalWrite(latch, HIGH);
delay(3);
digitalWrite(latch, LOW);
shiftOut(dat, clk, LSBFIRST, 0x0);
shiftOut(dat, clk, LSBFIRST, digits[9-i]);
shiftOut(dat, clk, LSBFIRST, digits[i]);
shiftOut(dat, clk, LSBFIRST, 0x0);
digitalWrite(latch, HIGH);
delay(37);
}
}
}
Discrete 4-digit LED 7-segment display
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(1)
-
rachman bobo
Jan 19,2021
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
10design
-
10usability
-
10creativity
-
10content
More by Brad Roy
-
Programmable Mist Maker - XIAO / QT PY Extension
1062 2 1 -
RadioHAT - Raspberry Pi radio development platform
874 0 2 -
QWIIC-VL53L4CD Time-of-Flight Distance Sensor Module
1090 0 1 -
-
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
3327 0 6 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
3934 3 8 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
4323 2 2







