John Wiley & Sons Exploring BeagleBone Cover In-depth instruction and practical techniques for building with the BeagleBone embedded Linux platfo.. Product #: 978-1-119-53316-0 Regular price: $35.42 $35.42 Auf Lager

Exploring BeagleBone

Tools and Techniques for Building with Embedded Linux

Molloy, Derek

Cover

2. Auflage Januar 2019
700 Seiten, Softcover
Praktikerbuch

ISBN: 978-1-119-53316-0
John Wiley & Sons

Kurzbeschreibung

In-depth instruction and practical techniques for building with the BeagleBone embedded Linux platform

Exploring BeagleBone is a hands-on guide to bringing gadgets, gizmos, and robots to life using the popular BeagleBone embedded Linux platform. Comprehensive content and deep detail provide more than just a BeagleBone instruction manual - you'll also learn the underlying engineering techniques that will allow you to create your own projects. The book begins with a foundational primer on essential skills, and then gradually moves into communication, control, and advanced applications using C/C++, allowing you to learn at your own pace. The book also includes a companion website featuring instructional videos, source code, a discussion forum, and more, to ensure that you have everything you need. With Exploring BeagleBone, you'll:
* Get up to speed on embedded Linux, electronics, and programming
* Master interfacing electronic circuits, buses, and modules with practical examples
* Explore the Internet-connected BeagleBone and the BeagleBone with a display
* Apply the BeagleBone to sensing applications, including video and sound
* Discover the BeagleBone's Programmable Real-Time Controllers

Insightful guidance and online peer support help you master the techniques presented in Exploring BeagleBone, the practical handbook for this popular computing platform.

Jetzt kaufen

Preis: 37,90 €

ca.-Preis

Preis inkl. MwSt, zzgl. Versand

Weitere Versionen

epubmobipdf

In-depth instruction and practical techniques for building with the BeagleBone embedded Linux platform

Exploring BeagleBone is a hands-on guide to bringing gadgets, gizmos, and robots to life using the popular BeagleBone embedded Linux platform. Comprehensive content and deep detail provide more than just a BeagleBone instruction manual-you'll also learn the underlying engineering techniques that will allow you to create your own projects. The book begins with a foundational primer on essential skills, and then gradually moves into communication, control, and advanced applications using C/C++, allowing you to learn at your own pace. In addition, the book's companion website features instructional videos, source code, discussion forums, and more, to ensure that you have everything you need.

The BeagleBone's small size, high performance, low cost, and extreme adaptability have made it a favorite development platform, and the Linux software base allows for complex yet flexible functionality. The BeagleBone has applications in smart buildings, robot control, environmental sensing, to name a few; and, expansion boards and peripherals dramatically increase the possibilities. Exploring BeagleBone provides a reader-friendly guide to the device, including a crash course in computer engineering. While following step by step, you can:
* Get up to speed on embedded Linux, electronics, and programming
* Master interfacing electronic circuits, buses and modules, with practical examples
* Explore the Internet-connected BeagleBone and the BeagleBone with a display
* Apply the BeagleBone to sensing applications, including video and sound
* Explore the BeagleBone's Programmable Real-Time Controllers
* Updated to cover the latest Beagle boards, Linux kernel versions, and Linux software releases.
* Includes new content on Linux kernel development, the Linux Remote Processor Framework, CAN bus, IoT frameworks, and much more!

Hands-on learning helps ensure that your new skills stay with you, allowing you to design with electronics, modules, or peripherals even beyond the BeagleBone. Insightful guidance and online peer support help you transition from beginner to expert as you master the techniques presented in Exploring BeagleBone, the practical handbook for the popular computing platform.

Introduction xxix

Part I Beagle Board Basics 1

Chapter 1 The Beagle Hardware Platform 3

Introduction to the Boards 3

BeagleBone Documentation 8

The Beagle Hardware 10

Beagle Accessories 19

Capes 26

Chapter 2 Beagle Software 31

Linux on the Beagle Boards 32

Communicating with the Boards 34

Controlling the Beagle Board 48

Node.js, Cloud9, and BoneScript 64

