Homemade ADC for thermocouple type K ad7810