
I sat down a few times this year and programmed some Raspberry Pi Picos I had lying around. While some prefer Arduinos for this type of programming, I prefer the Picos. For one thing, they are cheaper. For another, I am generally supportive of anything to do with Raspberry Pi products. Indeed, I use my Raspberry Pi 400 to program my Pi Picos.
Here’s my notes of what worked for me as someone who wanted to program the Picos with python.
Before you start anything, read this all the way through: https://projects.raspberrypi.org/en/projects/getting-started-with-the-pico/0
Indeed, if you do nothing else but follow that closely, you will be successful getting the Pico to do some fundamental things.
As for me, first I had to update my Pi 400 with the commands:
sudo apt update # Fetches the list of available updates
sudo apt upgrade # Installs some updates; does not remove packages
After that, I was able to start up Thonny — which I had installed — and go: Tools > Options > Interpreter and selection MicroPython.
I was able to program several Picos by using the following sequence:
- Hold down the Bootsel button.
- Connect them to the Pi 400 with a cable that could do more than just provide power. These should do it.
- Wait for the system to mount the Pico. (A file system box should open).
- Install Micropython on the Pico using Thonny. This is a good write up on how to do it.
- Then you can add python code you write in Thonny to the Pico.
If the Pi 400 recognizes the Pico, it will ask if you want to save code to the computer or the Pico. Save it to the Pico to run it.
Once the code is good, save in on the Pico as main.py because if you detach the Pico and attach it to a power supply, it will boot up and run the main.py program automatically.
Some of the things to consider:
- Any hardware work can be frustrating. I’ve had plenty of problems with wiring, for example. If you are not getting the results you want, check the wiring including swapping in new wires.
- Using displays is a whole other level of difficulty then using LEDs. If you want to do visual work with Picos, start with LEDs.
- If you are going to use OLED or LCD displays, find a simple project to just display simple information first. Then get the displays to show information based on an event happening.
- Finding packages to do certain things is very hard. I found that especially the case with LCDs. I should do a special write up just on that.
- If you want to do work with sensors, I highly highly recommend this kit. It makes things that much easier.
- I found this type of prototyping breadboard to work best for me.
- Get the wireless picos with the headers: Raspberry Pi Pico WH. The headers and the wireless makes your life easier.



Many people are succumbing to hysteria(1) when it comes to A.I. I understand why people feel this way. But I think it is important for people to know that some of this hysteria is being whipped up by many of those in the A.I. industry. To see what I mean, I recommend you read this piece by Dave Karpf: 




























The New York Times asked experts to “share the literature that has helped them cope with death, illness and despair” and the result was this article: