Raspberry Pi Pico

My Pi Picos arrived on Friday (I ordered 3 to soften the cost of shipping). First impressions are good. The castellated headers will make including one in a project nice and neat and there’s not an overload of bright LEDs to shine through any holes.

Rather than use Micropython I’ve dropped the Adafruit-sponsored CircuitPython onto it instead as I’ve used it before and the quantity and quality of libraries for the hardware support is excellent. (I’d prefer Javascript because that’s where I’m most comfortable - there’s mumblings about a port of Espruino to it, according to the forums, but it’s unlikely to get first class support. Maybe Microsoft’s MakeCode will provide support first.)

As a quick tester I’ve tried the HID and MIDI libraries, and they work perfectly with this Windows machine :slight_smile:

3 Likes

Nice! That’s exactly what I did :slightly_smiling_face:

2 Likes

Could you explain castellated headers and why they’re useful? Thanks!

There’s a good page on Sparkfun about them - ‘headers’ is clearly the wrong word to use here :slight_smile: a picture of the device in question is probably helpful:

My first exposure to working with them was on the Espruino Pico at a workshop, which was like this: image

Basically the board is completely flat on its underside and has plated half-holes along its edges, sometimes with through-holes for pins next to them (the Sparkfun example doesn’t but the end-user modules I’ve used in the past have) so that you have a choice of how to mount it. It makes the module like an SMD, you just flow the solder up the castellations to attach it to the board, and you end up with a neat finish.

Obviously you can solder something like an Arduino Pro Micro directly to a board by flooding its holes with solder, maybe with some cut-off leads to help make the connection, but from a small scale point-of-view castellations make it quicker and easier to do and look nicer. They’re an industrial norm nowadays because the assembly can be automated - chances are you use electronics every day that have prebuilt modules attached to a PCB in this way (I’m typing this on a keyboard with a controller attached like this).

From experience, they’re easier to remove if something goes catastrophically wrong as well!

5 Likes

Got mine today.
3x raspi pico
1x audio pack
1x display pack
1x pico decker
5x protoboard

Let see what can be done with this little bugger.
I have some ideas, but so little time…

2 Likes

Got mine in today also.
Let’s make a synth out of those

2 Likes

I have a Pico lying around and was wondering how it could be used as a audio signal processor.
I couldn’t find any guides/tutorials for e.g. a simple distortion just to get started.

Do you have any helpful resources for that?

2 Likes

There was a series by Mike Cook in The MagPi Magazine - “pico voice” - about various voice and audio effects using the Pico. It relied on a hardware build (issue 106) to use “as is” but there is quite a lot in the second part (issue 107) on the software side of audio signal processing that might be worth a look?

Kevin

5 Likes

Thanks, I’ll give that try.
Looks very promissing but not easy, but I guess that’s to be expected in audio processing.

2 Likes

I’m using this on a pi zero as part of my baudot project. Records and plays back sound.

I did need to install alsa and the asound development libraries to use it with my code running on Raspberry Pi OS, but that’s normal.

Not sure if that applies to the pico

2 Likes

The Pi Zero is a completely different beast to the Pi Pico :slight_smile: the Pico’s a microcontroller board, like a beefed-up Arduino, whereas the Zero is a stripped-down Linux computer. A Pico wouldn’t have a clue what to do with a USB soundcard (it could be programmed to detect it but little else).

3 Likes

I’ve been looking at these things just recently. If you’re happy programming Arduino code, the Mozzi library has apparently recently had RP2040 support added: GitHub - sensorium/Mozzi: sound synthesis library for Arduino

And the library I’ve been getting into, Arduino Audio Tools, also supports the chip - output only though, its main focus is the ESP32. Supported Architectures · pschatzmann/arduino-audio-tools Wiki · GitHub

3 Likes
2 Likes