All About Circuits Forum Calculating the Z depth of an object
 Register Blogs FAQ Members List Today's Posts Search Today's Posts Mark Forums Read

 General Electronics Chat Discussion forum for general chat about anything electronics related, including asking questions about material in the All About Circuits E-book, Worksheets, and Videos.

#1
11-10-2010, 07:18 AM
 jayanthyk192 Member Join Date: Jan 2010 Location: india Posts: 80
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?
#2
11-10-2010, 11:18 AM
 BillB3857 Senior Member Join Date: Feb 2009 Location: St.Louis, MO area (GMT-6)_ Posts: 1,736

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?
#3
11-10-2010, 11:47 AM
 jayanthyk192 Member Join Date: Jan 2010 Location: india Posts: 80

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.
#4
11-10-2010, 11:59 AM
 BillB3857 Senior Member Join Date: Feb 2009 Location: St.Louis, MO area (GMT-6)_ Posts: 1,736

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.
#5
11-10-2010, 04:56 PM
 jayanthyk192 Member Join Date: Jan 2010 Location: india Posts: 80

Thanks a lot BillB3857
#6
11-10-2010, 10:02 PM
 BillB3857 Senior Member Join Date: Feb 2009 Location: St.Louis, MO area (GMT-6)_ Posts: 1,736

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!
 The Following User Says Thank You to BillB3857 For This Useful Post: jayanthyk192 (11-12-2010)

 Tags calculating, depth, object

 Related Site Pages Section Title Worksheet Calculus for electric circuits Worksheet AC network analysis Worksheet Simultaneous equations for circuit analysis Textbook Computational circuits : Practical Analog Semiconductor Circuits

 Similar Threads Thread Thread Starter Forum Replies Last Post spinnaker General Electronics Chat 6 10-09-2010 07:38 PM wany The Projects Forum 5 09-22-2010 12:53 AM wilbertrk The Projects Forum 3 06-08-2010 07:18 PM Racheal Programmer's Corner 0 04-28-2009 04:11 AM Mathematics! Physics 37 11-02-2008 07:00 PM

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Electronics Forums     General Electronics Chat     The Projects Forum     Homework Help     Electronics Resources Software, Microcomputing, and Communications Forums     Programmer's Corner     Embedded Systems and Microcontrollers     Computing and Networks     Radio and Communications Circuits and Projects     The Completed Projects Collection Abstract Forums     Math     Physics     General Science All About Circuits Commmunity Forums     Off-Topic     The Flea Market     Feedback and Suggestions

All times are GMT. The time now is 04:23 PM.