<Example program for NORVI Agent 1 reading analog inputs attached.
The Channels shows 65535 unless an input is connected to it. Only 3 channels of the ADS1115 Used in the device.
Reading 3 channels of analog inputs over arduino.
ADS1115 chip is used in NORVI Agent 1 addressed as 0x48

Use Adafruit ADS1115 Library for reading Analog Inputs
In your Libraries folder, find ‘Adafruit_ADS1X15/Adafruit_ADS1015.cpp‘ and edit:
The Wire.begin(); on the Adafruit_ADS1015::begin() function to Wire.begin(21,22) ;
In your Libraries folder, find ‘Adafruit_ADS1X15/Adafruit_ADS1015.h‘ and edit:
#define ADS1115_CONVERSIONDELAY ( 8 )
to be:
#define ADS1115_CONVERSIONDELAY ( 9 )
Link to Adafruit library
https://github.com/adafruit/Adafruit_ADS1X15
-
This topic was modified 8 months, 3 weeks ago by
[email protected].
-
This topic was modified 8 months, 3 weeks ago by
help20.
Attachments:
You must be
logged in to view attached files.