Microbial fuel cells generate an electrical signal when microbes enter the cells through a semipermeable membrane. By reading and analyzing the signal from one or more such fuel cells can indicate infection in people or animals, indicate pathogens growing in food or show mold growth. Insofar as different microbes have specific metabolisms, the signal may be used to determine which microbe is present.