7
Segment Displays:
7-segment displays are a fun component
to use in Arduino projects. You can use them to track time or keep score in a
game. In this article, we'll discuss that how they work.
First, take a look at the seven
segments. Each of these is labeled with a letter A to G. Each letter is then
associated with a unique pin on the four-digit display. In addition, each of the
four digits of the display has a pin associated with it. The remaining pin on
the component is for the decimal point. To create the correct digit on
the display, the correct pins must be turned on. For example, to create the
number two in the second digit, we'd need to turn on pin D2 then we'd also need
to turn on pins. A B D E and G technically the display is not capable of displaying
more than one digit at a time however there are obviously times when we'd like
to see more than one digit on the display to do this. We'll use the phenomenon
of persistence of vision to trick our eyes and brains into seeing multiple
digits. While the display will only show one digit at a time, we can insert a
very short delay before the next digit appears. This will trick our eyes and brains
into seeing the digits at the same time using delays as short as 5 milliseconds
or 5 thousandths of a second will enable us to see 4 digits at a time.
Now that you know how the four-digit 7 segment
displays works.
I hope that this article will help
you.
Stay tuned.
Bye.
No comments:
Post a Comment