Temperature Sensor Thermocouple API for MCU like Arduino
Temperature Sensor Thermocouple API for MCU like Arduino This library added a few API for Arduino and similar MCU to easily work on a common temperature sensor - thermocouple. K type in this library but can be easily add support for other type like JType thermocouple. In this test, I use the KType thermocouple from a multimeter, which seems works well on a few different brands of multiple. Theory of operation Thermocouple produce a tiny voltage when it has temperature different than the environment or cold end, the tiny voltage can not be detected by arduino ADC directly, we must add a opAmp to amplify it a hundred times, so arduino ADC can correctly read it. Any opamp works, I am using MCP6002 here. (The popular and cheapest LM358 works too, however need to pay attention LM358 doesn't work well in 3.3V system. ) D3 is optional, to limit the input. Software and Algorithm: There are a few ways to work on the opAmp output voltage. The easiest but not accurate: using voltage pe...