An electronically controlled thermostat enabling stable valve body actuation, preventing overshooting and hunting, and with reduced size and simplified construction. The higher temperature nitrogen containing gases are combusted in a chamber outside the main chamber. A set of word lines is configured such that one of the plurality of word lines is connected to each bit cell in a row of bit cells. The microcontroller can store the most recent calibrated flow rate in the non-volatile storage.