Disclosed is a liquid lens apparatus. A first gear train for connecting the rotary unit to a drive source to rotate the rotary unit. A protection circuit is provided between at least one terminal of terminals of the terminal portion and a power supply terminal of a high potential and between the one terminal and a power supply terminal of a low potential. The described key is a desirably large key that is randomly generated by the operating system. It provides a highly reliable electronic part, its fabrication method as well as an acceleration sensor using the electronic part and its fabrication method.