Comments (18)
IMHO windchill and heat index should not be in this library. You could fork it into an extended library, so we could keep the basic library small and simple. The library should only provide the api, which is based on the native sensor interface.
from bme280.
from bme280.
I would like to add wind chill and heat index functions to go with dew point and altitude.
from bme280.
Christian,
Certainly, do you want to code that and submit a pull request? Or are you asking for support? I have ordered a Wemos board and plan to test the BME against it as soon as I have cycles to spare. I could probably add in wind chill and head index at that time.
Tyler
from bme280.
from bme280.
from bme280.
Christian,
It might be worthwhile to make a library just for weather calculations. I have not seen one.
Tyler
from bme280.
from bme280.
Christian,
Any progress? I was thinking about creating a new library for weather calculations and moving the dew point calculation to that. Just haven't gotten around to it. Sounds like you want heat index and wind chill. Any other calculations I should add. I am trying to come up with 5 or 6 before I put it into action.
Tyler
from bme280.
from bme280.
back to topic. Do not call Wire.begin() at all. It is not the job of a library to init a bus system, only init the specific sub system.
See here: https://www.arduino.cc/en/Reference/WireBegin
and here: esp8266/Arduino#2774
from bme280.
Coelner,
I agree, we will have to throw some code in it's place to check initialization instead. I will try to make that change when I make the next interface changes.
Tyler
from bme280.
Hello, I have an issue with #define ARDUINO_ARCH_ESP8266 it's generate some error of compile
...
#define ARDUINO_ARCH_ESP8266
#include <BME280I2C.h>
...
sketch/BME_280_I2C_Test.ino.cpp.o:(.literal._Z5setupv+0x14): undefined reference to BME280I2C::begin()' sketch/BME_280_I2C_Test.ino.cpp.o: In function
setup()':
/var/folders/yf/g28b6chs1kq9th23kx17mlmw0000gn/T/arduino_modified_sketch_53706/BME_280_I2C_Test.ino:40: undefined reference to `BME280I2C::begin()'
collect2: error: ld returned 1 exit status
exit status 1
Erreur de compilation pour la carte ESP32 Dev Module
do you have an advice please ? thank you by advance
from bme280.
First of all, try to use the begin(int SDA, int SCL) call. I guess that the esp32 needs also a assignment for those pins.
from bme280.
Hello coelner thank you for your response, in fact everything was OK until i upgrade to the 2.1.4 BME280 library. if i correctly understand what you say this begin(int SDA, int SCL) is done in the "Arduino/hardware/espressif/esp32/variants/esp32/pins_arduino.h" file
from bme280.
in fact this issue occurs only with the ESP32 board, with the ESP8266 it compile without errors
from bme280.
@Fbo06 yeah, look in the other issue #34
the closing #endif is at the wrong position.
from bme280.
All of this should be fixed in version 2.2.
Christian, you can now add any extra calculation functions to the EnvironmentCalculations files.
Tyler
from bme280.
Related Issues (20)
- Filter is only applied to temperature and pressure HOT 3
- STM32F103C8 - bme.begin (); - program stops HOT 3
- BME280 v3.0 not work with u8g2 and display HX1230_SW_SPI HOT 3
- The question of the wind chill HOT 3
- non void function without return value HOT 1
- Propose License Change to LGPL/MIT HOT 28
- AbsoluteHumidity and HeatIndex environment calculations missing HOT 1
- Implement CI HOT 1
- Change Wire hard code over to passed in wire instance in I2C class
- BME280 no humidity :( HOT 1
- BME680 integration HOT 1
- SPI.h is inculed althought BME280Spi is not in use HOT 1
- non-void-return issue in 3.0.0 HOT 6
- ESP32 boot loop when calling bme.begin() HOT 3
- I2C to USB
- delete
- delete HOT 1
- Latest commits do not show on Platformio. Tries to revert to "some 3.0.0" version
- Compiler warning when deleting a BME280I2C object
- Normal mode not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bme280.