Category Archives: Arduino 9-Axis IMU Totorials

9-Axis IMU LESSON 19: Vpython Visualization of Pitch and Yaw

To play along at home, you will need an Arduino Nano, and an Adafruit BNO055 Inertial Measurement Sensor. In this lesson we create a live visual where a 3D model rotates in space mimicking the pitch and yaw of the breadboard in the real world. We have not yet derived and implemented the math to incorporate roll into the simulation but that will ab done in the next lesson.

This is the code on the arduino side we developed in the video:

This is the code on the Python side we developed in the video:

 

9-Axis IMU LESSON 18: Visualizing Pitch and Yaw in Vpython

In this lesson we show you how to visualize Yaw and Pitch in Vpython. We create a visual representation of our breadboard, Arduino Nano, and BNO055 and then rotate it in three dimensions with and without pitch. For your convenience, the code we developed in this video are presented below.