kriswiner / CMWX1ZZABZ

Collection of sketches using the Arduino core for Murata's CMWX1ZZABZ (STM32L082 and SX1276)
93 stars 29 forks source link

LongCricket BME280 odd data #18

Open patmolloy opened 5 years ago

patmolloy commented 5 years ago

This is up and running successfully, but I am getting possibly wrong data from the BME280. I have the device transmitting every minute for now. The values a) look wrong and b) don't seem to change much/at all over time. GPS looks good. The analog port is returning a value close to 0.00 .. is that right or should it be the battery voltage? I've attached a data dump for the last hr from cayenne .. worth saying that the data from TTN is the data ending up in Cayenne .. last transmission 2 mins ago ..

{ "analog_in_4": 0.02, "barometric_pressure_3": 1013.3, "gps_5": "map[altitude:35.51 latitude:51.4571 longitude:-0.2192]", "relative_humidity_2": 65, "temperature_1": 18.8 }

The device is in free air, not enclosed.

At the moment external temp is circa 13.5 degC, humidity at 92% (rainy).

Overnight the device was reporting 20 degC all night - i.e. incorrect and not changing.

Any pointers please? Thanks!

9915c234-d25d-4801-8af3-39225d9adfbc.xlsx

You can get at the live data via Cayenne here https://cayenne.mydevices.com/shared/5d060b3489fa9c4e9001cf87

kriswiner commented 5 years ago

Not sure what's happening here.

Looks like the temperature, pressure, and humidity are changing, or at least do change in the output you sent me. Are you running this https://github.com/kriswiner/CMWX1ZZABZ/blob/master/longCricketAssetTracker/AssetTracker_longCricket.v04i/AssetTracker_longCricket.v04i.ino sketch?

Maybe you are asking for sensor data over a long duty cycle?

As far as the battery voltage, you would need to enable the fet on pin 2 to allow the voltage measurement circuit to function. Are you doing this?

On Sun, Jun 16, 2019 at 2:16 AM Pat Molloy notifications@github.com wrote:

This is up and running successfully, but I am getting possibly wrong data from the BME280. I have the device transmitting every minute for now. The values a) look wrong and b) don't seem to change much/at all over time. GPS looks good. The analog port is returning a value close to 0.00 .. is that right or should it be the battery voltage? I've attached a data dump for the last hr from cayenne ..

The device is in free air, not enclosed.

At the moment external temp is circa 13.5 degC, humidity at 92% (rainy).

Overnight the device was reporting 20 degC all night - i.e. incorrect and not changing.

Any pointers please? Thanks!

9915c234-d25d-4801-8af3-39225d9adfbc.xlsx https://github.com/kriswiner/CMWX1ZZABZ/files/3293982/9915c234-d25d-4801-8af3-39225d9adfbc.xlsx

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKT27GQ47Q7IX3FJUJLP2YAFXA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZXPHIQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKRLGI2LXWPMUZ6G67DP2YAFXANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Hi Kris,

I am just using your github sketch -- the one you referenced. Just changed the TTN stuff, and the freq to EU868 Nothing else at all. I'll reload it all again to make sure I did not screw anything up. Was not aware of the FET on pin 2 requirement but looking at the sketch I do see

#define VbatCtl 2 // enable for battery voltage monitor

So that looks right?

Pat

kriswiner commented 5 years ago

Yes, the sketch should work out of the box. You might need to update the times you want to read the sensors and send the data etc. If you run it on the USB first you can verify that the BME280 is working, which it should be, or at least was just before I sent it to you...

On Sun, Jun 16, 2019 at 8:05 AM Pat Molloy notifications@github.com wrote:

Hi Kris,

I am just using your github sketch -- the one you referenced. Just changed the TTN stuff, and the freq to EU868 Nothing else at all. I'll reload it all again to make sure I did not screw anything up. Was not aware of the FET on pin 2 requirement but looking at the sketch I do see

define VbatCtl 2 // enable for battery voltage monitor

So that looks right?

Pat

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKQ7HTLKLUOHEXIHSKDP2ZJCTA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZO6XI#issuecomment-502460253, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKQPFGRNKGGD4IIH7MDP2ZJCTANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Kris, I re-downloaded, made the change for TTN and freq and re-compiled .. same as before as far as I can tell ..

If I am on USB Power, VBAT (as transmitted to TTN) should be approx zero?

