
Buttons
JuanPoueriet/automatic-spork
Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro), wheel (rueda de LEDs), displaysa/b/c (paneles de 7 segmentos en cascada) y buttons (botonera).

Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro), wheel (rueda de LEDs), displaysa/b/c (paneles de 7 segmentos en cascada) y buttons (botonera).
Pic32main is an open-source printed circuit board by JuanPoueriet, from the JuanPoueriet/automatic-spork repository on GitHub. It is a 6-layer board of 160 × 120 mm with 256 parts on 153 nets, routed with 1,566 tracks and 137 vias.
It is built around the PIC32MZ2048EFH064-I/PT, 74HCT244PW,118-JSM and 74HC07M/TR, with the TAS5760MDAPR, LDL1117S33R and ULN2803 among its other parts. Its parts include 4 ICs, 1 resistor, 1 connector, 1 crystal and 1 fuse. It belongs with the PIC boards of this library.
Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro),
wheel (rueda de LEDs), displays_a/b/c (paneles de 7 segmentos en cascada) y
buttons (botonera). MCU PIC32MZ2048EFH064 + ESP32-C3 para comms, hopper
ICT de 24 V, audio sintetizado I2S→TAS5760M, displays MAX7219.
Hardware y firmware son un solo sistema: el pin-map se cruza en las dos
direcciones (tools/build_context.py). Para trabajar en el repo, el documento
operativo es CLAUDE.md — esto es solo la entrada.
El circuito se describe en YAML y se genera a KiCad; el esquemático no se edita a mano.
| Archivo | Contenido |
|---|---|
hardware/hardware_pic32main.yaml | Placa principal (REV AA + powerfix) |
hardware/hardware.yaml | Los 5 satélites (REV44): wheel, displays_a/b/c, buttons |
hardware/parts_lcsc*.yaml | Partes reales LCSC/JLC (el footprint de aquí manda) |
hardware/net_specs.yaml | Perfil eléctrico por net |
hardware/component_profiles.yaml | Rol EMI/térmico por componente |
hardware/power_model.yaml | Modelo de corriente por rama (anchos de pista) |
hardware/design_rules.yaml | Reglas ejecutables del auditor |
kicad/<placa>/ | Layout físico (ver kicad/README.md) |
Todo lo demás es derivado y se regenera: context/, build/, CSVs, índices
SQLite. Nunca se editan a mano.
hardware/ YAMLs: fuente de verdad del circuito
kicad/ las 6 placas + Roulette.pretty (footprints propios) -> kicad/README.md
firmware/ pic32main (XC32 bare-metal) + audio -> firmware/CLAUDE.md
tools/ pipeline: generador, validadores, índice/consultas, auditor -> tools/README.md
docs/ informes y specs; docs/revlog/ = historial de revisiones
datasheets/ PDFs de toda la BOM (locales; NO se descargan de internet)
context/ contexto regenerable, comiteado
3D/ modelos STEP de componentes
vendor/ binarios de TERCEROS (Freerouting). Gitignorado, no es fuente
build/ salidas regenerables: índices, auditorías, gerbers. Gitignorado# índice espacial de una placa (el .kicad_pcb NUNCA se lee crudo: son 121k líneas)
python tools/pcb_index.py kicad/pic32main/pic32main.kicad_pcb
# auditoría ciega: corre TODAS las reglas, no solo lo que preguntaste
python tools/expert_audit.py pic32main # -> build/pic32main_audit.md
# qué cambió entre dos versiones de una placa (tabla + SVG)
python tools/pcb_diff.py <antes> <despues> --svg build/diff.svgEl resto de comandos canónicos (generar, verificar, compilar firmware) están en
CLAUDE.md.
kicad/pic32main/ — lee kicad/README.md antes de
abrir nada ahí.verify_pcb_nets OK.docs/informe-migracion-tht-smd-pic32main-2026-07-27.md), y los hallazgos
de build/pic32main_audit.md.pic32main: SMD para pasivos/ICs/ferritas/cristal, THT
solo donde importa (conectores de potencia, electrolíticos). El "100 % THT" era
del diseño PIC18 legacy, que ya no está en el árbol.*_EXT = lado cable (tras la protección); *_5V = dominio 5 V tras los
buffers.tools/check_*.py.| Qty | Value | Footprint | References |
|---|---|---|---|
| 28 | 10k | R_0603_1608Metric | R_AUD_FLT, R_AUD_GAIN, R_AUD_SDEN, R_CCT_PD, R_COIN_PU, R_DIV_RST, R_DOOR_PU, R_EN, R_ESP_GPIO0, R_FCS_PU, R_HCC_PD, R_HCD_PD, R_HCL_PD, R_HCOE_PU, R_HOPF_PU, R64 +12 |
| 27 | 100nF | C_0603_1608Metric | C_ANAREF, C_AUD_INHF, C_AVDD, C_AVDD_B, C_BUF_BTN, C_BUF_MX, C_BUF_ROW, C_DVDD_B, C_EN, C_ESP_HF, C_FLASH, C_FRAM, C_MCLR, C_OUTDA, C_OUTDB, C_PVDD1 +11 |
| 21 | 1nF | C_0603_1608Metric | C_AVDD2, C_COIN_F, C_COL0_F, C_COL1_F, C_COL2_F, C_COL3_F, C_DOOR_F, C_FANTACH_F, C_GPIO0_F, C_HOPF_F, C_HOPL_F, C_HOPP_F, C_HOPS_F, C_ROW0_F, C_ROW1_F, C_ROW2_F +5 |
| 16 | 1N4148W | D_SOD-123 | D_COL0_N, D_COL0_P, D_COL1_N, D_COL1_P, D_COL2_N, D_COL2_P, D_COL3_N, D_COL3_P, D_ROW0_N, D_ROW0_P, D_ROW1_N, D_ROW1_P, D_ROW2_N, D_ROW2_P, D_ROW3_N, D_ROW3_P |
| 13 | 100R | R_0805_2012Metric | R_FAN_S, R_HCC_S, R_HCD_S, R_HCL_S, R_HCOE_S, R_MXC_S, R_MXD_S, R_MXL_S, R_RX2ESP_S, RROW0, RROW1, RROW2, RROW3 |
| 9 | P6SMB10A | D_SMB | TVS_CCT, TVS_COIN, TVS_DOOR, TVS_HOPF, TVS_HOPL, TVS_HOPP, TVS_HOPS, TVS_SERV, TVS_TILT |
| 8 | 1k | R_0805_2012Metric | R_ACPT_INHIB_PU, R_CCT_B, R_CCT_PU, R_FAN_PU, R_HOP_GATE, R_HOPL_PU, R_TACH_S, R_TX2ESP_S |
| 7 | 620R | R_0805_2012Metric | RCOIN, RDOOR, RHOPF, RHOPL, RHOPS, RSERV, RTILT |
| 5 | 1µF | C_0805_2012Metric | C_ANAREG, C_AVDD_A, C_GVDD, C_VBUS, C_VCOM |
| 5 | 22k | R_0603_1608Metric | R_CCT_RX2, R_COL0, R_COL1, R_COL2, R_COL3 |
| 4 | 10µF | CP_Radial_D5.0mm_P2.00mm | C_BULK33, C_DVDD_A, C_LDO_IN, C_PVDD_10 |
| 4 | 220nF | C_0805_2012Metric | C_BSTAN, C_BSTAP, C_BSTBN, C_BSTBP |
| 4 | 240R | R_0805_2012Metric | RCOL0, RCOL1, RCOL2, RCOL3 |
| 4 | 680nF | C_1206_3216Metric | C_OUTAN, C_OUTAP, C_OUTBN, C_OUTBP |
| 4 | Inductor 10uH >=3A | L_Radial_D8.7mm_P5.00mm_Fastron_07HCP | L_AUDAN, L_AUDAP, L_AUDBN, L_AUDBP |
| 4 | MountingHole_3.2mm_M3 | MountingHole_3.2mm_M3 | MH1, MH2, MH3, MH4 |
| 4 | USBLC6-2SC6 | SOT-23-6 | U_CCESD, U_ESPESD1, U_ESPESD2, U_USBESD |
| 3 | 1.5SMC16A | D_SMC | TVS_12VIN, TVS8, TVS9 |
| 3 | 100k | R_0603_1608Metric | R_REV5G, R_REV12G, R_REV24G |
| 3 | 2.2k | R_0603_1608Metric | R_ACPT_INHIB_RST, R_SCL, R_SDA |
| 3 | 4A | PTC_Radial_P5.1mm_W17mm | F_DISP, F_MAIN24, F2 |
| 3 | Fiducial_1mm_Mask2mm | Fiducial_1mm_Mask2mm | FID1, FID2, FID3 |
| 2 | 0.75A | PTC_Radial_P5.1mm_W12mm | F_COMMS, F_VLED |
| 2 | 1.1A | PTC_Radial_P5.1mm_W15mm | F_CCT, F_COIN |
| 2 | 1000µF | CP_Radial_D10.0mm_P5.00mm | C_AUD_BULK, C_BULK5 |
| 2 | 1SMA4744A | D_SMA | D_REV12Z, D_REV24Z |
| 2 | 30pF | C_0603_1608Metric | C_OSC1, C_OSC2 |
| 2 | 470µF | CP_Radial_D10.0mm_P5.00mm | C_BULK12, C_ESP_BULK |
| 2 | 5.1k | R_0603_1608Metric | R_CC1, R_CC2 |
| 2 | 74HCT244PW | TSSOP-20_4.4x6.5mm_P0.65mm | U_BUF_BTN, U_BUF_MX |
| 2 | BAT54W | D_SOD-123 | D_PWM_CL, D_TACH_CL |
| 2 | Bornera 5.00mm 2 pos | TerminalBlock_MaiXu_MX126-5.0-02P_1x02_P5.00mm | J_SPK_A, J_SPK_B |
| 2 | Header 1x6 2.54mm | PinHeader_1x06_P2.54mm_Horizontal | J_CAB, J_COIN |
| 2 | P6SMB6.8A | D_SMB | TVS_5V, TVS_5VIN |
| 1 | 0.25A | PTC_Radial_P5.1mm_W12mm | F_BTN |
| 1 | 0.5A | PTC_Radial_P5.1mm_W12mm | F_FAN |
| 1 | 100nF | C_0805_2012Metric | C_HOP_HF |
| 1 | 100µF | CP_Radial_D6.3mm_P2.50mm | C_AUD_IN |
| 1 | 10µF | C_0805_2012Metric | C_LDO_OUT |
| 1 | 18k | R_0603_1608Metric | R_CCT_RX1 |
| 1 | 220R | R_0603_1608Metric | R65 |
| 1 | 220µF | CP_Radial_D13.0mm_P5.00mm | C_BULK24 |
| 1 | 3A | PTC_Radial_P5.1mm_W17mm | F_AUD |
| 1 | 4.7k | R_0603_1608Metric | R_HOPS_PU |
| 1 | 4.7µF | C_1206_3216Metric | C_VUSB2 |
| 1 | 470R | R_0805_2012Metric | R_MCLR_S |
| 1 | 470pF | C_0805_2012Metric | C_FANPWM_F |
| 1 | 47R | R_0805_2012Metric | R_HOPP_S |
| 1 | 74HC07M | SOIC-14_3.9x8.7mm_P1.27mm | U_BUF_ROW |
| 1 | 74HCT139PW | TSSOP-16_4.4x5mm_P0.65mm | U_ROW_DEC |
| 1 | 7A | PTC_Radial_P10.2mm_W27mm | F1 |
| 1 | 8A | PTC_Radial_P10.2mm_W27mm | F_MAIN5 |
| 1 | 9A | PTC_Radial_P10.2mm_W27mm | F_MAIN12 |
| 1 | AO3400A | SOT-23 | Q_HOP_N |
| 1 | Choke modo comun USB2.0 90R@100MHz | L_CommonModeChoke_Coilank_ACM2012 | L_USB |
| 1 | Cristal 24.000 MHz CL=20pF SMD HC-49/SD | Crystal:Crystal_SMD_HC49-SD | Y1 |
| 1 | DS3231MZ | SOIC-8_3.9x4.9mm_P1.27mm | U_RTC |
| 1 | FM24CL64B | SOIC-8_3.9x4.9mm_P1.27mm | U_FRAM |
| 1 | Ferrita AVDD | L_0805_2012Metric | FB_AVDD |
| 1 | Ferrita VUSB3V3 | L_0805_2012Metric | FB_VUSB |
| 1 | Ferrita del rail analogico AVDD del amp | L_0805_2012Metric | FB_AUD |
| 1 | Header 1x04 2.54mm | PinHeader_1x04_P2.54mm_Vertical | J_FAN |
| 1 | Header 1x3 2.54mm | PinHeader_1x03_P2.54mm_Horizontal | J_CCTALK |
| 1 | Header 1x5 2.54mm | PinHeader_1x05_P2.54mm_Vertical | J_ICSP |
| 1 | Header 1x8 2.54mm | PinHeader_1x08_P2.54mm_Horizontal | J_COMMS |
| 1 | Header 2x05 box | IDC-Header_2x05_P2.54mm_Horizontal | J_DISP |
| 1 | Header 2x08 box | IDC-Header_2x08_P2.54mm_Horizontal | J_BTN |
| 1 | IRF9Z34N | TO-220-3_Vertical | Q_REV24 |
| 1 | Inductor de potencia 47uH | L_TDK_SLF12575 | L_PVDD |
| 1 | JST B6P-VH(LF)(SN) 1x6 3.96mm 10A | JST_VH_B6P-VH_1x06_P3.96mm_Vertical | J_PWR |
| 1 | LDL1117S33R | SOT-223-3_TabPin2 | U2 |
| 1 | MMBT3904 | SOT-23 | Q_CCT |
| 1 | Mini-Fit Jr 2x05 vertical 4.2mm 9A | Molex_Mini-Fit_Jr_5566-10A_2x05_P4.20mm_Vertical | J2 |
| 1 | P6SMB33A | D_SMB | TVS_24VIN |
| 1 | PIC32MZ2048EFH064 | TQFP-64_10x10mm_P0.5mm | U1 |
| 1 | Portapilas CR2032 MYOUNG BS-07-A1BJ001 | BatteryHolder_MYOUNG_BS-07-A1BJ001_CR2032 | BT1 |
| 1 | SPST-NO | SW_PUSH_6mm | RST1 |
| 1 | TAS5760M | HTSSOP-32-1EP_6.1x11mm_P0.65mm_EP5.2x11mm_Mask4.11x4.36mm | U19 |
| 1 | ULN2803 | SOIC-18W_7.5x11.6mm_P1.27mm | U4 |
| 1 | USB-C receptaculo | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J_USBC |
The 252 most common of 256 parts.

