Skip to the content.

Piezo conditioning module and tiles

The per-pad circuit, packaged for printing. References in brackets point to REFERENCES.md.

Piezo module (piezo_module.scad)

A slim printed box, 42 × 24 × 6.8 mm with its lid, holding one pad’s circuit: piezo red → 1 kΩ → 1N4728 zener to GND → 1N4148 → 10 nF ∥ 1 MΩ → SIG out.

Assembled (parts shown) Exploded
top exploded

Printable STLs (the base and all 29 labelled lids) are in print/; see Printing.

Component sizes assumed: ¼ W resistors (6.3 × 2.4 mm), DO-35 1N4148 (4 × 2 mm), DO-41 1N4728 (5.2 × 2.7 mm), and a 5 mm ceramic disc capacitor lying flat. Check them against your parts before printing a batch.

Layout under the mock-up (layout.py)

This places a box module per pad from the real pad positions [R1], with the mux and Pico tray at the centre. It writes renders/layout_modules.png and wire_lengths.csv (cut lengths). The outer ring’s modules sit radially. The central and inner ones would crowd the centre, so they stack in strips beside the mux.

Tessellated tiles (tessellate.py)

The alternative: instead of boxes, give each pad a tile shaped like its own cell of the underside, a Voronoi cell of the 29 pad centres clipped to the rim [R21]. The tiles fit together into the drum’s shape, with the piezo recessed at each tile’s centre and the circuit beside it.

tessellation

The cells follow the groove areas of the drum (groove_cells.py segments docs/tenor_pan_layout.png and warps it onto the real pad centres; --voronoi gives plain Voronoi cells). On that geometry, 22 of 29 tiles have room for the 36 × 13 mm circuit cavity beside the piezo. The other seven (C5, C10, I0–I4) put the cavity under the piezo instead, as a two-layer tile about 10 mm thick. tiles.json stores each tile’s outline, piezo position and cavity pose, ready for generating printable tiles.

Printable tiles (make_tiles.py)

python make_tiles.py turns tiles.json into one printable tile per pad, print/tiles/tile_<pad>.3mf (29), and a lid for each, print/tiles/lids/lid_<pad>.3mf. The tiles are hot-glued under the cardboard, so there are no bolts.

tiles layout

Sections through two tiles, seen from above. C0 has the cavity beside the piezo; I0 has it under the piezo:

tile sections

Material: foaming PLA (LW-PLA, Bambu PLA Aero) is the better choice here. It’s lighter and absorbs more vibration than solid PLA, so less of a hit travels through the tile. Use its own filament profile (Bambu’s “PLA Aero” system preset sets the foaming temperature and reduced flow), at 0.2 mm layers, without supports, with the open side down on the plate, exactly as exported. The engraved labels come out rougher but stay readable. Hot glue sticks well to it; a low-temperature gun is kinder to thin parts.

Test first: print O3, its neighbour C3 and I1 (with their lids). Glue them under scrap cardboard with their piezos, build one circuit, and tap: check the signal, and how much a tap on O3 shows on C3, before printing the rest.

Piezo mount for bare discs (piezo_mount.scad)

Both sensor sizes are bare brass discs. Each one goes brass side up against the cardboard, held by a printed clamp ring underneath that presses only the brass rim (the ceramic sits free in the centre hole). Three M2 screws (or pins) go up through the cardboard into a 1 mm top plate, which the pad sticker covers.

Mounted (cardboard, plate, disc, ring) Ring, back face
mount ring

Mux boxes (mux_box.scad)

One CD74HC4067 per ring, each on its own Pico ADC input, select lines S0–S3 shared:

Box Pads Channels Pico
OUTER O0–O11 0–11 GP26 / ADC0 (pin 31)
CENTRAL C0–C11 0–11 GP27 / ADC1 (pin 32)
INNER I0–I4 0–4 GP28 / ADC2 (pin 34)

Where they go: stacked at the centre of the pan, under the tile layer, with the Pico on top. Four M3 bolts through the common hole grid hold the stack. The inner wires are then a few cm, the outer ones run radially (about 20 cm at most, see wire_lengths.csv), and the select bus stays short.

mux box

Printing

./make_print.sh rebuilds everything in print/ (OpenSCAD 2021+). Every part is already oriented flat for printing; lids print top face down, so the lettering comes out on the smooth bed side.

File Print Notes
piezo_gauge.stl 1 Print first: measure your disc sizes
piezo_mount_ring_large/small.stl 1 per pad After setting the disc sizes
piezo_mount_plate_large/small.stl 1 per pad Goes on top, under the sticker
piezo_module_base.stl 1 per pad (29) Circuit box
piezo_module_lids/lid_<pad>.stl 1 each Labelled O0–I4
mux_box_base.stl 3  
mux_box_lid_OUTER/CENTRAL/INNER.stl 1 each  

Bambu P1S, 0.4 mm nozzle, ordinary PLA (Bambu PLA Basic or generic PLA, textured PEI plate):

Setting Value Why
Process base 0.16 mm Optimal Small lettering and 0.2 mm clamp recess
Wall loops 4 Thin parts (≤ 2.6 mm) print fully solid: stiff without bulk
Top / bottom shells 6 / 5  
Infill 40 % gyroid Only the boxes have any infill
Supports off None needed
Brim none  
Elephant-foot compensation 0.15 mm Keeps the bed-side recess and holes true
Hole compensation (XY) 0.1 mm M2/M3 holes clear without drilling
Filament PLA, 220 °C nozzle, 55 °C bed Printer defaults are fine

print/deepPan_P1S_PLA_0.4.json holds these as a Bambu Studio process preset: File → Import → Import Configs, then pick “deepPan stage2 PLA 0.16 stiff @P1S 0.4” with the P1S 0.4 printer and a PLA filament. If Bambu Studio rejects it (preset names change between versions), select “0.16mm Optimal” and set the rows above by hand. Use the Fill bed / copies option to print 29 module bases in a few plates.