Musical Box Assembly Instructions

This page last updated: 22 March 2026.

This page contains the main assembly instructions for the musical box, removed to here from the main page as they are quite detailed; not that many pictures here, sorry, there was just too much detail to capture and no time.  Addition of the trim and decoration is not covered here, see the main page for that.  Printing instructions for the 3D printed parts, as well as the parts themselves, can be found on Github.

In general, it is worth having a stock of:

You will need a 12 V, 3 Amp power supply.

You will need to be able to:

No machining or drilling is required, though a grinding bit in an electric drill would suffice for grinding flats into brass bar.


Contents


Lift Assembly

I followed Michael Burger's original assembly instructions with these additions:
Part 13
Part 13
Part 13
Part 14 Part 14
"green" part
Square
Wiggleless
Part 12
Part 12
Part 12
Thumbscrew
Bolted
Tap
Grub
Screwed
Part 14

Having completed Michael's original assembly, attach the stepper motor, which fits inside the heavily modified thumbscrew knob, as follows:

Insertion
Gap
Done
And done.

The pre-wired sensors are then clipped into place:

Up/Down sensor
Down sensor

Finally, to hold the thing that will be on top of the lift in place, glue a small round neodymium magnet (I used a 20 mm diameter, 1 mm thick one, which will cost you 5 gm of your lifting capacity) to the indentation on the underside of the top of the lift.

Note: due to a shortage of space, the 3.3 V and ground lines of the two sensors were later commoned into a single pair of connections.

Here is the lift running some test software that uses the sensors:

 

Plinky-Plonky Mount Assembly

Components:

You will also need an M3 tap.

Assembly, in no particular order:

QRD1114
Schematic
Splitter
Wired
Reflector
Done

Here is the final version of thee Camberwick Green belt playing:

 

Box Assembly

Assembly of the box starts with the stand, where all of the power and control lies, and works upwards, the bottom part being split into three as it is the most complex.


Stand

Components:

Assembly, top:

Turn the stand over to address the components on the underside:

Wiring and initial software setup:

Schematic

Here is the assembled stand:

Underside
Underside
Lid
Top
Covered

Bottom, Test Fit And Internals

Nothing is finally fitted in this stage but many things are prepared and tested ready for fitting in the bottom completion stage.

Components:

You will also need a few test leads (e.g. crocodile-clip terminated leads).

Assembly:

You should now have six plates mounted with 24BYJ58-034 stepper motors, an electronics assembly wired to the lift and a couple of bus-bars ready for installation in the bottom completion stage.

Bolted
Flush
Schematic
Board Soldered Done Assembly
Testing

Bottom, Electronics "Modules"

Note: the pictures below show a small green terminal block - this proved a bit of a pain and was replaced by the bus-bar arrangement described in the text.

Components:

Assembly:

Schematic
Top
Veroboard
Soldered
Underside
Underside

12 V, 5 V and the QRD1114 will be wired to these later; for now all I did was connect 12 V to the TMC2209 (from the stand), plug the USB connector of the ESP32 into a PC (which will supply 5 V, from which the ESP32 board will derive 3.3 V) on which the ESP-IDF environment and a clone of the Github respository (with the ca_cert.pem  generated while following the instructions in pi_wifi_ap.md above) was loaded and build/flash the stepper application with all of the *_PIN flags set to -1: the ESP32 should connect to the Pi, check for an OTA update and then rotate the stepper motor for a few seconds.  On a serial terminal connected to the Pi, I typed the command sudo arp and noted the MAC address of each newly connected ESP32, numbering them in the text file 0 to 5 "door x" and writing the number somewhere on the board that would be visible when the board was mounted.


Bottom, Completion

Components:

Assembly:

Guide
Arrangement
Bolted
Power
Rack
Wired
Glue
Lift
Lifted

Note: the bottom is not yet bolted together, how to do that is described in the next stage, but it will stay together anyway as the fit is deliberately tight.

Sides, Top And Doors

Components:

You will also need an M3 tap and a good pair of tweezers.

Assembly:

Flats
Flat
Paint
Stonehenge
Access Bolted
Bearings
Recession
Stick-out
Barred
Wiring
Sensored Oriented
Closed

Protection

The last thing to do is to secure the open Wi-Fi access point of the Pi that is in the stand with MAC address filtering.  The only ESP32 you don't have a record of the MAC address of is the one in the plinky-plonky, so:

You now have the MAC addresses of all of the ESP32s: with a serial connection to the Pi, follow the instructions in pi_wifi_dhcp_mac.md to limit access to the MusicalBox access point by MAC address and give them all nicely organised IP addresses.

Note: you may wish to include a test ESP32/TMC2209 combination with which you can mess around while not affecting anything else; you will see that esp32_server.py has such a device in its device list on the IP address ending 100, marked as "required": False so that it will be initialised, treated like a normal device etc. but the server won't wait around for it.


To Musical Box main page, back to Meades Family Homepage