Roll & Pitch calculation Assistance

Hi guys, I recently bought myself a gyro & accelerometer to use with my Arduino Duemilanove to calculate roll & pitch. I read that I need to use Kalman filters etc but can't find any sample codings of how to use it, does anyone have any samples or tips for me - like filtering the values in coding format and not mathematical symbols - please?

The last thing preventing me from finishing my PiperCub-drone is the fact that I don't know how exactly to hook the accelerometer & gyro to my Arduino to get accurate results, which pins go where etc. I have the following two devices:

Thanks for the trouble and I will definably post my drone on this site when finished!


You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity