Gimbal System - Read Angles with Arduino

Hello,

i'm new in Arduino and could need some help with my new project.

Project:
I'm currently developing an AR App on IOS. The App is delivered on a tablet. The Tablet is mounted on a gimbal system which can rotate along the x and y axis.

When you start the app, you can position a virtual object and lock it at this position. Then you can move the tablet via the gimbal system. The object should stay at the position.

I cant use markers (to inaccurate and they dont work very well in large environments).
I cant use internal gyro (to inaccurate, drift).

So my intention is to use external sensors to get the angles of the gimbal system and translate them to my object.

The intended experience for the user should be that the 3d object is nailed on the ground when he moves the tablet with the gimbal system. The main goal is accuracy, the object must not move due to drift or anything else.

My approaches are:

  • Arduino
  • WIFI / Bluetooth Module (Audiojack is to slow) to connect to the ipad

For tracking the angles i would try different approaches:

  • Potentiometer (analog) - maybe to inaccurate? durability?
  • external gyro for arduino - is the gyro better than the Apple one?
  • absolute rotor encoder (digital) - expensive - i need to

Poti, encoder have to be attached to the gymbal axis - this is a manufacturing issue.

Do you have any recommendations or other options to track the exact angle of the movement?
Do you think a poti would work?
Are there other sensors i could use?

Thanks for your Advice,

Greetings Hans

HansMeister:
When you start the app, you can position a virtual object and lock it at this position. Then you can move the tablet via the gimbal system. The object should stay at the position.

Do you want to create the illusion of looking at something through a window so that if you move the window the object appears not to move? Presumably if you move the window too far the object will disappear from view?

If not, please explain more clearly what you are trying to achieve.

Is your gimbal system something like the mounting for one of those coin operated telescopes at the seaside - it can rotate in two axes but not otherwise move?

How many degrees of movement does each axis need?
For example could you fit a potentiometer to each axis and use that to report position - similar to the feedback system in a servo?

You can get absolute-position rotary encoders - but they are quite expensive.

Rotary encoders that only report relative position are much cheaper - but you would need some system to allow you to set the gimbals to a ZERO position from which the Arduino could then figure out other positions.

...R

Hello Robin2,

yeah, this is what i want to achieve.
You look through the Tablet to the real World (Camera) and the virtual Object dont move when you move the Tablet. The Rotation angle is perhaps 45 degree to each side, so 90 degree in total.
Do you think that a poti is accurate enough?

Thanks for your advice.

HansMeister:
Do you think that a poti is accurate enough?

I have no idea but it is so simple and so cheap that it would be worth experimenting.

...R