BMP180 Unable to read data
-
- Posts: 105
- http://meble-kuchenne.info.pl
- Joined: Thu Jan 07, 2021 11:28 am
- Has thanked: 3 times
- Been thanked: 4 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 503 times
- Been thanked: 686 times
Re: BMP180 Unable to read data
Hello,
Do you have pull up resistors on your SCL / SDA pins?
Do you have pull up resistors on your SCL / SDA pins?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 1528
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 353 times
- Been thanked: 549 times
Re: BMP180 Unable to read data
Hi
Might be a little bug.
If instead of reading Pressure, I change your Component Macro to read Temperature it simulates OK.
Note that in hardware, you are refreshing the display a bit quick so might see the results flicker or be dim. If so increase your delay.
Regards
Might be a little bug.
If instead of reading Pressure, I change your Component Macro to read Temperature it simulates OK.
Note that in hardware, you are refreshing the display a bit quick so might see the results flicker or be dim. If so increase your delay.
Regards
-
- Matrix Staff
- Posts: 1923
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 623 times
- Been thanked: 645 times
Re: BMP180 Unable to read data
Hello.
Many thanks for the bug spot.
This has now been fixed and the BMP180 component will be available on the update system as soon as possible.
I have made a couple of minor changes to your project, that will allow your project to work only when the new update is available.
I will let you know when the update is available.
Many thanks for the bug spot.
This has now been fixed and the BMP180 component will be available on the update system as soon as possible.
I have made a couple of minor changes to your project, that will allow your project to work only when the new update is available.
I will let you know when the update is available.
- Attachments
-
- BMP180 Unable to read data v2.fcfx
- (11 KiB) Downloaded 616 times
Martin
-
- Matrix Staff
- Posts: 1923
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 623 times
- Been thanked: 645 times
Re: BMP180 Unable to read data
The simulation side has been fixed, so that should be working for you.
Did you reload your project after the update?
The only reason now for the simulation to remain on zero is if Simulate Comms is set to Yes.
Do you have another issue e.g not working on hardware?
Did you reload your project after the update?
The only reason now for the simulation to remain on zero is if Simulate Comms is set to Yes.
Do you have another issue e.g not working on hardware?
Martin