A very small and economical acceleration sensor which can detect acting acceleration with high sensitivity and high accuracy by precisely processing a semiconductor substrate and the like by using the photoengraving technique in a semiconductor manufacturing process to accurately form the elements themselves such as a sensor case, a cavity, a heater, a temperature-sensing resistor element, and a h