//---------------------------------------- // File: "wandSpecificCals.h" // ADS1112 Specific Calibrations for 'THIS MOTE' //---------------------------------------- struct adsCalStuff adsCals[NWANDS*2] = { {"48-7", ADC0, -0.0022, 0.99974 }, // First 3-PAR ADC {"4A-7", ADC1, -0.0016, 0.99979 }, {"4C-7", ADC2, -0.0014, 1.00024 }, {"4E-7", ADC3, -0.0011, 0.9997 }, { "48", ADCxy0, 0.0, 1.0 }, // For LEVEL Sensors, Unity Gain: { "4A", ADCxy1, 0.0, 1.0 }, { "4C", ADCxy2, 0.0, 1.0 }, { "4E", ADCxy3, 0.0, 1.0 } }; // PAR Specific Calibrations struct adsChanStuff parCoefs[NWANDS*WANDSENSORS] = { {"CUpar69", 0, CHAN_SE0, 0.0, 1150.413, 0}, //1st ADC {"CUpar68", 0, CHAN_SE1, 0.0, 1088.209, 0}, {"CUpar67", 0, CHAN_SE2, 0.0, 1079.486, 0}, {"CUpar85", 1, CHAN_SE0, 0.0, 1165.017, 0}, //2nd ADC {"CUpar84", 1, CHAN_SE1, 0.0, 1133.452, 0}, {"CUpar83", 1, CHAN_SE2, 0.0, 1175.888, 0}, {"CUpar72", 2, CHAN_SE0, 0.0, 1089.764, 0}, //3rd ADC {"CUpar71", 2, CHAN_SE1, 0.0, 1125.880, 0}, {"CUpar70", 2, CHAN_SE2, 0.0, 1156.756, 0}, {"CUpar00", 3, CHAN_SE0, 0.0, 1000.000, 0}, //4th ADC {"CUpar00", 3, CHAN_SE1, 0.0, 1000.000, 0}, {"CUpar00", 3, CHAN_SE2, 0.0, 1000.000, 0} }; // Level Specific Calibrations struct adsChanStuff adsXYCoefs[NWANDS*LEVELSENSORS] = { {"48-7X", 4, CHAN_SE0, 178.0601, -105.3489, 0}, //1st ADC {"48-7Y", 4, CHAN_SE1, 243.1412, -133.7653, 0}, {"4A-7X", 5, CHAN_SE0, 142.61188, -89.91249, 0}, //2nd ADC {"4A-7Y", 5, CHAN_SE1, 138.6848, -86.89639, 0}, {"4C-7X", 6, CHAN_SE0, 184.8257, -110.8523, 0}, //3rd ADC {"4C-7Y", 6, CHAN_SE1, 212.8976, -116.653, 0}, {"4E-7X", 7, CHAN_SE0, 230.3162, -136.1573, 0}, //4th ADC {"4E-7Y", 7, CHAN_SE1, 152.42527, -97.23263, 0} };