Learning BeagleBone Python Programming

Unleash the potential of BeagleBone using Python

Learning BeagleBone Python Programming

Learning
Alexander Hiam

1 customer reviews
Unleash the potential of BeagleBone using Python
$31.99
$39.99
RRP $31.99
RRP $39.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Code Files
Free Sample

Book Details

ISBN 139781784399702
Paperback196 pages

Book Description

BeagleBone is a barebone computer that can be configured and customized for different applications and is almost half the price of a standard computer. This book will cover the basics of how BeagleBone Black's hardware interface subsystems work, and can be controlled using two popular Python libraries for BeagleBone Black. You will be introduced to BeagleBone Black's GPIO, PWM, ADC, UART, SPI, I2C, and eQEP subsystems. We will then dive deep into more complex built-in peripherals, demonstrating different ways to receive input from a user including buttons, potentiometers, and rotary encoders with the eQEP module. We will also learn about interfacing with external devices; this will be demonstrated using the serial modules to interface with external devices such as temperature sensors and accelerometers. Towards the end of the book, we will present a couple of real-world problems and demonstrate how to solve them with the skills you've acquired.

Table of Contents

Chapter 1: Before We Begin
An overview of BeagleBone
Pulse width modulation
Tools and additional hardware
The BeagleBone design
Board comparison
Helpful resources
Summary
Chapter 2: Getting Started
Initial setup
Updating your Debian image
Connecting to your BeagleBone
Connecting to the Internet
Using the serial console
Updating your software
The PyBBIO library
The Adafruit_BBIO library
Summary
Chapter 3: Digital Outputs
GPIO modules
Interactive GPIO
Calculating resistor values for LEDs
Driving higher currents from GPIO pins
Blink
Taking advantage of the OS
Summary
Chapter 4: PWM and ADC Subsystems
PWM
ADC
Your first robot
Summary
Chapter 5: User Input
Buttons
Potentiometers
Summary
Chapter 6: Program Output
LED displays
SMTP
Character LCD
Summary
Chapter 7: Serial Communication
Serial communication
UART
I2C
SPI
Summary
Chapter 8: Interfacing with External Devices
Accelerometers
Summary
Chapter 9: Using the Network
TCP/IP
HTTP
IoT Services
Summary
Chapter 10: A Practical Example
Weather station
Connecting to the Internet
Weather alerts
Summary

What You Will Learn

  • Set up BeagleBone Black for development with the PyBBIO and Adafruit_BBIO Python libraries
  • Understand how each of BeagleBone Black's hardware interface subsystems work
  • Connect many different types of hardware to BeagleBone Black
  • Use Python code to control and communicate with external hardware
  • Write programs that interact with the physical world around you

Authors

Table of Contents

Chapter 1: Before We Begin
An overview of BeagleBone
Pulse width modulation
Tools and additional hardware
The BeagleBone design
Board comparison
Helpful resources
Summary
Chapter 2: Getting Started
Initial setup
Updating your Debian image
Connecting to your BeagleBone
Connecting to the Internet
Using the serial console
Updating your software
The PyBBIO library
The Adafruit_BBIO library
Summary
Chapter 3: Digital Outputs
GPIO modules
Interactive GPIO
Calculating resistor values for LEDs
Driving higher currents from GPIO pins
Blink
Taking advantage of the OS
Summary
Chapter 4: PWM and ADC Subsystems
PWM
ADC
Your first robot
Summary
Chapter 5: User Input
Buttons
Potentiometers
Summary
Chapter 6: Program Output
LED displays
SMTP
Character LCD
Summary
Chapter 7: Serial Communication
Serial communication
UART
I2C
SPI
Summary
Chapter 8: Interfacing with External Devices
Accelerometers
Summary
Chapter 9: Using the Network
TCP/IP
HTTP
IoT Services
Summary
Chapter 10: A Practical Example
Weather station
Connecting to the Internet
Weather alerts
Summary

Book Details

ISBN 139781784399702
Paperback196 pages
Read More
From 1 reviews

Read More Reviews