Close

Parts Arrive, prototyping!

A project log for GloveCopter

Arduino-Powered Accelerometer Syma S107 controller

davishdavish 04/28/2014 at 20:520 Comments


12/13/12

Today the accelerometer and IR LEDs arrived! As soon as I got the package from Adafruit I opened it up and soldered the headers to the accelerometer. After playing with it a little, I decided that the range for the tilt should be the equivalent of 330 - 340 on the output of the accelerometer. It was about 45 degrees from 335 (center, no movement) to 340 (tilted to a side). Observing the Z-axis, I decided that there wasn't enough change to measure up/down for throttle control, so I'll just use a potentiometer instead. I modified the sketch to let the pitch and yaw be controlled by the x and y axes, respectively. The Throttle is now controlled by a pot connected to analog pin 5. Tomorrow I'll have some more time to play with this setup, and see how sensitive it actually is.

Discussions