Category Archives: MicroPython

Control Raspberry Pi Pico PIO State Machines in a Micropython Class

In this video lesson we show how you can control a PIO State Machine on the Raspberry Pi Pico W inside of a micropython class. We demonstrate with the practical example of controlling servos with a servo Class which we create. The objective is to ‘hide’ all the complex code in the class, allowing less adept users to interact with the servo with simple python commands. For your convenience the code developed in this video is included below. Enjoy!

 

Using Multiple Raspberry Pi Pico PIO State Machines at the Same Time

In this video lesson we show how you can work with more than one state machine at the same time in microPython on the Raspberry Pi Pico W. We show this in the context or controlling multiple servos. We show different ways to utilize multiple state machines. For your convenience, we provide the code developed in the video below. Enjoy!

 

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!