Even though out of the box the sketch is transmitting every 1 minute, is the sampling of the sensors on some different timing? I've not looked in detail at the sketch yet (and most likely my coding skills are not up to it anyway!!)

Thanks for the support, as ever :)

This is the serial monitor output at startup ..

Serial enabled!ID bytes: C2 28 17
Winbond  W25Q80BLUX1G   Chip ID = 0xEF, 0x40, 0x14, 0x0
Macronix MX25L12835FZNI Chip ID = 0xC2, 0x20, 0x18, 0xC2
Macronix MX25R6435FZAI  Chip ID = 0xC2, 0x28, 0x17, 0xC2
Spansion S25FL127S      Chip ID = 0x01, 0x20, 0x18, 0x4D

VDDA = 3.30 V
VBAT = 0.17 V
USB Connected!
STM32L0 MCU Temperature = 26.23

BMA400 accelerometer...
BMA400 I AM 90 I should be 90

BME280 I AM 60 I should be 60

BMA400 + BME280 are online...

x-axis self test = 2412.1mg, should be > 2000 mg
y-axis self test = 2085.9mg, should be > 1800 mg
z-axis self test = 859.4mg, should be > 800 mg
hold flat and motionless for bias calibration
x-axis offset = -134.7 mg
y-axis offset = 100.2 mg
z-axis offset = 47.3 mg
Calibration coefficients:
_dig_T1 =28083
_dig_T2 =26675
_dig_T3 =50
_dig_P1 =39085
_dig_P2 =-10673
_dig_P3 =3024
_dig_P4 =9073
_dig_P5 =-223
_dig_P6 =-7
_dig_P7 =12300
_dig_P8 =-12000
_dig_P9 =5000
_dig_H1 =0
_dig_H2 =373
_dig_H3 =0
_dig_H4 =292
_dig_H5 =50
_dig_H6 =30
LOCATION: NONE
SATELLITES: 2
      G3: SNR=19, ELEVATION=0, AZIMUTH=0, ACQUIRED
      G4: SNR=20, ELEVATION=0, AZIMUTH=0, ACQUIRED
VBAT = 0.04 V
BME280:
Altimeter temperature = 24.99 C
Altimeter temperature = 76.98 F
Altimeter pressure = 1014.66 mbar
Altitude = -38.56 feet
Altimeter humidity = 45.0 %RH
kriswiner commented 5 years ago

The BME280 seem to be working fine. Do you have a battery installed? Otherwise, what is the problem?

On Sun, Jun 16, 2019 at 8:35 AM Pat Molloy notifications@github.com wrote:

Kris, I re-downloaded, made the change for TTN and freq and re-compiled .. same as before as far as I can tell ..

If I am on USB Power, VBAT (as transmitted to TTN) should be approx zero?

Even though out of the box the sketch is transmitting every 1 minute, is the sampling of the sensors on some different timing? I've not looked in detail at the sketch yet (and most likely my coding skills are not up to it anyway!!)

Thanks for the support, as ever :)

This is the serial monitor output at startup ..

Serial enabled!ID bytes: C2 28 17 Winbond W25Q80BLUX1G Chip ID = 0xEF, 0x40, 0x14, 0x0 Macronix MX25L12835FZNI Chip ID = 0xC2, 0x20, 0x18, 0xC2 Macronix MX25R6435FZAI Chip ID = 0xC2, 0x28, 0x17, 0xC2 Spansion S25FL127S Chip ID = 0x01, 0x20, 0x18, 0x4D

VDDA = 3.30 V VBAT = 0.17 V USB Connected! STM32L0 MCU Temperature = 26.23

BMA400 accelerometer... BMA400 I AM 90 I should be 90

BME280 I AM 60 I should be 60

BMA400 + BME280 are online...

