𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

The Raspberry Pi Zero 2 W GO! Book

✍ Scribed by Dogan Ibrahim


Publisher
Elektor International Media
Year
2023
Tongue
English
Leaves
250
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


A Fast-Lane Ride From Concept to Project The core of the book explains the use of the Raspberry Pi Zero 2 W running the Python programming language, always in simple terms and backed by many tested and working example projects. On part of the reader, familiarity with the Python programming language and some experience with one of the Raspberry Pi computers will prove helpful. Although previous electronics experience is not required, some knowledge of basic electronics is beneficial, especially when venturing out to modify the projects for your own applications. Over 30 tested and working hardware-based projects are given in the book, covering the use of Wi-Fi, communication with smartphones and with a Raspberry Pi Pico W computer.

✦ Table of Contents


Search…
The Raspberry Pi Zero 2 W GO! Book
All rights reserved.
Contents
Preface
1 β€’ The Raspberry Pi Zero 2 W
1.1 Overview
1.2 The Zero 2 W development board
1.3 Installing the operating system
1.4 Powering-up the Zero 2 W
1.5 Remote access
1.5.1 Configuring Putty
1.5.2 Remote access of the Desktop
1.6 Assigning static IP address to your Zero 2 W
2 β€’ Using a Text Editor in Command Mode
2.1 The "nano" text editor
3 β€’ Creating and Running a Python Program
3.1 Overview
3.2 Method 1 β€” Interactively from command prompt
3.3 Method 2 β€” Create a Python file in command mode
3.4 Method 3 β€” Create a Python file in GUI mode
3.5 Which method?
3.6 The Thonny screen
4 β€’ Software-Only Python Programs using the Zero 2 W
4.1 Overview
4.2 Example 1 β€” Average of two numbers read from the keyboard
4.3 Example 2 β€” Average of 10 numbers read from the keyboard
4.4 Example 3 β€” Surface area of a cylinder
4.5 Example 4 β€” ΒΊC to ΒΊF conversion
4.6 Example 5 β€” Surface area and volume of a cylinder; user function
4.7 Example 6 β€” Table of squares of numbers
4.8 Example 7 β€” Table of trigonometric sine
4.9 Example 8 β€” Table of trigonometric sine, cosine, and tangent
4.10 Example 9 β€” Trigonometric function of a required angle
4.11 Example 10 β€” Series and parallel resistors
4.12 Example 11 β€” Words in reverse order
4.13 Example 12 β€” Calculator
4.14 Example 13 β€” File processing: writing
4.15 Example 14 β€” File processing: reading
4.16 Example 15 β€” Squares and cubes of numbers
4.17 Example 16 β€” Multiplication timetable
4.18 Example 17 β€” Odd or even
4.19 Example 18 β€” Binary, octal, and hexadecimal
4.20 Example 19 β€” Add two matrices
4.21 Example 20 β€” Shapes
4.22 Example 21 β€” Solution of a quadratic equation
4.23 Example 22 β€” Matrix multiplication
4.24 Example 23 β€” Factorial of a number
4.25 Example 24 β€” Compound interest
4.26 Example 25 β€” Guess the number
4.27 Example 26 β€” Numerical integration
4.28 Example 27 β€” Practise arithmetic
4.29 Plotting in Python
4.29.1 Graph of a quadratic function
4.29.2 Drawing multiple graphs
5 β€’ Simple Projects for the Raspberry Pi Zero 2 W
5.1 Overview
5.2 Project 1: External flashing LED
5.3 Project 2: Flashing the SOS signal
5.4 Project 3: Binary counting with 8 LEDs
5.5 Project 4: Christmas Lights (randomly flashing 8 LEDs)
5.6 Project 5: Rotating LEDs with pushbutton switch control
5.7 Project 6 – Morse Code exerciser with buzzer
5.8 Project 7: Electronic dice
5.9 Project 8: LED brightness control
5.10 Project 9: Lucky day of the week
5.11 Project 10: Using an I2C LCD: Seconds counter
5.12 Project 11: Analog temperature sensor thermometer
5.13 Project 12: Analog temperature sensor thermometer with LCD output
5.14 Project 13: Reaction timer
5.15 Project 14: Vehicle parking aid
5.16 Project 15: Real-Time graph of the temperature and humidity
5.17 The Sense HAT interface
5.17.1 Programming the Sense HAT
5.17.2 Project 16: Displaying text on Sense HAT
5.17.13 Project 17: Test your math skills: multiplication
5.17.14 Project 18: Learning the times tables
5.17.15 Project 19: Display temperature, humidity, and pressure
5.17.16 Project 20: ON-OFF temperature controller
6 β€’ Communication over Wi-Fi
6.1 Overview
6.2 UDP and TCP
6.2.1 UDP communication
6.2.2 TCP communication
6.3 Project 21: Sending a text message to a smartphone using TCP/IP
6.4 Project 22: Two-way communication with the smartphone using TCP/IP
6.5 Project 23: Communicating with a PC using TCP/IP
6.6 Project 24: Controlling an LED connected to the Zero 2 W from the smartphone, using TCP/IP
6.7 Project 25: Sending a text message to a smartphone using UDP
6.8 Project 26: Controlling an LED connected to the Raspberry Pi Zero 2 W from the smartphone, using UDP
6.9 Using Flask to create a Web Server to control Raspberry Pi Zero 2 W GPIO ports from the Internet
6.10 Project 27: Web Server β€” Controlling an LED connected to the Raspberry Pi Zero 2 W, using Flask
6.11 Communicating with the Raspberry Pi Pico W over Wi-Fi
6.12 Project 28 – Raspberry Pi Zero 2 W and Raspberry Pi Pico W communication – controlling a relay over Wi-Fi
6.13 Project 29 β€” Storing ambient temperature and atmospheric pressure data in the Cloud
6.14 Useful network commands
6.14.1 Ping
6.14.2 hostname
6.14.3 ifconfig
6.14.4 route
6.14.5 netstat
6.14.6 host
6.15 Setting-up Wi-Fi on your Raspberry Pi Zero 2 W
6.15.1 During the installation of the Raspberry Pi operating system
6.15.2 Modifying the Wi-Fi details on the SD card
6.15.3 Setting via the Task Bar
6.15.4 Using the raspi-config tool
6.15.5 Manual setup
6.16 Finding the IP address of your Zero 2 W
6.16.1 Using a smartphone app
6.16.2 Using a PC program
6.16.3 Using nmap
6.17 Project 30 – Fetching and displaying the real-time weather data on the screen
6.18 Using TFT displays with the Raspberry Pi Zero 2 W
6.18.1 TFT display used
6.18.2 Connecting a TFT display to the Raspberry Pi Zero 2 W
6.18.3 ST7735 TFT display driver library
6.18.4 Example display β€” writing text
6.18.5 Example display β€” displaying various shapes
6.18.6 Project 31 β€” Displaying the local weather data on TFT
7 β€’ Using Node-Red with the Raspberry Pi Zero 2 W
7.1 Overview
7.2 Installing and running Node-RED on the Raspberry Pi Zero 2 W
7.3 Node-RED interface to external world
7.4 Project 32: Hello World!
7.5 Core nodes
7.5.1 Input nodes
7.5.2 Output nodes
7.5.3 Function nodes
7.5.4 Social nodes
7.5.5 Storage nodes
7.5.6 Analysis nodes
7.5.7 Advanced nodes
7.5.8 Raspberry Pi nodes
7.6 Project 33: Dice number
7.7 Project 34: Double dice numbers
7.8 Project 35: LED control
7.9 Project 36: Flashing an LED
7.10 Project 37: Pushbutton switch input
7.11 Using the ALEXA in Node-RED projects with the Raspberry Pi Zero 2 W
7.11.1 Project 38: Controlling an LED using Alexa
7.11.2 Project 39: Controlling an LED and a buzzer using Alexa
7.11.3 Project 40: Controlling an LED and a buzzer using Alexa – using a trigger node
8 β€’ Using MQTT with The Raspberry Pi Zero 2 W
8.1 Overview
8.2 How MQTT works
8.3 The Mosquitto Broker
8.4 Using MQTT in home automation and IoT projects
8.5 Project 41: Controlling an LED using MQTT
8.6 Project 42: Controlling an LED using ESP8266 NodeMCU with MQTT – LED connected to Raspberry Pi Zero 2 W
9 β€’ Communication over Bluetooth
9.1 Overview
9.2 Project 43: Exchanging text with a smartphone
9.3 Project 44: Bluetooth control of LED from a smartphone
9.4 Arduino Uno: Raspberry Pi Zero 2 W Bluetooth communication
9.4.1 Project 45: Communicating with an Arduino Uno over Bluetooth
9.5 Project 46: Play audio (like music) on a Bluetooth speaker via Zero 2 W
Appendix: Bill of Materials
Index


