EP-0076

From 52Pi Wiki
Jump to navigation Jump to search

RPI-ADS1115-ADC-Module


Description

The ADS1113, ADS1114, and ADS1115 are precision analog-to-digital converters (ADCs) with 16 bits of resolution offered in an ultra-small, 
leadless QFN-10 package or an MSOP-10 package. 
The ADS1113/4/5 are designed with precision, power, and ease of implementation in mind. 
The ADS1113/4/5  feature an onboard reference and oscillator. 
Data are transferred via an I2C-compatible serial interface, four I2C slave addresses can be selected. 
The ADS1113/4/5 operate from a single power supply ranging from 2.0V to 5.5V. 
The ADS1113/4/5 can perform conversions at rates up to 860 samples per second (SPS). 
An onboard PGA is available on the ADS1114 and ADS1115 that offers input ranges from the supply to as low as ±256mV, 
allowing both large and small signals to be measured with high resolution. 
The ADS1115 also features an input multiplexer (MUX) that provides two differential or four single-ended inputs. 
The ADS1113/4/5 operate either in continuous conversion mode or a single-shot mode that automatically powers down
after a conversion and greatly reduces current consumption during idle periods. 
The ADS1113/4/5 are specified from –40°C to +125°C.

Features

Parameters Values
ULTRA-SMALL QFN PACKAGE: 2mm × 1,5mm × 0,4mm
WIDE SUPPLY RANGE: 2.0V to 5.5V
LOW CURRENT CONSUMPTION: Continuous Mode: Only 150μA

Single-Shot Mode: Auto Shut-Down

PROGRAMMABLE DATA RATE: 8SPS to 860SPS
INTERNAL LOW-DRIFT: VOLTAGE REFERENCE
INTERNAL OSCILLATOR Available
INTERNAL PGA Available
I2C™ INTERFACE: Pin-Selectable Addresses
FOUR SINGLE-ENDED OR TWO DIFFERENTIAL INPUTS ADS1115
PROGRAMMABLE COMPARATOR ADS1114 and ADS1115


How to wire up

Just Plug into GPIO with this module.

  • NOTE: Please be ware of the No.1 Pin is fit for your GPIO No.1 Pin.

How to get analog data

  • All steps are available that we've consumed that you have already flashed the newest image file into your TF card, and your RaspberryPi is powered on.
  • Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi or BeagleBone black.
  • To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:
sudo apt-get install git build-essential python-dev
cd ~
git clone https://github.com/adafruit/Adafruit_Python_ADS1x15.git
cd Adafruit_Python_ADS1x15
sudo python setup.py install
  • Alternatively you can install from pip with:

sudo pip install adafruit-ads1x15


  • ‘’‘Note that the pip install method won't install the example code.’‘’
  • Change your work directory to Adafruit_Python_ADS1x15/example as following command:

cd ~/Adafruit_Python_ADS1x15/examples/
sudo python simpletest.py

  • You will see a chart like following picture:
Ads1115-result.jpg



How to detect temperature by using NTC on board


FAQ