Introduction: 4 Digit 7 Segment Display Stopwatch

This instructable will show you how to create a fully functional real-time stopwatch from a 4 digit seven segment display.

Step 1: Materials

  • 4 Digit 7 Segment Display (5641AS)
  • 8 560Ω Resistors
  • Breadboard
  • Arduino Uno
  • Wire
  • Button (If you want reset button)

Step 2: Wiring

Wiring for this project is quite easy. It consists of all of the the sections of each digit to go to their corresponding pin (2-9) and the digits are wired to 10-13. All wires connecting the sections of the digits must have a resistor. Refer to code to help with wiring.

Wiring is where many mistakes can be made. Make sure the wires match up with the example and code. As you can see above on the schematic, the D1, D2, D3, and D4 directly connect to pins 10-13. Letters A-F are assigned to 2-9

  • D1 - 13
  • D2 - 12
  • D3 - 11
  • D4 - 10
  • A - 2
  • B - 3
  • C - 4
  • D - 5
  • E - 6
  • F - 7
  • G - 8
  • H (decimal) - 9

Step 3: Code

The code is attached. There are many things within that can be modified to change the output.