Aiming at the defects of current thermal mass flow sensor, we developed a novel thermal gas mass flowmeter based on the principle of constant power, which consists of semiconductor sensors and a microcontroller as the core controller. The design plan is carried out on the basis of simple structure and reasonable cost, which maximizes accuracy and reliability of the flowmeter. The experimental results verify that the flow meter is running well and achieves the overall performance goals of the plan.