Proton-gradient direction. Photosystem II releases protons into the thylakoid lumen and takes them up from the stroma. The result is a pH gradient across the thylakoid membrane with an excess of protons (low pH) inside.