Introduction

As emerging two-dimensional materials, MXenes have demonstrated attractive potentials in energy conversion and storage1,2, environmental3 and biomedical application4, and sensors5,6,7,8,9, due to their excellent chemical and physical properties, such as metallic conductivity10, tunable energy bandgap11, mechanical flexibility12, and strong hydrophilicity13. MXenes have a general formula of Mn+1XnTx, where M stands for an early transition metal, X is carbon and/or nitrogen, and Tx is the abbreviation of terminal surface functional groups, for example, -O, -OH, or -F14. These surface functional groups provide a tremendous amount of chemically active sites for further modification. MXenes have found applications in various sensor types, including but not limited to strain sensors15, pressure sensors16, biosensors17, and gas sensors18, owing to their distinctive properties.

Because of their unique morphology, large surface-to-volume ratio, and metal-like electrical conductivity, Mxenes have been considered promising gas-sensing materials. MXenes-based gas sensors, such as chemiresistive sensors19,20,21,22,23, capacitive sensors24, electrochemical sensors25,26,27, and piezoresistive sensors28,29,30 have been reported. These sensors mainly utilize the electrical conductivity of MXenes in their sensor signal transducing mechanism. Exploring other signal transducing mechanisms is crucial to further unleash the potential of MXenes in gas sensing applications. Quantifying gas analyte through mass change could allow further utilization of MXenes’ surface chemistry to improve the sensor’s selectivity without worrying about MXenes’ conductivity degradation after chemical modification.

An ideal mass transducer for gas sensing could be the micro-quartz tuning fork (MQTF). MQTF is a piezoelectric quartz-based resonator commonly used as a frequency measurement unit in many digital electronic devices. Among the different types of piezoelectric resonators, MQTF stands out as a highly effective tool due to its exceptional mechanical quality factor (Q)31. Compared to other common piezoelectric resonators, the Q factor of MQTF can be much higher, which allows them to be used as a force sensor in atomic force microscopy (AFM) to achieve atomic resolution with ultrahigh sensitivity32,33. Moreover, MQTF has low power consumption and small size, making it a preferred sensing unit for the development of wearable and portable devices34,35,36. Other remarkable attributes of MQTF, such as its low cost and stable resonance frequency, also position it as a viable alternative to traditional piezoelectric resonators37,38. The operational principle of the MQTF sensor relies on the resonating frequency shift due to the adsorption or desorption of gas molecules on sensing materials coated on its prongs. MQTF’s sensing performance depends on two key factors: the quality factor and how the target molecule interacts with the surface of the resonator39,40. As the quality factor is an inherent characteristic of MQTF, enhancing sensing performance primarily revolves around altering the interaction between the target gases and the coated sensing materials41. Thus, the design of MQTF’s surface recognition layer42 is crucial for high-performance gas sensing.

Gas sensors are essential in air quality monitoring43, leakage inspection44, and hazardous chemical detection45. Due to rapid economic development, the world continues to grapple with severe air pollution, evident from the escalating presence of harmful and polluting gases in the environment46. Among polluting gases, carbon monoxide (CO), sulfur dioxide (SO2), and ammonia (NH3) are three important primary gas pollutants47. CO is an odorless, colorless, tasteless, and toxic-neutral gas48, produced by partially oxidized carbon-containing compounds. SO2 is a major air pollutant with colorless, corrosive, and strong excitant odor49, generated during industrial operation and coal and oil burning. NH3 has broad applications in various fields, including biofuels, industrial refrigerants, and textiles50. However, it is one of the most harmful alkaline pollutants produced by common industrial production and manufacturing process. Therefore, it is of great interest to develop highly sensitive, selective, and low-cost chemical sensors for CO, SO2, and NH3 monitoring.

