0% found this document useful (0 votes)
10 views4 pages

Oscillation Iot

Uploaded by

shaikhsadaf0892
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Oscillation Iot

Uploaded by

shaikhsadaf0892
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Step1: Library Install

After you've wired the ADS1x15 to the Raspberry Pi you're ready to install the Adafruit ADS1x15
Python library.

To install from the source on Github connect to a terminal on the Raspberry Pi and run the following
commands:

You should see the library install succeed and finish with a message similar to the following :
If you see an error go back and carefully check all the previous commands were run, and that they didn't
fail with an error.
Step2: Python Package Index Install
To install from the Python package index connect to a terminal on the Raspberry Pi and execute

the following commands:

You should see a message like the following that the library was successfully installed:
sudo apt-get update
sudo apt-get install build-essential python-dev python-smbus git
cd ~
git clone https://github.com/adafruit/Adafruit_Python_ADS1x15.git
cd Adafruit_Python_ADS1x15
sudo python setup.py install
sudo apt-get update
sudo apt-get install build-essential python-dev python-smbus python-pip
sudo pip install adafruit-ads1x15
cd ~/Adafruit_Python_ADS1x15/examples
nano simpletest.py

You might also like