[Swlug] An interesting time with an accelerometer

Colin Law clanlaw at gmail.com
Sat Jun 25 07:34:42 UTC 2022


On Fri, 24 Jun 2022 at 18:23, Rhys Sage via Swlug
<swlug at mailman.lug.org.uk> wrote:
>
> There you go again Colin with an extremely astute question.
>
> I had been expecting the output to be something like degrees of tilt in one direction or another. X and Y axies. That would have been extremely helpful with making a drone fly level and would have helped with turns too.

What you are trying to do is quite complex and will need some
mathematical knowledge.  I think you will need a gyro as well as the
accelerometer.  Did you realise that you can get inexpensive bits to
do exactly what you want.  See http://www.mateksys.com/?page_id=3834
for example.

Colin



More information about the Swlug mailing list