I was wondering if anyone has ever tried connecting a thermocouple to a micro prosessor. Can this be done directly to one of the A/D ports, or is there some sort of signal amplification or something else necessary?
As the signal level out of a thermocouple is generally in the millivolt range, some amplification is necessary. If the A to D has a 10 volt range and has 10 bits resolution, then the LSB will encompass the entire range of the unamplified thermocouple output. The conventional formula is to adjust the gain so the maximum output is just equal to the maximum voltage the A to D input can handle
If convenience and minimal external circuitry is beneficial to your project, you may derive a bit of both if you consider using a 1-wire DS18B20 temperature IC. You have not outlined the accuracy in temperature that you are needing to achieve so only you can assess the suitability of this device to your solution.
I have interfaced this device to an Atmega2313 and it worked quite well. The 1-wire interface only ties up one IO line so it has minimal impact on your available IO resources.
Be sure to provide your ATMEGA88 (uC assumption based on one of your other threads) design with an ISP programming port in mind. You will not regret it.
You have to amplify the thermocouple signal using an external OPAMP, to get the sutable signal level.
Also you have to use cold junction compensation circuit ( because thermocouple always gives the voltage proportional to the temp between the tip of the sensor and the abolute zero deg).