Opinionated Tissue Box

Jun 12, 2022 |  Author: Nic La |  Tags:  project   code   microcontroller   box  

A tissue box with no reservations about sharing its opinion. Inspired by Tom Haverford's Talking Tissue from Parks and Recreation. The Opinionated Tissue Box plays a preloaded soundbite with each tissue draw. It also makes an excellent gift for a friend, complete with personalized messages.

Step 1: Materials + Tools

Materials:

Tools:

Arduino and Wave Shield

Step 2: Collect Soundbites

Decide on what soundbites to make. The more soundbites, the more unsolicited advice your tissue box will dispense. 30 soundbites was a solid goal for me.

  1. "You da man"
  2. "Do'h!"
  3. "Happy Birthday Vahan"
  4. "You go girl"
  5. "God bless you"
  6. "Gesundheit"
  7. "You got this"
  8. "Seize the day!"
  9. "Carpe diem"
  10. "You're very welcome"
  11. "Beware the ides of March"
  12. "Nic is awesome"
  13. "That Nic is so cool"
  14. "Nic is such a nice guy"
  15. "Apple sauce"
  16. "Don't get sick"
  17. "Tissue?"
  18. "Stop it that tickles"
  19. "Not cool"
  20. "Not again"
  21. "Getting close"
  22. "Just joking"
  23. "I got you"
  24. Mac boot up 1
  25. Mac boot up 2
  26. Mac crash 1
  27. Mac crash 2
  28. “Achu!"
  29. Toilet flush
  30. Wilhelm scream
Collect your soundbites. Use your phone's built-in recorder app. Use Audacity to record your PC's audio as you play soundbites off YouTube. Wherever you get your soundbites, converting them to play on the Wave Shield can be a lengthy process. Continue to the next Step for details on how.

Step 3: Configure Wave Shield

Our Wave Shield plays WAV files. Who'd have thought. Your phone may vary, however, my phone exported audio recordings in M4A format. Audacity requires the FFmpeg library to import M4A files. Instructions on how to update Audacity's library preferences can be found in your Audacity's help file (Help > Manual). From here, follow Adafruit's guide on how to convert sound files in Audacity.

Next, follow Adafruit's guide on preparing your Arduino to play WAV files off the Wave Shield. Be sure to download the test program and confirm your Wave Shield plays your WAV files. I received a "FAT partition not found" error and had to reformate the SD card as FAT3.

Success! Why is the audio so quiet? I went back to Audacity and increased the volume by 15dB on each soundbite. Any more dB and the audio quality was distractingly degraded.

Step 4: Program Arduino

Download the Arduino program from GitHub. The program has been adapted from the previous test program to continuously monitor the vibration sensor for a tissue event and play a soundbite after each event.

Step 5: Assemble

Stage the devices in the acrylic enclosure and mark with a Sharpie. I decided on facing the speaker down and raising the enclosure up, to reflect the sound off whatever surface the enclosure was placed on. I oriented the Arduino with its power connector facing out so I could connect the external power supply. The separator plate will sandwich the Arduino in place, but the speaker might require its own fasteners. Super glue counts as a fastener. The bolts sandwiching the Arduino serve the dual purpose of elevating the enclosure. Drill the acrylic enclosure appropriately. Don't forget speaker holes.

Staged Parts

Staged Parts

Sandwich

Solder a foot of speaker wire to the speaker. Connect the other end to Audio Plug L and ' '. Polarity doesn't matter.

Speaker Wiring

Solder a foot of speaker wire to the vibration sensor. A foot should be enough slack to position the sensor optimally. I added a bit of heat-shrink to protect the sensor leads. That thin lead is delicate. Solder the other wire end directly to the Wave Shield: thick lead to A0, thin lead to GND.

Sensor Wiring

Step 6: Blow Your Nose

I hid the Celebratory Cash Gift underneath the pile of tissues. My friend had to endure my soundbites numerous times before arriving at the reward.


Leave a comment: