BMP180 Unable to read data

For general Flowcode discussion that does not belong in the other sections.
chipfryer27
Valued Contributor
Posts: 1956
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 427 times
Been thanked: 647 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: 124
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: 124
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: 2153
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 583 times
Been thanked: 767 times

Re: BMP180 Unable to read data

Post by BenR »

Hello,

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

medelec35
Valued Contributor
Posts: 2270
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 698 times
Been thanked: 768 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