Discobox

by JestingDart4369

Novaroma ↗

Bill of materials

Prices are in CHF and partly estimates; check them before ordering. Source files: BOM.csv, BOM_enclosure.csv.

Electronics

ItemQtyPrice_CHFLinkNotes
Arduino Uno R4 WiFi123.7Main controller (Renesas RA4M1)
16 mm RGB push button (PM161H-10E, 5 V)129.9Momentary switch + RGB LED, internal LED resistors
DFRobot 16x WS2812 RGB LED ring (DFR0888-12)121.95 V, data on D4 via 330 Ohm
BTF-Lighting WS2805 RGBCCT LED strip, 3 m, 60 LED/m, 12 V117.39link60 ICs (3 LEDs per IC), data on D11
DFPlayer Mini MP3 module15.65linkSerial1 (D0/D1), 1 kOhm in series on its RX
PAM8403 stereo amplifier18.45linkClass D, 5 V
Garsent 3 inch 4 Ohm 5 W full-range (Breitband) speaker (7.7 cm body / 9.7 cm across ears / 3.5 cm deep)28.45linkSeller as you gave it: Shenzhen Youyuan Electronics Co Ltd (not confirmed); order no. 260617951731 (?). Price is still the old line total from the cost sheet, check it
12 V 8 A power supply (JOYLIT; 19 x 6 x 4 cm incl. the plugged-in DC plug end)116.0linkPowers the strip and, via the buck converter, everything else
12 V to 5 V buck converter, 5 A (SUPERNIGHT; 6 x 3 x 2 cm, terminals at both short ends)19.4link5 V rail for Arduino, ring, DFPlayer, amp
1-channel 5 V relay module13.75linkD7; switches the disco light in Party mode (doc/RELAY.md)
Piezo buzzer / small tone() speaker (3 x 3 x 1.5 cm body plus a side screw lug)12.0D9
8 GB microSD card15.65linkFAT32, files as /02/001.mp3 ...
Inline fuse holder with fuses15.0linkPlanned price from shopping list
1000 uF electrolytic capacitor11.0linkPlanned price from shopping list
Mains extension cable 5 m (Swiss plug type 13)115.0linkSwiss extension cable
Perfboard13.0
Wiring / jumper wires15.0
Assorted resistors (330 Ohm, 1 kOhm, ...)12.0
74AHCT125 level shifter (3.3 V to 5 V)1Recommended for the strip data line, not bought yet
TOTAL (priced items only)183.24Items without a price are not included

Enclosure, cables and mains side

ItemQtyPrice_CHFLinkNotes
Cable gland / strain relief for the mains cable (PG11 or M20)13.00Estimate; the extension cable (cut: Swiss plug end) goes through it into the mains compartment (option A)
Mains fuse holder 250 V AC (inline or panel) + 5x20 mm fuses T2A-T3.15A17.00Estimate; car blade fuses are NOT allowed on 230 V; size by the load on outlet B
Swiss Type 13 panel outlet for the disco ball113.00linkBrennenstuhl IP55 about 13.00 (Steffen IP55 about 9.60 is cheaper if the cutout suits); check the cutout size before printing
GX16-4 aviation connector sets (plug + socket) for the strip cable28.00linkeBay China seller; sets about 1-4 EUR each plus shipping 3-7 EUR; rated about 5 A; 4-core 1.0 mm2 cable
GX12-2 aviation connector sets (plug + socket) for the button cable26.00linkeBay: 5 sets about 14.59 EUR (about 2.9 per set); single sets about 1.5-1.7 EUR plus shipping
4-core flexible cable 1.0 mm2 (H05VV-F 4G1.0) 5 m112.00linkRS sells 50 m rolls (too much); buy 5 m from a Swiss electrical shop; German price about 1-2 EUR/m; retail price estimated
M3 heat-set inserts (100 pcs)110.00linkPrusa 10.99 USD; eBay about 14 EUR for 110; for the lid screws and panel joints
M3 screw assortment (countersunk and pan head)18.00Estimate; any hardware store
Brass hex standoffs M3 for the Arduino (4 pcs)14.00linkeBay M3 brass standoffs from about 1.3 EUR each; estimate
PETG filament 1 kg (Sunlu PETG or similar)240.00linkCHF price not shown in search; about 18-22 per spool estimated; alternatives: Bambu PETG HF (about 26 EUR) or Prusament PETG (about 39-48 CHF); skip if you already have filament
74AHCT125 (SN74AHCT125N DIP-14) + socket + resistors 220-470 ohm + 100 nF caps14.00linkDigikey.ch chip 0.64 CHF at 1 pc; rest estimated; for the strip data line
Wago 221 connectors + heat shrink + 18 AWG wire (small amounts)112.00linkWago 221 packs about 13-15 EUR for 50; estimate for the whole line; also use it to hardwire the brick after cutting its Europlug
Rubber feet (4 pcs)14.00Estimate
TOTAL (all lines above)131.00Option A: hardwire the cut extension cable. Mix of looked-up and estimated prices; confirm before ordering
ALTERNATIVE option B (removable mains cord) instead of the gland and mains fuse holder: C14 inlet with fuse 5.93 (https://ch.rs-online.com/web/p/iec-steckverbinder/0481639) + Swiss to C13 cord 14.90 (https://alltron.ch/de/product/268730) + 250 V AC fuse 3Adds about 14 CHF to the total
ALREADY OWNED (not in the total): Swiss plug / extension cablein-house cable (for fixed wiring inside only)car fuses with holder (12 V line only)12 V brickrelay modulespeakers etc (see BOM.csv)