Get Started with MicroPython on Raspberry Pi Pico
Get Started with MicroPython on Raspberry Pi Pico
Get Started with MicroPython on Raspberry Pi Pico

Get Started with MicroPython on Raspberry Pi Pico

£4.00 Regular price £10.00

Raspberry Pi Pico is a new low-cost, high-performance microcontroller board with flexible digital interfaces. Microcontrollers are computers stripped back to their bare essentials. You don’t use monitors or keyboards, but program them to take their input from, and send their output to the input/output pins. Using these programmable connections, you can light lights, make noises, send text to screens, and much more.

In Get Started with MicroPython on Raspberry Pi Pico, you will learn how to use the beginner-friendly language MicroPython to write programs and connect hardware to make your Raspberry Pi Pico interact with the world around it. Using these skills, you can create your own electro-mechanical projects, whether for fun or to make your life easier. 

  • Set up your Raspberry Pi Pico and start using it
  • Start writing programs using MicroPython
  • Control and sense electronic components
  • Discover how to use Pico’s unique Programmable IO
  • Make a reaction game, burglar alarm, temperature gauge, and many more

Errata

(for all versions): If you are using the Raspberry Pi Pico W, you will need to change the definition of led_onboard (pages 46, 48, and 52):

led_onboard = machine.Pin(25, machine.Pin.OUT)

…should change to:

led_onboard = machine.Pin("LED", machine.Pin.OUT)

(for original print version before 15/2/2021): To avoid the possibility of erratic readings from inputs such as a push-button or PIR sensor, you are advised to change the pin input setup code line to include a ‘machine.Pin.PULL_DOWN’ call to pull down the pin’s resistor manually. For example:

button = machine.Pin(14, machine.Pin.IN)

…should change to:

button = machine.Pin(14, machine.Pin.IN, machine.Pin.PULL_DOWN)

Here’s the full list of errata for the book…

button = machine.Pin(14, machine.Pin.IN, machine.Pin.PULL_DOWN)

Page 113: the size of Pico’s file system is in fact 1.375MiB, not 128kB, which means it can continue to log data for much longer than stated.

If you would like the full errata please click here