💬 Atmospheric Pressure Sensor
-
I bought it in banggood, but it work's before...
-
I supply itwith the 3.3 V output off arduino
-
i tested with 3.3V and 5volt but same result
http://www.banggood.com/fr/GY-68-BMP180-Digital-Barometric-Pressure-Sensor-Board-Module-p-1059025.html?rmmds=myorder -
Have you link for older library? Are you french?
-
Yes ^^ . can you give me at snyp_thx at hotmail dot fr?
-
Hi!
I had exactly the same problem until I realised I had compiled for the 8 MHz version of the Arduino Pro Mini instead of the 16 MHz version.
Also, recently building an humidity sensor I realised there are no pull-up resistors on the SDA SDL lines, but that should be built-in if you use a break-out module. -
Which altitude did you enter, or at which sealevel do you live (in meters)?
const float ALTITUDE = 688; // <-- adapt this value to your own location's altitude.The pressure of 728 hPa is a bit strange as it should be around 1000 hPa. In my eyes you threw out the code to correct the pressure depending on the sealevel of your home. See the code from my sketch:
float pressure = bmp.seaLevelForAltitude(SEALEVEL, absolutePressure);Here you can download the sketch I am using:
https://github.com/windkh/mysensors/blob/master/WeatherStationSensor/WeatherStationSensor.inoThe forecast will be unknown for at least 30minutes, because the sensor needs that time to detect a weather trend.
-
@bgunnarb you are find the problem, i think i have arduino pro mini 3.3V but it's 5V. Thx very much it's work better now :)
-
Where do the pin assignments live?
-
Where do the pin assignments live?
-
@gohan it appears as though I need SLC and SDA for the sensor it will prevent me from using a second SLC/SDA device. I was assuming that they were utilizing the analog input. My comment may be deleted as it is clearly not applicable
-
OH cool. I guess I have tons more to learn thank you for your help
-
The initial description on this page refers to BMP085.
The 'Example' states it is for BMP085 with Adafruit library (linked for dowbload).
The sketch uses a BME280 with library from Embedded Adventures.
The Datasheet is linked for a BMP085.
The shopping guide links to a BMP180.????
-
The initial description on this page refers to BMP085.
The 'Example' states it is for BMP085 with Adafruit library (linked for dowbload).
The sketch uses a BME280 with library from Embedded Adventures.
The Datasheet is linked for a BMP085.
The shopping guide links to a BMP180.????
Sorry for not noticing your post earlier @skywatch
The example was originally designed for BMP085. When the BMP180 became widely available, the buy link was updated to the newer version with the note "replaces the old BMP085". Both use the same library.
At a later stage, a MySensors user suggested changes to the example sketch to use the BME sensor instead. I don't know why this change was made, but my guess is that the user liked the BME sensor better. I don't know why the change was accepted without updating the build page, but my guess is that since the commit doesn't mention the change of sensor and the amount of code changed is quite large (369 additions and 252 deletions) nobody noticed that a new sensor was used.
I'm trying to address the sensor change in https://forum.mysensors.org/topic/9801/bmp-e-atmospheric-pressure