Expedition Expedition Navigation Software

You are not logged in. Would you like to login or register?



2/28/2019 2:34 pm  #1


Adding sensor

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?

 

2/28/2019 2:59 pm  #2


Re: Adding sensor

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)

 

2/28/2019 3:04 pm  #3


Re: Adding sensor

What does the data look like?

 

2/28/2019 3:24 pm  #4


Re: Adding sensor

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

     Thread Starter
 

2/28/2019 4:53 pm  #5


Re: Adding sensor

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.

 

2/28/2019 5:33 pm  #6


Re: Adding sensor

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)

     Thread Starter
 

2/28/2019 5:43 pm  #7


Re: Adding sensor

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.

 

Board footera

 

Powered by Boardhost. Create a Free Forum


Interested in advertising here? Over a thousand active navigators and Expedition users visit this forum. Click here to contact the administrator.