TEAM MEMBERS
OBJECTIVE
Our objective is to create a 3D computer interface using little more than
an Arduino, six resistors, and some aluminum foil!
A Touchless 3D Tracking Interface
Using Arduino
Arpit Reja
12BEE0116
Pulkit Agrawal
12BEE0206
In this project, well 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.
BLOCK DIAGRAM
THANK YOU!!
Arduino
Uno
Power
supply
Capacitive Sensing
X-Axis
Z-Axis
Y-Axis
Processing Softwares
Computer Screen
COMPONENTS USED
Aluminum foil (1)
Masking tape (1)
Computer with Processing and Arduino software installed (1)
Shielded cable, cut off the ends, cut into (3) 2' lengths (1)
Arduino (1)
10K resistors (3)
220K resistors (3)
Alligator clips (3)
pieces of cardboard (3)
CIRCUIT DIAGRAM
CONNECTIONS
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
void setup() {
Serial.begin(115200);
pinMode(i, INPUT);
startTimer();
}
void loop() {
Serial.print(time(8, B00000001), DEC);
Serial.print(" ");
Serial.print(time(9, B00000010), DEC);
Serial.print(" ");
Serial.println(time(10, B00000100), DEC);
pinMode(pin, OUTPUT);
PORTB = 0;
pinMode(pin, INPUT);
while((PINB & mask) == 0)
count++;
total++;
}
startTimer();
return (count << resolution) / total;
}
extern volatile unsigned long timer0_overflow_count;
void startTimer() {
timer0_overflow_count = 0;
TCNT0 = 0;
}