I have a R/C Heli here, I have written a program to control the Motors and servos which is working fine, what I need some advice on is how to/ what can I use to mesure the angle the heli is leaning. I have a couple of tilt switches so that when they are activated the servos will correct it, so that it doesn't flip over and crash !! which it has done many a time !!!!!
I was just wondering if there is something out there that would send back either an analog or digital signal (via I2C) to tell my PIC what angle it is at so that my PIC could work out how to correct the angle correctly. and not just wait until one on the tilt switches was activated and then move the servo until the other tilt switch was activated, creates a horrible rocking motion !!