New Functionality: Bluetooth for Raspberry Pi Pico W
raspberrypi.com
raspberrypi.com
I threw together a Bluetooth speaker firmware - for some of our (Pimoroni) boards - with FFT visualisation quite some months ago - https://github.com/Gadgetoid/galactic-bluetooth-audio
Album art display is also possible but small matrix displays don’t lend themselves well to it - https://github.com/Gadgetoid/galactic-bluetooth-audio/pull/1...
I put one in my coffee machine, for example, so that I can turn it on/off remotely or on a schedule, as well as read the grinder value much more precisely (5V potentiometer) than the number the machine provides (1-45).
As mentioned in other comments, the Pico has two cores, so I’m actually running the small web server (for phone GUI) in a thread directly on the second core, meaning there’s never a time where I’m running code that could block web service. The grinder value gets updated 10x per second on the webpage via ajax, so it feels really responsive on your phone but doesn’t have to reload the page. I want to add a little oled to the coffee machine to show the output directly too. It’s a great little device.
I’ll be open sourcing the code in the future on GitHub once I’ve worked a few more issues out (my handle is CodeByMiles).
[1] https://docs.micropython.org/en/latest/library/_thread.html
That said, I've generally found the C SDK easier to work in. Copying large micropython libraries over USB to the Pico on OSX has been a massive headache.
It's way more powerful than a common Arduino, though. It has two 32-bit (ARM Cortex-M0+) cores, 264kB of RAM, and 2MB of flash. The Pico W also has a wireless chip that can do WiFi and Bluetooth (the standard Pico is exactly the same without the wireless chip).
That still seems suuuuper useful. I'm going to have to give that a look, thanks for the info!
You can run small embedded RTOSes such as FreeRTOS and NuttX and others I'm not aware of on it. Nothing like the desktop Linux that runs on the bigger raspberries, still very useful for development.
https://github.com/smittytone/RP2040-FreeRTOS
https://nuttx.apache.org/docs/latest/platforms/arm/rp2040/in...
https://docs.zephyrproject.org/latest/boards/arm/rpi_pico/do...