BMP180 Unable to read data

For general Flowcode discussion that does not belong in the other sections.
chipfryer27
Valued Contributor
Posts: 1759
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 388 times
Been thanked: 598 times

Re: BMP180 Unable to read data

Post by chipfryer27 »

Hi

The original file that you posted does have Simulate Comms set to Yes. If you update components as per Martin's posts and in the BMP180 Properties you set Simulate Comms to No (caught me out before) then it should simulate.

Regards

niedian
Posts: 122
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 5 times

Re: BMP180 Unable to read data

Post by niedian »

Indeed, the hardware is not working and keeps showing 0。

niedian
Posts: 122
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 5 times

Re: BMP180 Unable to read data

Post by niedian »

Indeed not working on hardware.the hardware is not working and keeps showing 0

BenR
Matrix Staff
Posts: 1992
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 523 times
Been thanked: 710 times

Re: BMP180 Unable to read data

Post by BenR »

Hello,

Do you have pull up resistors on your SCL / SDA pins?

medelec35
Matrix Staff
Posts: 2180
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 663 times
Been thanked: 739 times

Re: BMP180 Unable to read data

Post by medelec35 »

You could also check the address within the properties are correct for your sensor by using the I2C address sniffer that's on the Wiki.
That will also show if the sensor is correctly wired up and working.
Martin

Post Reply