万本电子书0元读

万本电子书0元读

顶部广告

Learning BeagleBone电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Hunyue Yau

出  版  社:Packt Publishing

出版时间:2014-12-24

字       数:143.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is for new BeagleBone owners who are looking to quickly get their microboard up and running. It would be helpful to have an understanding of embedded concepts or Linux but neither is essential.
目录展开

Learning BeagleBone

Table of Contents

Learning BeagleBone

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the color images of this book

Errata

Disclaimer

Piracy

Questions

1. Introducing the Beagle Boards

The Beagle board family

The Beagle boards

BeagleBoard Classic

BeagleBoard-xM

BeagleBone

BeagleBone White

BeagleBone Black

Summary of the Beagle board family

Congratulations on selecting a BeagleBone board

Unboxing and powering up your BeagleBone

The Windows configuration

The Linux configuration

Useful PC software for your BeagleBone

Accessing the BeagleBone

Useful accessories

The mains power adapter

An SD card reader and microSD cards

A serial debug cable

A digital multimeter

Using the DMM on the BBB

Wireless interfacing accessories

Summary

2. Software in the BeagleBone

System software in the BeagleBone

Distributions on the BeagleBone

The Angström Linux distribution

The Debian Linux distribution

Installing a distribution in the BeagleBone

Obtaining the image

Windows users

Linux users

Writing the image

Windows users

Linux users

Booting the image

Flasher images

Nonsystem software in the BeagleBone

Summary

3. Building an LED Flasher

Setting up a foundation for the exercises

Selecting an editor

Quick start with nano/pico

Permissions

Determining the current permission

Meaning of the permissions field

Converting permissions to the numeric form

Setting up permissions

Exercise format and notes

Hello, World for the BeagleBone

Exercise 1 – creating a Hello, World program

Flashing the LEDs

LEDs on the BeagleBone

Exercise 2 – taking control of the LEDs

Figuring out the LED controls

Disconnecting the LEDs temporarily from the system

Turning on an LED

Using the controls in a program

Exercise 3 – simple blinking

Delays in the program

Repeating things with loops

Turning off an LED

Blinking the LEDs

Looking at the LEDs

Troubleshooting

Exercise 4 – advanced blinking

Summary

4. Refining the LED Flasher

The I2C bus

Accessing I2C

The I2C tools

Exercise 1

The I2C devices on the BeagleBone

Exercise 2

User interfaces

Design

Exercise 3

Troubleshooting

Loading your first web page

Troubleshooting the BeagleBone web server access

Exercise 4

Shell variables

Putting it all together

Exercise 5

Exercise 6

Testing

Troubleshooting

Exercise 7

Testing

Summary

5. Connecting the BeagleBone to Mobile Devices

Mobile devices

Connectivity options

Full network connection options

Protocol-specific connectivity

Mobile device connections

Android devices

iOS devices

Carrier limitations

Bluetooth wireless technology

Bluetooth versions

Bluetooth wireless connectivity

Profiles

Dial-up Networking

Personal Area Network

BLE options

Near Field Communication and the BeagleBone

The BeagleBone NFC expansion board options

The BeagleBone NFC as a device

The BeagleBone NFC with a fully featured controller

Summary

6. Recovering from the Mistakes

Symptoms of the mistakes

Troubleshooting the BeagleBone

Diagnosing with the help of LEDs

Setting up the serial debug cable on the BBB

Connecting to the serial port on the BeagleBone

Troubleshooting with the serial port

Troubleshooting with the BBB serial port

Troubleshooting with the BBW serial port

Evaluating the serial port output

Simple serial port output

Bootloader serial port output

Linux serial output

No serial output

Advanced LED diagnostics

Repairing the BeagleBone

Summary

7. Interfacing with the BeagleBone

Electrical engineering in a nutshell

Electrical properties

Serial and parallel circuits

Measuring the electrical properties

Voltage measurements

Resistance measurements

Current measurements

BeagleBone voltages

Expansion headers

Transistors

Bipolar transistors

Example use of a bipolar transistor

FETs or specifically MOSFETs

Connecting LEDs to the BeagleBone

Controlling relay with a BeagleBone

Connecting switches to the BeagleBone

I2C/SPI on the BeagleBone expansion connector

Inter-Integrated Circuit

Serial Peripheral Interface

Summary

8. Advanced Software Topics

The BeagleBone programming with the C and Linux APIs

Building the BeagleBone applications with the Linux API

Compiling the existing libraries on the BeagleBone

Cross compiling software for the BeagleBone

Examples of the BeagleBone C compilation

Native BeagleBone compilation

Cross compiling a program for the BeagleBone

User space versus kernel space on the BeagleBone

Kernel drivers on the BeagleBone

Device trees on the BeagleBone

Pinmuxing on the BeagleBone

Figuring out the pinmux on the BeagleBone

The BeagleBone and real-time performance

Summary

9. Expansion Boards and Options

The BeagleBone capes

Capes on the BBB versus BBW

Example capes

Capes and software on the BeagleBone

USB devices on the BeagleBone

USB versus capes for expansion

Custom hardware versus off-the-shelf hardware

Summary

A. The Boot Process

What happens when the power is turned on

Bootloader

Flash memory/microSD

Linux and beyond

Alternative boot uses

Summary

B. Terms and Definitions

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部