Sunday, December 1, 2024

Raspberry Pi Pico 2W with MicroPython !!

For an index to all my stories click this text

Found it !!!
With some help of Reddit readers I found MicroPython for the Raspberry Pi Pico 2W.
It is a preview version of MicroPython V1.25.0.
Strange thing is that it is available somewhere in the Pico documentation on the Raspberry Pi webpages but NOT on the official MicroPython webpage........
Lesson learned: always have a look at the manufacturers documentation.

Anyway here is it:


https://www.raspberrypi.com/documentation/microcontrollers/micropython.html#what-is-micropython

As soon as I found it I did some tests.


This test uses the requests library to get the, up to date, share price of the Raspberry Pi shares at the London stock exchange.

The program is taken from my book on the Raspberry Pi Pico which you can find at the bottom of this page. Or click the link.
The API call is different from the one in the book and is from an upcoming story on getting share prices.


This is also taken from my book on the Raspberry Pi Pico W and is a small web-server that puts a simple text on a webpage.


And here is the result.

These first tests show that MicroPython is up and running.
Ready for some new projects !!

Remember: this is the Raspberry Pi Pico 2W so it has loads of memory, storage and is a lot faster than the original Pico W.

Till next time,
have fun

Luc Volders