View Full Version : imu 5 dof tilt angle:

05-26-2012, 06:12 AM
Hello everyone, i have the imu 5 dof which is the accelerometer adxl335 and gyro idg500, i want to combine then to obtain the tilt angle(pitch and roll) i programmed the accelero and the gyro using pic16f877a and the both works (gyro has the drift problems) but now how to combine them?!?! i read about the complementary filter but i don't have a lot about it!! so please if anyone have an idea (link or pdf) to how combining tells me !!. thanks again 4 reading and if anyone is interested i can put the codes i used ccs c compiler. thax