I use an Arduino baro sensor that outputs BARO and TEMP. However I cannot get TEMP to display in Expedition. Is there a method of adding a this ie user channel?
Offline
Expedition has a channel called "Air temperature"
If you use NMEA 0183 then your Arduino should send an XDR sentence to Expedition. Like:
$INXDR,C,17.16,C,AIRT*68
Last edited by ZeeZee (2/28/2019 3:15 pm)
Offline
What does the data look like?
Baro displays fine in Expedition.
I have tried sea and air temp in number boxes, but cannot read the TEMP. Temp displays in Open CPN.
monitoring com port,
$WIXDR,C,27.39,C,TEMP,P,1.01572,B,BARO*5F
$WIXDR,C,27.38,C,TEMP,P,1.01578,B,BARO*54
$WIXDR,C,27.37,C,TEMP,P,1.01571,B,BARO*52
$WIXDR,C,27.36,C,TEMP,P,1.01569,B,BARO*5A
$WIXDR,C,27.35,C,TEMP,P,1.01570,B,BARO*51
$WIXDR,C,27.35,C,TEMP,P,1.01570,B,BARO*51
Offline
The problem with XDR is that nothing was officially defined. In the latest 4.11 specification, they do define some things. For example, "Air" is now defined for air temperature.
At present, Exp supports XDR fields AIRTEMP and TempAir for air temperature. I can easily add TEMP, but worry it could also be used by legacyapplications for water temperature.
Thanks Nick and Zee Zee,
I had a look at Arduino sketch code and changed one line so now the data outputted is -
$WIXDR,C,25.74,C,AIRT,P,1.01547,B,BARO0*8
Expedition now displays both values for BARO and AIR TEMPERATURE.
Cheers!
Last edited by roflcopter (2/28/2019 5:38 pm)
Offline
If it helps, the NMEA standards for those are now "Air" and "Baro". Just published in my Jan/Feb magazine I see.
I will update Exp for the additions.