A method of configuring an optical deflection device, the optical deflection device comprising: a mirror having a reflective surface; a pair of meander-shaped beam portions configured to rotatably support the mirror, each meander-shaped beam portion having a plurality of beam portions (4a, 4b) alternately connected at folding-back sections to form a meander shape; a plurality of piezoelectric members (5a, 5b) provided on the respective beam portions (4a, 4b) and applied with voltage waveforms to deform the respective beam portions (4a, 4b), wherein accumulated deformation of the respective beam portions (4a, 4b) causes mirror to rotate; and a voltage controller that applies a periodic voltage waveform to the respective piezoelectric members (5a, 5b), characterized in that the method comprises: selecting a temperature range that is a range of temperatures in which the optical deflection device will be used; and setting the driving frequency of the voltage waveform based on an equation of the form n < (f0+Δf)/fv < n+1 for all values of Δf, wherein n is an integer, fv is the driving frequency of the voltage waveform, Δf is the frequency shift of the mechanical resonance frequency modes due to temperature change across the selected temperature range, and f0 is the mechanical resonance frequency of the system including the mirror, the meander-shaped beam portions and the piezoelectric members (5a, 5b). a mirror having a reflective surface; a pair of meander-shaped beam portions configured to rotatably support the mirror, each meander-shaped beam portion having a plurality of beam portions (4a, 4b) alternately connected at folding-back sections to form a meander shape; a plurality of piezoelectric members (5a, 5b) provided on the respective beam portions (4a, 4b) and applied with voltage waveforms to deform the respective beam portions (4a, 4b), wherein accumulated deformation of the respective beam portions (4a, 4b) causes mirror to rotate; and a voltage controller that applies a periodic voltage waveform to the respective piezoelectric members (5a, 5b), characterized in that the method comprises: selecting a temperature range that is a range of temperatures in which the optical deflection device will be used; and setting the driving frequency of the voltage waveform based on an equation of the form n < (f0+Δf)/fv < n+1 for all values of Δf, wherein n is an integer, fv is the driving frequency of the voltage waveform, Δf is the frequency shift of the mechanical resonance frequency modes due to temperature change across the selected temperature range, and f0 is the mechanical resonance frequency of the system including the mirror, the meander-shaped beam portions and the piezoelectric members (5a, 5b). selecting a temperature range that is a range of temperatures in which the optical deflection device will be used; and setting the driving frequency of the voltage waveform based on an equation of the form n < (f0+Δf)/fv < n+1 for all values of Δf, wherein n is an integer, fv is the driving frequency of the voltage waveform, Δf is the frequency shift of the mechanical resonance frequency modes due to temperature change across the selected temperature range, and f0 is the mechanical resonance frequency of the system including the mirror, the meander-shaped beam portions and the piezoelectric members (5a, 5b).