HI All,
Has anyone ever run the BME280 in hardware with a PIC microcontroller?
I ask because the simulation works perfectly in FC11, but it doesn't work in Proteus.
Thanks in advance for your answers.
Luc
BME280
-
B2CAP-V6
- Posts: 17
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 04, 2020 2:15 pm
- Been thanked: 6 times
BME280
- Attachments
-
- Thermo_Baro.fcfx
- (25 KiB) Downloaded 6 times
-
- Capture d’écran 2026-02-09 095920.jpg (149.2 KiB) Viewed 121 times
-
medelec35
- Valued Contributor
- Posts: 2251
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 692 times
- Been thanked: 763 times
Re: BME280
Hello.
My Advice would be not to test with a third party simulation before posting on the forums.
It's always wise to test on embedded hardware first.
I have a 18F14K22 I can test BME280 on.
Last time I tested BME280 on ESP32 it worked as expected.
I will carry out some tests and let you know how i get on.
My Advice would be not to test with a third party simulation before posting on the forums.
It's always wise to test on embedded hardware first.
I have a 18F14K22 I can test BME280 on.
Last time I tested BME280 on ESP32 it worked as expected.
I will carry out some tests and let you know how i get on.
Martin
-
chipfryer27
- Valued Contributor
- Posts: 1903
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 415 times
- Been thanked: 639 times
Re: BME280
Hi
Following on from above, have you asked Proteus as to why it does not simulate on their software? Surely they would be the best people to ask as they wrote the apparently non-functioning software?
Regards
Following on from above, have you asked Proteus as to why it does not simulate on their software? Surely they would be the best people to ask as they wrote the apparently non-functioning software?
Regards
-
Steve-Matrix
- Matrix Staff
- Posts: 1744
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 254 times
- Been thanked: 409 times
Re: BME280
In general, simulation within Flowcode (and with other software such as Proteus) is useful to get an idea if the project is working and to quickly experiment without needing to first create actual hardware. But it is not always 100% representative of how a project will work in real life and so there is no substitute to deploying and testing on a physical prototype.
-
BenR
- Matrix Staff
- Posts: 2122
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 563 times
- Been thanked: 749 times
Re: BME280
In Proteus does the VDDIO & CS of the BME380 need a connection to the 3.3V supply rail?
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
-
medelec35
- Valued Contributor
- Posts: 2251
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 692 times
- Been thanked: 763 times
Re: BME280
BME280 Working on embedded hardware as expected.
The only issue I have spotted with the component which does not affect any of the readings.
It's just a cosmetic issue which I can fix since there are letters appearing between Temperature and Humidity when the component is placed on the 2D panel.
For other flowcode and Proteus uses, can you let us know if Bens suggestions works.
If not, then after reporting to labcenter support, can you please let us know what their solution is.
Code: Select all
Temp = 22.780000, Humid = 47.277343, Pressure = 987.909973
Temp = 22.780000, Humid = 47.289062, Pressure = 987.929992
Temp = 22.790000, Humid = 47.299804, Pressure = 987.900024
Temp = 22.770000, Humid = 47.280273, Pressure = 987.890014
Temp = 22.780000, Humid = 47.289062, Pressure = 987.929992
Temp = 22.790000, Humid = 47.298828, Pressure = 987.969970
Temp = 22.770000, Humid = 47.291992, Pressure = 987.909973
Temp = 22.770000, Humid = 47.301757, Pressure = 988.000000
Temp = 22.780000, Humid = 47.288085, Pressure = 987.969970
Temp = 22.770000, Humid = 47.300781, Pressure = 987.940002
Temp = 22.770000, Humid = 47.300781, Pressure = 987.929992
Temp = 22.780000, Humid = 47.301757, Pressure = 987.969970
Temp = 22.770000, Humid = 47.300781, Pressure = 987.929992
Temp = 22.770000, Humid = 47.302734, Pressure = 987.950012
Temp = 22.790000, Humid = 47.290039, Pressure = 987.960021
Temp = 22.780000, Humid = 47.299804, Pressure = 987.929992It's just a cosmetic issue which I can fix since there are letters appearing between Temperature and Humidity when the component is placed on the 2D panel.
For other flowcode and Proteus uses, can you let us know if Bens suggestions works.
If not, then after reporting to labcenter support, can you please let us know what their solution is.
Martin
Re: BME280
A big thank you to everyone.
Well, I connected (and you were right) VDDIO, SDO, and CSB to the 3.3V rail. It didn't change anything. I forgot to show in my previous post that I do have signals on SDA and SCL.
I haven't heard back from Labcenter. I'm going to try to build a hardware circuit (I'm still in a mess from moving, I have boxes everywhere). Thanks again, Medelec, for doing the test.
Well, I connected (and you were right) VDDIO, SDO, and CSB to the 3.3V rail. It didn't change anything. I forgot to show in my previous post that I do have signals on SDA and SCL.
I haven't heard back from Labcenter. I'm going to try to build a hardware circuit (I'm still in a mess from moving, I have boxes everywhere). Thanks again, Medelec, for doing the test.