The air quality detector adopts a high-sensitivity electrochemical sensor. The HCHO sensor uses the scientific and effective electrochemical principles to sensitively and accurately detect the formaldehyde concentration in the air. When there is indeed formaldehyde existing, a low DC current will be generated. Combined with a high-precision amplifier circuit and AD sampling, the formaldehyde concentration will be measured.