[solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
[solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
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
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 (132.94 KiB) Viewed 8208 times
Last edited by tklein.lotte@web.de on 03 Apr 2017, 17:10, edited 1 time in total.
Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
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
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
Shardan
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
Hi again,
sorry no changes with "BMP085" as a selected device.
Greetings
Thomas
sorry no changes with "BMP085" as a selected device.
Greetings
Thomas
Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
on my wemos d1 mini sda and scl are on
gpio4 (d2) and gpio5 (D1)
gpio4 (d2) and gpio5 (D1)
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
I have changed it. No change again.
- Attachments
-
- bmp_180_problem_2.png (20.5 KiB) Viewed 8182 times
Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
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
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
Shardan
Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
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.
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.
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
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
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 (13.54 KiB) Viewed 8173 times
Re: [solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
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.
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.
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: [solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
Hi costo,
thank you very much for your intersting informations. I agree with you, a note should be seen in the gui.
Greetings
Thomas
thank you very much for your intersting informations. I agree with you, a note should be seen in the gui.
Greetings
Thomas
Re: [solved] Problem with bmp180 with Wemos D1 and ESP Easy (147,mega)
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.
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.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 73 guests