1. To go; to walk; specifically, to move with regular or
2. To walk up and down nervously, as to expend nervous energy.
These are instructions for building a home monitoring system that measures and documents nervous pacing activity. The result is a physical visualization of the amount of pacing, for personal use in a domestic environment. The purpose is to visualize the distance traversed while engaged in measured, contemplative walking.
The monitoring system takes the form of a track, specifically scaled and designed for pacing on. The track is elevated from the ground level and balances on a subtle see-saw. Sensors at each end of the track keep tabs on the amount of laps. The distance paced is calculated and transmitted to a wall-mounted unit which dispenses an equivalent length of red yarn. The yard accumulates on the floor, anywhere you choose to install it. Mine is installed by the doorway.
1. You have a basic understanding of construction and fabrication techniques,
as well as access to the appropriate tools and facilities.
2. You have a working knowledge of physical computing (reading circuit diagrams)
3. You are overwhelmed with the anxiety of living in a failing state, and frustrated
that most of your household objects address only physical rather than emotional health.
Step 1: Materials Needed
Each individual page has more details and links on where you can purchase some of these materials.
> 2, 4x8 Sheet of Plywood. 3/4" I used a piece of shop-grade birch.
> Misc pieces of 1" Plywood. Could be scrap
> 1" Diameter aluminum or steel pole
> 6, 2x4's
> 20 LongLag Bolts (4")
> 8 Shorter Lag Bolts (3")
> Wood Screws (1 5/8", 2 1/2")
> 1 Sheet of clear acrylic (at least 2 square feet)
> 1-2 large rolls of red yarn from any craft store
> 2 turntable bearings ("lazy susan" bearings)
> 1 low rpm, high torque motor
> 1 H-Bridge (SN754410NE)
> 2 Proximity Sensors (SHARP GP2D120XJ00F)
> 1, 2-state toggle switch
> 2 Arduino Microcontrollers (Diecimille or newer)
> 2 9V battery clips with 5mm (center positive) male jacks.
> 2 xBee wireless modules
> 2 xBee shiels from LadyAda
> 1 FTDI cable for programming the xBees
Step 2: Cut Out the Track's Upper Surface
To begin, I bought two sheets of thick, 3/4" birch ply and had them cut down from 4x8 to 4x6'. In the shop, I set up a router to cut a 2' radius circle, and centered it about 2' from the edge of the piece, centered. I circled off the edges of the plywood like in the images below, so they would look like a jogging track. To cut the slit in the center, I simply drilled a 1" diameter hole at a distance of my choosing, and on a table saw, I cut the wood two times, only up to the edges of the circle. Voila, a simple track shape.
Set this face down on a clean surface, or elevated on some 2x4's on the ground. We will be attaching the underneath structure from the bottom.
Step 3: Build the Track's Supporting Structure
The 2x4 frame is screwed to the top piece by 20 long lag bolts. I pre-drilled holes before driving in each bolt. The hole and bolt have to go all the way through the 2x4 and just grab into the plywood without going too far and emerging from the top-side; just under 4". Be sure to clamp everything tight and in position while you work (not pictured).
The fulcrum is supported by metal bar for extra stability. The bar is sitting in pre-drilled holes (about 1" diameter) and the pivoting pieces are made out of thick scrap wood that I found. Be careful that all the holes are the same height or the track won't pivot evenly!
Notes: I tapered the edges of most visible 2x4's for aesthetic purposes, but this was not necessary for the construction. The hole that holds the metal bar on the outside 2x4's is only drilled about halfway through, so it won't be visible. Finally, the 2x4s that are extended are held together by two shorter lag bolts, driven in from opposite sides.
Step 4: Install and Calibrate the Proximity Sensors
In an early prototype, I used buttons on each end, but for the amount of weight hitting the ground, it is not wise to use a mechanical solution, as things like buttons tend to break over time with heavy use. So my solution is strictly optical. Two proximity sensors at each end will look for a threshold range. The logic is as follows: If this proximity sensor is about 3mm from the ground, and the opposite one is about 10mm off the ground, than we know this end of the track is now touching the floor, etc.
By checking out the curve on the data sheet for these proximity sensors, I knew that 3mm and up would be a good range to be operating within. So it's important that when one end of the track is touching the ground, the sensor be at least 3mm away. To be safe, I installed mine about 4mm from the part touching the ground (see image). The code will do the rest (next step).
Step 5: Build and Program the Track's Circuit
Using the diagram below, build the circuit for the track, and connect it to the proximity sensors we installed. I've attached a higher resolution PDF for more detail.
Program the arduino with the code provided in the text file.
If you don't know how to work with Arduino, here are some references so you can learn:
> Main Arduino Website
> Freeduino -- Repository of Arduino knowledge and links
> NYU, ITP's in-house physical computing site with tutorials and references.
Step 6: Build the Yarn Dispenser
I have included a diagram with my measurements and specs for building the yarn dispenser. You could easily appropriate a spool from a coil of wire or rope and use that instead, but I chose to fabricate my own for aesthetic reasons.
The spool is connected to the hold by turntable, or "lazy susan" bearings. These are usually made up of two metal squares, sandwiching a ring of ball bearings. They can be found at a hardware store or home depot, and look like this.
Notes: When winding the yarn around the spool, take care to make sure it's loosely wrapped and can fall easily, otherwise the yarn can accidentally grab onto itself and begin pulling up. Similarly, if you use a material like wood that has splinters, the splinters risk snagging the yarn as well.
Step 7: Build and Program the Yarn Dispenser's Circuit
Build the circuit in the diagram below, and program it with the provided code. I determined what twelve feet of yarn was by simply timing it with a stop-watch. The code runs the motor for that amount of time (converted into milliseconds).
For convenience, I built my circuit with an H-Bridge -- an IC chip that can switch the direction of a motor. The H-Brige's direction is determined by a toggle switch. Here is a tutorial about h-bridges.
Step 8: A Word About Wireless
Through a combination of this website, and a chapter on xBee radio's in the book "Making Things Talk" (Tom Igoe), I implemented, possibly what is the simplest use of these radios, which are actually quite powerful.
I got my adapters and xBees (+ the appropriate cable) from here.
Instructions on configuring the xBees are here.
The only thing i'm not going into is how to configure the xBees. I did it very easily (on a mac) by transcribing some code from Igoe's book that uses Processing to create a simple terminal for programming the xBee. That code is on page 198.
Step 9: Finished.
Congrats! You're finished. You are now ready to use your Pacing Track to monitor your emotional health.