We are now preparing to upgrade the system using an improved type of Level Probe. The currently installed ones each use 10 GPIO inputs to determine the level and the new ones use an Adafruit ADS1115 A/D Board to measure a voltage that represents the level. This has been working fine here in my workshop, but I've now hit a snag trying to use the RASClock and the ADS1115 at the same time on the Master Pi.
The problem is that if I connect the RASClock and not the ADS1115, the RASClock works fine. I can also get the ADS1115 to work if I don't connect the RASClock.
To get them both to work together, I have soldered a couple of Header Pins to the SDA and SCL pads on the RASClock, to which I've connected the corresponding pins of the ADS1115, but I simply get an error when I try to run my code to read the voltage. The error is:
Code: Select all
No I2C device at address 48
The hwclock works.
I believe that it should be possible to use the two devices together from reading the comments on the Afterthought Software website. However, will my method work?
I have a couple of theories:
- My RASClock is damaged. This is entirely possible, because I've had it for several years and when I found it (after a long search) it had fallen out of its ESSD bag and was sculling around at the bottom of my drawer.
- I cannot read continuity between pin 3 on the header connector and the SCL pad and likewise between pin 2 on the header and the SDA pad. (I wouldn't necessarily expect this, since it may not have been intended that this device be used in this way or the signals are buffered in the chip.)
- I need to mount the RASClock on it's own set of sixer header pins, on a piece of Veroboard somewhere, and connect the two devices to these pins.
- There is a special configuration needed to allow me to do this.