Book Image

Raspberry Pi Zero Cookbook

Book Image

Raspberry Pi Zero Cookbook

Overview of this book

The Raspberry Pi Zero, one of the most inexpensive, fully-functional computers available, is a powerful and revolutionary product developed by the Raspberry Pi Foundation. The Raspberry Pi Zero opens up a new world for the makers out there. This book will give you expertise with the Raspberry Pi Zero, providing all the necessary recipes that will get you up and running. In this book, you will learn how to prepare your own circuits rather than buying the expensive add–ons available in the market. We start by showing you how to set up and manage the Pi Zero and then move on to configuring the hardware, running it with Linux, and programming it with Python scripts. Later, we integrate the Raspberry Pi Zero with sensors, motors, and other hardware. You will also get hands-on with interesting projects in media centers, IoT, and more.
Table of Contents (17 chapters)
Raspberry Pi Zero Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Running RPZ on a battery


For prototyping, using a regular AC power source or desktop computer is the way to go. Once you've come up with some ideas for projects, perhaps outdoor temperature monitors or humidity sensors in your attic, you might find that there isn't AC power available.

Now that you know how to run your Raspberry Pi Zero wirelessly, with a battery source, you could run it as a low-profile, remote system. There are dozens of different things you can do with a wireless, battery-powered computer and a few sensors-your only limitation is how long your batteries can run.

Getting ready

Depending on how simple, long-lasting, or low-profile your solution is, there are a few different options.

USB battery pack

USB battery packs have become common, small, and inexpensive over the years. This is the easiest and most advisable way to go: you just connect the battery pack to the micro-USB power input on the Raspberry Pi Zero. This way, you have all of the voltage regulation and protection of...