You might think of computers as things you stick on your desk and type on, and this is certainly one type of computer, but itβs not the only type. In this book, weβre looking at microcontrollers β small processing units with a bit of memory that are good at controlling other hardware. You probably h
Get started with MicroPython on Raspberry Pi Pico
β Scribed by Gareth Halfacree; Ben Everard
- Publisher
- Raspberry Pi Trading Ltd
- Year
- 2021
- Tongue
- English
- Leaves
- 139
- Series
- THE OFFICIAL RASPBERRY PI PICO GUIDE
- Edition
- First
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
THE OFFICIAL RASPBERRY PI PICO GUIDE
Get started with
MicroPython
on Raspberry Pi Pico
by Gareth Halfacree
and Ben Everard
Get started with
MicroPython
on Raspberry Pi Pico
Microcontrollers, like RP2040 at the heart of
Raspberry Pi Pico, 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 up 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.
The robotic future is here β you just have to build
it yourself. Weβll show you how.
raspberrypi.org
β¦ Table of Contents
Contents
Chapter 1: Get to know your Raspberry Pi Pico 008
Get fully acquainted with your powerful new microcontroller and learn how to attach
pin headers and install MicroPython to program it
Chapter 2: Programming with MicroPython 020
Connect a computer and start writing programs for your Raspberry Pi Pico using the
MicroPython language
Chapter 3: Physical computing 034
Learn about your Raspberry Pi Picoβs pins and the electronic components you can
connect and control
Chapter 4: Physical computing with Raspberry Pi Pico 044
Start connecting basic electronic components to your Raspberry Pi Pico and writing
programs to control and sense them
Chapter 5: Traffic light controller 058
Create your own mini pedestrian crossing system using multiple LEDs and a push-button
Chapter 6: Reaction game 068
Build a simple reaction timing game using an LED and push-buttons, for one or two players
Chapter 7: Burglar alarm 080
Use a motion sensor to detect intruders and sound the alarm with a flashing light and siren
Chapter 8: Temperature gauge 092
Use your Raspberry Pi Picoβs built-in ADC to convert analogue inputs, and read its
internal temperature sensor
Chapter 9: Data logger 104
Turn Raspberry Pi Pico into a temperature data-logging device and untether it from the
computer to make it fully portable
Chapter 10: Digital communication protocols: I2C and SPI 116
Explore these two popular communication protocols and use them to display data on an LCD
APPENDICES
Appendix A: Raspberry Pi Pico specifications 124
Appendix B: Pinout guide 128
Appendix C: Programmable IO 130
β¦ Subjects
MicroPython; Raspberry Pi Pico
π SIMILAR VOLUMES
<div> <p style="font-weight: bold">Microcontrollers, like the RP2040 chip at the heart of Raspberry Pi Pico, are computers stripped back to their bare essentials.</p> <p>You don't use monitors or keyboards with them β instead, you program them over USB to take their input from (and send their outp
What can you do with the Raspberry Pi, a $35 computer the size of a credit card? All sorts of things! If youβre learning how to program, or looking to build new electronic projects, this hands-on guide will show you just how valuable this flexible little platform can be. This book takes you step-by
What can you do with the Raspberry Pi, a $35 computer the size of a credit card? All sorts of things! If youβre learning how to program, or looking to build new electronic projects, this hands-on guide will show you just how valuable this flexible little platform can be. This book takes you step-by-
<DIV><p>What can you do with the Raspberry Pi, a $35 computer the size of a credit card? All sorts of things! If youβre learning how to program, or looking to build new electronic projects, this hands-on guide will show you just how valuable this flexible little platform can be.</p><p>This book take
What can you do with the Raspberry Pi, a $35 computer the size of a credit card? All sorts of things! If you're learning how to program, or looking to build new electronic projects, this hands-on guide will show you just how valuable this flexible little platform can be.;Getting up and running -- Ge