Before I get started, I just wanted to say great implementation. Really impressed at the ease of installation, the auto detection of some of the services and the interfaces for both Web/IOS. Really, a great job.
Having said that, I’m having a small issue with the Adafruit ADS1115 (ADS1115 16-Bit ADC - 4 Channel with Programmable Gain Amplifier [STEMMA QT / Qwiic] : ID 1085 : $14.95 : Adafruit Industries, Unique & fun DIY electronics and kits). This issue is with a Pi1-Rev B and this is a working installation that has been installed for some time (~ 2 years).
Before I installed Cayenne I performed the necessary apt-get update/upgrade, rebooted and tested everything was still working, and then installed Cayenne.
I have two load cells connected to two wheatstone bridges connected to channel 0 and channel 1 of the ADS1115.
I went and added the ADS1115 extension and then added two Genric Analog Inputs and mapped them to Channel 0 and 1 of the ADS. The problem I am seeing is that Cayenne only ever reports a non-changing value of 0.17 for all channels (see below).
If I jump into python and using the Adafruit library make a few calls to the ADS, I see the differentiated results on the different pins.
>>> sys.path.insert(0, '/home/pi/library/Adafruit-Raspberry-Pi-Python-Code/Adafruit_ADS1x15')
>>> from Adafruit_ADS1x15 import ADS1x15
>>> pga = 6144
>>> sps = 8
>>> adc = ADS1x15(ic=0x01)
>>> adc.readADCSingleEnded(0, pga, sps)
1064.4375
>>> adc.readADCSingleEnded(1, pga, sps)
1025.0625
>>> exit()
In fact, my original scripts are still executing periodically (15 mins) and still reporting the correct values/weight.
Device details in case it helps:
Any thoughts to what I may need to tweak to get this working?
Appreciate the help.