In this lesson we show you how to achieve a stable and responsive approximation of tilt (pitch and roll) using a three axis accelerometers and 3 axis gyros, and combining, or fusing the data using a complimentary filter. In effect we are applying a high pass filter to the gyro data, and a low pass filter to the acceleromter. The result is data which is both responsive, not subject to long term drift, and not as susceptible to vibration.
Adafruit BNO055 IMU Sensor:
I strongly suggest picking up an arduino nano, since it can plug directly into the breadboard, making a portable system more practical. You can pick one up here:
You guys can help me out over at Patreon, and that will keep this high quality content coming:
[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. This means if you visit the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers.]
I am Paul McWhorter from toptechboy.com and I will be putting together a series of tutorials on use of the Arduino microcontroller.