Herein, we have demonstrated that a mass-transduction-based MXene gas sensor can be created by using MXenes as the tunable receptor and MQTF as the transducer. The binding of the gas analyte to MXenes causes mass change, thus leading to a resonating frequency shift of the MQTF. This signal transducing mechanism does not rely on the electrical conductivity of MXenes, which gives us a wide range of options for choosing the chemical modification of MXenes without worrying about degrading their conductivity. We synthesized Ti3C2Tx and introduced different kinds of chemical groups to its surface. By coating surface-modified Ti3C2Tx to the tip of MQTF as a recognition layer, MXene-MQTF gas sensors were successfully fabricated for sensitive, selective, and reversible CO, SO2, and NH3 detection. Results suggested that compared to pristine Ti3C2Tx, the surface functionalized Ti3C2Tx exhibited a considerably enhanced gas sensing performance due to introducing specific functional groups on the Ti3C2Tx surface. Through the surface chemistry engineering of Ti3C2Tx, the sensitivity and selectivity of MXene-MQTF gas sensors can be tuned. Given the compact dimensions (a few millimeters) and affordable cost (less than $1) of MQTFs, combined with the straightforward sensor fabrication process, MXene-MQTF sensors have the potential to be seamlessly integrated into smart devices as chemical sensing units. Our mass-transduction-based MXene gas sensor demonstrated with high sensing performance, tunable selectivity, and low cost. This study provides a pathway to design high-performance MXene-based chemical sensors. It broadens the potential applications of MXene-based chemical sensors in air quality monitoring, wearable devices, the Internet of Things, and robotics.

Results and discussion

The sensor design and working principle

The schematic diagram and optical image of the tuning fork before and after coating MXene materials are shown in Fig. 1. MQTF has two symmetric prongs. MQTF’s surface consists of two regions: metallic film-coated areas, which serve as electrodes for applying an electric field, and bare areas without any metallic film, mainly located at the prongs’ tips. The two prongs of the MQTF will oscillate at a specific frequency under applied external AC excitation voltage. The unperturbed resonance frequency (f0) of the MQTF is affected by the effective mass of the MQTF and can be expressed by the following Eq. (1)34:

$${f}_{0}=\frac{1}{2{\rm{\pi }}}\sqrt{\frac{K}{{m}_{e{\rm{ff}}}}}$$
(1)

Where \(K\) is the elastic constant, which is related to the dimension of the oscillation prongs. \({m}_{{eff}}\) is the effective mass of the tuning fork.

Fig. 1: Schematic illustration of Mxene-MQTF sensor.
figure 1

a Schematic diagram and b optical image of MQTF before and after coating MXene materials.

The MQTF is highly sensitive to mass loading on the prongs, leading to a frequency shift. The frequency shift caused by mass loading can be expressed by Eq. (2)37,51:

$$\triangle f=-\frac{{f}_{0}}{2m}\triangle m$$
(2)

Where \(\triangle f\) is the frequency shift, \({f}_{0}\) is the resonance frequency, and \(\triangle\)m is the change of mass loading on the prongs. Therefore, there is a negative resonant frequency shift after sensing material coating on the MQTF prongs (Fig. 1b and Supplementary Table 1). When gas is adsorbed onto or desorbed from the sensing material coated on the prongs, the mass loading on the prongs changes, leading to a frequency shift. Although the adsorption kinetics of different gases and sensing materials vary, gas concentration influences the quantity of the adsorbed gas, causing a change in mass loading on the prongs. Since the mass change is linearly correlated with frequency shift, the frequency shift can be used to determine the gas concentration. Theoretical calculations suggest that the mass sensitivity of MQTF can reach 1.3 ng mass loading per 1 Hz frequency shift and further enhancement of mass sensitivity is achievable by improving the frequency accuracy of MQTF37. A finite element model simulation reveals that the frequency shift increases linearly with the mass loading on MQTF within a suitable range, but a high added mass may induce some non-linear behavior52.

