Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Programming the BeagleBone

You're reading from  Programming the BeagleBone

Product type Book
Published in Jan 2016
Publisher
ISBN-13 9781784390013
Pages 180 pages
Edition 1st Edition
Languages

Table of Contents (21) Chapters

Programming the BeagleBone
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
1. Cloud9 IDE 2. Blinking Onboard LEDs 3. Blinking External LEDs 4. Controlling LED Using a Push Button 5. Reading from Analog Sensors 6. PWM – Writing Analog Information 7. Internet of Things with BeagleBone 8. Physical Computing in Python 9. UART, I2C, and SPI Programming 10. Internet of Things using Python GPIO Control in Bash BeagleBone Capes
Pinmux and the Device Tree Index

Index

A

  • Adafruit BBIO library
    • about / Adafruit BBIO library
    • URL / Adafruit BBIO library
    • graphic tutorials, URL / Adafruit BBIO library
    • source code, URL / Adafruit BBIO library
  • Advanced Package Tool (APT)
    • about / Installing Debian image on SD card
  • ADXL345
    • about / I2C protocol
    • reference link / I2C protocol
  • ADXL345 sensor
    • reading / Program to read from ADXL345 sensor, Explanation
    • troubleshooting / Troubleshooting
  • AIN0-AIN6 / Analog I/O
  • analog components
    • reading from / Reading from analog components
    • writing / Writing on analog components
  • Analog I/O
    • about / Analog I/O
  • Analog to Digital Converter (ADC)
    • about / Analog I/O

B

  • BASH
    • GPIO, controlling in / Explanation
    • GPIO control, troubleshooting / Troubleshooting
  • Beagleboards
    • URL / BeagleBone hardware
    • URL, for images / Installing Debian image on SD card
  • Beaglebone
    • hardware / BeagleBone hardware
    • OS support, URL / Installing Debian image on SD card
    • setting up / Setting up BeagleBone
    • direct connection, to monitor / Direct connection to monitor and keyboard
    • direct connection, to keyboard / Direct connection to monitor and keyboard
    • connecting, to Ethernet over USB / Ethernet over USB
    • Ethernet over USB connection, troubleshooting / Troubleshooting
    • Ethernet port, connecting / Ethernet port or USB Wi-Fi adapter
    • USB Wi-Fi adapter, connecting / Ethernet port or USB Wi-Fi adapter
    • USB Wi-Fi adapter connection, troubleshooting / Troubleshooting
    • Ethernet port connection, troubleshooting / Troubleshooting
    • connecting, to Virtual Network Computing (VNC) / VNC
    • Virtual Network Computing (VNC) connection, troubleshooting / Troubleshooting
    • serial connection / Serial Connection
    • reference link / Serial Connection
    • General Purpose Input Output (GPIO) / BeagleBone GPIO map
    • Python programming / Python programming in BeagleBone
  • BeagleBone
    • Pulse Width Modulation (PWM) / BeagleBone's PWM
    • URL / What's next?
  • BeagleBone Black
    • URL / Security
  • Beaglebone Black (BBB)
    • about / BeagleBone Black (BBB)
    • URL / BeagleBone Black (BBB)
  • Beaglebone Green (BBG)
    • about / BeagleBone Green (BBG)
    • URL / BeagleBone Green (BBG), Troubleshooting
  • Beaglebone White (BBW)
    • about / BeagleBone White (BBW)
    • URL / BeagleBone White (BBW)
  • blink external LED
    • programming / Program to blink external LEDs, Explanation
  • blinking external LED
    • circuit, setting up / Blinking external LED circuit setup
    • circuit, analyzing / Circuit analysis
    • programming / Program to blink external LED, Explanation
    • troubleshooting / Troubleshooting
  • bone101 page
    • about / The bone101 page
  • BoneScript
    • about / Digital I/O functions - pinMode() and digitalWrite()
    • URL / What's next?
  • bonescript
    • URL / The bone101 page
  • bus
    • about / Bus and bus protocols
  • bus protocols
    • about / Bus and bus protocols

C

  • Cloud9 IDE
    • about / Cloud9 IDE
    • source code, URL / Cloud9 IDE
  • Comma Separated Values (CSV)
    • about / Explanation
  • Constrained Application Protocol (CoAP)
    • about / What's next?

