gmctoyman wrote:
Does it give you the out of level in degrees, or inches/mm?
I don't really know at this point?
The chip on the blue board measures acceleration. So when the trailer is stationary, the only acceleration it has is towards the center of the Earth (gravity). The chip gives me a positive or negative number for three axis (two horizontal, one vertical). The difference between that number and 0 can be interpreted as how out of level I am, discarding the vertical axis since that number shows the constant downwards pull of gravity.
The plan is to level the trailer using my longest spirit level and then "zero out" the reading from the chip. When I get somewhere new, I can adjust my parking to get as close to zero as possible.
Some trigonometry could be applied to translate the output which is 3.9 milligrams per bit to some other unit. The relationship of the chip's output to its physical geometry is non-linear, and I think that math exceeds the capability of the processor I'm using. Even the $150 commercial unit I suspect "cheats" and uses a look-up table to compare acceleration output to pre-computed values.