mirror of https://github.com/arendst/Tasmota.git
Add support for MAX31855
Add support for MAX31855 K-Type thermocouple sensor using softSPI (#4764)
This commit is contained in:
parent
de8ce9aa9d
commit
f12261e4fa
|
@ -1,5 +1,6 @@
|
|||
/* 6.4.1.3 20181229
|
||||
* Change sonoff_template.h module lay-out by removing non-configurable GPIOs
|
||||
* Add support for MAX31855 K-Type thermocouple sensor using softSPI (#4764)
|
||||
*
|
||||
* 6.4.1.2 20181228
|
||||
* Change switch driver making it modular and introduce input filter (#4665, #4724)
|
||||
|
|
|
@ -285,9 +285,6 @@
|
|||
// #define W1_PARASITE_POWER // If using USE_DS18x20 then optimize for parasite powered sensors
|
||||
// #define DS18B20_INTERNAL_PULLUP // Use INPUT_PULLUP internal pullup resistors for single DS18B20
|
||||
|
||||
// -- SPI sensors ----------------------------------
|
||||
#define USE_MAX31855 // Enable MAX31855 K-Type thermocouple sensor
|
||||
|
||||
// -- I2C sensors ---------------------------------
|
||||
#define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram)
|
||||
|
||||
|
@ -382,6 +379,8 @@
|
|||
#define USE_MCP39F501 // Add support for MCP39F501 Energy monitor as used in Shelly 2 (+3k1 code)
|
||||
|
||||
// -- Low level interface devices -----------------
|
||||
//#define USE_MAX31855 // Add support for MAX31855 K-Type thermocouple sensor using softSPI
|
||||
|
||||
#define USE_IR_REMOTE // Send IR remote commands using library IRremoteESP8266 and ArduinoJson (+4k3 code, 0k3 mem, 48 iram)
|
||||
// #define USE_IR_HVAC // Support for HVAC (Toshiba, Mitsubishi and LG) system using IR (+3k5 code)
|
||||
#define USE_IR_RECEIVE // Support for IR receiver (+7k2 code, 264 iram)
|
||||
|
|
|
@ -116,6 +116,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#define USE_PZEM_AC // Add support for PZEM014,016 Energy monitor (+1k1 code)
|
||||
#define USE_PZEM_DC // Add support for PZEM003,017 Energy monitor (+1k1 code)
|
||||
#define USE_MCP39F501 // Add support for MCP39F501 Energy monitor as used in Shelly 2 (+3k1 code)
|
||||
#define USE_MAX31855 // Add support for MAX31855 K-Type thermocouple sensor using softSPI
|
||||
#define USE_IR_REMOTE // Send IR remote commands using library IRremoteESP8266 and ArduinoJson (+4k code, 0k3 mem, 48 iram)
|
||||
#define USE_IR_HVAC // Support for HVAC system using IR (+2k code)
|
||||
#define USE_IR_RECEIVE // Support for IR receiver (+5k5 code, 264 iram)
|
||||
|
@ -182,6 +183,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#undef USE_TUYA_DIMMER // Disable support for Tuya Serial Dimmer
|
||||
#undef USE_ARMTRONIX_DIMMERS // Disable support for Armtronix Dimmers (+1k4 code)
|
||||
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer
|
||||
#undef USE_MAX31855 // Disable MAX31855 K-Type thermocouple sensor using softSPI
|
||||
#undef USE_IR_REMOTE // Disable IR remote commands using library IRremoteESP8266 and ArduinoJson
|
||||
#undef USE_IR_RECEIVE // Disable support for IR receiver
|
||||
#undef USE_ARILUX_RF // Disable support for Arilux RF remote controller
|
||||
|
@ -303,6 +305,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#undef USE_PZEM_AC // Disable PZEM014,016 Energy monitor
|
||||
#undef USE_PZEM_DC // Disable PZEM003,017 Energy monitor
|
||||
//#undef USE_MCP39F501 // Disable MCP39F501 Energy monitor as used in Shelly 2
|
||||
#undef USE_MAX31855 // Disable MAX31855 K-Type thermocouple sensor using softSPI
|
||||
#undef USE_IR_REMOTE // Disable IR driver
|
||||
#undef USE_WS2812 // Disable WS2812 Led string
|
||||
#undef USE_ARILUX_RF // Disable support for Arilux RF remote controller
|
||||
|
@ -366,6 +369,7 @@ void KNX_CB_Action(message_t const &msg, void *arg);
|
|||
#undef USE_PZEM_AC // Disable PZEM014,016 Energy monitor
|
||||
#undef USE_PZEM_DC // Disable PZEM003,017 Energy monitor
|
||||
#undef USE_MCP39F501 // Disable MCP39F501 Energy monitor as used in Shelly 2
|
||||
#undef USE_MAX31855 // DIsable MAX31855 K-Type thermocouple sensor using softSPI
|
||||
#undef USE_IR_REMOTE // Disable IR driver
|
||||
#undef USE_WS2812 // Disable WS2812 Led string
|
||||
#undef USE_ARILUX_RF // Disable support for Arilux RF remote controller
|
||||
|
|
|
@ -365,15 +365,17 @@ void GetFeatures(void)
|
|||
feature_sns2 |= 0x00008000; // xsns_37_rfsensor.ino
|
||||
#endif
|
||||
#ifdef USE_THEO_V2
|
||||
feature_sns2 |= 0x00010000;
|
||||
feature_sns2 |= 0x00010000; // xsns_37_rfsensor.ino
|
||||
#endif
|
||||
#ifdef USE_ALECTO_V2
|
||||
feature_sns2 |= 0x00020000;
|
||||
feature_sns2 |= 0x00020000; // xsns_37_rfsensor.ino
|
||||
#endif
|
||||
#ifdef USE_AZ7798
|
||||
feature_sns2 |= 0x00040000;
|
||||
feature_sns2 |= 0x00040000; // xsns_38_az7798.ino
|
||||
#endif
|
||||
#ifdef USE_MAX31855
|
||||
feature_sns2 |= 0x00080000; // xsns_39_max31855.ino
|
||||
#endif
|
||||
// feature_sns2 |= 0x00080000;
|
||||
// feature_sns2 |= 0x00100000;
|
||||
// feature_sns2 |= 0x00200000;
|
||||
// feature_sns2 |= 0x00400000;
|
||||
|
|
|
@ -135,7 +135,7 @@ a_features = [[
|
|||
"USE_MCP230xx_OUTPUT","USE_MCP230xx_DISPLAYOUTPUT","USE_HLW8012","USE_CSE7766",
|
||||
"USE_MCP39F501","USE_PZEM_AC","USE_DS3231","USE_HX711",
|
||||
"USE_PZEM_DC","USE_TX20_WIND_SENSOR","USE_MGC3130","USE_RF_SENSOR",
|
||||
"USE_THEO_V2","USE_ALECTO_V2","USE_AZ7798","",
|
||||
"USE_THEO_V2","USE_ALECTO_V2","USE_AZ7798","USE_MAX31855",
|
||||
"","","","",
|
||||
"","","","",
|
||||
"","","",""]]
|
||||
|
|
Loading…
Reference in New Issue