D

  • dance external LEDs
    • programming / Program to dance external LEDs, Explanation
  • dancing external LEDs
    • circuit, setting up / Dancing external LEDs circuit setup
    • circuit, analyzing / Dancing external LEDs circuit setup
    • programming, in both directions / Program to dance external LEDs in both directions, Explanation
  • dancing LEDs
    • creating / Dancing LEDs, Program explanation
    • creating, in both directions / Dancing LEDs in both directions, Program explanation
  • Debian
    • URL / Installing Debian image on SD card, Security
  • Debian image
    • installing / Installing Debian image on SD card
  • Device tree
    • about / What is the device tree?
    • reference link / What is the device tree?
  • digital components
    • reading / Reading from digital components
  • digital I/O
    • about / Digital I/O
    • pinMode() function / Digital I/O functions - pinMode() and digitalWrite()
    • digitalWrite() function / Digital I/O functions - pinMode() and digitalWrite()
  • Digital to Analog Convertor (DAC) / What is PWM?
  • digitalWrite() function
    • about / Digital I/O functions - pinMode() and digitalWrite()
  • duty cycle / What is PWM?

E

  • e-mail, on over-temperature
    • sending / Sending an e-mail on over-temperature, Explanation
    • troubleshooting / Troubleshooting
  • email alert
    • triggering, on over-temperature / A program to trigger an e-mail alert on over-temperature, Explanation
    • troubleshooting / Troubleshooting
  • embedded MultiMediaCard (eMMC)
    • about / Security
  • Enhanced Capture (eCAP) / BeagleBone's PWM
  • Enhanced High Resolution PWM (eHRPWM) / BeagleBone's PWM
  • Ethernet, over USB
    • Beaglebone, connecting to / Ethernet over USB
  • Ethernet port
    • Beaglebone, connecting to / Ethernet port or USB Wi-Fi adapter
  • Extensible Messaging and Presence Protocol (XMPP)
    • about / What's next?

F

  • fade-in LED
    • programming / Program to fade in and fade out LED, Explanation
  • fade-out LED
    • programming / Program to fade in and fade out LED, Explanation
  • fade in LED
    • programming for / Program to fade in and fade out LED, Explanation
  • fade out LED
    • programming for / Program to fade in and fade out LED, Explanation
  • Flask
    • about / Flask web application framework
    • installing / Installation
  • Flaskr
    • URL / Flask web application framework

G

  • General-Purpose Input/Output (GPIO) pins
    • about / Analog I/O
  • General Purpose Input Output (GPIO)
    • about / What is GPIO?
    • features / What is GPIO?
    • in Beaglebone / BeagleBone GPIO map
  • Google security
    • URL / Sending an e-mail on over-temperature
  • GPIO
    • controlling, in BASH / Explanation
    • on BASH, troubleshooting / Troubleshooting

H

  • hardware, Beaglebone
    • about / BeagleBone hardware
    • Beaglebone White (BBW) / BeagleBone White (BBW)
    • Beaglebone Black (BBB) / BeagleBone Black (BBB)
    • Beaglebone Green (BBG) / BeagleBone Green (BBG)
  • Hello World program
    • about / Hello World program
  • HTTP
    • about / A RESTful web app to control servo motor

I

  • IFTTT
    • URL / What's next?
  • Indiegogo
    • URL / Why the Internet of Things?
  • Inter Integrated Circuit
    • about / I2C protocol
    • reference link / I2C protocol
  • Internet of Things (IoT)
    • need for / Why the Internet of Things?
    • about / What is the Internet of Things?
    • properties / What is the Internet of Things?
    • JavaScript package modules, using / What's next?
    • security concerns / Security
  • Interrupts
    • push button, reading via / Reading via interrupts

J

  • JavaScript
    • reference link / Explanation
  • JavaScript package modules
    • URL / What's next?
    • for Internet of Things (IoT) / What's next?
  • Joint Test Action Group (JTAG)
    • about / Security

K

  • keyboard
    • Beaglebone, connecting to / Direct connection to monitor and keyboard
  • Kickstarter
    • URL / Why the Internet of Things?

L

  • LAN
    • servo motor, controlling through / Controlling a servo motor through LAN
  • LED
    • controlling, with push button / Program to control LED by push button, Explanation
  • LED, controlling through web browser
    • programming / Program to control an LED through web browser, A program to control an LED through a web browser, Explanation
    • HTML code / HTML code, Explanation
    • JavaScript code / JavaScript code, Explanation
  • LED circuit setup
    • fading / Fading LED circuit setup
  • light dependent resistor (LDR)
    • circuit, setting up / LDR circuit setup
    • URL / LDR circuit setup
    • circuit, analysis / Circuit analysis
    • about / A Program to check light intensity
  • light intensity
    • checking / Program to check light intensity, Explanation, A Program to check light intensity, Explanation

M

  • Machine to Machine (M2M)
    • about / What's next?
  • micro servo motor
    • circuit, setting up / Micro servo motor circuit setup
    • program, for controlling / Program to control a micro servo motor, Explanation, Program to control micro servo motor, Explanation
  • Minitwit
    • URL / Flask web application framework
  • Model-View-Controller (MVC)
    • about / Flask web application framework
  • monitor
    • Beaglebone, connecting to / Direct connection to monitor and keyboard
  • MQ Telemetry Transport (MQTT)
    • about / What's next?
  • Multipurpose Internet Mail Extensions
    • about / Explanation

