Are you looking for an easy way to detect orientation, or how something is rotated? You could use a 9 or 10-degree of freedom breakout that includes an accelerometer, gyroscope, magnetometer, and more but what do you do once you have all that sensor data? Unless you’re an expert in Kalman filters and advanced math you’ll need some way to fuse all the noisey raw sensor data into an accurate orientation reading. Luckily the BNO055 absolute orientation sensor can handle all the tricky sensor fusion for you using a little on-board ARM processor. Using a Python module you can talk to the BNO055 sensor from your Raspberry Pi or BeagleBone Black and bring the magic of orientation sensing to your next project!
In this guide I’ll show how to connect a BNO055 absolute orientation sensor to a Raspberry Pi or BeagleBone Black. I’ll also show how to use a Python module to talk to the sensor and get orientation readings. Finally I’ll walk through a demonstration of the sensor that uses WebGL to display and rotate a 3D model on a webpage based on the orientation of the BNO055 sensor.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.