This page (revision-14) was last changed on 2020-01-20 09:52 by Murray Altheim

This page was created on 2020-01-19 21:55 by Murray Altheim

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
14 2020-01-20 09:52 4 KB Murray Altheim to previous
13 2020-01-19 23:49 4 KB Murray Altheim to previous | to last
12 2020-01-19 23:49 4 KB Murray Altheim to previous | to last
11 2020-01-19 23:48 4 KB Murray Altheim to previous | to last
10 2020-01-19 23:48 4 KB Murray Altheim to previous | to last
9 2020-01-19 23:30 4 KB Murray Altheim to previous | to last
8 2020-01-19 23:23 4 KB Murray Altheim to previous | to last
7 2020-01-19 23:22 4 KB Murray Altheim to previous | to last
6 2020-01-19 23:22 4 KB Murray Altheim to previous | to last
5 2020-01-19 23:20 4 KB Murray Altheim to previous | to last
4 2020-01-19 23:13 3 KB Murray Altheim to previous | to last
3 2020-01-19 22:54 3 KB Murray Altheim to previous | to last
2 2020-01-19 22:26 3 KB Murray Altheim to previous | to last
1 2020-01-19 21:55 2 KB Murray Altheim to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed 4 lines
The ADS1015 is a +/- 24V Analog Digital Converter implemented by Pimoroni as a Breakout Garden board,
i.e., an [I2C] compatible breakout board. TIt has three channels that can read voltages from -24V to
+24V at sampling rates up to 3.3KHz with 12-bit resolution.
[{Image src='attach/Ads1015AnalogDigitalConverter/ads1015-chip.jpg' caption='ADS1015 Integrated Circuit (enlarged 20x; actual size: 2 x 1.5mm)' align='left' class='imgFloatLeft'}]
At line 3 added 11 lines
The Texas Instruments __ADS1015 +/-24V Analog Digital Converter__ is a 2 x 1.5mm integrated circuit implemented by both AdaFruit and Pimoroni as [I2C]-compatible breakout boards (Pimoroni's is a "Breakout Garden" board). It can be used to measure analog voltage sources between -24V DC to +24V DC at sampling rates up to 3.3kHz, returning a value with 12 bit precision.
The ADS1015 has four channels (labeled {{{A0}}}, {{{A1}}}, {{{A2}}} and {{{A3}}}). The Pimoroni board only provides three of these channels as usable pins.
[{Image src='attach/Ads1015AnalogDigitalConverter/ads1015-thumb.jpg' link='attach/Ads1015AnalogDigitalConverter/ads1015.jpg' caption='ADS1015 Breakout Boards (click to enlarge)' align='right' class='imgFloatRight'}]
The thumbnail image to the right is roughly the size of the Adafruit and Pimoroni boards, which measure 28 x 17mm and 24 x 21mm respectively.
As of January 2020 the price of the AdaFruit board is US$9 (~NZ$14), also available from DigiKey NZ at NZ$16.57 (where shipping is free if you order over NZ$66). The price of the Pimoroni board is £12 (~NZ$24).
At line 8 changed one line
* 12-bit precision
[{Image src='attach/Ads1015AnalogDigitalConverter/ads1015-diagram.png' caption='ADS1015 Block Diagram' align='right' class='imgFloatRight'}]
* 12-bit precision (Adafruit also sell a 16-bit version, see [ADS1115|https://www.adafruit.com/product/1085])
At line 10 changed 4 lines
* Three channels
* Programmable gain
* Up to 3.3KHz sampling rate
* I2C interface (address 0x48/0x49 (cut trace))
* the TI ADS1015 has four channels: AdaFruit's provides all four, whereas Pimoroni's board only provides connections to three of them
* programmable gain (please consult the [ADS1015 TI datasheet|http://www.ti.com/lit/ds/symlink/ads1015.pdf] for details; the default is set at ±2.048V)
* pp to 3.3KHz sampling rate
* [I2C] interface: the Pimoroni board uses address 0x48 or 0x49 with a cut trace; the Adafruit board can be programmed for up to 4 different addresses)
At line 15 changed 4 lines
* Reverse polarity protection
* Compatible with all models of Raspberry Pi, and Arduino
* [ads1015-python library | https://github.com/pimoroni/ads1015-python] on github
* ADS1015 ADC ([original TI datasheet|http://www.ti.com/lit/ds/symlink/ads1015.pdf])
* reverse polarity protection
At line 27 added 2 lines
Both boards are compatible with all models of Raspberry Pi and Arduino, depending on which software libraries
you intend to use.
At line 30 added one line
At line 23 changed one line
You'll need [Python] and {{{pip}}} (or {{{pip3}}} for Python 3) already installed.
The Adafruit board has its own installation page (which we won't repeat here, see ''[References|https://service.robots.org.nz/wiki/Edit.jsp?page=Ads1015AnalogDigitalConverter#section-Ads1015AnalogDigitalConverter-References]'' below).
At line 25 changed one line
If you're using Python 2, just run:
For the Pimoroni board, [Python] and {{{pip}}} (or {{{pip3}}} for Python 3) must be installed.
Then, if you're using Python 2, just run:
At line 29 changed one line
For Python 3, use:
or for Python 3:
At line 71 changed one line
* [!!! ADS1015 +/-24V ADC breakout|https://shop.pimoroni.com/products/ads1015-adc-breakout] product page
* [ADS1015 12-Bit ADC - 4 Channel with Programmable Gain Amplifier|https://www.adafruit.com/product/1083] Adafruit product page
** [Adafruit 4-Channel ADC Breakouts: A guide to the ADS1115 and ADS1015 analog converters|https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/]
* [ADS1015 +/-24V ADC breakout|https://shop.pimoroni.com/products/ads1015-adc-breakout] Pimoroni product page
** [ads1015-python library | https://github.com/pimoroni/ads1015-python] on github
* [Adafruit ADS1015|https://www.digikey.co.nz/catalog/en/partgroup/ads1015-12-bit-adc-4-channel-with-programmable-gain-amplifier/49471] product page on DigiKey
* [ADS101x Ultra-Small, Low-Power, I2C-Compatible, 3.3-kSPS, 12-Bit ADCs With Internal Reference, Oscillator, and Programmable Comparator|http://www.ti.com/lit/ds/symlink/ads1015.pdf] datasheet from Texas Instruments
At line 90 added one line