The cylindrical cladding optical waveguides were fabricated in lithium niobate crystal by using the method of femtosecond laser direct writing. The temperature sensor, using the specklegram generated from laser transmissing in the waveguide, was achieved based on the average speckle intensity variation algorithm. And the influence of the core diameter of the waveguide on the sensitivity of the sensor was verified. Experimental results show that the temperature sensing resolution of this sensor can reach 0.05℃, and its dynamic range can reach 20℃. The sensitivity of the optical waveguide with a core diameter of 60μm is much higher than that of the 30μm optical waveguide. The scheme effectively reduces the volume of the sensing system by virtue of the geometrical size of the crystal waveguide, and further expands the applications of the crystal waveguide in the integrated optical system.