loading
Picture of DIY 3D Controller
Make a 3D interface using an six resistors, aluminum foil, and an Arduino. Take that, Wii.

Update: a much more thorough explanation of this project is available from Make Magazine. It might be easier to follow their instructions, and I think their code is more up to date.

The basic goal here was to make a 3D hand-position sensing system that most people can build, while still preserving some semblance of functionality. To get an idea of possible applications, check out the demo video. If you think you can build one that is simpler and equally accurate, or slightly more complex and more accurate, share in the comments!


DIY 3D Interface: Tic Tac Toe from Kyle McDonald on Vimeo.

Step 1: Materials

Picture of Materials
2690118127_ae3d9c2d2c.jpg

Tools

Materials

  • (3) 270k resistors
  • (3) 10k resistors
  • Solder
  • Wire
  • Aluminum foil
  • Cardboard

Optional:

  • Tape (e.g.: scotch)
  • Shielded wire (e.g.: coaxial cable, ~3')
  • (3) alligator clips
  • 3-pin header
  • Zip-tie
  • Shrink wrap tubing or hot glue
 
1-40 of 267Next »

why don't you use the capsense library? It's quite good, and you'll need only one resistor per foil...

the extra R is for just incase shock go back to Receive pin it will bring voltage down, cap library ur talking about uses one becasuse is a smmall foil

firobug8 months ago

could you improve this size by additional pannels... you said something about the largest you being able to do was only a foot or so and i think that may be just because of the limits of the capacsitance of the aluminum if we add say another set of say 9 panels could we make this a 2 foot cube and better yet could it be extended by using strips i could glue to my walls and ceiling to give me a full 3d cube to interact in...maybe add streamers to get me a 3d display with projectors.....

yes

can someone tell me what roll does the shield wires plays in this? seem unnecessary as it is not being connected from one end

5 add second jumper.PNG
skern12 months ago

the processing software keeps showing errors ArrayIndexOutOfBoundsException:

AniketS32 months ago

Can you please explain the math in the code? I want to use this a bit differently, it will be a great help! Thanks! And thumbs up for the project!

iltabhai3 months ago

This project only works on the processing 1.5.1.

WaleedR3 months ago

ArrayIndexOutOfBoundsException: 2 is the error and the TicTacToe 3d is not responding.

WaleedR3 months ago

hey when i upload the code in processing it says can not find anything named "sensors"

ajcracker08.4 months ago

Has anyone been able to figure out the problem where the grid shows with the ball in the top back cube? It says its calibrating but nothing .

Csaub0017 months ago

When I run TicTacToe on processing I get a white screen... Processing highlights this line

serial = new Serial(this, Serial.list()[serialPort], 115200);

any ideas?

try to write "int serialPort = 0"

smartmiltoys6 months ago

Nothing will EVER be better than the keyboard and mouse. Nobody wants to
hold their arms out for minutes at a time. Nobody who actually does
anything productive on their computer, that is.

凱文鄭 made it!6 months ago

Hey guys,

I used this awesome system making something fun which is a abduction game of sucking people by UFO. You can move your hand to control the UFO position.

Here is project's github. Enjoy it!:

https://github.com/kevinphys/3Dtracking-AbductionG...

Screen Shot 2015-02-05 at 3.11.31 PM.png
phammer2 years ago
Hi I have got the thing up and running with the problem that when running the processor the gray box appears instead of the cubes and when I move my hand the grey box moves with my hand instead. Any solution for this?

It's been quite a long time since you built this, propably. But did you figuered it out? I still got the same "problem". Quite nice to move objects with this controller. But i want to fully finish this project and hammer the "I Made it!". Thanks

returner1 year ago

guys i m really new to this stuff and i want to learn on how to do this... i have no idea why i cant run this program??? my tic tac toe prog shows me that its not responding every time.. help please?!

thanks in advance.

i changed my serial port to 0, "int serialPort =0;" , and sensor to sen and i still cant get it to run. help anyone?

imaginei returner7 months ago

did u ever get this to work? i have the same problem.

firobug8 months ago

could you improve this size by additional pannels... you said something about the largest you being able to do was only a foot or so and i think that may be just because of the limits of the capacsitance of the aluminum if we add say another set of say 9 panels could we make this a 2 foot cube and better yet could it be extended by using strips i could glue to my walls and ceiling to give me a full 3d cube to interact in...maybe add streamers to get me a 3d display with projectors.....

I cant seem to get it to work :(

The sketch runs and in Processor i can see that it says "defining boundaries" whenever I left mouse click

But nothing after that!

HELPPPPP

(I am using Make:'s code btw)

davidbarcomb8 months ago

Awesome project! I love it

JenniferG210 months ago

I followed the Make instructions that used 220K resistors and if I watch the Serial Monitor, all I get are 0 0 0. Is anyone else having this problem? I'm not sure if the resistors are the problem or something else.

i'm still unsure what this is, can some one explain please?

anandsd1 year ago

sir can u pls send me the tit tac toe code to this email: anandchidambaram2007@yahoo.co.in

i have made the senser cube and finished the connection but i dont have the program.

XYZAidan1 year ago

When I run the processing program, the window is brought up. It has the cubes and the sphere, but the sphere is in the upper back cube, and my hand doesn't affect it, even if I calibrate. Anyone have a solution?

Did you ever get it figured out? I am having the same problem.

Ramzeez1001 year ago

Hi, I realize this comment may be a bit late, but I'm a bit new to Arduino and I was trying to get this to work. I'm using an Arduino Uno, which Make Magazine used, and I fixed the processing code and got everything uploaded and running. When I run the TicTacToe3D program from processing I am able to see the grey cubes and the red ball, but when I place my hand in while left click holding the window, nothing happens except for the program saying "defining boundaries". Any help?

look to the video

If their problem is the same as mine, the video's instructions do not work. The "defining boundaries" message shows up, yet the ball never moves.

slickman841 year ago

Then I open Processing program and then I open the TicTacToe3D its saying "cannot find anything named sensors.

Change "sensors" to "sen".

kovacp11 year ago

The 'code is available here' link above is broken,

Is the code available anywhere and tare there instructions for compiling it?

Thank you

kovacp11 year ago

What is the application code written in?

I use visual studio - has anyone made an app for that.

Thank you

akumama1 year ago

Hey Kyle, this is amazing, I first saw it on MAKE but have been meddling with it myself for some time now. I have got it working to an extent, but when I run it in processing, once I've clicked to get it to follow my hand, the ball just floats around one area. Do you know why this might be?

fanak2 years ago
An interesting application would be to make this as a controller for a mechanical arm
vvieira2 fanak1 year ago

In progress...
But the sensors still not working with me :/

arm.jpg
theamateur1 year ago

probably the coolest instructable i have seen to this day.

rami20131 year ago
Hi all,
I’m testing this with just one panel and using the test program (_3DInterface)
if I’m shorting pin 8+9+10 it’s working but reports three outputs,I would like just one output and that pins 9 and 10 (on the arduino) will be disconnected.
tried changing line for(inti=8;i<11;i++) pinmode(i,input), to for(inti=8;i<9;i++) pinmode(i,input)
but it didn't work, each time i remove the short line between pins 8+9+10 the output stops.

Please advise
rami
1-40 of 267Next »