This is the code repository for Raspberry Pi Zero Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Go to MaptRaspberry Pi Zero, one of the most inexpensive, fully-functional computers available, is a powerful and revolutionary product developed by the Raspberry Pi Foundation. Raspberry Pi Zero opens up a new world for the makers out there. This book will give you expertise with Raspberry Pi Zero, providing all the necessary recipes that will get you up and running.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
@app.route('/update_pin', methods=[
7119
'POST'])
def update_pin():
#Read in form entry. Since they are all buttons, you should only get
The operating system used in this book is the open source Raspbian, designed specifically for the Raspberry Pi family of computers.
Pretty much any part in this book, outside of common components such as resistors and capacitors, is available through Adafruit. Adafruit sells high-quality components and boards that are great for all kinds of Internet of Things and maker projects. Purchasing each piece individually can add up fast; fortunately, sites such as Amazon offer some great kits that are perfect for beginners. The Elegoo Most Complete Ultimate Starter Kit is the one I used. It costs around $60 US and includes most of the sensors, displays, and motors used in this cookbook as well as common components, such as a breadboard, jumper wires, power supplies, LEDs, resistors, and capacitors. It is a great way to get started! Everything marked with an asterisk (*) is something that is included in the Elegoo kit. In the specific recipes, I will reference the equivalent Adafruit part if available.
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.