x-axis self test = 2412.1mg, should be > 2000 mg y-axis self test = 2085.9mg, should be > 1800 mg z-axis self test = 859.4mg, should be > 800 mg hold flat and motionless for bias calibration x-axis offset = -134.7 mg y-axis offset = 100.2 mg z-axis offset = 47.3 mg Calibration coefficients: _dig_T1 =28083 _dig_T2 =26675 _dig_T3 =50 _dig_P1 =39085 _dig_P2 =-10673 _dig_P3 =3024 _dig_P4 =9073 _dig_P5 =-223 _dig_P6 =-7 _dig_P7 =12300 _dig_P8 =-12000 _dig_P9 =5000 _dig_H1 =0 _dig_H2 =373 _dig_H3 =0 _dig_H4 =292 _dig_H5 =50 _dig_H6 =30 LOCATION: NONE SATELLITES: 2 G3: SNR=19, ELEVATION=0, AZIMUTH=0, ACQUIRED G4: SNR=20, ELEVATION=0, AZIMUTH=0, ACQUIRED VBAT = 0.04 V BME280: Altimeter temperature = 24.99 C Altimeter temperature = 76.98 F Altimeter pressure = 1014.66 mbar Altitude = -38.56 feet Altimeter humidity = 45.0 %RH

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKSTFJAUAYTT2YLSUO3P2ZMSZA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZPQTQ#issuecomment-502462542, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKWNE74GBZ7JYV6R3WTP2ZMSZANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

No, no battery at present. Just on USB. The issue I was/am seeing with the BME280 is that overnight it reported temp and humidity values that were wrong, and which did not change. That could be because of a very slow sampling rate .. for example, right now it is showing ..

{
  "analog_in_4": 0.03,
  "barometric_pressure_3": 1014.8,
  "gps_5": "map[altitude:35.26 latitude:51.457 longitude:-0.2193]",
  "relative_humidity_2": 44,
  "temperature_1": 25

}

The actual temp is 18.2C and humidity 74%

kriswiner commented 5 years ago

The repository sketch samples the BME280 every minute.

On Sun, Jun 16, 2019 at 8:58 AM Pat Molloy notifications@github.com wrote:

No, no battery at present. Just on USB. The issue I was/am seeing with the BME280 is that overnight it reported temp and humidity values that were wrong, and which did not change. That could be because of a very slow sampling rate .. for example right now it is showing ..

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKUILNIRK5XLP6PYGLDP2ZPKDA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZP6EY#issuecomment-502464275, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKREDO4IVMMHY54J77LP2ZPKDANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Thanks. I guess this remains a mystery then .. the values do not change when the device moves inside vs. outside and the outside value is incorrect (and unchanging). Could this be related to the device being on USB power? Or a faulty BME280? Bit stuck.

kriswiner commented 5 years ago

I don't understand what the problem is exactly. The BME280 seems to be working.

If you connect a 3,7 V LiPo battery you should see the battery voltage measured by VBAT. If you then disconnect the USB cable you should see all of the data you request sent over the LoRaWAN. As far as I can tell, based on the data snippet you sent, this seems to be happening correctly. Is the device in a box? Remember the BME280 will measure temperature of the board mostly, and if the board is warmer than the outside air it could show a discrepancy. But generally, in my testing and experience with these devices, the temp, press, and humidity track the outside conditions.

I suggest you run it for a day, plot the temperature versus time and see what it shows.

From what you have shown me so far, I cannot detect any error at all, and I am a bit confused as to what you mean that it isn't working...

On Sun, Jun 16, 2019 at 9:34 AM Pat Molloy notifications@github.com wrote:

Thanks. I guess this remains a mystery then .. the values do not change when the device moves inside vs. outside and the outside value is incorrect (and unchanging). Could this be related to the device being on USB power? Or a faulty BME280? Bit stuck.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKVLV5JNR4MO6K2HF2LP2ZTSJA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZQS3I#issuecomment-502466925, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKU4EPXFIAJH2QJ4X3LP2ZTSJANCNFSM4HYQX2TQ .

kriswiner commented 5 years ago

Maybe I misunderstood.

Are you saying that the BME280 data seems correct and updates every minute and slightly changes when indoors when the device is powered by USB but ....

once you power it with a battery and take the device outside, the BME280 temperature, pressure, and humidity values are similar to those measured indoors, stay exactly the same and never change even one bit for hours at a time?

In this case, it is possible the BME280 is malfunctioning but I have never seen this behavior and really cannot understand it.

If you are not happy with the device you may return it and I will refund your money.

On Sun, Jun 16, 2019 at 9:45 AM Tlera Corporation tleracorp@gmail.com wrote:

I don't understand what the problem is exactly. The BME280 seems to be working.

If you connect a 3,7 V LiPo battery you should see the battery voltage measured by VBAT. If you then disconnect the USB cable you should see all of the data you request sent over the LoRaWAN. As far as I can tell, based on the data snippet you sent, this seems to be happening correctly. Is the device in a box? Remember the BME280 will measure temperature of the board mostly, and if the board is warmer than the outside air it could show a discrepancy. But generally, in my testing and experience with these devices, the temp, press, and humidity track the outside conditions.

