co2_t6603

T6603_CO2, read values from GE/Telaire T6603 CO2 sensor.

Author Eur van Andel, eur@fiwihex.nl Copyright (c) 2008
Adapted-by
Compiler =2.4h

Description

this library communicates with the T6603 GE/Telaire CO2 sensor.
This sensor uses the Telaire Tsunami-Lite Commnications Protocol 
(no kidding), which is a definition with zero hits on Google. 
available functions are:
get_status() return byte
get_co2_ppm() return word           -- CO2 concentration in ppm 
get_serial_numer() return string[15]
get_elevation_m() return word       -- in meters above sea level


Sources

The brochure is here: www.gesensing.com/downloads/datasheets/920-419A_LR.pdf
Some clippings from the protocol document:


------------ START OF PROTOCOL DOCUMENT CLIPPINGS  ---------------------


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Functions


API details

Global variables/contants

Procedures

Functions

  • get_co2_elevation_m() return word

    returns programmed elevation above sea level in meters
    this elevation is uses to calculate CO2 concentration correctly
    

  • get_co2_ppm() return word

    returns a word with CO2 concentration in ppm
    note: if sensor is busy measuring the CO2 values, it will give garbage reply
    reply is checked for garbage and if so, *PREVIOUS* ppm value is returned
    

  • get_co2_status() return byte

    returns status byte. bit_0 = error, bit_1 = warmup, 
    bit_2 = calibration, bit_3 = idle
    


Related samples

Here are the list of samples which use this library:

16f876a16f876a_t6603.jal
16f877a16f877a_co2_t6603.jal