All About Circuits Forum

All About Circuits Forum (
-   General Electronics Chat (
-   -   Calculating the Z depth of an object (

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:

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.

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


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...
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 05:15 AM.

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