Getting Started with Raspberry Pi Zero

Get started with the smallest, cheapest, and highest-utility Pi ever—Raspberry Pi Zero
Preview in Mapt

Getting Started with Raspberry Pi Zero

Dr. Richard Grimmett

1 customer reviews
Get started with the smallest, cheapest, and highest-utility Pi ever—Raspberry Pi Zero
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$29.99
$29.99p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Getting Started with Raspberry Pi Zero Book Cover
Getting Started with Raspberry Pi Zero
$ 23.99
$ 16.80
Wearable-Tech Projects with the Raspberry Pi Zero Book Cover
Wearable-Tech Projects with the Raspberry Pi Zero
$ 23.99
$ 16.80
Buy 2 for $33.60
Save $14.38
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781786469465
Paperback228 pages

Book Description

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.

Table of Contents

Chapter 1: Getting Started with Raspberry Pi Zero
Setting up the Raspberry Pi Zero
Powering the board
Hooking up a keyboard, mouse, and display
Installing the operating system
Adding Internet access
Summary
Chapter 2: Programming Raspberry Pi Zero
Powering up Raspberry Pi Zero with Linux
Creating, editing, and saving files
Creating and running Python programs
Basic programming constructs on Raspberry Pi Zero
Summary
Chapter 3: Accessing the GPIO Pins on Raspberry Pi Zero
The GPIO capability of Raspberry Pi Zero
Simple GPIO digital voltage output
Adding a sonar sensor
Connecting a digital compass to Raspberry Pi Zero
Accessing the compass programmatically
Summary
Chapter 4: Building and Controlling a Simple Wheeled Robot
The basic platform
Controlling an H-bridge interface to the DC motors
Controlling your mobile platform programmatically using the Raspberry Pi Zero
Controlling the speed of your motors with PWM
Using a motor controller board to control the DC motors
Controlling the vehicle using the Raspberry Pi Zero in Python
Planning your path
Summary
Chapter 5: Building a Robot That Can Walk
Robots that can walk
How servo motors work
Building the quadruped platform
Using a servo controller to control the servos
Communicating between the servo controller and a PC
Connecting the servo controller to the Raspberry Pi Zero
Creating a program in Linux to control your quadruped
Summary
Chapter 6: Adding Voice Recognition and Speech – A Voice Activated Robot
Communication between the Raspberry Pi Zero and the robot
Giving your robot voice commands
Using eSpeak to allow your robot to respond with an audible voice
Using pocketsphinx to accept your voice commands
Interpreting commands and initiating actions
Summary
Chapter 7: Adding Raspberry Pi Zero to an RC Vehicle
Configuring and controlling an RC car with Raspberry Pi Zero
Controlling the RC car in Python
Accessing the RC car remotely
Connecting a webcam
Summary
Chapter 8: Playing Rock, Paper, or Scissors with Raspberry Pi Zero
A robotic hand
Moving the robotic hand
Connecting the servo controller to the Raspberry Pi Zero
Creating a program on Raspberry Pi Zero so that you can control your hand
Installing a USB camera on Raspberry Pi Zero
Downloading and installing OpenCV – a fully featured vision library
Gesture detection
Summary
Chapter 9: Adding Raspberry Pi Zero to a Quadcopter
Constructing the platform
Mission planning software
Summary

What You Will Learn

  • Understand how to initially download the operating system and set up Raspberry Pi Zero
  • Find out how to control the GPIO pins of Raspberry Pi Zero to control LED circuits
  • Get to grips with adding hardware to the GPIO to control more complex hardware such as motors
  • Add USB control hardware to control a complex robot with 12 servos
  • Include speech recognition so that projects can receive commands
  • Enable the robot to communicate with the world around it by adding speech output
  • Control the robot from a distance and see what the robot is seeing by adding wireless communication
  • Discover how to build a Robotic hand and a Quadcopter

Authors

Table of Contents

Chapter 1: Getting Started with Raspberry Pi Zero
Setting up the Raspberry Pi Zero
Powering the board
Hooking up a keyboard, mouse, and display
Installing the operating system
Adding Internet access
Summary
Chapter 2: Programming Raspberry Pi Zero
Powering up Raspberry Pi Zero with Linux
Creating, editing, and saving files
Creating and running Python programs
Basic programming constructs on Raspberry Pi Zero
Summary
Chapter 3: Accessing the GPIO Pins on Raspberry Pi Zero
The GPIO capability of Raspberry Pi Zero
Simple GPIO digital voltage output
Adding a sonar sensor
Connecting a digital compass to Raspberry Pi Zero
Accessing the compass programmatically
Summary
Chapter 4: Building and Controlling a Simple Wheeled Robot
The basic platform
Controlling an H-bridge interface to the DC motors
Controlling your mobile platform programmatically using the Raspberry Pi Zero
Controlling the speed of your motors with PWM
Using a motor controller board to control the DC motors
Controlling the vehicle using the Raspberry Pi Zero in Python
Planning your path
Summary
Chapter 5: Building a Robot That Can Walk
Robots that can walk
How servo motors work
Building the quadruped platform
Using a servo controller to control the servos
Communicating between the servo controller and a PC
Connecting the servo controller to the Raspberry Pi Zero
Creating a program in Linux to control your quadruped
Summary
Chapter 6: Adding Voice Recognition and Speech – A Voice Activated Robot
Communication between the Raspberry Pi Zero and the robot
Giving your robot voice commands
Using eSpeak to allow your robot to respond with an audible voice
Using pocketsphinx to accept your voice commands
Interpreting commands and initiating actions
Summary
Chapter 7: Adding Raspberry Pi Zero to an RC Vehicle
Configuring and controlling an RC car with Raspberry Pi Zero
Controlling the RC car in Python
Accessing the RC car remotely
Connecting a webcam
Summary
Chapter 8: Playing Rock, Paper, or Scissors with Raspberry Pi Zero
A robotic hand
Moving the robotic hand
Connecting the servo controller to the Raspberry Pi Zero
Creating a program on Raspberry Pi Zero so that you can control your hand
Installing a USB camera on Raspberry Pi Zero
Downloading and installing OpenCV – a fully featured vision library
Gesture detection
Summary
Chapter 9: Adding Raspberry Pi Zero to a Quadcopter
Constructing the platform
Mission planning software
Summary

Book Details

ISBN 139781786469465
Paperback228 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Python Machine Learning Book Cover
Python Machine Learning
$ 35.99
$ 25.20
Raspberry Pi Cookbook for Python Programmers Book Cover
Raspberry Pi Cookbook for Python Programmers
$ 26.99
$ 18.90
Building a Home Security System with Raspberry Pi Book Cover
Building a Home Security System with Raspberry Pi
$ 27.99
$ 19.60
Getting Started with Python and Raspberry Pi Book Cover
Getting Started with Python and Raspberry Pi
$ 31.99
$ 22.40
Raspberry Pi Robotics Projects - Second Edition Book Cover
Raspberry Pi Robotics Projects - Second Edition
$ 35.99
$ 25.20
Advanced Tools and Techniques Beyond Base R [Video] Book Cover
Advanced Tools and Techniques Beyond Base R [Video]
$ 124.99
$ 106.25