We have developed a 100 m diameter solid-state potentiometric pH sensor to study the bacterial metabolism at the biofilm-biomaterial interface in real-time. The newly developed agar-coated pH sensor is both highly resistant to biofouling and stable, with a drift of 1 mV/h in physiological conditions. We used multiwall carbon nanotubes...