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.5 V
- Number of bits: 14
- Jusfitication: right
Signal conditioning
- amplifier
- amplification: 31
- offset: 0.75 V
To do:
- Write a function that calculates the sensed value as a function of the ADC code!
Test data:
sensor input | sensor output | ADC input | ADC output | calculated sensor input |
---|
76 C | 0.00304 V | 0.84424 V | 9221 | 75.974 C |
203 C | 0.00812 V | 1.00172 V | 10941 | 202.967 C |
506 C | 0.02024 V | 1.37744 V | 15045 | 505.977 C |