But a mercury-in-glass thermometer is also a sensor ; it converts the measured temperature into expansion and contraction of a liquid which can be read on a calibrated glass tube .
For example , a mercury thermometer converts the measured temperature into the expansion and contraction of a liquid which can be read on a calibrated glass tube .