to do that they employ specific electrodes that are connected to a potentiometer