I suggest you run it for a day, plot the temperature versus time and see what it shows.

From what you have shown me so far, I cannot detect any error at all, and I am a bit confused as to what you mean that it isn't working...

On Sun, Jun 16, 2019 at 9:34 AM Pat Molloy notifications@github.com wrote:

Thanks. I guess this remains a mystery then .. the values do not change when the device moves inside vs. outside and the outside value is incorrect (and unchanging). Could this be related to the device being on USB power? Or a faulty BME280? Bit stuck.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKVLV5JNR4MO6K2HF2LP2ZTSJA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZQS3I#issuecomment-502466925, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKU4EPXFIAJH2QJ4X3LP2ZTSJANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Hi Kris, I am just running off USB power at the moment. No battery tried so far.

I am definitely getting data back to TTN and Cayenne every minute. Including data from the BME280. But the BME data is just wrong. It's outside right now and I know what values I should be getting, but am not getting them. Moreover, over time they just do not change. Even if I bring the device inside, the values do not change. 12 hours last night it reported 20C and did not change. I got the value 20 every minute for 12 hours straight.

I don't think I have screwed anything up, and clearly the BME280 is working to a degree (no hardware error) , but somewhere the values it is returning are messed up.

The only thing I can think of is that it must be faulty somehow?? But it seems mighty unlikely.

I want to persevere with it really .. happy to return if faulty and pay for shipping back of a replacement.

patmolloy commented 5 years ago

Last 3 packets in the TTN console .. GPS changed a tiny bit. BME280 values rock solid but Temp and Humid wrong .. It's 18.2C and 73% right now (two different sources agree).

image

kriswiner commented 5 years ago

So do the values change on the laptop monitor? Is there something wrong with TTN or more likely the changes you made to the sketch? Looks like you are sending the initial values via TTN and probably not updating. Send me your main sketch and I will show you the problem.

On Sun, Jun 16, 2019 at 10:38 AM Pat Molloy notifications@github.com wrote:

Last 3 packets in the TTN console .. GPS changed a tiny bit. BME280 values rock solid but Temp and Humid wrong .. It's 18.2C and 73% right now (two different sources agree).

[image: image] https://user-images.githubusercontent.com/4441625/59567420-95277b00-9065-11e9-93be-473bda1cd8c0.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKXGF5LEMYYYKSRKMOTP2Z3A3A5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZRVIA#issuecomment-502471328, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKSI3RCZGSS2Q32GU73P2Z3A3ANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Chris, here is the .ino (just saved as .txt). It is literally your example with only the following lines altered ..

const char *appEui = "70B3D57ED001DDB7";
const char *appKey = "ACF8ADB08F84ED97777A8973B5385173";
const char *devEui = "567890ABCDEF0102";

LoRaWAN.begin(EU868);
LoRaWAN.setADR(true);
LoRaWAN.setSubBand(2); // 1 for MTCAP, 2 for TT gateways

The serial debug monitor does not output data for the BME280 except at startup ...

AssetTracker_longCricket.txt

patmolloy commented 5 years ago

Here is the SerialMonitor output on boot ... SerialMonitor.txt

kriswiner commented 5 years ago

"The serial debug monitor does not output data for the BME280 except at startup ..."

It should output this data every minute. Are you saying it never does after the initial report?

On Sun, Jun 16, 2019 at 11:00 AM Pat Molloy notifications@github.com wrote:

Chris, here is the .ino (just saved as .txt). It is literally your example with only the following lines altered ..

const char appEui = "70B3D57ED001DDB7"; const char appKey = "ACF8ADB08F84ED97777A8973B5385173"; const char *devEui = "567890ABCDEF0102";

LoRaWAN.begin(EU868); LoRaWAN.setADR(true); LoRaWAN.setSubBand(2); // 1 for MTCAP, 2 for TT gateways

The serial debug monitor does not output data for the BME280 except at startup ...

AssetTracker_longCricket.txt https://github.com/kriswiner/CMWX1ZZABZ/files/3294401/AssetTracker_longCricket.txt

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKWNDX3VIPQZ4UDEMRDP2Z5VBA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZSB2Q#issuecomment-502472938, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKV2VZ3UIZGXSM3OR4DP2Z5VBANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Don't see it .. there is a lot of GPS chatter, but I cannot see anything else after the initial report.

