BMP280 and restart problem

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Sherif
New user
Posts: 5
Joined: 04 Dec 2017, 23:01

BMP280 and restart problem

#1 Post by Sherif » 04 Dec 2017, 23:10

Hi !

I have strange problem with BMP280 on NodeMCU V3 with v2.0.0-dev12 (Normal and Testing). When I connect just this sensor my ESP can not boot. I have to disconnect sensor VCC, GND, reboot and then it is fine. After it is rebooted I can add (sensor's) power/GND, then I am able to read all sensor data. My ESP also detect I2C properly.
What's funny when I do soft reboot it is ok, but when disconnect USB power it doesn't work :roll: .
I have tested also on Wemos D1 mini - same problem. Other sensors do not cause such problem.

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: BMP280 and restart problem

#2 Post by TD-er » 04 Dec 2017, 23:27

What GPIO's do you use?
And have you also tested building from the Mega branch?
I changed the BME280 plugin to "BMx280" to support both the BME and BMP sensor.
And also changed a lot about initialization, detection and sampling of the sensor.
They run here for several months now.

Sherif
New user
Posts: 5
Joined: 04 Dec 2017, 23:01

Re: BMP280 and restart problem

#3 Post by Sherif » 05 Dec 2017, 10:11

I have used both hardware from Ali (D1 mini NodeMcu 4M and - CH340 NodeMcu V3 Lua WIFI), both are Arduino compatible, vendor: Hysiry. On both I used GPIO 13/15, but I also checked with other pair.I had not not such issue with other sensor like BMP or dust.

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: BMP280 and restart problem

#4 Post by TD-er » 05 Dec 2017, 22:38

Can you also check with the latest Mega branch from Github?
And then select the BMx280 module.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: BMP280 and restart problem

#5 Post by papperone » 05 Dec 2017, 23:08

TD-er wrote: 05 Dec 2017, 22:38 Can you also check with the latest Mega branch from Github?
And then select the BMx280 module.
Just to optimize 2.0 branch, if P028 now support both BMP280/BME280 should then P030 be safely deleted to save space during compiling?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: BMP280 and restart problem

#6 Post by TD-er » 05 Dec 2017, 23:41

papperone wrote: 05 Dec 2017, 23:08
TD-er wrote: 05 Dec 2017, 22:38 Can you also check with the latest Mega branch from Github?
And then select the BMx280 module.
Just to optimize 2.0 branch, if P028 now support both BMP280/BME280 should then P030 be safely deleted to save space during compiling?
My patch only made it to the 2.1 (Mega) branch, so when the 2.1 branch stabilizes, P030 could indeed be removed.
For the 2.0 branch it is still needed to have both.

And also, I want to make proper I2C support classes, since a lot more plugins are always doing exactly the same over and over again.
So for the 2.1 release there is a lot of cleaning up to do.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: BMP280 and restart problem

#7 Post by papperone » 06 Dec 2017, 01:04

thanks for explanation :)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Sherif
New user
Posts: 5
Joined: 04 Dec 2017, 23:01

Re: BMP280 and restart problem

#8 Post by Sherif » 07 Dec 2017, 23:26

TD-er wrote: 05 Dec 2017, 22:38 Can you also check with the latest Mega branch from Github?
And then select the BMx280 module.
Ok, but I can not find bin files for this branch. Is it any tutorial how to upgrade it ?

Cosmo88
New user
Posts: 2
Joined: 08 Jan 2018, 07:00

Re: BMP280 and restart problem

#9 Post by Cosmo88 » 19 Jan 2018, 13:06

Hope you can point me in the right direction.


บาคาร่าออนไลน์

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: BMP280 and restart problem

#10 Post by TD-er » 19 Jan 2018, 14:09

You can see the build here: https://github.com/letscontrolit/ESPEasy/releases
As you can see, we try to create a new build ever night (at least when something has changed)
There are 2 branches:
- V2.0
- Mega

The more experimental things are in the Mega branch.
For more explanation, see the text at this page: https://github.com/letscontrolit/ESPEasy

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests