Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Accessing Beaglebone Black GPIO

Accessing Beaglebone Black GPIO

Ratings: (0)|Views: 174|Likes:
Published by Praveen Rpk
Hi ,
This Application notes helps you to find the easiest solution to access the beaglebone black GPIO. It has the steps to install the Debian with GUI on beagle bone black.
Hi ,
This Application notes helps you to find the easiest solution to access the beaglebone black GPIO. It has the steps to install the Debian with GUI on beagle bone black.

More info:

Published by: Praveen Rpk on Nov 26, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/27/2014

pdf

text

original

 
 
#9/3,Shree Lakshmi complex,2
nd
 Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085
.
www.tenettech.com
 
 
2013 
 Author: Praveen Kumar R Email:praveen@tenettech.com
 Accessing GPIO in BeagleBone Black
 
 
#9/3,Shree Lakshmi complex,2
nd
 Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085
.
www.tenettech.com
 
This week we are going to see how to control GPIO on BeagleBone Black.This is a quick
start guide for accessing GPIO’s.
Two examples ,one for output(Blinking an LED) and one for input(Pushbutton).Here the instructions are given for Debian and Ubuntu Operating System.Steps for installing Debian Operating System on Black  click here.  These steps will work for Ubuntu also.
Step 1:
Initially we have to update the system and install the dependencies for the python library. $ sudo apt-get update $ sudo apt-get install build-essential python-setuptools python-smbus
 y $ sudo apt-get install python-dev $ sudo apt-get install python-pip
Step 2:
Install the python library pip command. $ sudo pip install Adafruit_BBIO
 Alternative method
Download the following script file run it in your black ,it will automatically install all the necessary dependencies as well as the GPIO library. Click here to download the script file.Then make the file as a executable and run the script. $
sudo chmod a+x gpio.s $ sudo ./gpio.sh
 
 
 
#9/3,Shree Lakshmi complex,2
nd
 Floor,Opp,To Vivekananda Park,Girinagar,Bangalore-560085
.
www.tenettech.com
 
Example for Output BeagleBone Black GPIO Pinout Pin Details
7 Analog Pins 65 Digital Pins at 3.3V 2x I2C 2x SPI 2x CAN Bus 4 Timers 4x UART 8x PWM  A/D Converter

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->