Anybody have any idea what kind of sensors it is needed to measure a distance some object has moved.
It does not have to be in millimeter range, centimeters would do just fine
The sensor(s) should be mounted on the object itself.
XY position is to be needed.
Should I even try to use accelerometer to do this? (already tried..but quite confusing signals came out)
Is there any other sensor that could capture object motion so that I could check if the object moved..for example 10cm in X coordinates and 5cm in Y coordinates?
Thank you.
PS: Tried searching arduino.cc but nobody had actually made such a device successfully?
Could you describe your project in more details? There are many ways to measure distance or position but it depends on your project what to use.
I know you may use sonic ranger to find distance with cm accuracy. There are also other ways. You can even use a mouse to measure position in 2-D, if that doesn't disturbe your project. You may also use linear potentiometer as well. So supply some details and someone will be able to offer you suggestions.
All those IFs...ultrasonic is out of the question.
I am just wondering if small movements (centimeter range), in 3d space or 2d can be measured at all..with gyroscope, or with accelerometer? There are gyroscopic mice that work when held in hand, no need to touch anything...these work..
Guess I will try to use accelerometer and measure its X and Y axis acceleration and try to measure the position like this:
You may want to check the robotic forums and parts sellers for possible solutions. Your solution will probably depend on the environment that the action will take place and what limitations are imposed on what you want to do. Below is a typical IR sensor.