Making Fun: Pneumatic Transport for Tooth Fairy

Fun & Games Raspberry Pi Technology
Making Fun: Pneumatic Transport for Tooth Fairy
YouTube player

When my older son discovered his first wiggly tooth, I realized that I had the chance to define the Tooth Fairy experience for another generation. As I pondered how the Tooth Fairy would collect our family’s teeth, it occurred to me that she has an awful lot of teeth to gather, especially considering the ever-rising world population. It seemed prudent to figure out a way to send the teeth to her for processing, rather than make her visit the homes of all 7,103,000,000 people on Earth. As such, I installed a pneumatic transport system (as at the bank drive-through) in my house, for the purpose of sending teeth to the Tooth Fairy, and receiving renumeration back from her.

PTS StationGreen

The Raspberry Pi serves up an interface that I built using Hype, which allowed me to quickly animate the movement of the capsule on the map and the spinning tooth on the “Under Review” page. I expect to eventually use the pneumatic transport system to exchange messages and objects with the other “creatures that come at night,” as my son calls them, so I included buttons for Santa Clause and the Easter Bunny. The HTML5 interface can play sounds, too, if it is “Added to Home Screen” as a web app.

PTS Interface Walkthrough

When the “Engage Pneumatic Power” button is pressed (on either the send or receive page), the web interface writes a “1” to a file in the Pi’s /var/www/ directory. That file is checked once a second by a simple Python daemon that has enough privileges to control the Pi’s GPIO and thus the PowerSwitch Tail that controls the vacuum. If the daemon sees a “1”, it plays the sound for the Pi’s speakers (the sound is also played on the iPhone) and runs the vacuum long enough to transport the carrier from one station to another.

pneumaticEventd.py

#!/usr/bin/python
import subprocess
import time
import os
import RPi.GPIO as io
#import tweetpony
io.setmode(io.BCM)
vac_pin = 7
io.setup(vac_pin, io.OUT)
io.output(vac_pin, io.LOW)
while True:
 with open("/var/www/event.txt", "r+") as fo:
 fo.seek(0, 0)
 status = fo.read(1)
 if (status == "1"):
 print time.time()
 subprocess.Popen("mpg123 /home/pi/PTS/medthrob.mp3", shell=True, stdin=None, stdout=None, stderr=None, close_fds=True)
 time.sleep(5)
 io.output(vac_pin, io.HIGH)
 time.sleep(5)
 io.output(vac_pin, io.LOW)
 fo.seek(0, 0)
 fo.write("0")
 fo.closed
 time.sleep(1)

The Pi does not need to know which direction the carrier is going. In building the system, I couldn’t find inexpensive electronically-controlled valves, so I went with manually operated valves at each station. For a station to send, the valve must be closed (to prevent waste of vacuum power) and the door open (to allow air in behind the carrier as it travels). For a station to receive, the valve must be open (to suck the carrier from the other station) and the door closed (to provide a seal between the vacuum and the remote carrier). The web interface instructs the user how to set the valves and carrier access doors for proper air flow, which also adds a fun hands-on element. The valves are too hard for a child to turn, so I might build a big wrench in the future.

Pneumatic Transport System Diagram

As with most projects, the difficulty of duplicating this yourself depends on how involved you want to get. I happen to have homebuilding experience, and don’t mind hacking my house, so to speak. If you cannot safely run your pipes through the walls, you might run the pipes down the face of the walls, avoiding much of the dangerous electrical and delicate plumbing. You could do a basic version on an outdoor play structure, or around a large basement. Whatever your goal, I suggest that you start experimenting outside with a vacuum and some flexible PVC pipe, and then scale up as safety and skills allow. Have fun out there!

See the entire series here.

28 thoughts on “Making Fun: Pneumatic Transport for Tooth Fairy

  1. Jason Babler says:

    And this is why I love makers. :)

    1. Stett Holbrook says:

      This is my favorite project to date, Jeff. Great work. You’ve got a lucky kid.

  2. Brian Dickey says:

    This is a great idea. Have a vacuum that’s on it’s way out… Now I know what I can do with it :). BTW I loved the kids reaction.

  3. x3n0x says:

    The reaction makes it all worth it! So much fun!

    1. Jeff Highsmith says:

      Indeed! Though I spent several late evenings in the workshop and a couple tortuous days in the 120-degree attic, it’s all worth it too see the boys smile. I’ll do my next attic project in the fall, though :)

  4. JP says:

    You get the coolest dad award! :)

  5. Sharleen says:

    You are the most incredible father/parent alive. If every parent had this much love, the world would be fixed–truly!

  6. Scott says:

    Wow! I wonder if this would work with (small) foods. One question: what are you doing to get the python daemon to run in the background on the Pi?

  7. mayra veronica legs says:

    It is the best time to make some plans for the long run and it’s time to be happy.
    I’ve read this put up and if I may just I wish to counsel
    you some fascinating issues or tips. Perhaps you can write subsequent articles regarding this article.
    I want to learn more things approximately
    it!

  8. ronw says:

    Very cool project. I setup one for my nephew’s treehouse using 2 vacuums to no valves are needed. He loves it. And my sister-in-law likes being able to send small things over without leaving her kitchen.

    1. Jeff Highsmith says:

      Way cool! Be sure to share some pictures and video with us. I think every place a kid plays should be serviced by a fun material exchange or communication system.

  9. Regis says:

    Pure poetry, pure genius. You are an inspiration!

  10. grim says:

    Wow what a total waste of time, money and effort. You’re going to wind up with some ridiculously spoiled kids.

  11. Cindy says:

    My sister and I were reviewing your video and feel that if younger viewers looking at your video you are crushing their dreams of the tooth fairy!!! What’s next crushing kids hopes of the Easter Bunny or Christmas? Whatever happened to putting a quarter under a child’s pillow?

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

I enjoy inventing new and fun gadgets. I pick projects that are challenging, fun, and educational.

View more articles by Jeff Highsmith

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK