Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hallo
ich möchte einen BMP280 über die I2C Schnittstelle anschliessen.
Adr: 0x76
Mit SUDO I2CDETECT -y 1 finde ich das Gerät, ABER mit Codesys geht's nicht
Wenn ich online verbunden bin dann ist vor dem BMP280 device ein rotes Dreieck.
Was mache ich falsch?
Kann eventuell mit Codesys die Adresse nicht erreicht werden (0x76)?
Danke für die Hilfe
Guenter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
if you use 16#76 as address in the configuration, does the BME connector turn into a green circle in the device tree without any call from the pou's?
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hallo
ich möchte einen BMP280 über die I2C Schnittstelle anschliessen.
Adr: 0x76
Mit SUDO I2CDETECT -y 1 finde ich das Gerät, ABER mit Codesys geht's nicht
Wenn ich online verbunden bin dann ist vor dem BMP280 device ein rotes Dreieck.
Was mache ich falsch?
Kann eventuell mit Codesys die Adresse nicht erreicht werden (0x76)?
Danke für die Hilfe
Guenter
Hi,
please check the parameter here:
BR
Edwin
Hi Erwin
I have checked and it looks like ok: I get the info that the BME Bus is not working
hm
Guenter
I also have tried to read the whole I2C bus with i2c_master.read but no Response from a device
range: 0x00 up to 0xFF
Hi,
if you use 16#76 as address in the configuration, does the BME connector turn into a green circle in the device tree without any call from the pou's?
BR
Edwin
Hi Edwin
no green circle. I will check with a oszzi if the ports are working with the i2cmaster.read
Regards
Guenter
Hi,
did you try already this library from the forum for this device?
l viewtopic.php?f=23&t=5872&p=18200#p19664 l `
BR
Edwin