Two permanent neodymium magnets allow a perpendicular or parallel magnetic field to the gravity force. Placing the electrochemical cell in between the two magnets and adjusting the distance between them a magnetic field between 0 T and 1 T is obtained.