Category Archives: MicroPython

Sweeping Servo Position Using the PIO State Machine on the Raspberry Pi Pico PIO State Machine

 

In this video lesson we show how you can use the Raspberry Pi Pico PIO State Machine to sweep a servo through its full range of motion. The video will take you through things step-by-step. For your convenience the code developed in the video is included below. Enjoy!

 

Control Servo Position Using a Raspberry Pi Pico PIO State Machine

 

In this video tutorial we show you how you can use a Raspberry Pi Pico PIO Statemachine to control the position of a servo. For your convenience, the code from this lesson is presented below. Enjoy!

 

Control NeoPixel Array With Infrared IR Remote Control on Raspberry Pi Pico in MicroPython

In this lesson we show how we can control the neoPixel array using an Infrared IR Remote Control on the Raspberry Pi Pico W in micropython. The video above explains things step-by-step. For your convenience, the code is included below. Enjoy!

 

MicroPython MultiCore Programming on the Raspberry Pi Pico Using Threading

In this video I show how to use both cores on the Raspberry Pi Pico W. We will explore an example using threading where we will operate 2 LED and a servo.

 

Servo Library for the Raspberry Pi Pico W in MicroPython

In this lesson we demonstrate how to create a custom library on the Raspberry Pi Pico W to control a servo. We create a servo class, and then show how to use it as a library in future programs.