Skip to the content
2 layers52 × 59.5 mmDigital sand, the printed circuit board in 3D

Carrier PCB and weather/shot-day firmware for the PrintKits Digital Sand kit

Size
52 × 59.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
33
Pads
70
Tracks, vias
22, 0
Pours
3
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
20 Oct 2026
Updated
3 Nov 2026

Overview

Digital sand is an open-source printed circuit board by lucy-chapar, from the lucy-chapar/evil-weather-machine repository on GitHub. It is a 2-layer board of 52 × 59.5 mm with 11 parts on 33 nets, routed with 22 tracks and 0 vias.

Its parts include 3 connectors, 2 ICs, 1 capacitor and 1 switch. It belongs with the ESP32 boards of this library.

README

pcb/README.md

Digital Sand Toy – ESP32 carrier PCB

KiCad 7 project for a two-layer board that replaces the point-to-point wiring of the PrintKits Digital Sand kit. It uses the same parts and the same connections; the board holds the parts and does the wiring.

Board, component side

Files

PathContents
digital_sand.kicad_proKiCad project (open this)
digital_sand.kicad_schSchematic (PDF)
digital_sand.kicad_pcbBoard: 52 × 59.5 mm, 2 layers
lib/Project symbols and footprints: ESP32 DevKit V1 30-pin, GY-521, VBAT power symbol
docs/Schematic PDF and board previews
fab/digital_sand_gerbers.zipGerbers and Excellon drill files
tools/generate_kicad.pyScript that generates all of the above

Connections (same as the kit wiring diagram)

ESP32 pinGoes to
D5 (GPIO5)J3 DIN → LED panel data in
D4 (GPIO4)SW1 → GND
D21 (GPIO21)GY-521 SDA
D22 (GPIO22)GY-521 SCL
3V3GY-521 VCC
VINVBAT rail (battery and LED panel 5 V)
GNDCommon ground

As in the original wiring, the 4×AA box (J1) feeds the LED panel's extra power wires (J2) directly. The ESP32 runs from the same rail through VIN.

Assembly

  • U1, ESP32 DevKit (30-pin): components up, USB connector towards the USB arrow at the board edge, antenna over the copper-free area marked ANTENNA.
    • The header row on the terminal-block side has two rows of holes. Use the outer row (1.0in) for boards with 25.4 mm between header rows, and the inner row (0.9in) for 22.86 mm boards.
    • Solder the board's header pins straight in, or fit 1×15 female headers to keep it removable.
  • U2, GY-521: components up, square pad = VCC, module body over the board towards the bottom edge.
  • SW1: the kit's 6 mm button. To use an external button instead, solder one wire to a pad on each side of the footprint (one 1 pad and one 2 pad).
  • J1–J3: 3.5 mm pitch screw terminals with the wire openings facing the board edge. You can also solder wires straight into the holes.
    • J1 BAT: battery red → +, black → -
    • J2 LED PWR: the panel's extra red wire → +, white → -
    • J3 LED IN: panel input red → 5V, white → GND, green → DIN
  • C1 (optional): 470–1000 µF electrolytic, rated 10 V or higher, + to the square pad.
  • H1–H4: M3 mounting holes on a 45 × 52.5 mm grid.

Check before ordering

  • ESP32 width. Measure the header-to-header spacing on the board the kit ships with. The footprint takes 0.9 in and 1.0 in boards.
  • Accelerometer orientation. The firmware reads gravity from the MPU-6050, and the stock firmware is a prebuilt ESPHome image. Mount the board so the GY-521 faces the same way relative to the LED matrix as in the original build, or the sand falls the wrong way. A tilt test before final mounting is the quickest check.
  • Enclosure. The board is not matched to the printed case, so the case needs mounting points for it.

Notes

  • Unchanged from the kit: the LED panel runs straight off 4×AA. Fresh alkaline cells give up to about 6.4 V, and WS2812B LEDs are rated to 5.3 V. NiMH cells (4.8 V) stay within that rating.
  • Switch the battery off while the ESP32 is plugged into USB, because USB and the battery share the 5 V rail.
  • Fabrication: 2 layers, 1.6 mm, 1 oz copper, 0.2 mm minimum track and space, 0.3 mm minimum drill. Any standard PCB service can make it from the zip.
  • KiCad 7 cannot run ERC from the command line. Run Inspect → Electrical Rules Checker once in the schematic editor. Connectivity is checked by the generator against the kit wiring.

Regenerating

tools/generate_kicad.py writes the libraries, schematic and board. It then checks the schematic netlist against the kit wiring, fills the copper zones, runs DRC and re-exports docs/ and fab/. Run it with KiCad 7's bundled Python, which provides pcbnew:

bash
/Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/python3 tools/generate_kicad.py

The script overwrites the KiCad files. Once you start editing the design in KiCad itself, stop using the script.

Parts

11
QtyValueFootprintReferences
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
1470uF 10VCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC1
16mm tactileButton_Switch_THT:SW_PUSH_6mmSW1
1Battery 4xAATerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_HorizontalJ1
1ESP32 DevKit V1 30-pinDigitalSand:ESP32_DevKit_V1_30pin_DualRowU1
1GY-521 (MPU-6050)DigitalSand:GY-521_MPU6050_ModuleU2
1LED panel DINTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-3.5-H_1x03_P3.50mm_HorizontalJ3
1LED panel powerTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_HorizontalJ2

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

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

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the Digital sand PCB?

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

What parts does the Digital sand use?

11 parts. 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 Digital sand KiCad files?

From the lucy-chapar/evil-weather-machine repository on GitHub, at the commit this page was made from: the board is pcb/digital_sand.kicad_pcb and its schematic pcb/digital_sand.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Digital sand design in my own project?

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