Gaseous species with a stronger affinity to the sensing material result in higher gas adsorption. The sensitivity and selectivity can be tuned by changing the gas and sensing material interaction. MXene has a high surface-to-volume ratio, which is beneficial to sensor sensitivity when used as a sensing material. By modifying the functional groups of MXene, the interaction between gases and MXene changes. Therefore, the selectivity and sensitivity can be tuned. Alkaline gas (NH3), acidic gas (SO2), and neutral gas (CO) are the three most representative gases in the environment. To selectively detect CO, NH3, and SO2, the MXene surface was modified with -F and -NH2 groups.

MXene synthesis, surface modification, and characterization

Figure 2a shows the preparation process of surface functionalized Ti3C2Tx sheets. Firstly, the Ti3C2Tx (Supplementary Fig. 7) sheets were fabricated by selectively etching the Al atom of Ti3AlC2 particles using LiF/HCl aqueous solution53. The obtained Ti3C2Tx sheets possess an abundance of terminal groups where Tx denotes the surface terminations on the Ti3C2 sheet, including hydroxyl (-OH), oxygen (-O), and fluorine (-F). These terminal groups provide enough active sites for modification or surface engineering to improve selective interaction for target gases or increase hydrophobic performance. Herein, two representative chemical agents, 1H,1H,2H,2H-perfluorooctcyltrithoxysilane (FOTS) and [3-(2-aminoethylamino)propyl]trimethoxysilane (AEAPTMS) (Supplementary Fig. 8), were used to modify the Ti3C2Tx sheets, denoted as Ti3C2Tx-F and Ti3C2Tx-NH2, respectively. FOTS was selected because it could bring hydrophobicity to pristine MXene through surface chemistry and enhance the overall performance of the MXene-based chemical sensors54,55. Through hydrolysis, FOTS transforms Si–OCH2CH3 groups into Si–OH groups and forms covalent bonds (Si–O) with Ti3C2Tx by reacting with −OH surface termination groups55. FOTS functionalization increases the interlayer distance, facilitating gas diffusion and enhancing gas sensing55. The FOTS protection layer can also minimize the oxidation tendency of pristine MXenes, stabilizing sensor performance55. Moreover, FOTS-functionalized Ti3C2Tx exhibits good stability in humid, acidic, and basic environments55. AEAPTMS can be chemically grafted onto the surface of Ti3C2Tx through covalent bonding between the silanol group and the –OH groups of Ti3C2Tx54,56. AEAPTMS-Ti3C2Tx maintains pH responsiveness due to its free amine groups, akin to hydroxyl groups56. The existence of available free amine groups on the surface of AEAPTMS- Ti3C2Tx for subsequent reactions allows for the selective engineering of MXene-based gas sensors. For instance, AEAPTMS-Ti3C2Tx may exhibit a high affinity for acidic gas molecules like SO2. The detailed preparation procedure for MXene functionalization is given in the Experimental section. The X-ray diffraction (XRD) measurements were conducted to determine the crystal structure of Ti2AlC3, Ti3C2Tx, Ti3C2Tx-NH2, and Ti3C2Tx-F samples in the scan range 10–65°. The XRD patterns of Ti3AlC2 in Fig. 2b show a crystalline nature with a preferred orientation along the (104) plane57. After HCl/LiF etching, the prominent peak (104) became weaker, and other peaks (101, 102, 103, 105) also became weaker and broader or disappeared. These observations indicate that Al layers were appropriately removed from Ti3AlC2, and Ti3C2Tx was formed58.

Fig. 2: Preparation and characterizations of MXene materials.
figure 2

a Schematic illustration of the preparation process for surface functionalized Ti3C2Tx -NH2 sheets. b XRD patterns of Ti3AlC2, Ti3C2Tx, Ti3C2Tx-NH2 and Ti3C2Tx-F. c Low-resolution and d high-resolution SEM images of Ti3C2Tx-NH2 powders. e The corresponding element mappings of Ti3C2Tx-NH2 sheets show a uniform distribution of titanium, carbon, silicon, and nitrogen. Scale bars represent 4 µm in Fig. 2c and 1 µm in Fig. 2d, e.

Scanning electron microscopy (SEM) images of Ti3AlC2 and as-etched Ti3C2Tx-NH2, as shown in Fig. 1c-d, and Supplementary Fig. 4a-d, clearly reveal a successful transition from a bulk Ti3AlC2 to a loosely stacked Ti3C2Tx structure after the selective etching process. We also performed the energy dispersive X-ray spectroscopy (EDS) mappings of Ti3C2Tx-NH2 (Fig. 1e). The results show a uniform distribution of Ti, C, Si, and N elements within the sheet, suggesting a homogeneous functionalization of Ti3C2Tx after AEAPTMS modification.

The elemental composition and surface functional groups were shown by X-ray photoelectron spectroscopy (XPS) (Fig. 3, Supplementary Fig. 5, and 6, Table 4). The XPS measurements were performed on the MXene powders to analyze the type and relative amount of surface functionalities. Figure 3 depicts the XPS spectra of Ti3C2Tx-NH2 powders. The XPS spectra Ti3C2Tx and Ti3C2Tx-F powders are shown in Supplementary Fig. 5 and 6. The Ti3C2Tx-NH2 sample showed the presence of Ti, C, O, F, N, and Si elements, respectively. In the Ti 2p region (Fig. 3a), there are six peaks corresponding to Ti-O, Ti3+, Ti-C, Ti-O, Ti2+, and Ti-C, at 465.28 eV, 464.28 eV, 460.58 eV, 459.28 eV, 456.18 eV, and 455.08 eV59, respectively. The Ti-O (465.28 eV) peak is attributed to the anatase titania signals due to the partial oxidation of Ti3C2Tx-NH2 MXenes during the synthesis process. The C 1 s region (Fig. 3b) was fitted with five different peaks corresponding to HO-C-O, C-O, C-C, and Ti-C at 288.98 eV, 285.58 eV, 284.44 eV, and 281.58 eV60, respectively. For the O 1 s core level (Fig. 3c), there are three fitting peaks corresponding to Si-O, Si-O-Ti, and Ti-O on the MXene surface, at 532.48 eV, 531.18 eV, and 530.38 eV, respectively61. The Si-O and Si-O-Ti peaks prove that the surface terminal groups in Ti3C2Tx react with the polar Si(OCH3)3 groups in AEAPTMS molecules, forming covalent bonds. The F 1 s core level (Fig. 3d) also could be split into three main peaks of F-C, F-C, and F-Ti, located at 687.68 eV, 686.48 eV, and 684.88 eV, respectively62. The N 1 s (Fig. 3e) was deconvoluted into N-C (401.98 eV), -NH- (400.38 eV), and N-H (400.08 eV)63. The Si 2p spectra (Fig. 3f) presented three peaks related to 104.66 eV, Si-O (102.88 eV), and Si-C (101.98 eV)64. Combined with the previous element analysis in Fig. 2e, surface elements and core elements were uniformly distributed across MXene powder. The N-H functional group on the MXene surface was also confirmed by FTIR analysis (see Supplementary Fig. 13). These results suggest that -F, -OH, and -NH2 terminal groups appeared on the surface of Ti3C2Tx-NH2 flakes. In addition, the F/Ti weight ratio of Ti3C2Tx-F (27.75%) is obviously larger than that of Ti3C2Tx (22.43%), indicating there are more fluorine terminal groups on the surface of Ti3C2Tx-F.

Fig. 3: XPS spectra of Ti3C2Tx-NH2 powders.
figure 3

af High-resolution spectra of Ti 2p, C 1 s, O 1 s, F 1 s, N 1 s, and Si 2p, respectively.

Characteristics of the MXene-MQTF sensor

The sensors were exposed to different gases to evaluate the essential characteristics of the MXene-MQTF sensors. The sensor responses were recorded with a homemade frequency monitoring device. The typical gas response curves are shown in Fig. 4a with the Ti3C2Tx-NH2 MXene sensor exposed to sulfur dioxide at 100 ppm. The sensor was stable under air exposure. When the sensor is exposed to the target gas, it responds quickly and finally reaches a plateau because of adsorption kinetics. The sensor response will return to baseline after air exposure, which means the sensor is reversible. The response and recovery times of Ti3C2Tx-NH2 are about 112 s and 153 s, respectively. Here, the response time (τresponse) was defined as the time taken for the sensor frequency to achieve 90% of the saturated frequency change. Similarly, the recovery time (τrecovery) is when the sensor returns to 10% of the saturated frequency change after air exposure. The response/recover time of our sensor is comparable with other reported MXene-based gas sensors (Supplementary Table 5). The sensor’s response time is influenced by various factors, including the affinity between the gas analyte and MXene, the gas delivery system’s flow rate, and the detection chamber’s dead space. We anticipate that the response/recovery time of our MXene-MQTF sensor can be further decreased by increasing the sample flow rate and reducing the dead space of the detection chamber. To evaluate the repeatability of the MXene-MQTF sensor, the sensor was exposed to air and 100 ppm SO2 alternately, as shown in Fig. 4b. The results indicate that the sensor has good repeatability. Therefore, these results demonstrated the ability of the MXene gas sensor to detect SO2 gas with good reversibility and repeatability. Moreover, the sensitivity of the MXene-MQTF sensor remained stable, showing less than a 10% change over three weeks (see Supplementary Fig. 12).

Fig. 4: Sensing characteristics of Ti3C2Tx-NH2-25 MXene sensors.
figure 4

a Response and recovery time calculated for 100 ppm of SO2. b Cycling performance of Ti3C2Tx-NH2 MXene Sensors in response to SO2 at 100 ppm level.

Modulating sensor selectivity through surface-modification of MXenes

To compare the sensitivity of Ti3C2Tx, Ti3C2Tx-NH2, and Ti3C2Tx-F MXene Sensors toward different gases, sensors were exposed to three different gases (CO, SO2, and NH3) at a wide range of concentrations (4–100 ppm) as shown in Fig. 5. Figure 5a–i show the real-time gas response of Ti3C2Tx, Ti3C2Tx-NH2, and Ti3C2Tx-F MXene Sensors under exposure to CO, SO2, and NH3 at different concentrations at room temperature. Three repeated cycles were tested for each concentration. All sensors for different gases showed good reversibility. The sensors’ responses to different gases were calculated, and the calibration plots of the frequency change versus concentration were plotted in Fig. 5j, k. The error bars in Fig. 5j, k were calculated from three repeated cycles at each concentration. The results showed small error bars for all sensors indicating good sensor repeatability.

Fig. 5: Gas response performance of Ti3C2Tx, Ti3C2Tx-NH2, and Ti3C2Tx-F MXene sensors at room temperature.
figure 5

Frequency change on ac Ti3C2Tx; df Ti3C2Tx-NH2; g, h and i Ti3C2Tx -F toward a wide range of diluted CO, SO2, and NH3 gases (4–100 ppm). jl Maximal frequency change and its fitting result in a wide range of diluted CO, SO2, and NH3 gases (4 –100 ppm). The error bars are the standard deviation (s.d.) of the measured results of three repeated cycles.

The calibration plots were linearly fitted to compare the sensors’ sensitivities and selectivities. The slope of the linear fitting curve indicates the sensors’ sensitivities. Figure 6a shows the sensitivities and selectivities of the different sensors for different gases. The slopes of Ti3C2Tx, Ti3C2Tx-NH2-60, and Ti3C2Tx-F MXene Sensors toward SO2 gas are 5.71, 11.18, and 4.68 (Supplementary Table 2), respectively. Compared to Ti3C2Tx and Ti3C2Tx-F MXene Sensors, the Ti3C2Tx-NH2 MXene sensor had the highest response to SO2 gas. According to XPS and EDS analyses, –NH2 functional groups were present on the surface of Ti3C2Tx-NH2, which reacted with the SO2 gases. Therefore, Ti3C2Tx-NH2 MXene is a promising gas-sensing material for detecting SO2. Ti3C2Tx-F MXene Sensor had the strongest response to CO gas, compared to the other two MXene sensors. The FOTS molecules with fluorine ended-groups were covalently bonded onto the surface of Ti3C2Tx MXene, which was demonstrated to improve CO gas absorption.

Fig. 6: Gas response performance of MXene sensors toward three different kinds of gases at room temperature.
figure 6

a Selectivity test of the Ti3C2Tx, Ti3C2Tx-NH2-60, and Ti3C2Tx -F sensors upon exposure to ammonia, sulfur dioxide, and carbon monoxide. b Schematic illustration of the interaction between Ti3C2Tx-NH2 and the related gases (monoxide carbon, sulfur dioxide, and ammonia).

The surface functionalization of Ti3C2Tx with AEAPTMS brings free amine groups to the MXene surface. These free amine groups show pH responsiveness, similar to hydroxyl groups56. Since SO2 is acidic, when exposed to SO2, a donor−acceptor chemistry between SO2 and amine groups will happen65. Using functionalized amine groups to reversibly attract SO2 has been commonly used to design SO2 absorbents or sensors66,67. The Ti3C2Tx-NH2 MXene sensors were decorated with alkaline -NH2 groups, which promotes the reaction between Ti3C2Tx-NH2 MXene and the acidic gas (SO2) (Fig. 6b). Therefore, the highest sensitivity to SO2 gas on the Ti3C2Tx-NH2 MXene sensors is expected. On the other hand, the lower sensitivity for NH3 was due to the weaker hydrogen bond between NH3 gas and the amino functional groups on the surface of Ti3C2Tx-NH2 MXene68. In addition, CO is a neutral gas and was adsorbed by the surface group of Ti3C2Tx-NH2 MXene through Van der Waals forces. Since the Van der Waals force interaction is weak and non-specific, the sensitivity of Ti3C2Tx-NH2 MXene to CO is very low. FOTS functionalization brings C-F groups to the pristine MXene through surface chemistry. This modification improves MXene’s hydrophobicity and stability in humid, acidic, and basic environments, attributed to the high stability of fluoro-carbon bonds. Studies indicate that Ti3C2Tx-F films maintain contact angles over 150° even after exposure to deionized water, strongly acidic, or basic solutions55. This implies weak interactions of Ti3C2Tx-F with acidic, basic, or neutral gases. Our Ti3C2Tx-F sensor exhibits low and similar sensitivity to SO2, NH3, and CO, which is consistent with the literature. Theoretical investigations suggest that the functional groups of MXene can influence the adsorption energy of a gas analyte, and sensitivity enhancement can be achieved through the manipulation of MXene’s functional groups19,69,70,71. Our experimental results corroborate these theoretical findings. Research indicates that chemisorption is a dominant process in gas adsorption on MXenes72, and the elevated selectivity of MXene-based gas sensors is attributed to the existence of surface functional groups73. Specifically, the terminal OH-groups on the MXene surface exhibit robust acidic properties and have the potential to adsorb “basic” gases74. The selectivity observed in the MXene-MQTF sensor aligns with the findings reported in the literature.

We noticed that the MXene-MQTF sensor exhibited sensitivity to humidity, which was an inherent characteristic of mass transducers due to the adsorption of H2O on both the sensing material and even the bare MQTF75. But the humidity effect followed a linear behavior (Supplementary Fig. 2 and 3) and can be corrected through humidity compensation algorithms. An MQTF reference coated with humidity-sensitive materials, such as silica, can be incorporated into the sensing device alongside the MXene-MQTF sensor. The signal from the reference MQTF can then be subtracted from the MXene-MQTF sensor to eliminate the impact of humidity. Other methods could also mitigate humidity interference, such as using NafionTM tubing or desiccants76. Nafion, a chemically inert copolymer with high water permeability, enables the passage of water molecules through its membrane while preventing analyte gas molecules from permeating. This quality makes it well-suited for regulating the humidity of gas samples. Integrating Nafion tubing at the inlet of the gas sensing chamber proves effective in avoiding humidity interference77. To avoid the direct interaction of water molecules with the sensing unit, desiccants can be implemented at the gas inlet to remove water vapor before delivering the gas sample to the sensing chamber. Desiccants can effectively reduce ambient humidity levels to near zero during gas sample pretreatment76.

Sensitivity enhancement through surface chemistry

To further improve the response of the Ti3C2Tx-NH2 sensors toward SO2 gas, the temperature during surface modification of the Ti3C2Tx-NH2 MXene materials was changed from 25 to 60 °C. The reaction temperature cannot be increased further because a mixture of ethanol and water (90/10 wt%) was used as the solvent. We investigated MXene’s morphology change at different reaction temperatures (Supplementary Fig. 11). There were no obvious structure changes on MXenes when the reaction temperature increased from 25 °C to 60 °C. Similar to the above procedures, three cycles for each concentration were tested for different sensing materials prepared at different temperatures. Supplementary Fig. 7 shows the frequency change of the Ti3C2Tx-NH2 MXene sensor versus SO2 gas concentration, ranging from 4.3 to 100 ppm. According to the slope of the fitting results, sensor sensitivity versus material preparation temperature was plotted in Fig. 7d. When the temperature increased from 25 to 60 °C, the sensitivity increased from 6.18 to 11.18, possibly due to more -NH2 functional groups on the Ti3C2Tx-NH2 MXene surface. It’s important to note that excessively high reaction temperatures may accelerate the degradation of Ti3C2Tx due to dissolved oxygen in water56,78. Therefore, there’s a trade-off linked to raising the reaction temperature for MXene surface modification.

Fig. 7: Gas response performance of Ti3C2Tx-NH2 sensors toward sulfur dioxide gas.
figure 7

Frequency change toward SO2 at different concentrations for sensors based on Ti3C2Tx-NH2 prepared at a 25 °C, b 35 °C, and c 60 °C. d sensitivity of the Ti3C2Tx-NH2 sensors upon exposure to sulfur dioxide.

In summary, we successfully designed, fabricated, and tested the Ti3C2Tx-MQTF gas sensors, in which MXenes served as the selective receptors and MQTF as the transducer. The binding of gas molecules to MXenes induced mass change, resulting in MQTF’s resonant frequency shift. We synthesized Ti3C2Tx and introduced various chemical groups to its surface. By coating the surface-modified Ti3C2Tx onto the tips of the MQTF as a recognition layer, we created MXene-MQTF gas sensors capable of sensitive, selective, and reversible detection of CO, SO2, and NH3. The test results indicated that surface-functionalized Ti3C2Tx exhibited significantly improved gas sensing performance compared to pristine Ti3C2Tx. Ti3C2Tx-NH2-based sensors exhibited high selectivity to SO2, an acidic gas. In contrast, Ti3C2Tx-F-based sensors showed the strongest response toward CO. Ti3C2Tx-NH2 and Ti3C2Tx-F were covered with -NH2 and -F functional groups, respectively, which contributed to the selective detection of the specific gases. Furthermore, the sensitivity and selectivity of Ti3C2Tx -MQTF gas sensors can be enhanced by introducing additional surface chemical groups to MXenes by increasing the material preparation temperatures during surface modification reactions. For instance, the sensitivity of the Ti3C2Tx-NH2-MQTF sensor for SO2 detection doubled when the surface modification temperature was increased from 25 to 60 °C. These findings strongly indicate that the sensitivity and selectivity of MXene-MQTF gas sensors can be fine-tuned through surface chemistry engineering of Ti3C2Tx. This study presented an approach for designing high-performance MXene-based chemical sensors, expanding the potential applications of MXene-based chemical sensors in diverse fields such as air quality monitoring, wearable devices, Internet of Things (IoT), and robotics.

Methods

Materials

Micro quartz tuning forks, purchased from the Jiangcheng Electronic Limited Company, China, have a typical resonant frequency of ~32768 Hz with dimensions of 4 mm × 0.35 mm × 0.6 mm. Ti3AlC2 (particle size <100 µm), LiF, HCl (36 ~ 38 wt%), 1H,1H,2H,2H-perfluorooctcyltrithoxysilane (FOTS) and [3-(2-aminoethylamino)propyl]trimethoxysilane (AEAPTMS) were purchased from Sigma-Aldrich.

Synthesis of Ti3C2Tx MXene

Ti3AlC2 powder (3 g, particle size <100 µm) was etched to remove its Al in a premix solution of LiF (3 g) and 9 M HCl (30 ml) and stirred for 24 h at 35 °C. Then, the resulting suspension was washed via centrifugation several times with deionized water and ethanol until the pH value reached ~6. Following washing, the final suspension was vacuum-filtered on membranes, and the obtained sample was dried in a vacuum oven at 60 °C for 24 h.

Surface functionalization of Ti3C2Tx MXene (Ti3C2Tx -NH2 and Ti3C2Tx -F)

First, 40 ml ethanol was added into 360 ml water to prepare a water/ethanol mixture of 10/90 wt%. Then, 800 mg Ti3C2Tx MXene was added into the above solution and stirred at 600 rpm for 10 min with nitrogen bubbling to make the reaction go thoroughly. In addition, acetic acid was added to adjust the pH of the above solution to 3.5. When the pH reached 3.5, AEAPTMS (1.6 g) was added to the above solution. The reaction needed to be stirred for 8 h under nitrogen bubbling. All reaction steps were performed at 25 °C. After completion of the reaction, the above product was washed three times with ethanol by centrifugation at 3500 rpm to remove residual silane coupling agents from AEAPTMS- Ti3C2Tx nanosheets. The final suspension was vacuum-filtered on membranes, and the obtained samples were subsequently dried in a vacuum oven at 60 °C for 24 h, resulting in Ti3C2Tx -NH2-25. When the reaction temperatures were changed to 35 and 60 °C, the samples obtained were Ti3C2Tx -NH2-35 and Ti3C2Tx -NH2-60, respectively. The preparation procedure of Ti3C2Tx -F was similar to Ti3C2Tx -NH2-25 except that AEAPTMS was replaced with FOTS at 25 °C.

Coating MXenes on the prongs of micro quartz tuning forks

First, the tuning forks were washed three times in ethanol. Then, 40 mg MXene materials were added to 20 ml water, and the solution was stirred for 10 min. 1 ml of the above solution was removed and dropped onto a glass microscope slide. The tips of the tuning forks were dipped into the above solution. Finally, tuning forks with MXene materials was dried in ambient conditions.

Gas-sensing performance measurements

All the gas-sensing tests were performed at room temperature in a homemade gas-sensing system (see Supplementary Fig. 1). Ambient air was used as the purging gas. The target gases were injected into the sensing chamber at the flow rate of 0.55 L min^−1. For each cycle of the gas test, the durations for introducing the target analyte and purging gas were 200 s and 300 s, respectively. Humidity and temperature in the chamber were monitored with a commercial humidity sensor (Sensirion SHT3x_85).

Sensing material characterization

The morphologies of the MXene materials were characterized by scanning electron microscopy (S-4700, FESEM, Hitachi). The XRD was conducted by a Rigaku SmartLab diffractometer. X-ray photoelectron spectroscopy (Thermo VG Scientific Sigma Probe) was used to characterize the chemical information of the Mxene materials. Infrared spectroscopy (FTIR) measurements were done using a Perkin-Elmer system 2000 spectroscope.