Brad Roy
CANADA • + Follow
Edit Project
Components
|
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 |
Description
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);
}
}
}
Dec 17,2020
2,589 views
Discrete 4-digit LED 7-segment display
A 7-segment LED made from 59 3mm LED's, with a serial interface for your arduino.
2589
1
0
10.00 (1)
Published: Dec 17,2020
Download Gerber file 26
Purchase
Donation Received ($)
PCBWay Donate 10% cost To Author
*PCBWay community is a shared platform and we are not responsible for any design issues.
Copy this HTML into your page to embed a link to order this shared project
Copy
Under the
Attribution-ShareAlike (CC BY-SA)
License.
- Comments(0)
- Likes(1)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
Remove
It looks like you have not written anything. Please add a comment and try again.
View More
- rachman bobo Jan 19,2021
View More
VOTING
1 votes
- 1 USER VOTES
10.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4
-
10design
-
10usability
-
10creativity
-
10content
10.00
More by Brad Roy
You may also like
-
Open Source Very Large Stick - Freejoy & MMjoy2 breakout board
471 0 0 -
RF Control training board for students based on ESP32 C3
628 0 2 -
Aquarius+ Computer, Standard PCB
837 0 4 -
KINETIC COASTERS with a TWIST! Laser or 3D Print some DIY Magic
586 0 1 -
RPI - 8 IO PLC With ATTiny85 Watch Dog
506 0 1 -
Nintendo Famicom HVC-001 Controller Shells
608 0 1 -
COMMODORE 128 DIAGNOSTIC REV.785260 KEYBOARD DONGLE
561 0 4 -
COMMODORE 128 15KHz DISPLAY ADAPTER (C128 80 COLUMN ADAPTER)
759 1 5 -