Skip to content

This is a simple ESP8266-driven seven-segment display.

License

Notifications You must be signed in to change notification settings

locxter/svnsgmntdsply

Repository files navigation

svnsgmntdsply

Overview

Overview image

This is a simple ESP8266-driven seven-segment display.

Dependencies

I generally try to minimize dependencies, but I'm a one man crew and can therefore only support Debian-based Linux distributions as I'm running one myself. Anyway, you need to have the following packages installed for everything to work properly:

  • Arduino IDE as a way to compile the Arduino code. Install it with sudo apt install arduino.
  • Arduino ESP8266 LittleFS uploader for uploading the data. Install it via the installation guide.

How to build it

Simply wire the ESP up to the display like this:

Display datasheet

Display pin: ESP8266 pin:
1 D0
2 D0 inverted with NOT gate
9 1 (TX)
10 3 (RX)
12 D8
13 D7
15 D6
16 D5
17 D4
18 D3
19 D2
20 D1
21 10 (SD3)

Personally, I soldered this simple circuit on a piece of perfboard. Not the most beautiful thing ever made, but it works:

Circuit on perfboard

How to use it

  1. Put your Wi-Fi credentials into the code and flash the sketch.
  2. Upload the additional files via the Arduino ESP8266 LittleFS uploader.
  3. Power the ESP on and give it roughly half a minute to boot up.
  4. Open svnsgmntdsply.local (or enter the IP address of the ESP manually) on a device that is connected to the same network.
  5. Enter a text you like (see available characters down below) and enjoy the glory of seven-segment displays.

Segment labels

Segment labels

Number codes

Number: Code (ABCDEFG): Preview:
0 1111110 0
1 0110000 1
2 1101101 2
3 1111001 3
4 0110011 4
5 1011011 5
6 1011111 6
7 1110000 7
8 1111111 8
9 1111011 9

Uppercase letter codes

Letter: Code (ABCDEFG): Preview:
A 1110111 A
B 1111111 B
C 1001110 C
D 1111100 D
E 1001111 E
F 1000111 F
G 1011110 G
H 0110111 H
I 0000110 I
J 0111000 J
K 1010111 K
L 0001110 L
M 1101010 M
N 1110110 N
O 1111110 O
P 1100111 P
Q 1101011 Q
R 1101111 R
S 1011011 S
T 1000110 T
U 0111110 U
V 0111010 V
W 1011100 W
X 1001001 X
Y 0101011 Y
Z 1101101 Z

Lowercase letter codes

Letter: Code (ABCDEFG): Preview:
a 0011001 a
b 0011111 b
c 0001101 c
d 0111101 d
e 0001100 e
f 0000111 f
g 1001101 g
h 0010111 h
i 1001100 i
j 1011000 j
k 1001011 k
l 0000110 l
m 1010101 m
n 0010101 n
o 0011101 o
p 1100111 p
q 1110011 q
r 0000101 r
s 0011000 s
t 0001111 t
u 0011100 u
v 0011000 v
w 0101010 w
x 0001001 x
y 0111011 y
z 0001001 z

Other character codes

Character: Code (ABCDEFG): Preview:
Space ( ) 0000000 Space ( )
Underscore (_) 0001000 Underscore (_)
Hyphen-minus (-) 0000001 Hyphen-minus (-)
Equals (=) 0001001 Equals (=)
Double quote (") 0100010 Double quote (")
Single quote (') 0000010 Single quote (')
Open parenthesis (() 1001110 Open parenthesis (()
Close parenthesis ()) 1111000 Close parenthesis ())
Question mark (?) 1100101 Question mark (?)

Current paths

Segment (digit - segment): Current path (GND pin - VCC pin):
AM 1-5
PM 3-4
1-A 1-7
1-B 2-6
1-C 2-9
1-D 1-8
1-E 2-8
1-F Does not exist
1-G 2-7
2-A 2-13
2-B 2-10
2-C 2-12
2-D 1-12
2-E 1-9
2-F 1-13
2-G 1-10
Colon 1-30
3-A 1-15
3-B 1-16
3-C 1-17
3-D 2-17
3-E 2-18
3-F 2-15
3-G 2-16
4-A 2-21
4-B 2-19
4-C 2-20
4-D 1-20
4-E 1-18
4-F 1-21
4-G 1-19
Alarm 28-27

Sources

About

This is a simple ESP8266-driven seven-segment display.

Topics

Resources

License

Stars

Watchers

Forks