Skip to the content
PCBKitNew board
2 layers25.4 × 25.4 mmRcc, the printed circuit board in 3D

RGB Color Cube

Size
25.4 × 25.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
12
Pads
42
Tracks, vias
40, 28
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
28 Sep 2025
Updated
14 Nov 2025

Overview

Rcc is an open-source printed circuit board by 0x007E, from the 0x007E/rcc repository on GitHub. It is a 2-layer board of 25.4 × 25.4 mm with 15 parts on 12 nets, routed with 40 tracks and 28 vias.

It is built around the ATTINY402-SSN and BH-67D-5. Its parts include 3 capacitors, 3 resistors, 2 diodes, 1 IC and 1 switch. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

Version: 1.0 Release License CC By-NC-SA License GPLv3 Build

RCC - RGB Color Cube

Ask DeepWiki

The RCC project is based on a pcb with an ATtiny402 and two RGB LEDs that are controlled via SPI-bus. The cube itself is controlled over a single push-button that enables/disables the cube and can be used to setup the color and intensity of the rgb leds.

ExperienceLevel
Soldering?%
Mechanical?%
Software?%

Manual

LanguageFileDescription
EnglishpdfAssembly of PCB/housing and programming of the RCC
GermanpdfAssembly of PCB/housing and programming of the RCC

Simulator

With the RCC-Simulator different functions (e.g. power-on/-off, ...) can be simulated within a webpage.

Downloads

TypeFileDescription
Schematicpdf / cadlabSchematic files
Boardpdf / cadlabBoard file
DrillpdfDrill file
PCBzip / tarKiCAD/Gerber/BoM/Drill files
Mechanicalzip / tarFreeCAD/Housing and PCB (STEP) files
Firmwarezip / tarFirmware for ATtiny402

Hardware

There are two parts of the hardware. The pcb and the housing of the RCC. The pcb is created with KiCAD and the housing with FreeCAD. The software is programmed with Microchip (Atmel) Studio. All files are built with github actions so that they are ready for a production environment. The housing is printed with a 3D-printer (Dremel 3D40).

PCB

The circuit board is populated on both sides (Top, Bottom). The best way for soldering the SMD components is within a vapor phase soldering system and for the THT components with a standard soldering system.

Top Layer

Top Layer

Bottom Layer

Bottom Layer

Mechanical

The housing has a tolerance of 0.2mm on each side of the case. So the pcb should fit perfectly in the housing. The tolerance can be modified with FreeCAD in the Parameter Spreadsheet.

Assembled

Assembled

Exploded

Exploded

Programming/Setup

The RCC is powerd with a 3V battery (CR2032). It can be programmed over UPDI on TP1. The firmware for the cube can be downloaded in the download section.

bash
#                                                          +-----------+      +---------------------+
#                                                          |    U  +---+---+  |                     |
#     +---------------------+                              |    S  |  USB  |--+ +-----------------+ |
#     |                     |                              |    B  +---+---+  | | AVR-Dude        | |
#     |    RCC - Color Cube |         +----------+         |    /      |      | | ~~~~~~~~        | |
#     |                  +--+--+   +--+--+  U    |         |    U      |      | | ~~~~~           | |
#     |              VCC | TP3 +---+ VCC |  P  +--+--+  +--+--+ A      |      | | ~~~~~~~~~~~~    | |
#     |              GND | TP2 +---+ GND |  D  | GND +--+ GND | R      |      | |                 | |
#     |                  +--+--+   +--+--+  I  | VCC +--+ VCC | T      |      | +-----------------+ |
#     |                     |         |        +-----+  +-----+ A      |      |                     |
#     |                  +--+--+   +--+--+     | RxD +--+ RxD | +------+      | Computer            |
#     |             UPDI | TP1 +---+ PDI |     | TxD +--+ TxD | |5V/3V3|      |                     |
#     |                  +--+--+   +--+--+     +--+--+  +--+--+ +------+      +---------------------+
#     +---------------------+         | ADAPTER   |        +----+------+
#                                     +-----------+

FUSES

RegisterValue
WDTCFG0x00
BODCFG0x00
OSCCFG0x03
TCD0CFG0x00
SYSCFG00xF5
SYSCFG10x00
APPEND0x00
BOOTEND0x00

