BMP180 Unable to read data

For general Flowcode discussion that does not belong in the other sections.
chipfryer27
Valued Contributor
Posts: 1690
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 584 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: 106
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 times

Re: BMP180 Unable to read data

Post by niedian »

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

niedian
Posts: 106
Joined: Thu Jan 07, 2021 11:28 am
Has thanked: 3 times
Been thanked: 4 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: 1954
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 700 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: 2088
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 645 times
Been thanked: 703 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