N

  • Node-RED
    • about / What's next?
    • URL / What's next?
  • node.js http server
    • creating / Program for creating new Node.js HTTP server, Explanation
    • HTML code / HTML code
    • JavaScript code / JavaScript code
    • troubleshooting / Troubleshooting
  • nodemailer JavaScript library
    • using / Sending an e-mail on over-temperature
    • URL / Sending an e-mail on over-temperature
  • Nokia 5110 LCD
    • text, displaying / Program to write display text on Nokia 5110 LCD, Explanation

O

  • onboard LED
    • turning, ON and OFF / Program to turn onboard LED ON and OFF, Program explanation
    • blinking / Quick program to blink onboard LED, Program explanation
    • program, executing to blink / Program execution
    • timer, adding / Make our program better, Program explanation
  • Output Compare Register (OCR) / BeagleBone's PWM

P

  • pdb
    • URL / Adafruit BBIO library
  • period / What is PWM?
  • physical computing
    • about / Program explanation
  • pinMode() function
    • about / Digital I/O functions - pinMode() and digitalWrite()
  • Pinmux
    • about / What is Pinmux?
  • Poster
    • about / Explanation
  • Pulse Width Modulation (PWM) / Summary
    • about / What is PWM?
  • Pulse Width Modulation Subsystem (PWMSS) / BeagleBone's PWM
  • Push-button
    • reading from / Program to read from push button, Explanation
    • button-state detecting, interrupt used / Detecting button state using interrupt, Explanation
  • push button
    • circuit, setting up / Push button circuit setup
    • circuit, analyzing / Circuit analysis
    • reading / Program to read from push button, Explanation
    • reading, via Interrupts / Reading via interrupts
    • LED, controlling with / Program to control LED by push button, Explanation
  • push button LED circuit
    • setting up / Push button LED circuit setup
    • analyzing / Circuit analysis
  • Python
    • URL / Python programming in BeagleBone

Q

  • Quality of Service (QoS)
    • about / What's next?

R

  • Representational state transfer (REST)
    • about / A RESTful web app to control servo motor
    • URL / A RESTful web app to control servo motor
  • RESTful web app
    • used, for controlling servo motor / A RESTful web app to control servo motor, Explanation
  • RNDIS driver
    • URL / Troubleshooting

S

  • serial connection
    • used, for Beaglebone / Serial Connection
  • Serial Peripheral Interface (SPI) protocol
    • about / SPI protocol
  • server data
    • uploading, on cloud / Upload server data on cloud and visualize, Explanation
    • visualizing / Upload server data on cloud and visualize, Explanation
  • servo motor
    • controlling, through LAN / Controlling a servo motor through LAN
    • HTML code / HTML code
    • JavaScript code / JavaScript code
    • controlling, with RESTful web app / A RESTful web app to control servo motor, Explanation
  • socket.io
    • source code, URL / Program to control an LED through web browser
  • sysfs
    • URL / Explanation

T

  • Temboo
    • about / What's next?
    • URL / What's next?
  • temperature
    • printing / Program to print temperature, Explanation, Program to print temperature, Explanation
    • displaying, remotely / A program to display temperature remotely, Explanation
    • troubleshooting, to display remotely / Troubleshooting
  • ThingSpeak
    • URL / Upload server data on cloud and visualize
  • Time Base Counter (TBCNT) / BeagleBone's PWM
  • TMP36 temperature sensor
    • circuit, setting up / TMP36 temperature sensor circuit setup
    • URL / TMP36 temperature sensor circuit setup
    • circuit, analysis / Circuit analysis
  • Transport Layer Security (TLS)
    • about / Explanation

U

  • Uniform Resource Identifier (URI)
    • about / A RESTful web app to control servo motor
  • Universal Asynchronous Receiver Transmitter (UART)
    • about / What is UART?
    • reading / Program to read/write on UART, Explanation
    • writing / Program to read/write on UART, Explanation
    • troubleshooting / Troubleshooting, I2C protocol
  • Universal Plug and Play (UPnP)
    • about / Security
  • USB Wi-Fi adapter
    • Beaglebone, connecting to / Ethernet port or USB Wi-Fi adapter

V

  • Virtual Network Computing (VNC)
    • Beaglebone, connecting to / VNC
  • virtual private network (VPN)
    • about / Security

W

  • Web Server Gateway Interface (WSGI)
    • about / Flask web application framework
  • win32diskimager
    • URL / Installing Debian image on SD card
  • World Wide Web (WWW)
    • about / A RESTful web app to control servo motor

Z

  • 7zip
    • URL / Installing Debian image on SD card
  • Zapier
    • URL / What's next?
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}