Everyone knows that Spaniels are adorable, but a Tardis Spaniel is even cuter! Spidey (shown above) is wearing a blue knit Tardis sweater that keeps him warm on October nights and also hides a wearable electronic project that plays the Tardis woop-woop effect and flashes a blue LED as well.
This project uses a Flora wearable processor and the VS1053 MP3 music player module which plays the sound of the TARDIS from Doctor Who. A Flora NeoPixel is used for the blinking blue light on top. The project lays flat for a wearable project. An infrared receiver is added to mute the sound when you want quiet (although you could also use it to switch between different audio tracks)
This project shows the flexibility of flora in making more advanced audio projects. Since a good number of digital pins are required to use the VS1053, this project demonstrates use of the extra pins on the Flora ICSP header for digital signals.
- Adafruit FLORA wearable microcontroller
- VS1053 Audio Breakout Board (Version 1 or 2) and a microSD card
- Amplifier Board (MAX98306 shown, the updated TS2012 is preferred)
- A Neopixel (alternative would be a blue LED and a resistor nominal 100 ohms)
- LiPO Battery (choose size based on how long the project needs to run and the weight your project can tolerate). If you do not have one, a LiPo Charger is required. You can use several batteries and swap them as needed for a longer period.
- Optional IR Receiver and Remote Control to turn sound on and off (sound can be irritating for long stretches or if you want to talk). You can use your own remote if you determine the code(s) for the key(s) you use.
Jumper wire - stranded will give you flexibility at the expense of a bit more work soldering and stripping ends. You can consider rainbow wire for its length and flexibility. For my project, I selected solid as the flex was not crucial and it is a bit easier to work with. A ribbon cable, suggested on Wearable Wednesday, was used to connect the Neopixel.
- Speaker(s) - the amplifier will produce stereo although mono is fine. For wearables, you want a flat, lightweight speaker although if you have the space, such as a hat, you can use slightly larger speakers which typically sound better at the cost of weight. For a small wearable, the tiny speakers in talking greeting cards (available also at Sparkfun) work well.
A knit TARDIS outfit sized for a toy dog was obtained on Etsy at a reasonable price. Vendors have hats, scarves, and other Dr. Who themed items. Sewing your own would also be an easy project as the basic color scheme is blue background, white windows, and black trim.
The VS1053 board is very flexible in the sounds it can play (OGG, AAC, WAV, MP3, see the VS1053 tutorial for complete details).
The Dr. Who sounds were from this site which has a good selection. For your own project, select sound(s) or music that reproduce well on smaller wearable speakers and fit the theme of your project. You can have multiple sounds, even select between them with a bit more coding noted in the Going Further section below. WAV files may be converted to MP3 with the free program Audacity (Windows, Mac, Linux) with the free LAME plug-in. Name your sound track001.mp3 for the code shown.