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: 37

Reply to This


Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service