Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi Pico DIY Workshop

You're reading from  Raspberry Pi Pico DIY Workshop

Product type Book
Published in May 2022
Publisher Packt
ISBN-13 9781801814812
Pages 376 pages
Edition 1st Edition
Languages
Authors (2):
Sai Yamanoor Sai Yamanoor
Profile icon Sai Yamanoor
Srihari Yamanoor Srihari Yamanoor
Profile icon Srihari Yamanoor
View More author details

Table of Contents (17) Chapters

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

Interfacing a CO2 sensor with the Pico

In this section, we will discuss interfacing the CO2 sensor with the Raspberry Pi Pico. This section is meant for those who don't have access to a local data source for air quality. The SCD30 sensor has a measurement range of 400–10,000 ppm. We chose this sensor because it comes with an onboard temperature sensor that provides temperature compensation to the CO2 concentration calculation. The datasheet for the sensor is available from here: https://bit.ly/3tyJZ9C. We will measure the CO2 concentration and publish it to ThingSpeak, a service we discussed in Chapter 4, Fun with Gardening!. This will enable us to share a public dashboard of the local air quality levels.

If you have access to a public data source, you are welcome to skip this section and move to the next section where we test the motors.

We are assuming that you have installed the required libraries to communicate with the sensor using the instructions from earlier...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}