Raspberry Pi Cookbook, 4th Edition (Final Release)КНИГИ » ПРОГРАММИНГ
Название: Raspberry Pi Cookbook: Software and Hardware Problems and Solutions, 4th Edition (Final Release) Автор: Dr. Simon Monk Издательство: O’Reilly Media, Inc. Год: 2023 Страниц: 621 Язык: английский Формат: True/Retail PDF EPUB Размер: 236.9 MB, 46.3 MB
If you've started to work with Raspberry Pi, you know that Raspberry Pi's capabilities are continually expanding. The fourth edition of this popular cookbook provides more than 200 hands-on recipes (complete with code) that show you how to run this tiny low-cost computer with Linux, program it with Python, hook it up to sensors and motors, and use it with the internet of things (IoT). This new edition includes new chapters on the Raspberry Pi Pico and Machine Learning with the Raspberry Pi.
Although many languages can be used to program the Raspberry Pi, Python is the most popular. In fact, the Pi in Raspberry Pi is inspired by the word python. Although Python’s most recent version, Python 3, has been around for years, you’ll find that a lot of people still use Python 2. Python 3 (the default for Raspberry Pi OS) is run by using either of the commands python or Python 3. The examples in this book are written for Python 3 unless otherwise stated. Most will run on both Python 2 and Python 3 without modification. This reluctance on the part of the Python community to ditch the older version is largely because Python 3 introduced some changes that broke compatibility with version 2. As a result, some of the huge body of third-party libraries developed for Python 2 won’t work under Python 3. My strategy is to write in Python 3 whenever possible, reverting Python 2 only when I need to because of compatibility problems.
This edition has been thoroughly updated to encompass the new models of Raspberry Pi, as well as the many changes and improvements to its Raspberry Pi OS. In particular you will find new chapters on: • Machine Learning • Raspberry Pi Pico and Pico W This book is designed so that you can read it linearly, as you would a regular book, or access recipes at random. You can search the table of contents or index for the recipe that you want and then jump directly to it. If the recipe requires you to know about other things, it will refer you to other recipes, rather like a cookbook might refer you to base sauces before showing you how to cook something fancier. The world of Raspberry Pi moves quickly. With a large, active community, new interface boards and software libraries are being developed all the time. In addition to examples that use specific interface boards or software, the book also covers basic principles so that you can have a better understanding of how to use new technologies that come along as the Raspberry Pi ecosystem develops.
As you would expect, a large body of code (mostly Python programs) accompanies the book. These programs are all open source and available on GitHub. For most of the software-based recipes, all you need is a Raspberry Pi. I recommend a Raspberry Pi 3 or 4 model B. When it comes to recipes that involve making your own hardware to interface with the Raspberry Pi, I have tried to make good use of ready-made modules as well as solderless breadboard and jumper wires to avoid the need for soldering.
These easy-to-use recipes will show you, step-by-step, how to:
Set up your Raspberry Pi and connect to a network Work with its Linux-based operating system Program your Raspberry Pi with Python Give your Pi "eyes" with computer vision Recognize objects from video and sounds using machine learning Control hardware through the GPIO connector Use your Raspberry Pi to run different types of motors Work with switches, keypads, and other digital inputs Use sensors to measure temperature, light, and distance Connect to IoT devices in various ways and automate your home Use the Raspberry Pi Pico microcontroller board with your Raspberry Pi
Скачать Raspberry Pi Cookbook, 4th Edition (Final Release)
Raspberry Pi Cookbook, 4th Edition (Early Release) Название: Raspberry Pi Cookbook, 4th Edition Автор: Simon Monk Издательство: O’Reilly Media Год: 2022-08-01: Third Release Формат: ePUB Размер: 13,8...
Raspberry Pi For Dummies, 4th Edition Название: Raspberry Pi For Dummies, 4th Edition Автор: Sean McManus, Mike Cook Издательство: For Dummies Год: 2021 Формат: True PDF Страниц: 515...
Raspberry Pi Cookbook, 3rd Edition (Early Release) Название: Raspberry Pi Cookbook, Ершквrd Edition (Early Release) Автор: Simon Monk Издательство: O'Reilly Media, Inc Год: 2019 Формат: epub Размер:...
Raspberry Pi 3 Название: Raspberry Pi 3 Издательство: UpSkill Learning Автор: UpSkill Learning Год:2016 Количество страниц:85 Язык: English Формат: pdf...