Get started with MicroPython on Raspberry Pi Pico: The Official Raspberry Pi Pico Guide, Edition 2

· Raspberry Pi Press
Ebook
192
Pages
Eligible

About this ebook

Microcontrollers, like the RP2350 chip at the heart of Raspberry Pi Pico 2, are computers stripped back to their bare essentials. You don't use monitors or keyboards with them — instead, you program them over USB to take their input from (and send their output to) on-board input/output pins.

Using these programmable connections, you can light LEDs, make noises, send text to screens, and much more. In Get started with MicroPython on Raspberry Pi Pico 2nd Edition, you will learn how to use the beginner-friendly MicroPython language to write programs, and you’ll connect up hardware to make your Raspberry Pi Pico interact with the world around it. Using these skills, you can create your own electromechanical projects.

Fully updated for Raspberry Pi Pico 2 and 2 W, as well as the latest version of MicroPython, this book shows you how to:

  • Get started with Raspberry Pi Pico 2 and Pico 2 W, as well as the original Pico and Pico W
  • Work with various electronic components
  • Create your own programmable electronic contraptions
  • Turn Pico 2 W into a network-connected node for the Internet of Things
  • Link your Pico 2 W to your smartphone, tablet, or another Pico 2 W with Bluetooth Low Energy (BLE)

Whether you’re using Raspberry Pi Pico for a home project, industrial automation, or learning (or teaching!) electronics and programming, this book will show you how.


  • Chapter 1: Get to know your Raspberry Pi Pico
  • Chapter 2: Programming with MicroPython
  • Chapter 3: Physical computing
  • Chapter 4: Physical computing with Raspberry Pi Pico
  • Chapter 5: Traffic light controller
  • Chapter 6: Reaction game
  • Chapter 7: Burglar alarm
  • Chapter 8: Temperature gauge
  • Chapter 9: Data logger
  • Chapter 10: Digital communication protocols: I2C and SPI
  • Chapter 11: Wi-Fi connectivity with Pico W
  • Chapter 12: Bluetooth connectivity with Pico W
  • Appendix A: Raspberry Pi Pico specifications
  • Appendix B: Pinout guide
  • Appendix C: Programmable I/O

About the author

Gareth Halfacree is a freelance technology journalist, writer, and former system administrator in the education sector. With a passion for open-source software and hardware, he was an early adopter of the Raspberry Pi platform and has written several publications on its capabilities and flexibility. He can be found on Mastodon as @ghalfacree@mastodon.social or via his website at freelance.halfacree.co.uk.

Ben Everard is a geek who has stumbled into a career that lets him play with new hardware. As the editor of HackSpace magazine (hsmag.cc), he spends more time than he really should experimenting with the latest (and not-so latest) DIY tech. He lives in Bristol with his wife and two daughters in a house that’s slowly filling up with electronics equipment and 3D printers.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.