PROBLEM TO BE SOLVED: To provide at low cost, a semiconductor device of low power consumption which can stably store information of an analog value with high accuracy.SOLUTION: A semiconductor device 100 has a power supply part 101, a sensor part 102 and a storage element part 103. The sensor part 102 acquires information of an analog value. And the storage element part 103 stores the information of the analog value. A channel formation region of a transistor 104 included in the storage element part 103 is formed in an oxide semiconductor film. And a measurement function and a storage function of the information of the analog value are packaged without providing analog-digital conversion circuit in the semiconductor device 100.【課題】アナログ値の情報を安定的、かつ高精度に記憶できる低消費電力の半導体装置を低コストで提供する。【解決手段】半導体装置100は、電源部101、センサ部102、および記憶素子部103を有する。センサ部102はアナログ値の情報を取得する。また、記憶素子部103がアナログ値の情報を記憶する。記憶素子部103が有するトランジスタ104のチャネル形成領域が、酸化物半導体膜に形成される。また、半導体装置100内にアナログデジタル変換回路を設けず、アナログ値の情報の測定機能と記憶機能を実装する構成とする。【選択図】図1