All posts by admin

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:

 

Applying a Low Pass Filter to Roll and Pitch Calculations on the MPU6050

In today’s video lesson we show how you can remove the vibration noise from your roll and pitch values using a low pass filter. The filter removes the high frequency noise resulting from vibrations.

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

Below is the code we developed in this lesson.

 

Getting Altitude Data from the GPS NMEA Sentences

In this video lesson we show you how you can parse NMEA sentence from your Adafruit Ultimate GPS to get the Altitude of your GPS tracker. At this point, our project has grown to  the point that all our data will not fit on the small OLED screen, so we have also added pushbuttons to allow us to toggle between display screens. For this project we are using the following circuit schematic:

GPS Tracker
This is the schematic we are using as we move forward in the class.

For your convenience, the code developed in the video is below:

 

Using Arduino to Calculate Roll and Pitch from MPU6050 3-axis Accelerometers

In this video lesson we show you how to take the calibrated accelerometer data from the MPU6050 and use it to calculate the tilt of the board. We can calculate tilt in two axis, or the roll and the pitch. This is the schematic for the project:

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

This is the code we developed in the video to calculate the roll and pitch from the three axis accelerometer data.