Python PyQt5 Magnetometer Calibration Program

In this video lesson we show how to calibrate a QMC5883L 3-Axis magnetometer using python and PyQt5. The program presents the user with a visual representation of the magnetic vector, allowing more precise calibration of the sensors. We are using the GY-87 module, and it is connected like this:

MPU6050
Schematic for connecting the GY-87 module to the Arduino

This is the simple code on the Arduino side, sending the raw magnetometer data:

 

This is the calibration code, running on the Python side;

 

Python Program to Calculate Distance and Heading Between Two GPS Points Using Haversine Formula

In this video lesson we will develop a python program to calculate the distance and heading between any two GPs positions on earth.  The  equations  we will  be  coding  up  are  below:Haversine Formula

The code which we developed is:

 

Calculating Roll, Pitch and Yaw from Gyros on Our Arduino MPU6050 IMU Project

In this video lesson we will examine how we can calculate Roll, Pitch and Yaw from the MPU6050 IMU. For this lesson we calculate from just the Gyro measurements.

MPU6050
Schematic for connecting the GY-87 module to the Arduino

Below is the code which we developed in this lesson:

 

Using Arduino and MPU6050 to Measure Rotational Velocity with the Gyros

In this video lesson I show you how you can measure rotational velocity using the gyroscopes on the MPU6050 IMU module on the GY-87 board.

MPU6050
Schematic for connecting the GY-87 module to the Arduino

Below is the code which we develop in this lesson.

 

Portable Power for Your Raspberry Pi Pico W Project Using the Sunfounder Breadvolt

In this video lesson we show how you can power your GPS tracker project from the Sunfounder Breadvolt power supply (order HERE). As explained in the video, never turn the breadvolt on while the Pi Pico is connected to the USB, as this could backfeed current, and damage your computer. Disconnect the USB from the Pi Pico before turning the breadvolt on. Here is our updated schematic for remote operation.

breadvolt
Schematic for Controlling GPS Tracker from the Breadvolt

This is the code we are presently using for the project:

 

Making The World a Better Place One High Tech Project at a Time. Enjoy!