JuanPoueriet/automatic-spork
Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro), wheel (rueda de LEDs), displaysa/b/c (paneles de 7 segmentos en cascada) y buttons (botonera).

JuanPoueriet/automatic-spork
Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro), wheel (rueda de LEDs), displaysa/b/c (paneles de 7 segmentos en cascada) y buttons (botonera).

JuanPoueriet/automatic-spork
Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro), wheel (rueda de LEDs), displaysa/b/c (paneles de 7 segmentos en cascada) y buttons (botonera).

JuanPoueriet/automatic-spork
Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro), wheel (rueda de LEDs), displaysa/b/c (paneles de 7 segmentos en cascada) y buttons (botonera).

JuanPoueriet/automatic-spork
Máquina de ruleta física de casino. 6 PCBs: pic32main (cerebro), wheel (rueda de LEDs), displaysa/b/c (paneles de 7 segmentos en cascada) y buttons (botonera).

HeyPCB/hello-8051
HELLO: a tiny 8051 computer shaped like a 1984 desktop. AT89S52, 32 KB SRAM, 128x64 ST7920 LCD, USB-C. 112 x 158 mm 2-layer KiCad 10 board, DRC clean, firmware that writes hello. Built through HeyPCB's MCP server.

usr-ein/TriMixxx
Open source standalone DJ multimedia player, compatible with Rekordbox



gabrielyoung92/gabs_microSMT_PickAndPlace
Independent reorganisation of MicroSMT feeder and PNPv3 files, previews and documentation, with upstream attribution and ChatGPT assistance.

m47812/Custom-3D-Printer-Controller
A fully custom 3D Printer controller board based on an stm32f7 controller with TMC2209 stepper drivers


igorilla666/water-controller
Scheda di controllo basata sul modulo Waveshare ESP32-S3-ETH, con ingressi sensore, RS-485, pilotaggio rele, buzzer e alimentazione/protezioni dedicate.
It measures 160 × 120 mm and has 6 copper layers, 1.6 mm thick.
256 parts, built around the PIC32MZ2048EFH064-I/PT, 74HCT244PW,118-JSM, 74HC07M/TR and TAS5760MDAPR. 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.
From the JuanPoueriet/automatic-spork repository on GitHub, at the commit this page was made from: the board is kicad/pic32main/pic32main.kicad_pcb and its schematic kicad/buttons/buttons.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask JuanPoueriet before reusing the design.