Fig. 1: Device structure of moisture-electric generator (MEG) and corresponding electric output.

a Schematic illustration of a single MEG unit. The right scheme shows that active material consists of supramolecular AlgCa/Na network within PVA hydrogel, which is formed through replacing partial Na+ ions by Ca2+ ions as the egg-box crosslinked points. Water gradient is defined as the difference in moisture content between upper side and lower side of the MEG sample. b The electrostatic potential (ESP) distribution of PVA, AlgNa, and AlgCa from left to right by DFT calculations. The units of color bar are in kcal mol−1. Surface local minima and maxima of ESP are represented as orange and blue spheres, respectively. c Surface area and corresponding area percent in each ESP range on the vdW surface of PVA, AlgNa, AlgCa from left to right correspondingly. d The Voc (red curve) of an MEG device over time under an open environment with fluctuating RH (relative humidity). The ambient RH (black curve) was synchronously recorded. e The current output of an MEG device with 1 kΩ external resistor under the evolution of time at 70% RH. The insert shows the circuit diagram of MEG with one resistor. The area of one single unit is fixed at 1 cm2 and the test temperature is about 22 °C, unless otherwise stated. Source data are provided with this paper.