File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11//
22// FILE: MAX31855.cpp
33// AUTHOR: Rob Tillaart
4- // VERSION: 0.1.06
4+ // VERSION: 0.1.07
55// PURPOSE: MAX31855 - Thermocouple
66// DATE: 2014-01-01
77// URL:
88//
99// HISTORY:
10+ // 0.1.07 2015-12-06 updated TC factors from the MAX31855 datasheet
1011// 0.1.06 2015-12-05 added support for other types of TC's (experimental)
1112// 0.1.05 2015-07-12 refactor robust constructor
1213// 0.1.04 2015-03-09 replaced float -> double (ARM support)
Original file line number Diff line number Diff line change 11//
22// FILE: MAX31855.h
33// AUTHOR: Rob Tillaart
4- // VERSION: 0.1.06
4+ // VERSION: 0.1.07
55// PURPOSE: MAX31855 - Thermocouple
66// DATE: 2014-01-01
77// URL:
1717#include " Arduino.h"
1818#endif
1919
20- #define MAX31855_VERSION " 0.1.06 "
20+ #define MAX31855_VERSION " 0.1.07 "
2121
2222#define STATUS_OK 0x00
2323#define STATUS_OPEN_CIRCUIT 0x01
4040// S_TC = 6 => 41/6 = 6.8333333333
4141// T_TC = 41 => 41/41 = 1
4242
43- #define E_TC 0.6721311475
44- #define J_TC 0.7884615385
45- #define K_TC 1
46- #define N_TC 1.5185185185
47- #define R_TC 4.5555555556
48- #define S_TC 6.8333333333
49- #define T_TC 1
43+ // 0.1.07 updated with numbers from the MAX31855 datasheet
44+ #define E_TC (41.276 /76.373 )
45+ #define J_TC (41.276 /57.953 )
46+ #define K_TC (41.276 /41.276 )
47+ #define N_TC (41.276 /36.256 )
48+ #define R_TC (41.276 /10.506 )
49+ #define S_TC (41.276 /9.587 )
50+ #define T_TC (41.276 /52.18 )
5051
5152
5253class MAX31855
You can’t perform that action at this time.
0 commit comments