kriswiner commented 5 years ago

Very odd, try one second interval:

change this:

RTC.enableAlarm(RTC.MATCH_SS); // alarm once per minute // RTC.enableAlarm(RTC.MATCH_ANY); // alarm once a second

to this:

//RTC.enableAlarm(RTC.MATCH_SS); // alarm once per minute RTC.enableAlarm(RTC.MATCH_ANY); // alarm once a second

You should see BME280 data every second

On Sun, Jun 16, 2019 at 11:17 AM Pat Molloy notifications@github.com wrote:

Don't see it .. there is a lot of GPS chatter, but I cannot see anything else after the initial report.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKV3ZNA5ZU4GE7EURTDP2Z7VDA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZSLAI#issuecomment-502474113, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKWRIJ7D46OBTGD5O3DP2Z7VDANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Ok, will do. Searching thru I did actually find one instance .. buried in a lot of GPS logging ..

LOCATION: 3D 2019/6/16 18:09:05.000 17D LLA=51.4572334,-0.2193177,34.605 EPE=6.879,6.225 SATELLITES=6 DOP=2.80,2.80

SATELLITES: 12
      G1: SNR=25, ELEVATION=83, AZIMUTH=325, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING
      G3: SNR=42, ELEVATION=50, AZIMUTH=227, ALMANAC, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING
      G4: SNR=0, ELEVATION=0, AZIMUTH=0
      G8: SNR=37, ELEVATION=30, AZIMUTH=165, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING
     G11: SNR=33, ELEVATION=78, AZIMUTH=162, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING
     G22: SNR=35, ELEVATION=73, AZIMUTH=215, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING
     G28: SNR=33, ELEVATION=28, AZIMUTH=275, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING
     G32: SNR=23, ELEVATION=0, AZIMUTH=0, ACQUIRED
    S120: SNR=0, ELEVATION=29, AZIMUTH=199
    S123: SNR=37, ELEVATION=24, AZIMUTH=142, ACQUIRED, LOCKED
    S136: SNR=0, ELEVATION=31, AZIMUTH=173
    R???: SNR=35, ELEVATION=0, AZIMUTH=0, ACQUIRED
VBAT = 0.03 V
BME280:
Altimeter temperature = 19.62 C
Altimeter temperature = 67.32 F
Altimeter pressure = 1015.10 mbar
Altitude = -50.46 feet
Altimeter humidity = 51.9 %RH

RTC:
RTC Time = 18:09:05.627 
RTC Date = 19:6:47

LOCATION: 3D 2019/6/16 18:09:06.000 17D LLA=51.4572334,-0.2193200,34.455 EPE=6.816,6.197 SATELLITES=6 DOP=2.80,2.80
kriswiner commented 5 years ago

OK, seems like it is working. Then why is this not showing up on TTN?

On Sun, Jun 16, 2019 at 11:22 AM Pat Molloy notifications@github.com wrote:

Ok, will do. Searching thru I did actually find one instance .. buried in a lot of GPS logging ..

LOCATION: 3D 2019/6/16 18:09:05.000 17D LLA=51.4572334,-0.2193177,34.605 EPE=6.879,6.225 SATELLITES=6 DOP=2.80,2.80

SATELLITES: 12 G1: SNR=25, ELEVATION=83, AZIMUTH=325, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING G3: SNR=42, ELEVATION=50, AZIMUTH=227, ALMANAC, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING G4: SNR=0, ELEVATION=0, AZIMUTH=0 G8: SNR=37, ELEVATION=30, AZIMUTH=165, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING G11: SNR=33, ELEVATION=78, AZIMUTH=162, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING G22: SNR=35, ELEVATION=73, AZIMUTH=215, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING G28: SNR=33, ELEVATION=28, AZIMUTH=275, EPHEMERIS, ACQUIRED, LOCKED, NAVIGATING G32: SNR=23, ELEVATION=0, AZIMUTH=0, ACQUIRED S120: SNR=0, ELEVATION=29, AZIMUTH=199 S123: SNR=37, ELEVATION=24, AZIMUTH=142, ACQUIRED, LOCKED S136: SNR=0, ELEVATION=31, AZIMUTH=173 R???: SNR=35, ELEVATION=0, AZIMUTH=0, ACQUIRED VBAT = 0.03 V BME280: Altimeter temperature = 19.62 C Altimeter temperature = 67.32 F Altimeter pressure = 1015.10 mbar Altitude = -50.46 feet Altimeter humidity = 51.9 %RH

