ADS1115 + Datalogger shield RTC1307 I2C conflict

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Dasypusman
 
Posts: 1
Joined: Sat Dec 24, 2022 1:08 am

ADS1115 + Datalogger shield RTC1307 I2C conflict

Post by Dasypusman »

Hello there to everybody.

I am working on a project that involves amplifying low voltage (~ 2.5 mV) signals and registering them with a timestamp using Arduino UNO. So far I have been able to run successfully the ADS1115 and print on the serial monitor data.
I am using the Adafruit library for the ADS:

Code: Select all

  #include <Adafruit_ADS1X15.h>
  #include <RTClib.h>
  #include <Wire.h>
  #include <SPI.h>
  #include <SD.h>

In order to register the information I intend to use an old Adafruit Datalogger Shield with RTC (1307) and an SD card slot.

Both components run perfectly one at the time, but when I intend to run both to log the data the Arduino simply freezes. I read about a conflicts between RTC1307 and ADS1115 that use the I2C bus protocol. I have already checked for a possible conflict regarding the addresses of the devices, but according to this old thread (viewtopic.php?t=78413) it seems the addresses do not coincide and therefore should not be a problem. The thread is actually locked and some other posts I found mention about hacking both the shield and the libraries, but so far, I decided to post this here in order to receive feedback.

Thanks in advance to everybody.

AGT

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”