To perform the exercises in this chapter, you will need the following:
- Raspberry Pi 4 Model B
- Raspbian OS Buster (with desktop and recommended software)
- Minimum Python version 3.5
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 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 chapter10 folder in the GitHub repository available at 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 chapter10 # Change into this chapter's folder
$ python3 -m venv venv # Create Python Virtual Environment
$ source venv/bin/activate...