Home IoT & Hardware Getting Started with Raspberry Pi Zero

Getting Started with Raspberry Pi Zero

By Richard Grimmett
books-svg-icon Book
Subscription FREE
eBook + Subscription €14.99
eBook €19.99
Print + eBook €24.99
READ FOR FREE Free Trial for 7 days. €14.99 p/m after trial. Cancel Anytime! BUY NOW BUY NOW BUY NOW
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
READ FOR FREE Free Trial for 7 days. €14.99 p/m after trial. Cancel Anytime! BUY NOW BUY NOW BUY NOW
Subscription FREE
eBook + Subscription €14.99
eBook €19.99
Print + eBook €24.99
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
  1. Free Chapter
    Getting Started with Raspberry Pi Zero
About this book
Raspberry Pi Zero is half the size of Raspberry Pi A, only with twice the utility. At just three centimeters wide, it packs in every utility required for full-fledged computing tasks. This practical tutorial will help you quickly get up and running with Raspberry Pi Zero to control hardware and software and write simple programs and games. You will learn to build creative programs and exciting games with little or no programming experience. We cover all the features of Raspberry Pi Zero as you discover how to configure software and hardware, and control external devices. You will find out how to navigate your way in Raspbian, write simple Python scripts, and create simple DIY programs.
Publication date:
March 2016
Publisher
Packt
Pages
228
ISBN
9781786469465

 

Chapter 1. Getting Started with Raspberry Pi Zero

There has been a major shift in electronics and computer accessibility driven by the introduction of the Raspberry Pi microcomputer and its variants. With a completely different price point along with a significantly expanded support community, the Raspberry Pi has been an unprecedented success in bringing inexpensive computing to a wide audience. The Raspberry Pi Zero continues with that important approach, providing unprecedented computer power at an even lower price point.

The Raspberry Pi Zero is particularly useful as it can be paired with inexpensive hardware and open-source software to do a wide range of different Do-It-Yourself projects. You'll learn about many of these in this book. You'll learn how to control DC motors, how to control servos, how to hook up a microphone for speech recognition, and even how to connect a webcam to view and interpret the outside world.

The Raspberry Pi Zero can do amazing things, but first you'll need to understand how to access all of this capability. In this chapter, you'll learn how to:

  • Provide power to the board

  • Connect a display, keyboard, and mouse

  • Load and configure the operating system

  • Configure the board for remote access

 

Setting up the Raspberry Pi Zero


While the Raspberry Pi Zero is a powerful computer, you'll need some additional hardware to access this capability. Here are the items that you'll need for this chapter's projects:

  • A Raspberry Pi Zero

  • A micro USB cable and power supply to provide power to the board

  • A display with an HDMI video input

  • A keyboard, a mouse, and a powered USB hub

  • A microSD card – with at least 4 GB capacity

  • A microSD card writer

  • Another computer that is connected to the Internet

  • A WLAN USB dongle

  • A 40x2 pin connector strip

Before you get started, let's get familiar with the Raspberry Pi Zero. Here is an image of the hardware:

Note that the GPIO pin male headers are not pre-soldered to the board; you'll want to do that. You can buy these at most online electronics retailers. You should also become familiar with the various connections on the board. Here, you can see the Raspberry Pi Zero with the connector soldered and the connections labeled for your information:

 

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 to provide power to the Raspberry Pi Zero:

  1. Connect the microUSB 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 like those available on most computers.

  2. Connect the microUSB connector to a battery. The simplest connection is to batteries that have a USB connector, like those used to charge cellphones. Here is a image of just such a battery:

In both cases, make sure that the unit can supply enough current. You'll need a supply that can provide at least 1000 mA at 5 volts. There are two USB charge connections on this battery which makes it easy to plug the Raspberry Pi Zero into one and the powered USB hub into the other. Do not plug in the board just yet, you first need to connect the rest of the hardware and configure the microSD card. However, you are now ready to connect the rest of the hardware.

       
About the Author
  • Richard Grimmett

    Dr. Richard Grimmett has been fascinated by computers and electronics from his very first programming project, which used Fortran on punch cards. He has bachelor's and master's degrees in electrical engineering and a PhD in leadership studies. He also has 26 years of experience in the radar and telecommunications industries, and even has one of the original brick phones. He now teaches computer science and electrical engineering at Brigham Young University, Idaho, where his office is filled with his many robotics projects.

    Browse publications by this author
Latest Reviews (4 reviews total)
Validi contenuti e subito fruibilli
Getting Started with Raspberry Pi Zero
Unlock this book and the full library FREE for 7 days
Start now