Chapter 3 Exploring Embedded Linux Systems 71

Introducing Embedded Linux 72

Managing Linux Systems 90

Using Git for Version Control 124

Desktop Virtualization 134

Code for This Book 135

Summary 136

Further Reading 136

Bibliography 137

Chapter 4 Interfacing Electronics 139

Analyzing Your Circuits 140

Basic Circuit Principles 143

Discrete Components 152

Logic Gates 169

Analog-to-Digital Conversion 177

Concluding Advice 182

Summary 182

Further Reading 183

Chapter 5 Practical Beagle Board Programming 185

Introduction 186

Scripting Languages 192

Dynamically Compiled Languages 201

C and C++ on the Beagle Boards 207

Overview of Object-Oriented Programming 229

Interfacing to the Linux OS 236

Improving the Performance of Python 239

Summary 244

Further Reading 244

Bibliography 244

Part II Interfacing, Controlling, and Communicating 245

Chapter 6 Interfacing to the Beagle Board Input/Outputs 247

General-Purpose Input/Outputs 248

The Linux Device Tree 271

Analog Inputs and Outputs 280

BoneScript 290

Advanced GPIO Topics 295

Summary 306

Further Reading 306

Chapter 7 Cross-Compilation, Eclipse, and Building Linux 307

Setting Up a Cross-Compilation Toolchain 308

Cross-Compilation Using Eclipse 315

Cross-Building Linux 330

Summary 340

Chapter 8 Interfacing to the Beagle Board Buses 341

Introduction to Bus Communication 342

I²C 343

An I²C Test Circuit 346

Using Linux I2C-Tools 348

SPI 360

UART 377

CAN Bus 388

Logic-Level Translation 396

Summary 398

Further Reading 399

Chapter 9 Interacting with the Physical Environment 401

Interfacing to Actuators 402

Interfacing to Analog Sensors 418

Building C/C++ Libraries 445

Summary 453

Further Reading 454

Chapter 10 Real-Time Interfacing Using External Slave Processors 455

Real-Time Beagle Board 456

Extended GPIO Availability 458

Adding External UARTs 468

The Arduino 471

Summary 493

Further Reading 493

Part III Advanced Beagle Board Systems 495

Chapter 11 The Internet of Things 497

The Internet of Things 498

A Beagle Board IoT Sensor 499

The Beagle Board as a Sensor Web Server 501

A C/C++ Web Client 512

A Beagle Board as a "Thing" 518

IoT Frameworks 528

The C++ Client/Server 545

IoT Device Management 548

Summary 554

Chapter 12 Wireless Communication and Control 555

Introduction to Wireless Communications 556

Bluetooth Communications 557

Wi-Fi Communications 564

The NodeMCU Wi-Fi Slave Processor 568

ZigBee Communications 579

Near Field Communication 593

Summary 596

Chapter 13 Beagle Board with a Rich User Interface 599

Rich UI Beagle Board Architectures 600

Rich UI Application Development 608

Qt Primer 615

Remote UI Application Development 625

Summary 641

Further Reading 641

Chapter 14 Images, Video, and Audio 643

Capturing Images and Video 644

Streaming Video 652

Image Processing and Computer Vision 654

BeagleBone Audio 660

Summary 670

Further Reading 670

Chapter 15 Real-Time Interfacing with the PRU-ICSS 673

The PRU-ICSS 674

Development Tools for the PRU-ICSS 676

Using the AM335x PRU-ICSS 679

A First PRU Example 683

The PRU-ICSS in Detail 691

Summary 714

Further Reading 714

Chapter 16 Embedded Kernel Programming 717

Introduction 718

A First LKM Example 720

An Embedded LKM Example 727

Enhanced Button GPIO Driver LKM 733

Enhanced LED GPIO Driver LKM 741

Conclusions 744

Summary 744

Index 745
Dr. Derek Molloy is an Associate Professor in the School of Electronic Engineering at Dublin City University, Ireland. Derek produces a popular YouTube series on the BeagleBone platform and a wide variety of embedded Linux topics. His videos and personal blog have introduced millions of people to the BeagleBone, embedded Linux, and digital electronics.