A-Touchless-3D-Tracking-Interface.pdf

(466 KB) Pobierz
A Touchless 3D Tracking Interface
A Touchless 3D Tracking
Interface
Written By: Steve Hobley
TOOLS:
Soldering iron (1)
Spray mount or a glue stick (1)
Wire cutter/stripper (1)
PARTS:
pieces of cardboard (3)
10KΩ resistors (3)
from RadioShack.
220KΩ resistors (3)
from RadioShack.
Alligator clips (3)
from RadioShack.
Arduino (1)
from RadioShack.
Shielded cable (1)
from RadioShack.
Aluminum foil (1)
Masking tape (1)
Computer with Processing and Arduino
software installed (1)
© Make Projects
www.makeprojects.com
Page 1 of 9
A Touchless 3D Tracking Interface
SUMMARY
In this project, we'll take a very simple idea -- the length of time it takes a capacitor to
charge -- and make something rather amazing with it: a 3D interface that can track the
position of your hand. The original implementation of this project comes from media artist
Kyle McDonald.
Step 1 — Making the sensor cube.
For this project we'll need some cardboard squares (mine are approximately 12" square,
but anything from about 8-12" is fine), alligator clips, an Arduino, shielded wire, aluminum
foil, spray glue, and some wide tape. (3) 10KΩ and (3) 220KΩ resistors are also required
(not shown).
Additionally, we'll need a soldering iron to connect the resistors to the cable.
Spray the glue onto the cardboard and smooth the foil onto one side. Work slowly and try
to leave a small gap around the edge of the foil. It is important that the foil plates do not
touch each other when we tape the three sides together. In a pinch you can use a glue
stick.
I cut a small notch in the inside edge of the rightmost plate to make it easier to connect the
alligator clips later on (see second photo).
Using tape, assemble the plates to form one half of a cube (see the third photo).
© Make Projects
www.makeprojects.com
Page 2 of 9
A Touchless 3D Tracking Interface
Step 2 — Prepare the wires.
Next we need to prepare the wiring. I bought a 6' shielded audio cable for this. It is
important to use shielded wire so that the cable itself doesn't act as an antenna and skew
the sensor readings.
Cut the wire into 3 pieces of equal length (2' or so) and strip off the outer and inner
insulation (second photo).
On one end, trim off the shielding wire and connect just the inner signal wire to an alligator
clip (third photo).
© Make Projects
www.makeprojects.com
Page 3 of 9
A Touchless 3D Tracking Interface
Step 3 — Adding the resistors.
On the other non-alligator end of the cables, twist together the 3 shield wires and solder
them. The shield will be connected to the 5V pin on the Arduino. This will minimize the
antenna effect of the cable on the circuit.
Referring to the schematic, connect the resistors to the three inner wires of the cables as
shown and connect this to the ends of the three wires. The 220KΩ resistors all connect
between the inner wire of the cable and 5V. The 10KΩ resistors will each be connected
between the end of the cable and a pin on the Arduino. The circled area indicates that this
wire should be shielded, with the shield connected to +5V.
Use a small piece of jumper wire to make the connection between the shield wires and the
5V output pin on the Arduino, as shown in the third photo.
In the picture, I have used some blue heat shrink tubing to hold the three wires
together. You could also just tape the wires together.
© Make Projects
www.makeprojects.com
Page 4 of 9
A Touchless 3D Tracking Interface
Step 4 — Connecting the Arduino.
Connect each of the 10KΩ resistors to pins 8,9, and 10 respectively. Connect the red wire
to the +5V pin on the Arduino.
Attach each of the alligator clips to a foil plate. The clips should be attached in the
following order: pin 8=left plate (x), pin 9=bottom plate (y), pin 10=right plate (z). Make
sure that each clip is making good electrical contact with the foil and is only touching one
plate.
When troubleshooting, check the connection between the plate and the pin with a
multimeter to make sure the alligator clip is making a good electrical contact.
© Make Projects
www.makeprojects.com
Page 5 of 9
Zgłoś jeśli naruszono regulamin