Abstract With the help of handheld technology, the voltage change of iron electrochemical corrosion in different acid-base environments is measured by voltage sensor and pH sensor, and the pH range corresponding to hydrogen evolution corrosion and oxygen absorption corrosion of iron is explored to help students understand the principle of iron electrochemical corrosion and feel the charm of chemical quantitative experiment.