Internet of Things Programming Projects Build Exciting IoT Projects Using Raspberry Pi 5, Raspberry Pi Pico, and Python

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 Pr...

Descripción completa

Detalles Bibliográficos
Autor principal: Dow, Colin (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited 2024.
Edición:2nd ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009837635306719
Tabla de Contenidos:
  • 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
  • Technical requirements
  • 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
  • Getting an API key
  • 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
  • Summary
  • Chapter 3: Building an IoT Weather Indicator
  • Technical requirements
  • 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
  • Summary
  • Chapter 4: Building an IoT Information Display
  • Technical requirements
  • Investigating displays compatible with our Raspberry Pi and exploring screen types
  • Creating an IoT information display
  • Setting up our development environment
  • Creating a WeatherData class
  • Creating a TrafficMap class
  • Adding Dashboard and MyApp classes
  • Running the IoT information display application
  • Summary
  • Part 2: Building an IoT Home Security Dashboard
  • Chapter 5: Exploring the GPIO
  • Technical requirements
  • Introducing the GPIO on Raspberry Pi
  • Exploring the Raspberry Pi GPIO pinout diagram
  • Understanding GPIO pin communication protocols
  • Understanding sensors, actuators, and indicators
  • Setting up our development environment
  • Exploring the PIR sensor
  • Building a simple alarm system
  • Summary
  • Chapter 6: Building an IoT Alarm Module
  • Technical requirements
  • 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
  • Setting up our development environment
  • Writing the alarm module client code
  • Building an IoT alarm module case
  • Identifying the parts of the custom case
  • Building the alarm module case
  • Summary
  • Chapter 7: Building an IoT Button
  • Technical requirements
  • 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
  • Summary
  • Chapter 8: Creating an IoT Alarm Dashboard
  • Technical requirements
  • 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
  • Summary
  • Part 3: Creating a LoRa-Enabled IoT Monitoring Station
  • Chapter 9: Understanding LoRa
  • Technical requirements
  • 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
  • Installing the components in a custom case
  • Building a LoRa receiver
  • Wiring an LED to the Raspberry Pi Pico W
  • Creating code to receive LoRa messages
  • Testing our application
  • Summary
  • Chapter 10: Integrating LoRa with the Internet
  • Technical requirements
  • 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
  • Summary
  • Part 4: Building an IoT Robot Car
  • Chapter 11: Introducing ROS
  • Technical requirements
  • 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
  • Summary
  • Chapter 12: Creating an IoT Joystick
  • Technical requirements
  • 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
  • Summary
  • Chapter 13: Introducing Advanced Robotic Eyes for Security (A.R.E.S.)
  • Technical requirements
  • 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
  • Summary
  • Chapter 14: Adding Computer Vision to A.R.E.S.
  • Technical requirements
  • 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.
  • Summary
  • Index
  • Other Books You May Enjoy.