Introduction: 7-Segment Display Counter

About: Student, currently studying programming. Interested in Arduino, Raspberry Pi and Electronics in general.

Today I've got another project for you - a 1 digit 7-segment display counter. It's a fun little project that counts from 0 to 9 and then back from 0. You can just use it as a general tutorial on using this popular kind of display. The parts for this build were provided by Kuman, you can find them in their Arduino UNO Kit.

Step 1: Parts Needed

  • Arduino UNO board
  • USB Cable
  • Mini breadboard
  • 1 digit 7-segment display
  • 10 x Jumper Wires

You will be able to buy the components that I've used on

Their store will be up by the end of January. Stay tuned!

Step 2: Connecting the Display

Plug in the display into the breadboard. You noticed that it has 10 pins. Now we need to connect them.

Start counting from the bottom left, and connect the 3rd pin to the 8th. After you reach the fifth one, continue counting the top pins from right to left. Now, you should connect pin 8 to Arduino GND (-).

Start connecting the other pins - from 1 to 10, skipping 3 and 8, and start from Digital Pin 2 of the Arduino all the way to 9.

Step 3: Uploading the Code

Connect the Arduino to your PC. You can find the code here. I've commented some of the lines, so you can understand how the code works. Feel free to modify the code to your desire. If you have any questions, ask them in the comments.

Here is a video showcasing the project: