The invention belongs to the field of novel carbon materials, and particularly relates to an in-situ growth
hydrogen-substituted graphdiyne gas sensor and a preparation method thereof. Comprising the following steps: 1, dissolving
trimethylsilylacetylene in
tetrahydrofuran, adding n-
butyllithium and
anhydrous zinc chloride, adding tetrapalladium and 1, 3, 5-tribromobenzene, and reacting to obtain 1, 3, 5-triacetylene
benzene; 2, preparing a two-phase solution: dissolving 1, 3, 5-triacetylene
benzene in
dichloromethane, and slowly adding pure water to form a water phase; the preparation method comprises the following steps: adding
palladium dichloride (II), 10-40 mg of cuprous
iodide and 1, 3, 5-tribromobenzene into pure water to form an
aqueous solution; slowly adding the water solution into the water phase to form a two-phase solution; and step 3, putting the FTO into a two-phase intersection interface, and carrying out in-situ growth of the
hydrogen-substituted graphdiyne to obtain the gas sensor of which the surface is coated with the
hydrogen-substituted graphdiyne. The preparation method is simple and low in cost; the
NO detection limit can be as low as 1 ppm, and the
response time to 20 ppm NO and the
recovery time to 20 ppm NO are 51 s and 14 s respectively; and high-sensitivity and fast-response detection of NO can be realized under a low-temperature condition (100 DEG C).