You are previewing Getting Started with BeagleBone.

Getting Started with BeagleBone

Cover of Getting Started with BeagleBone by Matt Richardson Published by Maker Media, Inc
  1. Preface
    1. Conventions Used in This Book
    2. Using Code Examples
    3. Safari® Books Online
    4. How to Contact Us
  2. 1. Embedded Linux for Makers
    1. Why Use BeagleBone?
    2. Intended Audience
    3. Feedback
  3. 2. The Basics and Getting Set Up
    1. Tour of the Board
    2. What You Need
    3. The Operating System
    4. Connecting to your BeagleBone
      1. Connecting via USB and Installing Drivers
      2. Connecting via SSH over USB
      3. Connecting via SSH over Ethernet
      4. Using a Keyboard, Monitor, and Mouse
      5. Connecting via Serial over USB
  4. 3. Getting Around with Linux
    1. The Command Line
    2. File System
      1. Changing Directories
      2. Listing the Contents of Directories
      3. Creating Files and Directories
      4. Copying, Moving, and Renaming Files
      5. Deleting Files and Directories
    3. Setup
      1. Date and Time
      2. Software Installation, Updates
      3. Changing the Hostname
    4. Shutting Down
  5. 4. First Steps with Digital Electronics
    1. Connect an LED
    2. Output
    3. Input
    4. Project: Networked Outlet Timer
      1. Parts
      2. Wire up the Circuit
      3. Test the Circuit
      4. Create the Shell Scripts
      5. Scheduling the Scripts
      6. A Crash Course in Cron
  6. 5. Python Pin Control
    1. Installing Adafruit’s BeagleBone IO Python Library
    2. Blinking an LED with Python
      1. Connect the LED
      2. Write the Code
      3. Executable Scripts
    3. Reading a Button with Python
      1. Connect the Button
      2. Write the Code
    4. Reading an Analog Input
      1. Connecting a Potentiometer
      2. Writing the Code
    5. Analog Output (PWM)
      1. Connect the LED
      2. Write the Code
    6. Taking it Further
  7. 6. Putting Python Projects Online
    1. Sending an Email Alert
      1. Functions in Python
      2. The Email Function
      3. The Door Sensor
      4. The Code
    2. Web Interface
      1. First Steps with Flask
      2. Templates with Flask
      3. Combining Flask and GPIO
      4. Going Further with Flask
    3. Data Logging with Xively
      1. Connecting the Temperature Sensor
      2. Connecting to Xively
    4. Taking it Further
  8. 7. Bonescript
  9. 8. Taking it Further
    1. Getting Help
    2. Getting Inspired
    3. Sharing Projects
    4. Having Fun
  10. A. Updating to the Latest Version of Ångström
    1. On OS X
    2. On Windows
    3. On Linux
  11. About the Author
  12. Copyright
O'Reilly logo

Chapter 2. The Basics and Getting Set Up

Your first major step into the world of BeagleBone is to hook it up and get to a command prompt so you can start telling it to do what you want.

But before you connect anything, let’s take a closer look at the BeagleBone. There are two versions of the board: the original BeagleBone and the newer BeagleBone Black. For most of this book, you’ll be able to do everything with either board, with a few exceptions that I’ll note.

It’s quite easy to tell the boards apart. The original BeagleBone is mostly white with black lettering and the BeagleBone Black is mostly black with white lettering. The main improvements with the BeagleBone Black are a faster processor, more memory, on-board storage, and on-board video ...

The best content for your career. Discover unlimited learning on demand for around $1/day.