Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Essentials

You're reading from   Raspberry Pi Essentials Get up and running with the Raspberry Pi to develop captivating projects

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781784396398
Length 212 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jack Creasey Jack Creasey
Author Profile Icon Jack Creasey
Jack Creasey
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Getting Started with Raspberry Pi 2. Configuring the Raspberry Pi Desktop and Software FREE CHAPTER 3. Raspberry Pi and Cameras 4. Raspberry Pi Audio Input and Output 5. Port Input and Output on the Raspberry Pi 6. Driving I2C Peripherals on the Raspberry Pi 7. Going Mobile with Raspberry Pi 8. Creating a Raspberry Pi Line-following Robot Index

Unboxing the Raspberry Pi

Although the Pi A+, B+, and Model 2-B are used for all of our projects, nothing covered in this book precludes the use of the older A and B models. The Pi you purchased might be sourced from many different suppliers. There are some critical differences that you need to be aware of if you plan to use the Pi for a hobby project or education tool:

Model type

GPIO header

SD type

Audio / Composite video

Raspberry Pi A and Pi B

26 pins

standard

Separate TRS and RCA connections

Raspberry Pi B+, A+ and Pi Model 2-B

40 pins

micro

Combined into a single TTRS connector

If you compare other revisions of the Pi with the following image, you will notice that there are some orientation and position changes for connectors and different mounting holes on the A+, B+, and Model 2-B as compared to the A and B models:

Unboxing the Raspberry Pi

We suggest that you consider a complete kit of parts as a good starting point—if you haven't already bought your Pi. In particular, there are kits from Canakit.com for around $90. The kit includes everything needed for a new Pi project designer.

Configure power for Pi

It is important to know that an insufficient power supply current capability could result in an installation that is unreliable and proves hard to diagnose when problems occur. It's OK to have a power supply capable of delivering more current than needed; the system only draws the current it requires.

The most common guidance for the Pi B is a 5-Volt power supply providing between 700 mA and 1 Amp and for the Pi B+ and Model 2-B, between 600 mA and 2 Amp. The higher power requirements for the Pi B+ and Pi 2-B (four USB connections) enable connection to a wide range of USB peripherals such as USB disks, portable printers, scanners, and so on.

Note

Note that the Pi B+ and Pi 2-B have internal current limits of 600 mA set on the USB ports; exceeding the current will power off the port momentarily. The USB 2.0 specification recommends a maximum peripheral device current specification of 500 mA. You should ensure that heavy current peripherals are supported via an externally powered USB hub for the best reliability.

We used an AmazonBasics seven-port USB hub (see the following image) which has two ports that can provide over 1.2 Amp each, and five more ports that can provide up to 500 mA per port. It has a power supply rated for 5V at 4A, which cannot support maximum power on every port simultaneously (rarely required in any realistic configuration).

Our multi-Pi development environment is shown in the following image:

Configure power for Pi

Before you can decide how to power your Pi, you must determine the highest level of current required to ensure that your devices can be properly supported in the configuration. We will continue to discuss power issues as they arise throughout the projects.

Our Pi is powered by a single AmazonBasics hub. The Pi and the hub are attached to a small piece of medium-density fibreboard (MDF) board using Velcro, which is an easy way to connect peripherals while designing a project. There is a WiFi adapter, keyboard, and mouse plugged into the hub. We normally connect via an Ethernet network interface, which facilitates the testing of a broader range of networking scenarios. You will notice in our configuration that a Pi-cam is connected and that we have a Microsoft webcam at the top of the right-hand side speaker.

A development desktop power/USB configuration like the one we showed in the preceding image will provide you with a stable development platform for our project designs. Of course, most final designs may require only the four USB ports on the motherboard and consume as little as 300 mA on average. The following list is the minimum configuration required to complete the projects in this book:

  • A 5-V micro-USB power source rated at 2 A
  • A USB mouse and keyboard
  • An HDMI cable and an HDMI display, or an HDMI-to-DVI cable and a DVI display, or an HDMI-to-VGA convertor and a VGA LCD display
  • An Ethernet cable and connection to your home network or a WiFi adapter for connecting to your WLAN
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image