Hi there,
I am woking on a project where i want to measure the distance between 2 points in the room (through X,Y,Z coordinates).
There is a fixed startpoint, this point will always be the same (can be seen as origin, X=0, Y=0, Z=0).
It needs to have an accuracy of about +/- 10 cm.
It will be indoors so i don't know if GPS will be accurate enough ?
Thanks in advance,
Basiel
- morphy_richards
- Posts: 1603
- Joined: Mon Mar 05, 2012 3:26 pm
- Location: Epping Forest
- Contact: Website
Re: point to point distance tracking in a room
I dont think GPS works very well at all indoors. (Unless you have a glass roof or very very big windows on 2 walls
)
Could you perhaps use something like three Sharp IR Range sensors at 90 degrees to each other? (and an I2C ADC) They would report distance to wall1, wall2 and floor? Should be easy then to convert those distances to X, Y, Z.
... Or 3 sonar range finders , easier to use...

Could you perhaps use something like three Sharp IR Range sensors at 90 degrees to each other? (and an I2C ADC) They would report distance to wall1, wall2 and floor? Should be easy then to convert those distances to X, Y, Z.
... Or 3 sonar range finders , easier to use...
Re: point to point distance tracking in a room
Okay , thank you i will do research regarding these tips ! 

Re: point to point distance tracking in a room
You might get interesting results if one receives the other's echo...morphy_richards wrote:... Or 3 sonar range finders , easier to use...
Android app - Raspi Card Imager - download and image SD cards - No PC required !
- DougieLawson
- Posts: 40579
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: point to point distance tracking in a room
Beyond about a metre you need a very smooth reflective surface to get a range, those things don't shout very loudly.mikerr wrote:You might get interesting results if one receives the other's echo...morphy_richards wrote:... Or 3 sonar range finders , easier to use...
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
- morphy_richards
- Posts: 1603
- Joined: Mon Mar 05, 2012 3:26 pm
- Location: Epping Forest
- Contact: Website
Re: point to point distance tracking in a room
I suppose they can always take turns.
You might get interesting results if one receives the other's echo..
Re: point to point distance tracking in a room
GPS won't be accurate enough, inside or out. My GPS receiver shows the error margin, and I think the best I've ever seen is +/- 9 feet. That's outside with good signals. I understand GPS can provide better accuracy than that, but unless you have a high end GPS intended for surveying or the military, you're not likely to get very good results.
“So you say you love the poor? Name them.” - Gustavo Gutierrez
-
- Posts: 122
- Joined: Mon May 28, 2012 12:18 pm
Re: point to point distance tracking in a room
How about using The Rsapberry Pi camera to take a photo of a table tennis ball or similar spherical object at the point you wish to measure to ? Using OpenCV and knowing the diameter of the sphere it is likely to be possible to compute the distance required. If you don't need it "real-time" all you really need to know is the number of pixels across the diameter of the sphere and then using a look up table based on observations at known distances you can compute the known distance. This is simple photogrammetry.
I am looking to use this method to measure the distance of the moon's perigee. it won't require a full moon just a knowledge of the moon's diameter.
I am looking to use this method to measure the distance of the moon's perigee. it won't require a full moon just a knowledge of the moon's diameter.
Re: point to point distance tracking in a room
Can the points be anywhere in the room (x,y,x)? How big is the volume in which you want to measure?basiel wrote:Hi there,
I am woking on a project where i want to measure the distance between 2 points in the room (through X,Y,Z coordinates).
There is a fixed startpoint, this point will always be the same (can be seen as origin, X=0, Y=0, Z=0).
It needs to have an accuracy of about +/- 10 cm.
It will be indoors so i don't know if GPS will be accurate enough ?
Thanks in advance,
Basiel
What are the points? Are they visible objects?
Camera tracking is an option, if you can see the points.
Some form of sonar could work.
There are some cheap(ish) LIDAR sensors (Search Sparkfun)
Servo tracking opto detectors and triangulation could work.
How fast should the measurement be? Are the points moving?
The more info you can give the better the chance of getting an answer that will fit.