Microcontroller sensor interfacing exercises
K thermocouple temperature sensor
- sensitivity: 40 uV/C, offset: 0V at 0C
- output voltage range: -0.008 V to 0.024 V
ADC
- Voltage reference: 1.1 V
- Number of bits: 11
- Jusfitication: right
Signal conditioning
- amplifier
- amplification: 22
- offset: 0.55 V
To do:
- Write a function that calculates the ADC code as a function of the sensed value!
Test data:
sensor input | sensor output | ADC input | ADC output | calculated sensor input |
---|
327 C | 0.01308 V | 0.83776 V | 1560 | 327.148 C |
58 C | 0.00232 V | 0.60104 V | 1119 | 57.9834 C |
494 C | 0.01976 V | 0.98472 V | 1833 | 493.774 C |