Introduction: 7 Segment Display

This is a short tutorial on the usage of 7 and 8 segment LED displays.

.

For this tutorial you will require:

An Arduino

A Bread Board

Jumper wires

230 Ohm Resistors

A 7 or 8 segment LED display

.

NOTE: All of the above components (and more) can be found in a convenient kit at this link:

http://www.gearbest.com/kits/pp_244840.html

Use the coupon code "FDSHFS" to save an additional $5

.

Check Out Our Other Accounts! Like, Subscribe, and Follow to keep up to date with our latest projects. :-)

Just4Fun Media FacebookJust4Fun Media InstagramJust4Fun Media YoutubeJust4Fun Media TwitterJust4Fun Media TumblrJust4Fun Media Website

Step 1: Resistors

Place once resistor for each segment in your display. Resistors are used on the hot (positive) side of the display so that the display will not change in brightness when multiple segments are lit.

Step 2: Wiring

The central pins on each end of the display are the ground pins.

NOTE: only one pin needs to be grounded, I grounded both so they are visible.

Next run jumper wires from digital pins 2 through 9 (2 through 8 if your display only has 7 LEDs) to one side of the resistors and a second set of jumper wires to the input pins of the display.

NOTE: The polarity (current direction) of the resistors is not important, as the resistance is equivalent both ways.

Step 3: Pin Order

The Arduino code above cycles through each pin from 2 to 9 one at a time to show the pin order. Adjust the wiring so that the pattern matches the Gif above.

Step 4: Numbers

The above code cycles the numbers 0 through 9 on the display to ensure that everything is wired correctly.

Feel free to borrow the code for each numeral for other projects (just make sure to give credit in your instructables).

Step 5: Serial Control

This program will display any numeral (0 to 9) sent to the Arduino over serial communication. Send any other character to clear the screen.

If you have any questions or comments feel free to ask them below or private message me.

Have a great day!

Comments

author
Fezder (author)2016-05-06

Next step, multiplexing? :)

About This Instructable

808views

8favorites

Bio: I am an inventive photographer, Pilot, and MacGyver. I love building and modifying things to aid in my adventures. Check out my Website! Have a ... More »
More by Just4Fun Media:GoPro Real Time FPV TransmitterCompact LED Light TableDowned Aircraft Alarm
Add instructable to: