Source: https://mokxi.com/ideas/sevenseg4-projects
Updated: 2026-11-17

Projects / Project ideas
Project ideas by part

# Projects with a four-digit seven-segment display

13 Mokxi projects use a four-digit seven-segment display (5 intermediate and 8 advanced). They run on Arduino Uno, Raspberry Pi Pico and ESP32 boards. Here are all of them, from “Pico W four-digit display counts seconds” to “MicroPython four-digit display, multiplexed”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.

First project

## How to pick your first one

- Start with “Four-digit display on a 74HC595 (pins 8, 10 and 9)”, an intermediate project that needs a 74HC595 shift register, a four-digit seven-segment display and a resistor.
- Arduino Uno runs 7 of them, Raspberry Pi Pico 5 and ESP32 1. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the 74HC595 shift register (10 projects), the buzzer (2) and the LED (2). With those on hand, most of this list is open to you.
- Before you build one on a real bench, open the four-digit seven-segment display part page for its pins and what each one does.

Projects

## 13 projects ready to run

### Pico W four-digit display counts seconds

MicroPython on a Pico W: a 74HC595 on GP18 to GP20 and digit selects on GP10 to GP13 multiplex a four-digit display that counts the seconds.

Board

Raspberry Pi Pico W

Parts

74HC595 shift register, four-digit seven-segment display, resistor

Level

Intermediate

Open in the simulator

### Four-digit display on a 74HC595 (pins 8, 10 and 9)

A 74HC595 with data on pin 8, clock on 10 and latch on 9 drives the segments of a four-digit display whose digits are all switched on.

Board

Arduino Uno R3

Parts

74HC595 shift register, four-digit seven-segment display, resistor

Level

Intermediate

Open in the simulator

### Pico W ten-second game with a tilt switch

MicroPython on a Pico W: shake a tilt switch on GP16 to start and stop a stopwatch on a four-digit display; stop it on exactly 10.00 to win.

Board

Raspberry Pi Pico W

Parts

74HC595 shift register, four-digit seven-segment display, resistor, tilt switch

Level

Intermediate

Open in the simulator

### Pico W passenger counter: PIR and four digits

MicroPython on a Pico W: each time a PIR sensor on GP16 sees someone, a pin interrupt adds one to the count on a four-digit display.

Board

Raspberry Pi Pico W

Parts

74HC595 shift register, four-digit seven-segment display, resistor, PIR motion sensor

Level

Intermediate

Open in the simulator

### Pico W traffic light with a countdown display

MicroPython on a Pico W: green, yellow and red LEDs on GP7, GP8 and GP9 change on a 30, 5 and 30 second cycle, counted down on four digits.

Board

Raspberry Pi Pico W

Parts

74HC595 shift register, four-digit seven-segment display, resistor, LED

Level

Intermediate

Open in the simulator

### Stopwatch on a four-digit display

A four-digit display wired straight to the Uno, segments a to dp on pins 2 to 9 and digits 1 to 4 on pins 13 to 10.

Board

Arduino Uno R3

Parts

Four-digit seven-segment display, resistor

Level

Advanced

Open in the simulator

### Four-digit counter

A bare four-digit seven-segment display on twelve pins, multiplexed: one digit at a time, four milliseconds each, and the eye sees all four.

Board

Arduino Uno R3

Parts

Four-digit seven-segment display, resistor

Level

Advanced

Open in the simulator

### MicroPython four-digit display on a Pico, multiplexed

MicroPython on a Raspberry Pi Pico: a 74HC595 sets the segments and GP17 to GP14 pick the digit, fast enough that a 4-digit display reads 0123.

Board

Raspberry Pi Pico

Parts

74HC595 shift register, resistor, four-digit seven-segment display

Level

Advanced

Open in the simulator

### Alarm clock with a timer on a four-digit display

A DS1307 keeps the time on a four-digit display driven by a 74HC595 (8, 13, 12).

Board

Arduino Uno R3

Parts

74HC595 shift register, four-digit seven-segment display, resistor, push button, RGB LED, +3 more

Level

Advanced

Open in the simulator

### Countdown timer on a four-digit display

A kitchen timer: a 74HC595 (pins 8, 13 and 12) and four digit lines on pins 2 to 5 show minutes and seconds.

Board

Arduino Uno R3

Parts

74HC595 shift register, four-digit seven-segment display, resistor, push button, LED, +2 more

Level

Advanced

Open in the simulator

### Four digits from one 74HC595 (pins 11, 12, 13 and 7 to 4)

A four-digit common-anode display: a 74HC595 (DS 11, ST_CP 12, SH_CP 13) sets the segments and pins 7, 6, 5 and 4 pick the digit.

Board

Arduino Uno R3

Parts

74HC595 shift register, four-digit seven-segment display, resistor

Level

Advanced

Open in the simulator

### Stopwatch: four-digit display, digits on 10 to 13

A four-digit seven-segment display with segments a to dp on pins 2 to 9 and digits 1 to 4 on pins 10 to 13 counts minutes and seconds.

Board

Arduino Uno R3

Parts

Four-digit seven-segment display, resistor

Level

Advanced

Open in the simulator

### MicroPython four-digit display, multiplexed

MicroPython on an ESP32: a 74HC595 on GPIO 15, 2 and 4 sets the segments, GPIO 25, 26, 27 and 14 pick the digit, and 0123 is multiplexed.

Board

ESP32-DevKitC V4

Parts

74HC595 shift register, four-digit seven-segment display, resistor

Level

Advanced

Open in the simulator

Keep going

## Wiring, libraries and more ideas

The four-digit seven-segment display part page Every project ideas list

### Library pages

- SevSeg library
- DHT sensor library
- RTClib library

### More project ideas

- Arduino Uno project ideas
- Raspberry Pi Pico project ideas
- ESP32 project ideas
- Projects with a 74HC595 shift register
- Projects with a buzzer
- LED projects for Arduino, ESP32 and Pico
- Projects with a push button
- Projects with a DHT11 or DHT22 sensor
- Projects with a DS1307 real-time clock
- Projects with a PIR motion sensor
