electrolysis voltage measurement