Calibrating Joystick to Show Positional Angle in MicroPython on the Raspberry Pi Pico W


 

In this Video Lesson we show how to calibrate a joystick to report Angular Position. We do this using MicroPython on a Raspberry Pi Pico W. For your convenience, the code is included below.

 

Calibrating a Joystick on the Raspberry Pi Pico W in MicroPython

In this lesson we show how to get intuitive calibrated results from a joystick, connected to a Raspberry Pi Pico W, using microPython. This lesson will make it easy to incorporate a joystick into Pico W projects.

For your convenience, the code we develop in the video above is included below.

 

Remove Long Term Steady State Errors from MPU6050 Tilt Measurements

In this video lesson I show you how to remove long term steady state error from the tilt values calculated from the MPU6050 IMU. We are using the following schematic for our prototype.

Schematic for Creating a Tilt Meter

For your convenience, this is the code we developed in the video.

 

Improving Accuracy of MPU6050 Data Using a Complimentary Filter

In this video lesson we show how to create a complimentary filter such we get pitch and roll data from the MPU6050 which is quick and responsive, accurate, and low noise. We are using the following schematic:

Schematic for Creating a Tilt Meter

This is the code we developed in the video.

 

Measuring Roll, Pitch, and Yaw Using 3-Axis Gyro on the MPU6050

In this video lesson we describe how to measure roll, pitch, and yaw using the MPU6050. We describe the issues associated with drift in these gyros and will propose a path forward in dealing with the drift issue.

We are using the following circuit for this project:

Schematic for Creating a Tilt Meter

And this is the code we develop in today’s lesson.

 

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

Exit mobile version