Assembly
Componentes y cableado
La lista completa de piezas para la vía breadboard, y el pinout GPIO verificado en el firmware.
Parts list
BOM, versión breadboard
Todo lo necesario para la vía A. Precios orientativos 2026, gastos de envío no incluidos.
| Component | Suggested reference | Qty | Ind. price |
|---|---|---|---|
| ESP32-S3 N8R8 dev board | ESP32-S3-DevKitC-1 N8R8 | 1 | ~€12 |
| NFC reader | PN532 module (SPI mode) | 1 | ~€6 |
| I2S audio amplifier | MAX98357A | 1 | ~€5 |
| Speaker | 4 Ω 3 W (40-50 mm) | 1 | ~€3 |
| microSD reader | SPI breakout module 3.3 V | 1 | ~€2 |
| microSD card | Class 10 / U1, 8-32 GB, FAT32 | 1 | ~€6 |
| RGB LED strip | WS2812B, 8 LEDs | 1 | ~€3 |
| Rotary encoder | EC11 type with push button | 1 | ~€1 |
| Push buttons | Momentary buttons | 4 | ~€1 |
| NFC tags | NTAG213/215/216 (Type 2) | ≥5 | ~€5 |
| Breadboard + wires | Breadboard + Dupont wires | 1 set | ~€6 |
| LED capacitor | Electrolytic 100-1000 µF | 1 | ~€0.20 |
| USB power supply | USB 5 V brick (1 A min.) + cable | 1 | ~€5 |
El firmware no utiliza ninguna pantalla. Para una versión portátil, un módulo LiPo Rider (previsto en la carcasa 3D, todavía en fase de diseño) alimenta la MusicBox con una batería LiPo. La gestión de batería en el firmware está todavía por llegar.
Wiring
Connecting the components
Pinout GPIO por periférico, verificado en el código del firmware. Niveles lógicos a 3,3 V.
| Peripheral | Bus | Pins (GPIO) |
|---|---|---|
| PN532 NFC | SPI | SCK 14 · MOSI 13 · MISO 12 · SS 15 · RST 3 |
| microSD card | SPI | SCK 18 · MOSI 17 · MISO 8 · CS 5 |
| MAX98357A audio | I2S | DIN 40 · BCLK 41 · LRC 42 |
| Tira de LEDs WS2812B (×8) | RMT | DATA 16 |
| EC11 encoder | PCNT | CLK 9 · DT 11 · SW 10 |
| Action buttons ×4 | GPIO | 45 · 46 · 47 · 48 (active LOW) |