Hello all,
I am new on Arduino and i am trying to find out how to rotate my MG90s Micro servo about 60 degrees, while my Arduino Nano is falling to the ground. I have an accelerometer sensor that i haven’t connect it on the Arduino yet. I couldn’t find any helpful guides online on how to code that so I decided to post here!
Any help is appreciated!
I am sure there is code on how to read your acceleration measuring device, somewhere. Using that code, you find somewhere, hook your acceleration measuring device up to your Arduino device and observe the readings you get under non-falling conditions. After you got a handle on the parameters of the acceleration measuring device, under non-falling conditions, now you can work on getting a handle, on the readings of the acceleration measuring device, under falling conditions. You will then have the parameters of a stable and a-stable condition for which you can code for to trigger the servo to do its thing.