Setting linear calibration of BME280 for iDryer

/**********************
110 Celsius enabler
100 or 110
********************/

#define CE 100 //*

// Linear Temperature Calibration for BME280
#define MIN_CALIB_TEMP 25 // Regular ambient temperature
#define MAX_CALIB_TEMP CE //!! Do not edit
#define REAL_CALIB_TEMP_MIN 25 // BME280 readings at regular air temperature
#define REAL_CALIB_TEMP_MAX 100 // BME280 readings during thermocouple calibration

Write it like this
you’re telling the firmware that when the target is 110, the real temp is 120, so it lowers the whole range linearly

delete that nonsense about T_0 and T_100, that’s from 0.5.5, here it just doesn’t work

🇷🇺 Оригинал

/**********************
110 Celsius enabler
100 or 110
********************/

#define CE 100 //*

// Linear Temperature Calibration for BME280
#define MIN_CALIB_TEMP 25 // Regular ambient temperature
#define MAX_CALIB_TEMP CE //!! Do not edit
#define REAL_CALIB_TEMP_MIN 25 // BME280 readings at regular air temperature
#define REAL_CALIB_TEMP_MAX 100 // BME280 readings during thermocouple calibration

Вот так напиши
ты говоришь прошивке что при требуемых 110 у тебя оеальные 120, она понижает линейно весь диапазон

дичь про T_0 и Т_100 удали, это из 0.5.5, тут оно просто не работает

and here should I leave it at 120 or set it to 100?

🇷🇺 Оригинал

а здесь оставить 120 или поставить 100?

everything exactly like I wrote)
first let’s just get it up to temp, then we’ll calibrate

🇷🇺 Оригинал

все как я написал)
сначала запустим просто выход на режим а потом калибровать будем

like this, I think?

🇷🇺 Оригинал

так вроде?

#define REAL_CALIB_TEMP_MAX 100

#define REAL_CALIB_TEMP_MIN 25

🇷🇺 Оригинал

#define REAL_CALIB_TEMP_MAX 100

#define REAL_CALIB_TEMP_MIN 25

🇷🇺 Оригинал

start it up) [iz chata]

🇷🇺 Оригинал

запускай) [iz chata]