Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Raspberry Pi Pico DIY Workshop
Raspberry Pi Pico DIY Workshop

Raspberry Pi Pico DIY Workshop: Build exciting projects in home automation, personal health, gardening, and citizen science

Arrow left icon
Profile Icon Sai Yamanoor Profile Icon Srihari Yamanoor
Arrow right icon
€27.99 €31.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (3 Ratings)
eBook May 2022 376 pages 1st Edition
eBook
€27.99 €31.99
Paperback
€38.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Sai Yamanoor Profile Icon Srihari Yamanoor
Arrow right icon
€27.99 €31.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (3 Ratings)
eBook May 2022 376 pages 1st Edition
eBook
€27.99 €31.99
Paperback
€38.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€27.99 €31.99
Paperback
€38.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Raspberry Pi Pico DIY Workshop

Chapter 1: Getting Started with the Raspberry Pi Pico

In this chapter, we would like to delve into a quick introduction to the Raspberry Pi Pico and the RP2040 microcontroller. We will discuss the Raspberry Pi Pico's features, the RP2040's peripherals, the add-on hardware for the Pico, and development boards for the RP2040 developed by other makers. We will also discuss the programming language options available for the Pico and supplement the chapter by discussing a simple "Hello World" example where we print something to the screen and blink a light-emitting diode (LED).

By the end of this first chapter, you will have gotten started with the Pico and will be ready to start programming the RP2040 microcontroller and start planning to implement projects from the later chapters of this book, as well as thinking ahead to how you can tackle your own projects with the Raspberry Pi Pico!

We are going to cover the following main topics:

  • Introducing the Raspberry Pi Pico and RP2040
  • Discussing variants of the Pico board
  • Soldering the Pico's headers
  • Implementing the "Hello World!" example
  • Implementing the LED-blinking example
  • Identifying useful add-on hardware for the Pico
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Make the most of the Raspberry Pi Pico—a low-cost microcontroller that is primed for innovation
  • Work with easy-to-follow examples and learn how to interface and program a Raspberry Pi Pico
  • Work on fun projects, right from home automation to building a seven-segment display to tracking air quality

Description

The Raspberry Pi Pico is the latest addition to the Raspberry Pi family of products. Introduced by the Raspberry Pi Foundation, based on their RP2040 chip, it is a tiny, fast microcontroller that packs enough punch to power an extensive range of applications. Raspberry Pi Pico DIY Workshop will help you get started with your own Pico and leverage its features to develop innovative products. This book begins with an introduction to the Raspberry Pi Pico, giving you a thorough understanding of the RP2040's peripherals and different development boards for the Pico designed and manufactured by various organizations. You'll explore add-on hardware and programming language options available for the Pico. Next, you'll focus on practical skills, starting with a simple LED blinking project and building up to a giant seven-segment display, while working with application examples such as citizen science displays, digital health, and robots. You'll also work on exciting projects around gardening, building a weather station, tracking air quality, hacking your personal health, and building a robot, along with discovering tips and tricks to give you the confidence needed to make the best use of RP2040. By the end of this Raspberry Pi book, you'll have built a solid foundation in product development using the RP2040, acquired a skillset crucial for embedded device development, and have a robot that you built yourself.

Who is this book for?

This book is for students, teachers, engineers, scientists, artists, and tech enthusiasts who want to develop embedded systems that drive cost-effective automation, IoT, robotics, medical devices, and art projects. If you consider yourself a maker and would like to learn how to use the Raspberry Pi Pico, then this book is for you. Familiarity with Python programming, MicroPython, CircuitPython, embedded hardware, and peripherals is helpful but not mandatory to get the most out of this book.

What you will learn

  • Understand the RP2040 s peripherals and apply them in the real world
  • Find out about the programming languages that can be used to program the RP2040
  • Delve into the applications of serial interfaces available on the Pico
  • Discover add-on hardware available for the RP2040
  • Explore different development board variants for the Raspberry Pi Pico
  • Discover tips and tricks for seamless product development with the Pico

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 26, 2022
Length: 376 pages
Edition : 1st
Language : English
ISBN-13 : 9781801810661
Vendor :
Raspberry Pi
Category :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 26, 2022
Length: 376 pages
Edition : 1st
Language : English
ISBN-13 : 9781801810661
Vendor :
Raspberry Pi
Category :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 96.97
Raspberry Pi and MQTT Essentials
€27.99
Robotics at Home with Raspberry Pi Pico
€29.99
Raspberry Pi Pico DIY Workshop
€38.99
Total 96.97 Stars icon

Table of Contents

