The idea
My son likes to listen to radio plays and audio books. So he always approached me asking to turn on some plays of Pumuckl or some other series. At some point in time I decided, that he needs to be able to listen to these things on his own in his room. However he's not in school yet, so reading the playlist of an mp3-player is not something I can ask from him. Buying one of those readily available systems also wasn't an option, because they are locked-in systems. Fortunately I stumbled over an open source project called TonUINO. This implements a children-ready music-box around an Arduino micro-controller together with a hardware mp3 player module and an RFID reader. Some additional stuff is also needed, like buttons and a speaker.
Fortunately I had a damaged JBL Charge 4 speaker lying around, so I could recycle parts from it. Putting everything into the original enclosure wasn't possible, so I designed a new case.
Designing an enclosure
Having the possibility to access our FabLab, I decided to design the new case from plywood and let the laser cut the pieces. Since I don't know anything about speaker design, I decided against doing the calculations of a bass-reflex tube, but instead do a closed design and incorporate one of the passive-radiators from the JBL speaker. Since the original design was a waterproof one, it was anyhow designed for a closed package. I just roughly tried to have a similar volume inside of my enclosure than the original one had. Here's the cutting plan I designed:
Cutting wood
The first test, one need to do for each new material being cut, is to determine the right power and speed settings. For the wood I chose, 3mm thick plywood of the poplar tree, I tested a low power range and medium speeds. The laser-cutters software allows to generate a pattern testing different combinations of speed and power.
As can be seen here, too low power and too much speed will result in the wood not being cut. I decided to use a speed value of 30 and a power value of 33.
Next was to find the right kerf value. Zero, resulted in parts that were coupling too loosely and wobbling. A kerf of 0.1mm was very tight and I was afraid to break the wood when separating the pieces again. In the end I used a kerf of 0.06mm, which was fitting well, but left some room for the glue.
Having found the right 3 values, cutting the designed pieces could start.
Putting everything together
The electronics were initially tested on a breadboard. After verifying, that all is working, assembling the enclosure started. Fitting in the electronics was quite a challenge.
And here's the finished product.
Since TonUINO is an open system, I was able to not only put audio books onto the system, but I also created 3 cards with music. Now my son started listening to the best of albums of Queen, The Beatles and David Bowie. In the meantime he likes them much more than the audio books, which puts a lot less stress on the minds of parents being forced to listen to the sounds coming out of the children's bedroom :-)
Big thanks to @AG for giving me the introduction to the laser cutter.