Made with ♥ by Peter Lowie
- "Totoro Family" 3D Model by PatrickFanart
- Slic3r to single out Totoro and slice the 3D Model
- Raspberry Pi Zero
- Micro SD Card (UHS Speed Class 1 for faster startup, see
./src/install.sh
) - Micro USB Charger with On/Off Switch
- Adafruit I2S 3W Stereo Speaker Bonnet
- 3W Stereo Speaker Set
- MDF Panel (for easier sanding), screws, glue, paint, tactile switches, led, low-voltage-cable, resistors, kapton tape,...
- Variety of tools
- Lots of time and patience 😉
Using external pull-down resistors as they proved more reliable for long time usage.
# Setup sd with barebone raspbian and create "ssh"-file in boot.
# Boot the rpi and ssh into it.
# Use rapi-config to change keyboard-layout and disable serial.
sudo raspi-config
# Install git
sudo apt-get install -y git
# Generate ssh-keys and add it to this repo
ssh-keygen
# Clone repo
git clone [email protected]:LowieHuyghe/totoromusicbox.git
cd totoromusicplayer
# Run i2samp install. Twice!
./src/install/i2samp.sh
# Run install to optimize startup, and setup the service.
./src/install.sh
# Add your mp3-files to ./music/
For this project I started off with what I knew and learned a lot along the way. I enjoyed making it and am very happy with the final result.
As with everything, there's always some room for improvement:
- Even with all the optims, startup time is still 20 seconds.
- Running a complete OS is not really necessary.
A solution for both could be the Adafruit Music Maker FeatherWing with Amp controlled by an ESP8266.