ADS1115_BRVG_UserGuide
In Nature Robotics Ltd. www.innaturerobotics.com
Phoenix Connector Screw Terminal Wiring
Electrical connections to the green Phoenix connector in the top-left corner of the board
should be made as follows:
Table 3. Phoenix Connector Wiring
Terminal #
Signal
1 (leftmost terminal looking down on board)
VDD
2
GND
3
SCLK
4
SDA
5
A0
6
A1
7
A2
8 (rightmost terminal looking down on board)
A3
Sample Code
Arduino Uno Sample Code
The program below uses the default ADS1115 gain of 2/3, so that the reference voltage
is ±4.096V/ (2/3) = ± 6.144V. The program samples the single-ended voltage on all 4
channels approximately once per second, and outputs the results to the serial port at
9600 bps. The program requires the Adafruit ADS1X15 library in order to run. This
library is available through the Arduino development software (i.e. click the ‘Tools |
Manage Libraries’ menu item, and search for “Adafruit ADS1X15”).
#include <Wire.h>
#include <Adafruit_ADS1015.h>
Adafruit_ADS1115 ads(0x48);
float fVoltages[4];
void setup() {
Serial.begin(9600);
Wire.setClock(100000);