LowPowerLab Forum

Hardware support => General topics => Topic started by: r.rabin on February 01, 2018, 10:38:18 AM

Title: WeatherShield: appropriate sketch?
Post by: r.rabin on February 01, 2018, 10:38:18 AM
Hello, I purchased a Weathershield to use with my Moteino last summer. Does it employ the new BME280 sensor rather than the BME180?

I tried running the SFE_BME180_example sketch (which uses SFE_180180.h and wire.h from the Sparkfun library). When running the sketch, sensor outputs are printed out, but the values are unrealistic. Do I need to make any modifications to the Weathershield board, or I am using the incorrect library calls (such as "status=pressure.getTemperature(T);)

Thanks! -Bob
Title: Re: WeatherShield: appropriate sketch?
Post by: Felix on February 01, 2018, 11:24:58 AM
Most likely you have a WeatherShield R2 (BME280 sensor) so you need the latest sketch here (https://github.com/LowPowerLab/RFM69/blob/master/Examples/WeatherNode/WeatherNode.ino).
Title: Re: WeatherShield: appropriate sketch?
Post by: r.rabin on February 01, 2018, 09:26:22 PM
Thank you! Does anyone have a version of this sketch which will work with the RFM95/96 transceivers?