Use of a More Recent Browser is Recommended
This site uses modern HTML5 features and may not render correctly on earlier browsers. If you use Internet Explorer, version 11 and later is recommended.
The internal mechanism was straight-forward. I'd worked with the Wave Shield from Adafruit before so I paired that with an Arduino as the music playing device. You can see the Arduino with the Wave Shield at the top of the photo. I then attached a tilt sensor to the Arduino (actually to the top of the Wave Shield) so that I could sense when the book was tilted. I converted a MIDI version of the Harry Potter theme that I'd purchased for our piano to Wave format and wrote it to the SD card for the Wave Shield. A small battery pack with included switch provided the power.
In a few of my projects, I've been using the internal speakers removed from old Sun Microsystems external speaker units (shown below). This is also the type of speaker I'd used earlier on the MARV project. They're very sturdy, a bit heavy, but give a nice rich sound in a limited space. Since I didn't want to make any permanent changes to the book itself, I cut a piece of 1/4" plywood to fit inside the book and then used an L-shaped bracket (the kind Ikea gives you with bookcases to tie them to the wall) with a wing nut to tighten it. That way, the bracket can slide closed and be tightened to hold the wood firmly in the book. Then I attached the Arduino stack with screws and spacers to the wood and used wood glue to fasten the metal back of the speaker to the wood. The battery pack can use some velcro to keep it from rattling around.Here's a video of the finished book: