Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Getting Started With BeagleBone
Foreword
Preface
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
Acknowledgements
1. Embedded Linux for Makers
Why Use BeagleBone?
Intended Audience
Feedback
2. The Basics and Getting Set Up
Tour of the Board
What You Need
The Operating System
Connecting to Your BeagleBone
Connecting via USB and Installing Drivers
Connecting via SSH over USB
Connecting via SSH over Ethernet
Using a Keyboard, Monitor, and Mouse
Connecting via Serial over USB
Connecting to the Original BeagleBone via Serial with OS X or Linux
Connecting to the Original BeagleBone via Serial with Windows
Connecting to the BeagleBone Black via Serial with OS X or Linux
Connecting to the BeagleBone Black via Serial with Windows
3. Getting Around with Linux
The Command Line
Filesystem
Changing Directories
Listing the Contents of Directories
Creating Files and Directories
Copying, Moving, and Renaming Files
Deleting Files and Directories
Setup
Date and Time
Set the Timezone
Set the NTP Server
Software Installation, Updates
Changing the Hostname
Setting a Password
Shutting Down
4. First Steps with Digital Electronics
Connect an LED
Output
Input
Project: Networked Outlet Timer
Parts
Wire up the Circuit
Test the Circuit
Create the Shell Scripts
Scheduling the Scripts
A Crash Course in Cron
5. Python Pin Control
Installing Adafruit’s BeagleBone IO Python Library
Blinking an LED with Python
Connect the LED
Write the Code
Executable Scripts
Reading a Button with Python
Connect the Button
Write the Code
Reading an Analog Input
Connecting a Potentiometer
Writing the Code
Analog Output (PWM)
Connect the LED
Write the Code
Taking it Further
6. Putting Python Projects Online
Sending an Email Alert
Functions in Python
The Email Function
The Door Sensor
The Code
Web Interface
First Steps with Flask
Templates with Flask
Combining Flask and GPIO
Going Further with Flask
Data Logging with Xively
Connecting the Temperature Sensor
Connecting to Xively
Taking it Further
7. Bonescript
The Cloud9 IDE
Beginning BoneScript
Blinking an LED
Reading a Digital Input
Interrupts
Analog Input
PWM
Playing with PWM: “Breathing” LED
Running JavaScript Files from the Command Line
Setting Scripts as Executable
Setting JavaScript Files to Run Automatically
BoneScript Reference
8. Using the Desktop Environment
Accessing the Desktop
Getting to the Terminal
Using the Terminal Application
Switching Terminals
Navigating the Filesystem
Editing Text
Executing Scripts
Switching Workspaces
Connecting to the Desktop Remotely with VNC
9. Taking It Further
Getting Help
Getting Inspired
Sharing Projects
Having Fun
A. Installing a Fresh Ångström Image
On OS X
On Windows
On Linux
Flashing the eMMC
B. Setting up System Services
Creating a Service File
Enabling and Starting the Service
Disabling and Stopping the Service
Checking the Status of a Service
Setting Time and Date as a System Service
C. Quick Reference: GPIO
GPIO with the Filesystem
GPIO with Python
GPIO with Node.js
GPIO Pins
About the Author
Colophon
Copyright
← Prev
Back
Next →
← Prev
Back
Next →