Powering the board

One of the first issues you'll want to consider is how to power the board. To do this, you need to connect through the USB power connection. There are two choices for providing power to the Raspberry Pi Zero:

  1. Connect the micro USB connector labeled power to a 5V DC source powered by a USB power supply. This can be either a power supply that can plug directly into an outlet, or power supplied by a powered USB port such as those available on most computers.
  2. Connect the micro USB connector to a battery. The simplest type of connection is to a battery that has a USB connector, like those used to charge cellphones. Here is an image of just such a battery:

In both cases, make sure that the unit can supply enough current. You'll need ...

Get Raspberry Pi Robotic Projects - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.