Projects with a 74HC595 shift register
30 Mokxi projects use a 74HC595 shift register (22 intermediate and 8 advanced). They run on Arduino Uno, Raspberry Pi Pico and ESP32 boards. Here are 24, from “Hex digits on a common-anode display (74HC595, pins 11, 12, 13)” to “4x4x4 LED cube”. 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.
How to pick your first one
- Start with “A light runs along eight LEDs on a 74HC595 (pins 11, 12 and 13)”, an intermediate project that needs a 74HC595 shift register, a resistor and an LED.
- Arduino Uno runs 18 of them, Raspberry Pi Pico 9 and ESP32 3. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the LED (11 projects), the four-digit seven-segment display (10) and the seven-segment display (7). With those on hand, most of this list is open to you.
- Before you build one on a real bench, open the 74HC595 shift register part page for its pins and what each one does.
24 projects of 30

Hex digits on a common-anode display (74HC595, pins 11, 12, 13)
A 74HC595 (DS 11, ST_CP 12, SH_CP 13) drives a common-anode seven-segment display through 0 to F, a digit a second.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, seven-segment display, resistor
- Level
- Intermediate

Photocell bar graph on a 74HC595
A photocell and a 1k resistor on A0 set how many of eight LEDs a 74HC595 lights, with data on pin 12, clock on 9 and latch on 11.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, resistor, LED, photoresistor
- Level
- Intermediate

Pico W 74HC595 fills eight LEDs
MicroPython on a Pico W: a 74HC595 with DS on GP0, STcp on GP1 and SHcp on GP2 lights eight LEDs one more at a time, then clears them.
- Board
- Raspberry Pi Pico W
- Parts
- 74HC595 shift register, resistor, LED
- Level
- Intermediate

Falling rain on eight LEDs (74HC595, pins 11, 12 and 13)
Eight LEDs on a 74HC595 (DS 11, ST_CP 12, SH_CP 13) show a drop of light with a fading tail running along them.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, resistor, LED
- Level
- Intermediate

Type a digit: serial to a 74HC595 display (pins 11, 8 and 12)
Type a digit from 0 to 9 into the serial monitor and a seven-segment display on a 74HC595 (DS 11, SH_CP 8, ST_CP 12) shows it.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, seven-segment display, resistor
- Level
- Intermediate

MicroPython 74HC595 flowing light on a Pico
MicroPython on a Raspberry Pi Pico: a 74HC595 on GP18, GP20 and GP21 walks one lit LED along eight bars of an LED bar graph and back.
- Board
- Raspberry Pi Pico
- Parts
- 74HC595 shift register, 10-segment LED bar graph, resistor
- Level
- Intermediate

Pico W 74HC595 counts 0 to 9 on a digit
MicroPython on a Pico W: a 74HC595 on GP0, GP1 and GP2 drives a common-cathode seven-segment digit that counts 0 to 9, half a second each.
- Board
- Raspberry Pi Pico W
- Parts
- 74HC595 shift register, seven-segment display, resistor
- Level
- Intermediate

Eight LEDs on a 74HC595 (pins 12, 9 and 11)
A 74HC595 shift register drives eight LEDs from three Uno pins, data on 12, clock on 9 and latch on 11: the LEDs fill up one at a time, then clear.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, resistor, LED
- Level
- Intermediate

LED bar chaser
An Arduino Uno runs a bar and a bouncing dot along eight LEDs through a 74HC595.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, resistor, LED
- Level
- Intermediate

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

MicroPython 74HC595 flowing light on an LED bar
MicroPython on an ESP32: a 74HC595 on GPIO 14, 12 and 13 walks one lit segment along eight bars of an LED bar graph and back.
- Board
- ESP32-DevKitC V4
- Parts
- 74HC595 shift register, 10-segment LED bar graph, resistor
- Level
- Intermediate

Flowing light on a 74HC595 (pins 11, 8 and 12)
Eight LEDs on a 74HC595 with DS on pin 11, SH_CP on 8 and ST_CP on 12 fill up one at a time and empty again, one byte shifted out at each step.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, resistor, LED
- Level
- Intermediate

A light runs along eight LEDs on a 74HC595 (pins 11, 12 and 13)
A 74HC595 with DS on pin 11, ST_CP on 12 and SH_CP on 13 lights one of eight LEDs at a time and walks the light along them, one shifted bit at a time.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, resistor, LED
- Level
- Intermediate

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

Countdown digit
A 74HC595 on three pins drives a one-digit seven-segment display, counting down from 9 to 0 one number a second.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, seven-segment display, resistor
- Level
- Intermediate

Digital dice on a 74HC595 (pins 11, 8 and 12)
A seven-segment digit on a 74HC595 (DS 11, SH_CP 8, ST_CP 12) spins through the numbers.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, seven-segment display, resistor, push button
- Level
- Intermediate

MicroPython 7-segment digit through a 74HC595
MicroPython on an ESP32: a 74HC595 on GPIO 15, 2 and 4 drives a common-anode 7-segment digit through 220 ohm each, counting 0 to F.
- Board
- ESP32-DevKitC V4
- Parts
- 74HC595 shift register, seven-segment display, resistor
- Level
- Intermediate

MicroPython 7-segment digit on a Pico through a 74HC595
MicroPython on a Raspberry Pi Pico: a 74HC595 on GP18, GP20 and GP21 shows the hex digits 0 to F on a common-anode 7-segment display.
- Board
- Raspberry Pi Pico
- Parts
- 74HC595 shift register, resistor, seven-segment display
- Level
- Intermediate

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

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

A smile and scrolling digits on an 8x8 matrix (74HC595 rows, pins 2 to 9 columns)
A common-anode 8x8 LED matrix: a 74HC595 (DS 11, ST_CP 12, SH_CP 13) drives its rows through 220 ohm resistors and pins 2 to 9 its columns.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, LED matrix, resistor
- Level
- Advanced

Red, green and orange on a bicolor matrix
A red and green 8x8 matrix: the Uno drives its eight rows and two chained 74HC595s sink the sixteen columns, so a smiley turns green, orange and red.
- Board
- Arduino Uno R3
- Parts
- LED matrix, 74HC595 shift register, resistor
- Level
- Advanced

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

4x4x4 LED cube
A 64 LED cube drawn as four labeled layers: two 74HC595s drive sixteen columns, four transistors switch the layers, and the Uno multiplexes rain.
- Board
- Arduino Uno R3
- Parts
- 74HC595 shift register, push button, resistor, LED, transistor
- Level
- Advanced
Wiring, libraries and more ideas
Library pages
More project ideas
- Arduino Uno project ideas
- Raspberry Pi Pico project ideas
- ESP32 project ideas
- LED projects for Arduino, ESP32 and Pico
- Projects with a four-digit seven-segment display
- Projects with a seven-segment display
- Projects with a push button
- Projects with a buzzer
- Projects with a photoresistor
- Projects with an LED bar graph