Get Started with MicroPython on Raspberry Pi Pico, 2nd Edition

I’m ecstatic to announce the launch of my latest book: the second edition of Get Started with MicroPython on Raspberry Pi Pico, the best-selling guide to using MicroPython on a Raspberry Pi Pico microcontroller board – now fully updated for the Raspberry Pi Pico W.

The revised larger edition comes with additional chapters specific to the Raspberry Pi Pico W, a device which can do everything the Raspberry Pi Pico can do and more – thanks to the addition of a radio module capable of Bluetooth and Wi-Fi communications. New projects include connecting to a Wi-Fi network, querying remote servers, and hosting a web page capable of interacting with the Raspberry Pi Pico W’s general-purpose input/output pins, plus configuring a Raspberry Pi Pico W as a Bluetooth beacon – connecting, if you’ve got one, to your phone or a second Raspberry Pi Pico W.

It’s not just about the new chapters, though. This second edition offers a complete overhaul: all projects have been brought up-to-date with the latest MicroPython advancements, a now hard-to-find display component has been swapped out for something more readily available at a lower cost, and the ever-talented Sam Adler has created all-new illustrations to bring the book’s look and feel in-line with my recently-launched The Official Raspberry Pi Beginner’s Guide 5th Edition.

As always, I want to thank everyone at Raspberry Pi Press for their work in helping me make this the best book it could be: editor and publishing director Brian Jepson, co-editor Liz Upton, interior designer Sara Parodi, Nellie McKesson in production, photographer Brian O’Halloran, graphics editor Natalie Turner, and head of design Jack Willis, plus everyone else involved in getting the book to shelves today.

Get Started with MicroPython on Raspberry Pi Pico 2nd Edition is available from all good bookshops and Raspberry Pi resellers now, as well as on the official Raspberry Pi Press store for global delivery; if your bookseller doesn’t have a copy, or if you’d like to request it from your library, you can ask for it under ISBN 978-1-912047-29-1.

As always, I hope you have as much fun reading the book as I did writing it!

The MagPi, Issue 105

The MagPi Issue 105This month’s The MagPi Magazine includes a six-page tutorial I originally wrote as part of Get Started with MicroPython on Raspberry Pi Pico: The Official Guide, my well-received guide to physical computing on Raspberry Pi’s first-ever microcontroller development board: a two-player reaction-testing game.

As with all projects in the book, the reaction game is designed to build up gradually. The reader is first taken through wiring up a simple circuit with a single LED and a single button, using one to trigger the other. Gradually, the complexity is increased: using the LED to trigger a countdown stopped only when the button is pushed, giving the user a look at how quickly they can react.

The project’s culmination comes with the integration of multiplayer: two buttons are used, and whichever player hits their button first is declared the winner. It’s a simple game, admittedly, but a surprisingly competitive one – and one which introduces a range of core concepts for input handling, timing, and conditional statements.

The MagPi Issue 105 is available at all good supermarkets and newsagents, online with global delivery, or as a Creative Commons-licensed DRM-free no-cost PDF download on the official website.

The MagPi, Issue 103

MagPi Issue 103This month’s The MagPi Magazine carries my six-page guide to getting started with physical computing projects using the newly-launched Raspberry Pi Pico, the first microcontroller in the Raspberry Pi family.

Taken from my book, Get Started with MicroPython on Raspberry Pi Pico: The Official Guide, the tutorial walks the reader through programming the Raspberry Pi Pico using MicroPython – starting with the physical computing equivalent of “hello, world,” lighting up an LED. No additional hardware is needed for this part: the Raspberry Pi Pico includes a surface-mount user-addressable LED at the top of the board.

The reader is then shown how solderless breadboards work, introduced to importing MicroPython libraries and handling delays, how external LEDs require resistors, how to read a button input, and finally how to put it al together into a simple circuit which can toggle the LED based on the user’s button presses.

The MagPi Issue 103 is available at all good supermarkets and newsagents, online with global delivery, or as a Creative Commons-licensed DRM-free no-cost PDF download on the official website.