Reader small image

You're reading from  Full Stack Web Development with Raspberry Pi 3

Product typeBook
Published inAug 2017
Reading LevelExpert
PublisherPackt
ISBN-139781788295895
Edition1st Edition
Languages
Right arrow
Author (1)
Soham Kamani
Soham Kamani
author image
Soham Kamani

Soham Kamani is a full-stack developer who has extensive experience in the JavaScript ecosystem. He works as a consultant, developing end-to-end web-based solutions for clients around the world. He is an open source enthusiast and an avid blogger. He has worked on many frameworks and technologies such as React, Angular, Node, Express, Sails, SQLite, Postgres, and MySQL, and he has worked on many projects in the IoT space using Arduino and Raspberry Pi systems.
Read more about Soham Kamani

Right arrow

The GPIO pins on the Pi

Each Pi (models A+, B+, 2B, and 3B) comes with a total of 40 pins. These can be either GPIO pins or they can have some other function, as shown in the following diagram:

The 3.3V and 5V pins act only as a power supply and nothing else. We cannot control them with the Pi. Similarly, the ground pin acts as the negative terminal of this power supply. The GPIO pins are where all the action takes place since we can control them as well as read from them programmatically. The ID EEPROM pins are meant for more advanced usage and should not be manipulated unless you know exactly what you are doing.

The numbers on the pins may seem haphazard, and they are, but this is how the computer sees them. So when we refer to pin 2, we are actually referring to the one numbered 2 in the previous diagram.

Note that, throughout this book, the pin numbers we refer to are according...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full Stack Web Development with Raspberry Pi 3
Published in: Aug 2017Publisher: PacktISBN-13: 9781788295895

Author (1)

author image
Soham Kamani

Soham Kamani is a full-stack developer who has extensive experience in the JavaScript ecosystem. He works as a consultant, developing end-to-end web-based solutions for clients around the world. He is an open source enthusiast and an avid blogger. He has worked on many frameworks and technologies such as React, Angular, Node, Express, Sails, SQLite, Postgres, and MySQL, and he has worked on many projects in the IoT space using Arduino and Raspberry Pi systems.
Read more about Soham Kamani