RTC: RTC Time = 18:09:05.627 RTC Date = 19:6:47

LOCATION: 3D 2019/6/16 18:09:06.000 17D LLA=51.4572334,-0.2193200,34.455 EPE=6.816,6.197 SATELLITES=6 DOP=2.80,2.80

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKV3AUZWSYVR2AZFS7TP22AFPA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZSNTI#issuecomment-502474445, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKSQSJIKAZXJSB3UGATP22AFPANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Kris, here is what happened after that change .. The BME280 values look a lot more sensible (and are wobbling about a bit, which I would expect)

Shortly after the "GNSS go to sleep!" toward the end of the dump, the logging stopped (after the line "R???: SNR=36, ELEVATION=0, AZIMUTH=0, ACQUIRED, LOCKED"

SerialMonitor2.txt

kriswiner commented 5 years ago

Are you using the latest L0 core? Might load this and try again.

On Sun, Jun 16, 2019 at 11:36 AM Pat Molloy notifications@github.com wrote:

Kris, here is what happened after that change .. The BME280 values look a lot more sensible (and are wobbling about a bit, which I would expect)

Shortly after the "GNSS go to sleep!" toward the end of the dump, the logging stopped (after the line "R???: SNR=36, ELEVATION=0, AZIMUTH=0, ACQUIRED, LOCKED"

SerialMonitor2.txt https://github.com/kriswiner/CMWX1ZZABZ/files/3294457/SerialMonitor2.txt

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKTYNOF35B4Y7WSWPWTP22B3NA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZSVZQ#issuecomment-502475494, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKWBG3HTJHQC5DKSV7LP22B3NANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

BTW The logging did start up again, but contained only GPS stuff .. nothing else ...

Am using https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0

patmolloy commented 5 years ago

Ardunio config ..

image

patmolloy commented 5 years ago

Kris, I have to do some prep work for a project tomorrow (it's heading for 8pm here). WIll be back online later .. thanks for all the help and sorry for any trouble!

kriswiner commented 5 years ago

In the Boards manager you want to update the Tlera Boards core to v.0.0.10 see attached.

I think you are encountering a bug long fixed in a more recent version of the core.

On Sun, Jun 16, 2019 at 11:49 AM Pat Molloy notifications@github.com wrote:

Kris, I have to do some prep work for a project tomorrow (it's heading for 8pm here). WIll be back online later .. thanks for all the help and sorry for any trouble!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKUL54ZROIJWV4XGZ3LP22DNNA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZS47Y#issuecomment-502476415, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKVULXUUOL6MW7FWG2DP22DNNANCNFSM4HYQX2TQ .

kriswiner commented 5 years ago

tleraBoards

kriswiner commented 5 years ago

Go to the board manager, select TleraCorp boards, and update to the latest. Don't you have the JSON in the preferences?

On Sun, Jun 16, 2019 at 3:05 PM Pat Molloy notifications@github.com wrote:

Kris, where do I find this .. what is the URL I need to put into Additional Board Manager?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKWPMV3XAEFNJ4GMKNLP222LZA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZWEYQ#issuecomment-502489698, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKRLKYG7D7Z6QVJVOB3P222LZANCNFSM4HYQX2TQ .

kriswiner commented 5 years ago

Like this...

On Sun, Jun 16, 2019 at 3:10 PM Tlera Corporation tleracorp@gmail.com wrote:

Go to the board manager, select TleraCorp boards, and update to the latest. Don't you have the JSON in the preferences?

On Sun, Jun 16, 2019 at 3:05 PM Pat Molloy notifications@github.com wrote:

Kris, where do I find this .. what is the URL I need to put into Additional Board Manager?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/18?email_source=notifications&email_token=ABTDLKWPMV3XAEFNJ4GMKNLP222LZA5CNFSM4HYQX2T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZWEYQ#issuecomment-502489698, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKRLKYG7D7Z6QVJVOB3P222LZANCNFSM4HYQX2TQ .

patmolloy commented 5 years ago

Kris, I didn't have it .. but do now. I had manually created the folder/contents in arduino/hardware before ..

Just re-compiling ...

patmolloy commented 5 years ago

Voila ! It works :)

image