Skip to the content
2 layers38 × 45.5 mmPcb01, the printed circuit board in 3D

An application of a Raspberry Pi Pico–based 8x8x8 LED cube with Grove Vision AI v2 module

Size
38 × 45.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
42
Pads
120
Tracks, vias
178, 31
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 Sep 2025
Updated
8 Sep 2025

Overview

Pcb01 is an open-source printed circuit board by nthuee822, from the nthuee822/raspberrypico-ledcube-visionai repository on GitHub. It is a 2-layer board of 38 × 45.5 mm with 34 parts on 42 nets, routed with 178 tracks and 31 vias.

It is built around the 74HC595. Its parts include 22 resistors, 4 connectors, 3 capacitors, 3 transistors and 2 ICs. It belongs with the RP2040 boards of this library.

Main components

1

README

README.md

raspberrypico-ledcube-visionai

An application of a Raspberry Pi Pico–based 8x8x8 LED cube with Grove Vision AI v2 module

Introduction

There are many tutorials online about how to build an 8x8x8 LED Cube, but very few showcase practical applications. During an exhibition, we came across the Grove Vision AI V2 module, which inspired us to combine the two into a unique project.

Here’s how our system works: the camera on the Grove Vision AI V2 first recognizes a hand gesture (rock, paper, or scissors). It then sends the result via I²C to the Raspberry Pi Pico 2. The Pico 2 processes the data and communicates with the LED Cube’s PCB through the SPI interface. The PCB, equipped with eight shift registers, controls the LED Cube’s X–Y plane, while an additional perfboard manages the Z-axis. We will present the hardware setup in the next section.

This project is significant for two main reasons. First, we developed a library for the Grove Vision AI V2 to transmit data to Raspberry Pi Pico , making it easier for developers to integrate and leverage its vision features. Second, we created a generalized Raspberry Pi Pico library for the 8x8x8 LED Cube, allowing developers to easily modify display patterns simply by adjusting the code.

Getting Started


figure 1.

Hardware setup: Grove vision AI v2 module

We recommend using the more powerful Grove Vision AI V2 for this project. Setup instructions can be found at the official guide: https://wiki.seeedstudio.com/grove_vision_ai_v2/.

The connection between the Grove Vision AI V2, Raspberry Pi Pico 2, and the PCB with eight shift registers is shown in figure 2.


figure 2.

Hardware setup: 8x8x8 LED Cube

The four PCBs, each with eight shift registers, are connected as shown in figure 3.


figure 3.

The perfboard manages the Z-axis. Pins 6 to 13 on the Raspberry Pi Pico 2 are connected to eight 220 Ω resistors and eight NPN transistors, as shown in figure 4.


figure 4.

Software

Grove vision AI v2 module

We revised the official Seeed_Arduino_SSCMA library (originally for Arduino) into an I²C interface library for the Raspberry Pi Pico. This makes it easier to integrate the Grove Vision AI V2 with Pico-based projects.

8x8x8 LED Cube

We provide two versions of code for the LED Cube:

led_cube.c

A standalone project with several predefined special effects. Simply run the code on the Raspberry Pi Pico, and it will light up the 8x8x8 LED Cube with built-in animations.

Cube_general.c

A more generalized implementation. Developers can easily customize display effects by modifying only the matrix definition.

Combination

Finally, we integrated everything into a rock–paper–scissors gesture recognition system. The Grove Vision AI V2 recognizes the gesture, and the result is projected onto the 8x8x8 LED Cube.

For further details, please refer to Cube.cpp.

Equipment Used

Parts

34
QtyValueFootprintReferences
16220Resistor_SMD:R_0603_1608MetricR1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16
610kResistor_SMD:R_0603_1608MetricR17, R18, R19, R20, R21, R22
32N7002Package_TO_SOT_SMD:SOT-23Q1, Q2, Q3
3Conn_01x08_PinConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ1, J2, J3
2100nCapacitor_SMD:C_0603_1608MetricC1, C2
274HC595Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU1, U2
110uCapacitor_THT:C_Radial_D6.3mm_H7.0mm_P2.50mmC3
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4

Similar boards

  • 2 layers45.7 × 31.8 mmLEDx16 board, the printed circuit board in 3D

    LEDx16 board

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    36 parts803MIT
  • 2 layers228.6 × 100 mmMongus48, the printed circuit board in 3D

    Mongus48

    ChrisChrisLoLo/beyblock20

    The magnetic, modular, 20-key macropad that can join together to form an ortholinear board

    124 parts335GPL-3.0
  • 2 layers245.1 × 160 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64x4-Home-Computer

    My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.

    139 parts326
  • 2 layers100 × 95.1 mmProtoboard-6x4-breakout, the printed circuit board in 3D

    Protoboard-6x4-breakout

    electroniceel/protoboard

    Advanced protoboard layout with 1.27mm pitch for smd parts

    4,745 parts311CC-BY-4.0
  • 4 layers140 × 100 mmDc usv, the printed circuit board in 3D

    Dc usv

    TobleMiner/DC-UPS

    A small DC UPS, designed to keep small appliances like consumer network equipment running during power outages

    351 parts223CERN-OHL-P-2.0
  • 2 layers100.5 × 218.3 mmTraktorino, the printed circuit board in 3D

    Traktorino

    silveirago/traktorino

    The open-source DIY MIDI Controller for DJs.

    96 parts220
  • 2 layers287.8 × 126.7 mmNoName, the printed circuit board in 3D

    NoName

    AlaaSaadAbdo/battoota

    Keyboards

    267 parts188
  • 2 layers100 × 100 mmTommyPROM32-595, the printed circuit board in 3D

    TommyPROM32-595

    TomNisbet/TommyPROM

    Simple Arduino-based EEPROM programmer

    36 parts187

Questions

How big is the Pcb01 PCB?

It measures 38 × 45.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pcb01 use?

34 parts, built around the 74HC595. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Pcb01 KiCad files?

From the nthuee822/raspberrypico-ledcube-visionai repository on GitHub, at the commit this page was made from: the board is Layout/pcb01.kicad_pcb and its schematic Layout/pcb01.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pcb01 design in my own project?

Its repository states no licence, so its author keeps all rights: ask nthuee822 before reusing the design.