All About Circuits Forum

All About Circuits Forum (http://forum.allaboutcircuits.com/index.php)
-   General Electronics Chat (http://forum.allaboutcircuits.com/forumdisplay.php?f=5)
-   -   Calculating the Z depth of an object (http://forum.allaboutcircuits.com/showthread.php?t=45431)

jayanthyk192 11-10-2010 07:18 AM

Calculating the Z depth of an object
 
Hello, i needed a device that calculates X, Y and Z of an object. So, i thought of using a Wiimote(Nintendo).

Using that, i can get X and Y, but i cannot problem the "Z" of a single IR source. i found this device:

http://www.robokits.co.in/datasheets/gp2y0a02yk.pdf

It says here that we can can calculate the Z information.

The Wiimote uses built in Image processing to calculate the X and Y of the source and using 2 Wiimotes, its possible to calculate the Z.

But this device seemed to be interesting. Can anyone please tell what mechanism this uses?

BillB3857 11-10-2010 11:18 AM

If you place two IR emitters with fixed spacing, could you use the Wiimote video? That's what Wii has in the bar that sits on top of the TV. By knowing the fixed distance, you could calculate the X-Y positions of each, calculate a midpoint between them and use it as the actual XY for you application. By measuring the calculated "SENSED" position (the further away from the source, the closer they would appear", you could use triangulation to calculate the Z position. What kind of accuracy are you needing?

jayanthyk192 11-10-2010 11:47 AM

Well, i need to track sources that are not at fixed spaces. And i need pretty good accuracy too, that which can detect objects even a few centimeters apart.

So, i was just wondering if i can use this device.

http://www.robokits.co.in/datasheets/gp2y0a02yk.pdf

But i don't know how the device works. Any idea how it works?

Thanks.

BillB3857 11-10-2010 11:59 AM

Since you are wanting to sense objects other than the IR source, my thoughts are off target (pun intended). As for how the Sharp unit works, go to this page...
http://www.acroname.com/robotics/inf.../sharp.html#e5
and click on the Theory of Operation. Quite interesting.

jayanthyk192 11-10-2010 04:56 PM

Thanks a lot BillB3857

BillB3857 11-10-2010 10:02 PM

Google can be your friend. There are other links there. One even gives a sample program showing how to develop a look-up table for calibration, Good luck with your project!


All times are GMT. The time now is 01:40 AM.

Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 2003-2014, All About Circuits. All Rights Reserved.