Software

The leds are controlled by SPI. The interface is displayed in the dataflow diagram. There is a pre-configured firmware to use the cube or a library to implement own solutions.

A documentation of the code can be found here https://0x007e.github.io/rcc.

Dataflow diagram

Dataflow

Library (led.h)

With the attached led library it is quiet easy to use the cube for own implementations. To setup the led library for the cube implement the header file.

c
#define F_CPU 20000000UL

#include <avr/io.h>
#include <util/delay.h>

#include "./hal/avr0/system/system.h"
#include "./led/led.h"

LED_Data led1  = {
	0x01,
	0x0F,
	0x00,
	0x0A
};

LED_Data led2  = {
	0x01,
	0x00,
	0x0F,
	0x0A
};

int main(void)
{

Additional Information

TypeLinkDescription
ATtiny402pdfATtiny microcontroller
T3A33BRGpdfRGB Color LED
Atmel ICEpdfAtmel ICE datasheet
UPDIwebUPDI-Adapter with AVR-Dude
Microchip StudiowebDownload page for Microchip Studio
KiCADwebKiCAD project page
FreeCADwebFreeCAD project page

R. GAECHTER

Parts

15
QtyValueFootprintReferences
3100nCapacitor_SMD:C_1206_3216MetricC1, C2, C3
3TestPointTestPoint:TestPoint_Pad_D1.5mmTP1, TP2, TP3
21MegResistor_SMD:R_1206_3216MetricR1, R2
2APA102LED_SMD:LED_RGB_5050-6D1, D2
110kResistor_SMD:R_1206_3216MetricR3
1ATtiny402-SSPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1BH-67D-5Battery_BH:BAT_BH-67D-5BT1
1QRImages:QR_0x007e_smallFID4
1SW_MEC_5EPTS530:SW_PTS530_GK055_SMTR_LFSSW1

Questions

How big is the Rcc PCB?

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

What parts does the Rcc use?

15 parts, built around the ATTINY402-SSN and BH-67D-5. 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 Rcc KiCad files?

From the 0x007E/rcc repository on GitHub, at the commit this page was made from: the board is pcb/RCC.kicad_pcb and its schematic pcb/RCC.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rcc design in my own project?

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

Similar boards

  • 2 layers25.4 × 25.4 mmRct, the printed circuit board in 3D

    Rct

    0x007E/rct

    RGB Color Cube Touch

    22 parts
  • 2 layers150.3 × 105.1 mmGame Studies 1.0 2026, the printed circuit board in 3D

    Game Studies 1.0 2026

    natpoor/badge_ICA2026

    KiCAD etc files for the ICA 2026 PCB badge.

    17 parts
  • 2 layers75.8 × 19.2 mm3S coinCellChargeController, the printed circuit board in 3D

    3S coinCellChargeController

    PocketConcepts/Pocket_PSU

    A variable current & voltage PSU with 3S lipo charging, balancing, and protection circuit using PPS.

    78 parts36
  • 2 layers72 × 47.5 mmPCB avr dx unbricker, the printed circuit board in 3D

    PCB avr dx unbricker

    k-takata/PCB_avr_dx_unbricker

    UPDI High Voltage programmer for AVR Dx/Ex series

    40 parts4
  • 2 layers85 × 53 mmCccamp23 nametag, the printed circuit board in 3D

    Cccamp23 nametag

    HazeCore/Nametag_Hardware

    This is the hardware for out Nametag Badge for Chaos Communication Camp 2023. You can find more information about the Project at https://hazeco.re/cccamp-nametag/.

    34 parts3
  • 2 layers7.4 × 7.3 mmDCC Dekoder Attiny402 1, the printed circuit board in 3D

    DCC Dekoder Attiny402 1

    markusgruen/DccFunctionDecoder

    Open source, Arduino-based DCC function decoder

    17 parts3GPL-3.0
  • 2 layers69.9 × 12.1 mmPeepsy pro, the printed circuit board in 3D

    Peepsy pro

    mirdej/peepsy

    simple continuity tester

    13 parts3GPL-3.0