[solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
tklein.lotte@web.de
Normal user
Posts: 18
Joined: 29 Mar 2017, 12:05

[solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#1 Post by tklein.lotte@web.de » 03 Apr 2017, 10:49

hi,

I don't get Data from my bmp180 connected to a Wemos D1 mini. Tried firmware R147/120/Mega.
Using a sketch I got temperature and pressure. Where is my mistake? Any ideas?

Greetings
Thomas
Attachments
bmp_180_problem.png
bmp_180_problem.png (132.94 KiB) Viewed 8208 times
Last edited by tklein.lotte@web.de on 03 Apr 2017, 17:10, edited 1 time in total.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#2 Post by Shardan » 03 Apr 2017, 11:50

Hello Thomas,

if I remember right the BMP180 is the follower of the BMP085 while BMP280 and BME 280 are different chips.

Maybe give it a try and change the task settings to BMP085 instead of BMP280.

Regards
Shardan
Regards
Shardan

tklein.lotte@web.de
Normal user
Posts: 18
Joined: 29 Mar 2017, 12:05

Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#3 Post by tklein.lotte@web.de » 03 Apr 2017, 12:02

Hi again, :-)

sorry no changes with "BMP085" as a selected device.

Greetings
Thomas

krikk
Normal user
Posts: 118
Joined: 28 Feb 2017, 07:57
Location: Austria
Contact:

Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#4 Post by krikk » 03 Apr 2017, 16:03

on my wemos d1 mini sda and scl are on

gpio4 (d2) and gpio5 (D1)

tklein.lotte@web.de
Normal user
Posts: 18
Joined: 29 Mar 2017, 12:05

Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#5 Post by tklein.lotte@web.de » 03 Apr 2017, 16:13

I have changed it. No change again. :-(
Attachments
bmp_180_problem_2.png
bmp_180_problem_2.png (20.5 KiB) Viewed 8182 times

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#6 Post by Shardan » 03 Apr 2017, 16:36

I don't think that this is the issue, but to which GPIO's are SDA and SCL configured?
ESPEasy can set the configuration to any availlable GPIO in the "Hardware" tab.
If that's ok too i'll build a test circuit on breadboard to see if something is wrong in the firmware.

I assume it's correct as the I²C scan detects the BMP180.. but.... ;)

Regards
Thomas
Regards
Shardan

JR01
Normal user
Posts: 260
Joined: 14 Feb 2016, 21:04
Location: South Africa

Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#7 Post by JR01 » 03 Apr 2017, 16:56

Choose BMP085, I ran same config.
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

tklein.lotte@web.de
Normal user
Posts: 18
Joined: 29 Mar 2017, 12:05

Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#8 Post by tklein.lotte@web.de » 03 Apr 2017, 17:09

wtf?

After rebooting and a little time without power it is working now! It's vodoo. :-)
Thanks for supporting my bmp180 and me.

Have a nice day!
Thomas
Attachments
bmp180_working.png
bmp180_working.png (13.54 KiB) Viewed 8173 times

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: [solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#9 Post by costo » 05 Apr 2017, 14:42

It is not 'voodoo'.
I found out that I2C GPIO's are only once configured during bootup. So when you change the SDA and/or SCL pinnumber you MUST reboot or else the change will not be effective. Saving the configuration of I2C is not good enough, a reboot is needed.

In my opinion there should be a note/warning with the I2C pins that you need to reboot when changing the I2C pinnumbers.

tklein.lotte@web.de
Normal user
Posts: 18
Joined: 29 Mar 2017, 12:05

Re: [solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#10 Post by tklein.lotte@web.de » 06 Apr 2017, 16:32

Hi costo,

thank you very much for your intersting informations. I agree with you, a note should be seen in the gui.

Greetings
Thomas

Nonsense
New user
Posts: 3
Joined: 06 Apr 2017, 20:31

Re: [solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)

#11 Post by Nonsense » 06 Apr 2017, 20:36

Hello guys!
I think that the problem was from not setting the IDX Variable and after restarting the module, the task has autocompleted the field for IDX. As you can see from the screenshots.
I had the same problem with SI7021 sensor. It didn't returned any value, but after i set an IDX it was working.
Hope that helps.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 73 guests