πŸ“œ SIMILAR VOLUMES


Jumpstarting the Raspberry Pi Zero W
✍ Peck, Akkana πŸ“‚ Library πŸ“… 2017 πŸ› Maker Media, Inc 🌐 English

Get up and running quickly with the new Jumpstarting ebook series from Make: . The super-small $10 Raspberry Pi Zero W includes wireless LAN and Bluetooth connectivity and is 40% faster than the original Raspberry Pi.

Raspberry Pi Zero W Wireless Projects
✍ Tzivaras, Vasilis πŸ“‚ Library πŸ“… 2017 πŸ› Packt Publishing Limited 🌐 English

Build DIY wireless projects using the Raspberry Pi Zero W board About This Book Explore the functionalities of the Raspberry Pi Zero W with exciting projects Master the wireless features (and extend the use cases) of this $10 chip A project-based guide that will teach you to build simple yet excitin

Getting Started with Raspberry Pi Zero W
✍ Kurniawan, Agus πŸ“‚ Library πŸ“… 2017 πŸ› PE Press 🌐 English

Raspberry Pi Zero W (Wireless) is the second generation of Raspberry Pi Zero with additional WiFi and Bluetooth capabilities. This book helps you to get started with Raspberry Pi Zero W. The following is highlight topics in this book:* Introduction to Raspberry Pi Zero W* Operating System* Powering

Raspberry Pi Zero W Wireless Projects: G
✍ Vasilis Tzivaras πŸ“‚ Library πŸ“… 2017 πŸ› Packt Publishing 🌐 English

Key Features β€’ Explore the functionalities of the Raspberry Pi Zero W with exciting projects β€’ Master the wireless features (and extend the use cases) of this $10 chip β€’ A project-based guide that will teach you to build simple yet exciting projects using the Raspberry Pi Zero W board Book Des

Raspberry Pi Zero W wireless projects: g
✍ Tzivaras, Vasilis πŸ“‚ Library πŸ“… 2017 πŸ› Packt Publishing 🌐 English

<p><b>Build DIY wireless projects using the Raspberry Pi Zero W board</b><p><b>About This Book</b><p><li>Explore the functionalities of the Raspberry Pi Zero W with exciting projects<li>Master the wireless features (and extend the use cases) of this $10 chip<li>A project-based guide that will teach