Fig. 2: Two-dimensional HOF-H4TCPB membrane with humidity-dependent conductivity.

a Schematic of the preparation of HOF-H4TCPB. b TEM image and SAED pattern of the HOF-H4TCPB nanosheet. c The cross-section high-resolution TEM of HOF-H4TCPB. The embedded figures show locally enlarged TEM image and reveal a lattice spacing of 1.20 nm. d Absorbed water contents of HOF-H4TCPB as the function of ambient humidity, showing that ambient humidity promotes effective water uptake by such membrane. e, f, XPS fine spectra of HOF-H4TCPB membrane treated with ambient humidity of 0% RH (e) and 97% RH (f), revealing water uptake facilitates the construction of the HBNs. g The ionic conductivity of HOF-H4TCPB membrane as a function of ambient humidity. h I-V curves of the HOF-based gating device in 20% and 97% RH, respectively, evidenced by a nearly 140-fold difference in proton transport rates. i Variations of the proton gating ratio in response to RH value. Each experiment in b and c was repeated three times independently with similar results.