Carbon dioxide sensor using thermophilic bacteria