Название: Raspberry Pi Cookbook: Software and Hardware Problems and Solutions, 4th Edition (Fourth Early Release) Автор: Dr. Simon Monk Издательство: O’Reilly Media, Inc. Год: 2022-10-03 Страниц: 610 Язык: английский Формат: epub Размер: 43.5 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.
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 (Fourth Early Release)
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.