I need some help to figure out what i need and how to set up an accelerometer to control a servo.
This is for the wrist joint of an RC arm with 4 DOF plus the gripper. I want to make the wrist joint simply stay parallel with the ground so I don't have to control it. But I also want to be able to flip a switch on my TX and have the gripper drop 90deg(perpendicular) with the ground and hold that position regardless of what the rest of the arm is doing. I'm pretty sure I could accomplish the first part with a head locking heli Gyro but not the second part. Also a gyro would cost the use of a second channel.
So what I'm thinking of doing is buying an Arduino duemilanove and an accelerometer or gyro. I have been looking at these three things for a month and I just donít know where to start. I suppose the accelerometer should be a low g(2g or 3g) because I want smooth operation, but I also need it to have a range of at least 180deg.
I have read data sheets, tutorials, and watch videos, but I need some specific advice.
Thanks for your time.