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 one line
[{Image src='attach/Ads1015AnalogDigitalConverter/ads1015-chip.jpg' caption='ADS1015 Integrated Circuit (enlarged 20x; actual size: 2 x 1.5mm)' align='left' class='imgFloatLeft'}]
[{Image src='attach/Ads1015AnalogDigitalConverter/ads1015-thumb.jpg' link='attach/Ads1015AnalogDigitalConverter/ads1015.jpg' caption='ADS1015 Analog-Digital Converters (click to enlarge)' align='right' class='imgFloatRight'}]
At line 3 changed one line
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 is a Texas Instruments +/-24V Analog Digital Converter implemented by both AdaFruit and Pimoroni (the latter as a Breakout Garden board), both [I2C] compatible boards. It can be used to measure an analog voltage between -24V DC to +24V DC, returning a value with 12 bit precision.
At line 5 changed one line
The ADS1015 has four channels (labeled {{{A0}}}, {{{A1}}}, {{{A2}}} and {{{A3}}}). The Pimoroni board only provides three of these channels as usable pins.
The ADS1015 has four channels (labeled {{{A0}}}, {{{A1}}}, {{{A2}}} and {{{A3}}}) that can read voltages from -24V to +24V at sampling rates up to 3.3KHz with a 12-bit resolution. The Pimoroni board only provides three of these channels as usable pins.
At line 7 changed one line
[{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 boards, which measures 24 x 21mm. As of January 2020
the price of the AdaFruit board is US$9 (~NZ$14), the price of the Pimoroni board is £12 (~NZ$24).
At line 9 removed 5 lines
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 18 changed one line
* 12-bit precision (Adafruit also sell a 16-bit version, see [ADS1115|https://www.adafruit.com/product/1085])
* 12-bit precision
At line 20 changed one line
* the TI ADS1015 has four channels: AdaFruit's provides all four, whereas Pimoroni's board only provides connections to three of them
* three or four channels (the TI ADS1015 has four: AdaFruit's provides all four, whereas Pimoroni's board only provides connections to three of them)
At line 23 changed one line
* [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)
* [I2C] interface (address 0x48/0x49 (cut trace))
At line 23 added 2 lines
* compatible with all models of Raspberry Pi, and Arduino
* [ads1015-python library | https://github.com/pimoroni/ads1015-python] on github
At line 27 removed 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 removed one line
At line 33 changed one line
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).
You'll need [Python] and {{{pip}}} (or {{{pip3}}} for Python 3) already installed.
At line 35 changed 3 lines
For the Pimoroni board, [Python] and {{{pip}}} (or {{{pip3}}} for Python 3) must be installed.
Then, if you're using Python 2, just run:
If you're using Python 2, just run:
At line 41 changed one line
or for Python 3:
For Python 3, use:
At line 84 removed one line
** [Adafruit 4-Channel ADC Breakouts: A guide to the ADS1115 and ADS1015 analog converters|https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/]
At line 86 removed 2 lines
** [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