Mae'r thermomedr yn gweithio ar yr egwyddor o ehangu thermol a chrebachu thermol