16 Chapters
Section 1: An Introduction to the Pico Chevron down icon Chevron up icon
Chapter 1: Getting Started with the Raspberry Pi Pico Chevron down icon Chevron up icon
Chapter 2: Serial Interfaces and Applications Chevron down icon Chevron up icon
Chapter 3: Home Automation Projects Chevron down icon Chevron up icon
Chapter 4: Fun with Gardening! Chevron down icon Chevron up icon
Section 2: Learning by Making Chevron down icon Chevron up icon
Chapter 5: Building a Weather Station Chevron down icon Chevron up icon
Chapter 6: Designing a Giant Seven-Segment Display Chevron down icon Chevron up icon
Chapter 7: Designing a Visual Aid for Tracking Air Quality Chevron down icon Chevron up icon
Section 3: Advanced Topics Chevron down icon Chevron up icon
Chapter 8: Building Wireless Nodes Chevron down icon Chevron up icon
Chapter 9: Let's Build a Robot! Chevron down icon Chevron up icon
Chapter 10: Designing TinyML Applications Chevron down icon Chevron up icon
Chapter 11: Let's Build a Product! Chevron down icon Chevron up icon
Chapter 12: Best Practices for Working with the Pico Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(3 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Shyam Jan 08, 2023
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A very practical and easy to follow book to get first hand IoT knowledge using Raspberry Pi Pico. It teaches you how to add simple sensors like temperature sensor (AHT20) and use it for a gardening project. Likewise, it teaches you how to build air quality monitoring application. Very useful book for those seeking hands on knowledge.
Amazon Verified review Amazon
VD Jul 06, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Review written for Chapter 2 Serial Interfaces and ApplicationsBook Target Audience: Raspberry Pi Pico beginnersBeginner Note 1: Raspberry Pi Foundation released the Raspberry Pi Pico W with Bluetooth and 2.4GHz WiFi capabilities. The chapter reviewed uses ESP32 micro-controller to provide wireless communication capabilities to the then wireless version of the Raspberry Pi Pico on the market. Not much will change for beginners with the introduction of the Raspberry Pi Pico W as the Python programming frameworks used in this book will soon support the Raspberry Pi Pico W chip they chose to provide wireless capabilities, the Infineon CYW43439 chip natively.Beginner Note 2: As a beginner you may not possess much skills in programming micro controllers. This is why this book has made the decision to use the Python frameworks available for common micro controllers including the Raspberry Pi Pico. This book also uses sensor modules and displays that as a beginner you will need to purchase to complete the example projects. Prices are listed in the chapter but with the supply chain issues that are ongoing during the publishing of this book the prices you pay as a beginner may fluctuate from the printed prices within the book until the supply chain issues resolve. Prices for a given sensor can be indicative of but not necessarily relied on as a predictor of quality of a particular sensor as the less expensive mass produced sensors may be less precise but less expensive to purchase. As a beginner be aware that use of any given sensor is a design decision for whatever the end product or end purpose is. If you only need general temperature information for example a less expensive and less precise temperature sensor would suffice.Serial Interfaces are the most common interfaces users of micro controllers will use to communicate with the various sensor modules and even to other micro controllers such as the ESP32 used in this chapter to provide WiFi communication capabilities to any micro controller that does not already possess them. This is a very important chapter to pay attention to as a beginner.Wiring diagrams are provided in the form of Fritzing schematics which are at a high level and show color coded wire connections for the beginner to easily understand,. Rest assured there are no complicated circuit diagrams to learn.Serial communications technologies taught in this chapter include UART which will teach you asynchronous communications communications where there is no reference clock signal so both the micro controller and the device being communicated with must speak at an identical given speed, known as baud rate and then moves on to I2C invented by Philips Semiconductors in 1982 where one wire will carry the clock signal that all devices can reference so no need to separately set up a separate baud rate configuration and then covers the SparkFun QWIIC and AdaFruit STEMMA 3.3 volt and 5 volt respectively connector standards that build on top of I2C that allows users to daisy-chain different sensor boards together instead of using breadboards and wires to connect everything. The final serial communications standard covered is Serial Peripheral Interface (SPI) used by memory devices, sensors, displays and so on. As a beginner do not worry the coverage is not in depth to the point you will get lost but if you do wish to learn more there are links to external resources that are provided for those hungry for more information. The chapter ends with the interfacing a Raspberry Pi Pico with an ESP32 micro controller using SPI so that the Raspberry Pi Pico can borrow the wireless capabilities of the ESP32 micro controller to send and receive data on its behalf.The programming code is short. As a beginner most of it should be easy enough to understand, just be aware that some of the numbers provided will be in hexadecimal format, those with start with a "0x" before the actual number itself and then you will have normal numbers that will be easier for a beginner to comprehend.The heavy lifting of connecting the Raspberry Pi Pico to various sensors will already be done for you within the Python framework and any of the various libraries that have been written for a given sensor. You will not be required to understand lower level concepts in programming. If you do wish to further your education then the beginner is recommended to explore the Arduino Framework and Arduino IDE which give you some more control at a lower level of the micro controller and sensors.The writing style used in the chapter was clear and comprehensible.Overall as a book targeted towards the beginner the book provides enough for someone new to Raspberry Pi Pico to get their feet wet and experience various technologies used in the micro controller space. The program code provides the bare minimum to accomplish the communication technology being explained. There will not be completed complex applications, that is left to the beginner to analyze what their own specific problems or desires are and then try to make the Raspberry Pi Pico and any chosen sensors do what the beginner dreams up. If you are intermediate to advanced in IOT or micro controllers this is not written for you, it is for the beginners just getting their feet wet.
Amazon Verified review Amazon
Jason Russell Jul 12, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book provides clear and concise guidance for audiences from beginner to advanced levels that wish to expand their knowledge of the Raspberry Pi pico platform. For the new learner you will be up and running code within hours and for the advanced learner the book provides code examples and instructions for many complex and advanced builds. Jason Russell - Gray Hat Guy LLC
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.