Moin zusammen,
beschäftige mich grade auch mit dem ADS1115.
Habe dieses schicke Teil für meinen Banana PI gekauft:
http://sensorkit.joy-it.net/index.php?title=KY-053_Analog_Digital_ConverterSoweit scheint auch alles zu laufen. Versuche grade ein Helligkeitssensor ans laufen zu bekommen:
(
https://www.banggood.com/5Pcs-Light-Sensor-Module-Light-Photosensitive-Sensor-Board-Light-Intensity-Sensor-Module-For-Arduino-p-1233690.html?cur_warehouse=CN)
Diese sind bestückt mit dem GL5528 & LM358
Bekomme aber noch keinen geeigneten Output.
Das Fehlerlog schmeißt zwischendurch auch: Communication error on send s. unten

Vll. weiß ja jem. Rat?
2019.02.07 15:09:09 5: [myADS1115] I2C_ADS1115_Current Anzahl = 1
2019.02.07 15:09:09 5: [myADS1115,LM358] I2C_ADS1115_Update
2019.02.07 15:09:09 5: myI2C: vom client empfangen|reg: 2|direction: i2cwrite|i2caddress: 72|data: 128 0
2019.02.07 15:09:09 5: myI2C: HWaccess I2CAddr: 0x48
2019.02.07 15:09:09 5: myI2C: vom client empfangen|reg: 2|direction: i2cwrite|i2caddress: 72|data: 128 0
2019.02.07 15:09:09 3: myI2C: HWaccess blockweise nach 0x48 schreiben, Reg: 0x02 Inh: 128 0, laenge: 3| -> syswrite failure: Communication error on send
2019.02.07 15:09:09 5: myI2C ->Client gefunden: myADS1115, I2Caddress: 72 Data: 128 0
2019.02.07 15:09:09 5: myI2C: vom client empfangen|reg: 3|data: 127 255|direction: i2cwrite|i2caddress: 72
2019.02.07 15:09:09 5: myI2C: HWaccess I2CAddr: 0x48
2019.02.07 15:09:09 5: myI2C: vom client empfangen|reg: 3|data: 127 255|direction: i2cwrite|i2caddress: 72
2019.02.07 15:09:09 3: myI2C: HWaccess blockweise nach 0x48 schreiben, Reg: 0x03 Inh: 127 255, laenge: 3| -> syswrite failure: Communication error on send
2019.02.07 15:09:09 5: myI2C ->Client gefunden: myADS1115, I2Caddress: 72 Data: 127 255
2019.02.07 15:09:09 5: [myADS1115,LM358] I2C_ADS1115_Update Threshold:0x8000 - 0x7FFF
2019.02.07 15:09:09 5: [myADS1115. LM358] I2C_ADS1115_ConfigWord Word: 0b1100001110011000
2019.02.07 15:09:09 5: myI2C: vom client empfangen|data: 195 152|i2caddress: 72|direction: i2cwrite|reg: 1
2019.02.07 15:09:09 5: myI2C: HWaccess I2CAddr: 0x48
2019.02.07 15:09:09 5: myI2C: vom client empfangen|data: 195 152|i2caddress: 72|direction: i2cwrite|reg: 1
2019.02.07 15:09:09 3: myI2C: HWaccess blockweise nach 0x48 schreiben, Reg: 0x01 Inh: 195 152, laenge: 3| -> syswrite failure: Communication error on send
2019.02.07 15:09:09 5: myI2C ->Client gefunden: myADS1115, I2Caddress: 72 Data: 195 152
2019.02.07 15:09:09 5: [myADS1115] I2C_ADS1115_Update, Call I2C_ADS1115_CheckSensorState
2019.02.07 15:09:09 5: myI2C: vom client empfangen|i2caddress: 72|direction: i2cread|type: checksensorstate|nbyte: 2|reg: 1
2019.02.07 15:09:09 5: myI2C: HWaccess I2CAddr: 0x48
2019.02.07 15:09:09 5: myI2C: vom client empfangen|i2caddress: 72|direction: i2cread|type: checksensorstate|nbyte: 2|reg: 1
2019.02.07 15:09:09 4: myI2C: HWaccess blockweise lesen setze Registerpointer auf 1
2019.02.07 15:09:09 3: myI2C: HWaccess blockweise von 0x48 lesen, Reg: 0x01 -> syswrite failure: Communication error on send
2019.02.07 15:09:09 5: myI2C ->Client gefunden: myADS1115, I2Caddress: 72
i2cdetect output:
i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --