I get to sit down with Dr. Eben Upton of Raspberry Pi in the Innovation Spotlight - Podcast Stage at Electronica 2026
We chat about Raspberry Pi becoming a serious industrial platform, drones, and even memory pricing!
What other...
In version 1, I set up the Raspberry Pi AI Camera and displayed the objects it detected in the terminal. A good start -- but this time, lets put those detections into a picture!
In this upcoming version, I'll take a photo and save two copies: the ori...
As an intern for the element14 community, I carried out this project as part of the tasks I had during my internship. The idea is simple: use a Raspberry Pi 5 and a Raspberry Pi AI Camera to recognize everyday objects, and build the project in four s...
This is a proof of concept. A test to show that the generic PID class I wrote with a TI MSPM0, is actually generic.In this post, I make it run on a Raspberry Pico2.
The design is a stabile DC voltage supply.
Pico PWM generates a DC voltage...
Hi everyone, I’m Michael I write embedded systems books for beginners and professionals.
I recently released:
Embedded Systems with Raspberry Pi Pico 2 and RP2350: Projects and Deep Dives
The book is built around the Raspberry Pi Pico 2 powere...
Raspberry published a VSCode extension for the Pico family. It's very useful and makes for an easy experience. I use it a lot.But for projects I publish, I prefer that there is no dependency on either VSCode or the extension. That...
In C++ it's common to stream data. You write to a file using the << operator. You read with >>.
example:
cout << "hello, world! << endl;
In this blog I'm making my own minimal in, out and in-out stream class fo...
C++ has embedded friendly mechanisms that can help to structure your firmware. While keeping the design resource-lean.In this post, I use classes, C++ stl containers and algorithms to manage close-to-the-hardware resources with object...
I made an Object Oriented library that supports handling PIO interrupts with C++ objects.Goal: let a PIO state machine call the very C++ object that can manage (or watch) that particular event.
For who is this library?
It's m...
Object Oriented library to design C++ classes that support PIO interrupts. Goal: make a PIO state machine call the very C++ object that's managing (or watching) it.
When I designed a Pico library to manage stepper motors with the PIO co-cont...
Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects.
In this post: create ramps when motor starts, stops or changes direc...
While designing a library for stepper motors, it bothered me that I had to put stepper driver IC logic across my user code.To solve that, I made a little driver lib.
First I looked what logic shabaz and I put in our stepper projects, and s...
SPI ICs usually have an active low chip select pin (~CS, nCS, ...). I have a Texas Instruments IC (stepper motor driver DRV8711) that has an active high CS.
Initially, I bit-banged the CS pin: set it high with the GPIO API before communication, ...
Stepper motors are super-useful for precision movements.
I made a little stepper motor board a while back, but never got around to testing it at the time.
Jan Jan Cumps has created a stepper motor control library (click here to learn a...
Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects.
In this post: the frequency of the pulse train it generates, and how...
Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects.
4 motors can be controlled per PIO
can be used with any stepper mot...
In a previous post, I figured out how PIO -> ARM interrupts work, and how to handle them in C. What I learned was that a traditional interrupt is easy. Relative interrupts are more involved. The interrupt part adds significant ...
There are decent examples available on how to handle PIO interrupts in C. But not so much on dealing with relative IRQs.
With a normal IRQ, PIO fires an interrupt with a fixed number. The number that you give it. A relative IRQ - ...
The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.I'm trying a PIO emulator&nb...