Category Archives: Uncategorized

Cleanly Exiting Dual Core Program in MicroPython


In this lesson we demonstrate using both cores on the Raspberry Pi Pico W. The program controls a servo from a push button. The servo is controlled on the second core by a thread, and the push button is monitored in the main program.

 

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.

 

Measure Pitch and Roll with the MPU6050


Schematic for Creating a Tilt Meter

This is a simple example of how to measure Pitch and Roll using a 3-axis accelerometer as found on the MPU6050.

 

Calculating Frames Per Second (FPS) In OpenCV and Overlay on Frame

In this lesson we show how to instrument our code to calculate the Frames Per Second (FPS) we are achieving with our camera and OpenCV. We show how to display the FPS as an overlay on our video frame.