To perform the exercises in this chapter, you will need the following:
- Raspberry Pi 4 Model B
- Raspbian OS Buster (with a desktop and recommended software)
- Python version 3.5 at a minimum
These requirements are what the code examples in this book are based on. It's reasonable to expect that the code examples should work without modification on a Raspberry Pi 3 Model B or a different version of Raspbian OS, as long as your Python version is 3.5 or higher.
You will find this chapter's source code in the chapter13 folder in this book's GitHub repository, which is available here: https://github.com/PacktPublishing/Practical-Python-Programming-for-IoT.
You will need to execute the following commands in a Terminal to set up a virtual environment and install the Python libraries required for the code in this chapter:
$ cd chapter13 # Change into this chapter's folder
$ python3 -m venv venv # Create Python Virtual...