Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
BeagleBone By Example

You're reading from  BeagleBone By Example

Product type Book
Published in Aug 2016
Publisher Packt
ISBN-13 9781785285059
Pages 262 pages
Edition 1st Edition
Languages

Table of Contents (17) Chapters

BeagleBone By Example
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1. Getting Started with BeagleBone 2. Circuit Fundamentals and GPIO 3. Introduction to Physical Computing Systems 4. Real-time Physical Computing Systems Using BeagleBone 5. Connecting Physical Computing Systems to the Internet 6. Home Automation Using BeagleBone 7. Working with Images Using Computer Vision 8. Home Security Systems Using BeagleBone Black 9. Exploring Robotics 10. Building Your Own Robot Index

GPIOs


As we discussed in Chapter 1, Getting Started with BeagleBone, BeagleBone boards have GPIO pin headers on either side of the board. In this section, we will be discussing what these GPIOs are and how we can use them to interface external electronic components to the board.

The following figure shows the GPIOs available and the pin mapping of each of them. This pin mapping or, in general, the names assigned to these pins will be helpful for us while accessing them from the software running on the operating system. You will see this in detail at the end of the chapter, when we will be accessing the GPIO from python:

So, these GPIOs are ports which can act either as input or output from our definition from software running on the operating system. There are several methods to define these pins as input and output, as well as to change the state of these pins when defined as outputs and read the state when defined as inputs. In this book, as we will be using python as the primary programming...

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 €14.99/month. Cancel anytime}