My Account Log in

2 options

Internet of Things Programming Projects : Build Exciting IoT Projects Using Raspberry Pi 5, Raspberry Pi Pico, and Python / Colin Dow.

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Dow, Colin, author.
Language:
English
Subjects (All):
Application software--Development.
Application software.
Cloud computing.
Internet of things.
Physical Description:
1 online resource (458 pages)
Edition:
Second edition.
Place of Publication:
Birmingham, England : Packt Publishing, [2024]
Biography/History:
Dow Colin: Colin Dow has been involved with technology since the early home computers caught his eye. He has worked as a programmer/analyst at some of Canada's biggest companies. He is the author of the Packt books Internet of Things Programming Projects (2018), Hands-On Edge Analytics with Azure IoT, and Simplifying 3D Printing with OpenSCAD. When he's not nerding out on programming or 3D printing, he likes to compose electronic music, which can be found on Spotify under the name Project Josephine.
Summary:
Renowned for its versatility, affordability, and active community support, Raspberry Pi is at the forefront of IoT development. Unlock the vast potential of Raspberry Pi and Raspberry Pi Pico by learning how to develop practical projects with this updated edition of Internet of Things Programming Projects. Written by an expert programmer who’s worked for some of Canada’s largest companies, this book starts with foundational concepts and practical exercises such as building a basic weather indicator, and gradually progressed toward more complex projects. You’ll get to grips with coding nuances and web service integrations that will help you create a sophisticated IoT robot car equipped with motor control, wireless communication, and sensor amalgamation. The book also explores LoRa technology, a game-changer for long-range, low-power communication in your projects, and delves into robot car development by implementing the Robot Operating System (ROS) for advanced control and coordination. Through clear, step-by-step instructions and insightful explanations, you’ll gain the skills and confidence to develop innovative IoT solutions for real-world applications. By the end of the book, you’ll have mastered the intricacies of IoT programming, from harnessing Raspberry Pi's capabilities to seamlessly integrating external components.
Contents:
Cover
Title Page
Copyright and credits
Contributors
Table of Contents
Preface
Part 1: Setting Up the Raspberry Pi for IoT Development
Chapter 1: Understanding the Raspberry Pi
Technical requirements
Exploring Raspberry Pi models
Exploring alternatives to the Raspberry Pi
Looking at the power of HATs
Pibrella HAT
The Raspberry Pi Sense HAT
Investigating operating systems for the Raspberry Pi
Using the Raspberry Pi for IoT
Utilizing web services for IoT applications
Re-introducing T.A.R.A.S. - an IoT-based robotics project
Getting started with Raspberry Pi development
Raspberry Pi development tools
Raspberry Pi and Sense HAT development
Summary
Chapter 2: Harnessing Web Services with the Raspberry Pi
Exploring web services
Understanding approaches for web services
Connecting to a web service with our Raspberry Pi and Sense HAT
Creating a scrolling stock ticker application
Getting an API key
Writing web services client code
Enhancing our application
Developing weather display applications
Creating a scrolling weather information ticker
Scrolling weather information on Sense HAT
Developing a GO-NO-GO application for decision-making
Building other GO-NO-GO applications
Chapter 3: Building an IoT Weather Indicator
Looking into servo motors
Connecting the SG90 servo motor to our Raspberry Pi
Understanding servo motors
Exploring LEDs
Connecting an LED to our Raspberry Pi
Controlling servo motors and LEDs using Python
Setting up our development environment
Using GPIO Zero to control a servo
Using GPIO Zero to control an LED
Building the weather indicator stand
Assembling the weather indicator stand.
Developing code for our application
Calibrating the needle
Creating the WeatherData class
Creating the WeatherDashboard class
Adding the updateDashboard() function and main methods
Chapter 4: Building an IoT Information Display
Investigating displays compatible with our Raspberry Pi and exploring screen types
Creating an IoT information display
Creating a WeatherData class
Creating a TrafficMap class
Adding Dashboard and MyApp classes
Running the IoT information display application
Part 2: Building an IoT Home Security Dashboard
Chapter 5: Exploring the GPIO
Introducing the GPIO on Raspberry Pi
Exploring the Raspberry Pi GPIO pinout diagram
Understanding GPIO pin communication protocols
Understanding sensors, actuators, and indicators
Exploring the PIR sensor
Building a simple alarm system
Chapter 6: Building an IoT Alarm Module
Investigating MQTT
Understanding the publish-subscribe model in MQTT
Understanding QoS in MQTT
Exploring MQTT fundamentals with the MQTTHQ web client
Using a Raspberry Pi Pico W with MQTT
Introducing the RP2040 chip
Configuring our alarm circuit
Writing the alarm module client code
Building an IoT alarm module case
Identifying the parts of the custom case
Building the alarm module case
Chapter 7: Building an IoT Button
Introducing IoT buttons
Utilizing IoT buttons
Exploring various technologies in IoT button development
Creating our IoT button using the M5Stack ATOM Matrix
Exploring M5Stack devices
Flashing the firmware to our ATOM Matrix.
Configuring the ATOM Matrix for programming
Turning our ATOM Matrix into an IoT button
Testing our IoT button
Improving on our IoT button with the Raspberry Pi Pico W
Setting up a CloudAMQP instance
Modifying our alarm module code
Building our Raspberry Pi Pico W IoT button
Installing the components in a custom case
Chapter 8: Creating an IoT Alarm Dashboard
Exploring IoT alarm dashboards
Using IoT alarm dashboards for industrial processes
Exploring the IoT security alarm dashboard
Creating a Raspberry Pi 5 alarm dashboard
Modifying the IoT alarm module code
Writing the dashboard code
Building the external alarm buzzer stand
Identifying the parts
Building the stand
Running our application
Part 3: Creating a LoRa-Enabled IoT Monitoring Station
Chapter 9: Understanding LoRa
Exploring LoRa
Practical uses for LoRa technology
Investigating the radio frequency spectrum
Understanding the LoRa SF
Using LoRa with the Raspberry Pi Pico and Pico W
Building a LoRa sensory transmitter
Constructing our circuit
Developing the code
Building a LoRa receiver
Wiring an LED to the Raspberry Pi Pico W
Creating code to receive LoRa messages
Testing our application
Chapter 10: Integrating LoRa with the Internet
Connecting our LoRa receiver to the internet
Installing the CircuitPython library for MQTT
Creating a CloudAMQP instance for our application
Adding MQTT functionality to the LoRa receiver
Creating a new weather indicator
Building the split stand
Building the faceplate
Configuring the RGB LED indicator
Configuring the servo motor
Programming our weather indicator.
Exploring other IoT communication protocols
Part 4: Building an IoT Robot Car
Chapter 11: Introducing ROS
Exploring ROS
Reviewing our TurtleSim controller ROS application
Understanding ROS node communication
Investigating ROS project structure and organization
Aligning ROS distributions with Ubuntu LTS versions
Installing Ubuntu and ROS onto our Raspberry Pi
Installing Ubuntu on our Raspberry Pi 4
Adding ROS to our Ubuntu installation
Testing our ROS installation
Running and controlling a simulated robot
Launching and testing TurtleSim
Creating an ROS workspace and package
Modifying the generated Python code
Updating package.xml
Compiling and running our code
Controlling our robot with an MQTT message
Chapter 12: Creating an IoT Joystick
Understanding our IoT joystick application
Wiring up our circuit
Developing the code for our IoT joystick
Setting up our Raspberry Pi Pico WH
Creating a Joystick class
Sending MQTT messages from our IoT joystick
Creating a custom ROS node for our application
Creating our custom robot_control node
Controlling a ROS TurtleSim robot using our IoT joystick
Constructing the IoT joystick case
Chapter 13: Introducing Advanced Robotic Eyes for Security (A.R.E.S.)
Exploring our A.R.E.S. application
Constructing A.R.E.S.
Identifying the 3D-printed frame parts
Identifying the components used to create A.R.E.S.
Building A.R.E.S.
Wiring up A.R.E.S.
Software setup and configuration
Installing Ubuntu onto our Raspberry Pi 3B+
Running the installation script
Creating alarm code for the Pico H
Testing and controlling the motors
Testing communication between Pi and Pico
Testing the ToF sensor.
Streaming video from A.R.E.S.
Programming A.R.E.S. with ROS
Chapter 14: Adding Computer Vision to A.R.E.S.
Exploring computer vision
Introducing OpenCV
Understanding YOLO and neural networks
Exploring object detection
Adding computer vision to A.R.E.S.
Creating the DogTracker class
Building a smart video streamer
Sending out a text alert
Setting up our Twilio account
Adding text message functionality to A.R.E.S.
Index
Other Books You May Enjoy.
Notes:
Includes index.
Description based on publisher supplied metadata and other sources.
Description based on print version record.
ISBN:
9781835088685
1835088686
OCLC:
1444259827

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account