207Views4Replies

Author Options:

Detect Down, using arduino? Answered

The desired result is a pretty simple one in this case.  I am curious how you can tell where "down" is, using electronics.  I'm sure It could be done by initializing gyroscopes in an initial, level position, but my friend has as small quad copter, that can take off at an angle, and be turned on at an angle, and still level itself perfectly. It doesn't have to have an initial reference to find what down is.  The other option is to use accelerators, but if you are making a device to control a rocket or multirotor it is unlikely to impossible that you will be able to isolate the 9.8 m/s^2 due to gravity from the linear and vertical accelerations,  I assume your everyday gyroscope outputs data in the form of change in degrees, so if it just sitting perfectly still it would just output 0 on all axis, but if it actually gives the current angle I would be surprised, and curious how this is done.  So in conclusion, how could an arduino accurately know where down is?

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
iceng
iceng

6 years ago

What is accurate 1degree, .001degree ?

0
seedorfj
seedorfj

Answer 6 years ago

Probably around 1 degree to .5 degrees

0
iceng
iceng

Answer 6 years ago

The 3 axis accelerometer and simple trig can do it. I have a demo arm unit running on a 3V batt that has a feature beyond 360 leveling that knows when dropped (32'/sec/sec) and lights an led. No matter how I try to move it by hand trying to simulate a 3' drop it knows the difference !!

Only thing that might work better is a 2D wing leveler second sensor assist but tough to implement in a small diameter ... maybe you could extend graphite fishing poles to detect static voltage as a leveling technique due to parallel static plates. When not stormy, old wing levelers used to sense voltage differences between wing tips to align the craft to the atmospheric static voltage lines..