How electrochemical senors can detect and prevent infections early