LSM9DS0 coding for auto leveling function on home made drone

  1. Hi,
    I'm making a drone for a final in my independent study class, and I'm using the LSM9DS0 to record acceleration levels and balance(gyroscope). I am trying to write code so that when it is in the air and tilts off balance, that the Accelerometer will pick up on it and adjust the motor speeds to correct it, but I am not sure how the code syntax should be written.(writing in C/C+ for arduino) I am using the LSM9DS0 with an Arduino Uno and Adafruit Motor Shield (v2.3). I had originally contacted forum admin on Adafruit about this problem, and was referred here for help.

Views: 28

Reply to This

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service