enesbcs / rpieasy

Easy MultiSensor device based on Raspberry PI
GNU General Public License v3.0
159 stars 33 forks source link

ADS1115 Works on 1 unit but not on another #21

Closed Budman1758 closed 5 years ago

Budman1758 commented 5 years ago

I have a rather strange problem on 1 of the 2 units I have running. Both units have an ADS1115 module and its only working on 1 of them. The working 1 is measuring voltage and light levels. All is good. The other unit does not work at all. There is nothing in the log to indicate that it is even trying to read it. This unit is in my irrigation controller that was originally powered by an ESP-07. I removed the ESP and plugged into the I2C wiring and have it connected to the RPI unit. This controller has several I2C components and everything is working except the ADS1115. It has an OLED, an MCP23017, a PCF8574 and an SI7021 module. All of these show up correctly in the I2C scan page. The MCP23017, OLED and SI2021 are all functioning just fine. Reading values and displaying on the OLED is all good. The ADS1115 is not working at all. There is no log entries showing anything at all. I have added it and removed it several times and rebooted each time and still nothing. Its as if its not even there. Seems like RPIEasy is completely ignoring it. When I plug in the ESP everything works.

Please let me know what you may need to figure this out. Thanks.

enesbcs commented 5 years ago

In the same RPI, another ADS1115 is usable? Could you show the output of your /i2cscanner page when the not working ADS attached?

Budman1758 commented 5 years ago

Its 2 separate Pi's with 1 ADS module on each. I am starting to think that one of them has a corrupt CD card. Let me do some more testing and I will report back. This may not be a real issue.

Budman1758 commented 5 years ago

Seems I had a bum SD card and some config problems. This is not an Issue anymore. Closing now.