Trying to make a plane surface level.

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rikjoh
 
Posts: 40
Joined: Wed Jun 11, 2014 2:50 am

Trying to make a plane surface level.

Post by rikjoh »

Hello to all!

I have this project where i have to measure the tilt of a metal plate from an initial attitude, to be able to calculate angles in both plane axis.
See it as a metal tabletop standing on uneven ground.. I need to find out the amount of difference from absolutely level.

I have four motors in the corners to level out any differences.
But i need to know with how much.
I was looking at the 10DOF, am not sure it will "hold zero" if the power is cut.
And also, the magnetometer, can i "recalculate" to compensate for the induced magnetism in the plate itself?

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Trying to make a plane surface level.

Post by adafruit_support_bill »

I was looking at the 10DOF
You don't need a 10DOF IMU to detect level. A 3-axis accelerometer is sufficient - and not influenced by any magnetic effects of your rig. To achieve level, you just need to zero out both X and Y axis readings. The Z-axis should then read exactly 1G.
not sure it will "hold zero" if the power is cut.
That is a function of your drive system. Most steppers do have some magnetic 'cogging' that will resist turning when un-powered. If there is sufficient mechanical advantage in the gear-train and linkage, it will hold position.

User avatar
rikjoh
 
Posts: 40
Joined: Wed Jun 11, 2014 2:50 am

Re: Trying to make a plane surface level.

Post by rikjoh »

If i get this straight...
(as a clarification, the plane is the hull of a scale "BANNED tank".)

If i use the three axis module, i can determine the attitude of the hull in
regards to "zero" even if the system is powered down, and the model is
moved to another location with a slight incline and side slope...?
And thus being able able to accurately calculate the gun-barrels aim point?
We are starting up a laser target game. And i dont want to have to re-calibrate
the sensors every time its transported to a new arena..

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Trying to make a plane surface level.

Post by adafruit_support_bill »

If i use the three axis module, i can determine the attitude of the hull in
regards to "zero" even if the system is powered down, and the model is
moved to another location with a slight incline and side slope...?
Yes. The gravitational force vector is always perpendicular to the level plane. If the sensor is level, the gravitational force vector will be aligned with the Z axis. If the sensor is tilted from level, some part of that force will be detected in the X and/or Y axis. If you detect a tilt, your leveling motors can compensate until the X and Y both zero out.

User avatar
rikjoh
 
Posts: 40
Joined: Wed Jun 11, 2014 2:50 am

Re: Trying to make a plane surface level.

Post by rikjoh »

Thank you!
Just what i needed to know.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”