Refractive index change of liquids was detected using a temperature compens
ated prism cavity together with a diffractive optical element fabricated by
electron beam lithography. Small changes of refractive index could be dete
cted from image data of the sensor.