Project 25: 4-Digit Led Segment Display - Keyestudio ARDUINO maker learning kit Manual

Table of Contents

Advertisement

keyestudio
delay(1000); // wait for 1s
}
}
//////////////////////////////////////////////////////////
Result
LED segment display displays number 0 to 9.
******************************************************************************

Project 25: 4-digit LED segment display

Introduction
In this experiment, we use an Arduino to drive a common anode, 4-digit, 7-segment LED display.
For LED display, current-limiting resistors are indispensable. There are two wiring method
for Current-limiting resistor. One is to connect one resistor for each anode, 4 in totals for d1-d4
anode. An advantage for this method is that it requires fewer resistors, only 4. But it cannot
maintain consistent brightness, 1 the brightest, 8, the least bright. Another method is to connect
one resistor to each pin. It guarantees consistent brightness, but requires more resistors. In this
experiment, we use 8 220Ω resistors (we use 220Ω resistors because no 100Ω resistor available. If
you use 100Ω, the displaying will be brighter).
Circuit connection
www.keyestudio.cc
107

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ARDUINO maker learning kit and is the answer not in the manual?

Related Products for Keyestudio ARDUINO maker learning kit

Table of Contents