Cables and plugs (real amounts)
Generated by python3 cad/make_plugs.py. Internal lengths come from the wire routes of the 3D model plus 15 % slack, rounded up to 5 mm. Routes are planning routes: cut one wire to length and check it before you make the rest.
External cables (coiled behind the model)
| Cable | Length | Outer diameter | Plug at the box | Far end |
|---|---|---|---|---|
| Strip cable, 4-core 1.0 mm2 (H05VV-F 4G1.0) | 2.20 m | about 9 mm | GX16-4 plug | bare, to the LED strip |
| Cable of the separate big red button, same type (2 of the 4 cores used) | 2.20 m | about 9 mm | GX12-2 plug | big red buzzer-style button (90 mm base, 70 mm dome), beside the box |
| Mains cable (Swiss extension, type 13) | 5.00 m | about 10 mm | through the cable gland into the mains compartment | Swiss plug into the wall |
| Disco ball cord (motor ball: 20 cm mirror ball on a motor base) | about 0.5 m in the model (the real cord may differ) | about 8 mm | Type 13 plug in outlet B | motor of the ball |
The two 2.2 m cables use 4.4 m of the 5 m roll in BOM_enclosure.csv.
Plugs and sockets in the back pocket
| Position x (mm) | Part | Hole |
|---|---|---|
| 135 | mains inlet (Swiss plug cable) | 22 mm |
| 85 | outlet B Type 13 (disco ball) | 35 mm |
| -135 | strip connector GX16 | 16 mm |
| -105 | button connector GX12 | 12 mm |
| -75 | spare (e.g. second button) | 12 mm |
Internal wires
| Wire | Net | Wire diameter in model | Cut length with slack |
|---|---|---|---|
| mains live inlet to relay COM | 230 | 3 mm | 50 mm |
| mains live relay NO to outlet | 230 | 3 mm | 90 mm |
| mains neutral straight through | 230 | 3 mm | 65 mm |
| mains live inlet to brick | 230 | 3 mm | 80 mm |
| mains neutral inlet to brick | 230 | 3 mm | 80 mm |
| 12V brick to buck barrel jack | 12 | 3 mm | 385 mm |
| 12V buck in to strip port via fuse | 12 | 3 mm | 140 mm |
| 5V buck to arduino | 5 | 2 mm | 45 mm |
| 5V buck to relay coil | 5 | 2 mm | 275 mm |
| 5V buck to amp pair | 5 | 2 mm | 200 mm |
| GND buck to amp pair | gnd | 2 mm | 190 mm |
| 5V amp to dfplayer | 5 | 1.5 mm | 35 mm |
| GND amp to dfplayer | gnd | 1.5 mm | 45 mm |
| audio dfplayer to amp L R | audio | 1.5 mm | 30 mm |
| buzzer D9 | data | 1.5 mm | 190 mm |
| buzzer GND | gnd | 1.5 mm | 200 mm |
| data D11 via 74AHCT125 | data | 1.5 mm | 55 mm |
| data 74AHCT125 to strip port | data | 1.5 mm | 95 mm |
| serial arduino to dfplayer RX TX | data | 1.5 mm | 225 mm |
| bigbutton signal to port | data | 1.5 mm | 105 mm |
| bigbutton GND to port | gnd | 1.5 mm | 35 mm |
| GND buck to gnd block | gnd | 2.5 mm | 85 mm |
| GND block to arduino | gnd | 2 mm | 75 mm |
| GND block to strip port | gnd | 2.5 mm | 65 mm |
| speaker left pair | audio | 1.5 mm | 75 mm |
| speaker right pair | audio | 1.5 mm | 210 mm |
| button switch D2 | data | 1.5 mm | 380 mm |
| button switch GND | gnd | 1.5 mm | 455 mm |
| button LED R D3 | led_r | 1.5 mm | 385 mm |
| button LED G D5 | led_g | 1.5 mm | 395 mm |
| button LED B D6 | led_b | 1.5 mm | 400 mm |
| button LED common GND | gnd | 1.5 mm | 465 mm |
| ring 5V | 5 | 2 mm | 400 mm |
| ring GND | gnd | 2 mm | 460 mm |
| ring data D4 330ohm | data | 1.5 mm | 410 mm |
Total internal wire per net: 230 0.36 m, 12 0.53 m, 5 0.95 m, gnd 2.08 m, audio 0.32 m, data 1.46 m, led_r 0.39 m, led_g 0.40 m, led_b 0.40 m. Buy at least this much, plus spare.