Book description
BeagleBone is an inexpensive web server, Linux desktop, and electronics hub that includes all the tools you need to create your own projects—whether it’s robotics, gaming, drones, or software-defined radio. If you’re new to BeagleBone Black, or want to explore more of its capabilities, this cookbook provides scores of recipes for connecting and talking to the physical world with this credit-card-sized computer.
Publisher resources
Table of contents
- Preface
-
1. Basics
- Introduction
- Picking Your Beagle
- Getting Started, Out of the Box
- Verifying You Have the Latest Version of the OS on Your Bone
- Running the BoneScript API Tutorials
- Wiring a Breadboard
- Editing Code Using the Cloud9 IDE
- Running JavaScript Applications from the Cloud9 IDE
- Running Applications Automatically
- Finding the Latest Version of the OS for Your Bone
- Running the Latest Version of the OS on Your Bone
- Updating the OS on Your Bone
- Backing Up the Onboard Flash
- Updating the Onboard Flash
-
2. Sensors
- Introduction
- Choosing a Method to Connect Your Sensor
- Input and Run a JavaScript Application for Talking to Sensors
- Reading the Status of a Pushbutton or Magnetic Switch (Passive On/Off Sensor)
- Reading a Position, Light, or Force Sensor (Variable Resistance Sensor)
- Reading a Distance Sensor (Analog or Variable Voltage Sensor)
- Reading a Distance Sensor (Variable Pulse Width Sensor)
- Accurately Reading the Position of a Motor or Dial
- Acquiring Data Using a Smart Sensor Over a Serial Connection
- Measuring a Temperature
- Reading Temperature via a Dallas 1-Wire Device
- Sensing All Sorts of Things with SensorTag via Bluetooth v4.0
- Playing and Recording Audio
- 3. Displays and Other Outputs
- 4. Motors
-
5. Beyond the Basics
- Introduction
- Running Your Bone Standalone
- Selecting an OS for Your Development Host Computer
- Getting to the Command Shell via ssh
- Getting to the Command Shell via the Virtual Serial Port
- Viewing and Debugging the Kernel and u-boot Messages at Boot Time
- Verifying You Have the Latest Version of the OS on Your Bone From the Shell
- Controlling the Bone Remotely with VNC
- Learning Typical GNU/Linux Commands
- Editing a Text File from the GNU/Linux Command Shell
- Using a Graphical Editor
- Establishing an Ethernet-Based Internet Connection
- Establishing a WiFi-Based Internet Connection
- Sharing the Host’s Internet Connection Over USB
- Setting Up a Firewall
- Installing Additional Packages from the Debian Package Feed
- Removing Packages Installed with apt-get
- Copying Files Between the Onboard Flash and the MicroSD Card
- Freeing Space on the Onboard Flash or MicroSD Card
- Installing Additional Node.js Packages
- Using Python to Interact with the Physical World
- Using C to Interact with the Physical World
-
6. Internet of Things
- Introduction
- Accessing Your Host Computer’s Files on the Bone
- Serving Web Pages from the Bone
- Interacting with the Bone via a Web Browser
- Displaying GPIO Status in Web Browser
- Continuously Displaying the GPIO Value via jsfiddle
- Continuously Displaying the GPIO Value
- Plotting Data
- Sending an Email
- Sending an SMS Message
- Displaying the Current Weather Conditions
- Sending and Receiving Tweets
- Wiring the Internet of Things with Node-RED
- Serving Web Pages From the Bone Using Apache
- Communicating Over a Serial Connection to an Arduino or Launchpad
- 7. The Kernel
- 8. Real-Time I/O
-
9. Capes
- Introduction
- Using a Seven-Inch LCD Cape
- Using a 128-by-128-Pixel LCD Cape
- Connecting Multiple Capes
- Moving From a Breadboard to a Protoboard
- Creating a Prototype Schematic
- Verifying Your Cape Design
- Laying Out Your Cape PCB
- Migrating a Fritzing Schematic to Another Tool
- Producing a Prototype
- Creating Contents for Your Cape Configuration EEPROM
- Putting Your Cape Design Into Production
- A. Parts and Suppliers
- About the Authors
- Copyright
Product information
- Title: BeagleBone Cookbook
- Author(s):
- Release date: April 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491905395
You might also like
book
Exploring BeagleBone, 2nd Edition
In-depth instruction and practical techniques for building with the BeagleBone embedded Linux platform Exploring BeagleBone is …
book
Exploring Arduino, 2nd Edition
The bestselling beginner Arduino guide, updated with new projects! Exploring Arduino makes electrical engineering and embedded …
book
Python for Programmers, First Edition
The professional programmer's Deitel® guide to Python® with introductory artificial intelligence case studies Written for programmers …
book
Raspberry Pi Cookbook, 3rd Edition
With millions of new users and several new models, the Raspberry Pi ecosystem continues to expand—along …