gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [RFC] Add support for Airmar PB200 Weather station


From: chris
Subject: [gpsd-dev] [RFC] Add support for Airmar PB200 Weather station
Date: Sat, 21 Apr 2012 10:34:16 +0100

From: Christian Gagneraud <address@hidden>

The Airmar PB200 [1] is a weather station to be installed on boats.
It has built-in GPS, accelerometer, compass, gyro, anemometer, pressure and 
temperature sensor. It has 2 outputs, one for NMEA0183 and one for
NMEA2000 (I've seen the recent addition for NMEA2000, I'm interesting
to make some tests and hacking around). 

It provides quite a lot of information and use the following NMEA sentences:
 - Usual GPS ones
 - TIROT, HCHDG and HCHDT for heading related data
 - WIMWD, WIMWV, WIVWR and WIVWT for wind related data
 - WIMDA for other meteorological data
 - WIXDR for detailed transducer measurements/calculations

This is a WIP, I thought it might be worse to start the review early.
Things I didn't look at yet:
 - Update other tools (xgps, gpspipe, ....)
 - Update the testsuite(s)
 - Update documentation

I naively added a wind data structure, but the WIMDA would require to
add yet another one (and in my case the WIXDR will bring even more
meteo data than the WIMDA). So maybe these two should be merged
together. Though, I didn't do it because there are several ways to
express the wind, both for the wind direction and for the wind speed
can be viewed from different referential frames: the moving boat, the
moving water or the fixed ground, and why not one of these days the
moving air mass (for flying things obviously).

It is likely that I will come one day with yet another structure:
engine. I would like to install my openwrt/gpsd based system on a
boat, and it has two engines that speak NMEA200 only (I let you
imagine how high I jumped off my chair when I saw the new NMEA200 code
coming in... ;))

Notes:
 - There are as well an older model PB100 [2], and a "low cost" model PB150 [3].
   They either use a subset of the PB200 NMEA or slightly different ones.
 - Other weather stations output a subset of the above sentences, I'm aware of 
and I 
   (use to) use the Vaisala WXT510/520 [4][5] and the Radio Ocean ROWIND [6].

TODO:
 - WIMDA support
 - WIXDR/YXXDR support 
 - PB200 config support (activate sentences and change baudrate)

[1] http://www.airmartechnology.com/uploads/installguide/PB200UserManual.pdf
[2] 
http://www.airmartechnology.com/uploads/installguide/PB100TechnicalManual_rev1.007.pdf
[3] http://www.riocean.com/ioshop/specs/Airmar_PB150_Manual.pdf
[4] http://s.campbellsci.com/documents/us/manuals/wxt510.pdf
[5] http://s.campbellsci.com/documents/us/manuals/wxt520.pdf

Christian Gagneraud (6):
  Add missing attitude field initialisation in NMEA TNTHTM
  Add new NMEA talker ID (WI, HC and TI)
  Add new fields to the attitude data structure
  Add heading and rate of turn NMEA sentences (HDG, ROT)
  Add a wind data structure
  Add Wind related NMEA sentence (MWD, MWV, VWR, VWT)

 driver_nmea0183.c |  314 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 gps.h             |   28 +++++-
 gps_json.h        |    1 +
 gpsd.c            |    2 +-
 gpsd_json.c       |   59 ++++++++++
 libgps_json.c     |   42 +++++++
 packet.c          |   27 +++++
 packet_states.h   |    3 +
 8 files changed, 473 insertions(+), 3 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]