Introduction

Humidity sensing is important in different settings, in chemical industry, hospitals, agricultural fields and so on1,2. A sensor working with fast response and recovery (typically fraction of a second) finds niche applications in situations where the humidity value may change dynamically. Such application areas include industrial process controls, meteorology and various medical diagnostics including monitoring human exhaled breath3,4,5,6,7. This explains the need of low cost humidity sensors with ultra-fast response, high sensitivity and stability. Although the literature is abound with humidity sensors8, those with fast response form only a small subset (see Supplementary Table S1). The subset includes those based on inorganic materials in the form of nanowires9, nanotubes10,11, thin films of oxides12,13,14 and of few sulfides15,16 as well. Similarly, there are examples from organic and composite materials, a notable one being nafion persulphonate4 with tens of milliseconds of response time. Very recently, Borini et al.17 have reported response time of 30 ms for a graphene oxide based sensor. In addition to this, there are advancements in fabrication of humidity sensors using optic fibre based sensor technology18,19. There have been reports of humidity sensors using hybrid microcavity20, AFM micro-cantilevers21, plasmonic materials22 etc. Fabrication of flexible, printable, chipless and wireless humidity sensors and integrating them with CMOS technology has been recently reported intended for various humidity related applications23,24,25. The basic mechanism of humidity detection in the above materials is based on the change in proton/ionic conduction (resistive), dielectric constant (capacitive), refractive index (optical), frequency (impedance) or in mass, of the active material with the humidity level26. Organic humidity sensors are particularly attractive since the sensing material can be prepared by simple solution processes unlike in inorganic sensors which demand expensive preparation techniques such as chemical vapor deposition, vapour-liquid-solid growth etc.; however, organic sensors usually lack stability in terms of device performance27,28,29.

Supramolecular systems are relatively a new class of organic materials, built via non-covalent interactions among the molecular ingredients30. Fabricating functional devices such as FETs, solar cells, sensors from controlled organization of supramolecular components is considered as a promising area of research31,32,33,34. It takes the advantage of intermediate size regime, few tens of nm to μm, when compared to single molecule (few nm) and polymer films (≈μm)35,36. Recently, Herzer et al.37 reported change in color of supramolecular polymer films upon exposure to humidity. Among various supramolecular systems, 1-D nanowires are of particularly interesting since they provide low scattering conducting paths38,39,40 and easy alignment across the electrodes41. We have recently embarked on a supramolecular one-dimensional (1-D) system, a charge transfer donor and acceptor couple grown in the form of nanofibre, to use as an active channel material in field-effect transistor which worked in the ambient conditions and showed high hole mobility and carrier concentration42. During the measurements, it was observed that the device performance was sensitively dependent on the laboratory humidity conditions. In the present article, we have examined this aspect in detail and developed a humidity sensor based on resistive response of the supramolecular nanofibre at different levels of humidity. The associated structural changes and interactions therein, have been examined using UV-vis absorption, X-ray diffraction (XRD) and atomic force microscopy (AFM). The versatility of the device is demonstrated by sensing humidity very close to a water drop with high sensitivity, of relevance in touchless sensing. The response time being around 10 ms (fastest ever reported), the device could be implemented meritoriously for continuous monitoring of humidity in human breath.

Results

Supramolecular nanofibres

The charge transfer (CT) nanofibres were prepared by the self-assembly of coronene-viologen based donor and acceptor (D and A) pairs in water43 (see Methods). Briefly, the potassium salt of coronene tetracarboxylate (CS) and the dodecyl substituted unsymmetric viologen derivative (DMV) are used as D and A pairs which interact via ground-state CT interactions to form a hierarchical self-assembly. In water, these two components stack themselves to form cylindrical micelles (diameter, ≈6 nm) following a surfactant-like assembly (schematic in Fig. 1a). This forms bilayers of CT-amphiphiles arranged radially with the D and A molecules stacked face-to-face along the length of the nanofibre. The tapping mode AFM topography image in Fig. 1b shows nanofibres crystallised from 1 mM solution, of varying diameters (100–300 nm) interwoven randomly to form a carpet morphology. The XRD pattern of the carpet film in Fig. 1c shows a peak at 2θ ≈ 25.031° corresponding to a d-spacing of 3.5545 Å. Given the constituents in the nanofibre, this value should correspond to the π – π spacings in the D and A pairs along the nanofibre. The intensity and sharpness associated with the peak indicate highly ordered nature of the D and A stacking.

Figure 1
figure 1

Structural aspects of CS-DMV nanofibres.

(a) Molecular structure and schematic of the CT complex involving co-facial arrangement of the aromatic donor, coronene tetracarboxylate (CS) and the acceptor, dodecyl methyl viologen derivative (DMV) (top). The stacking of the complex units to form a cylindrical micelle in presence of water, is depicted. (b) Tapping mode AFM image of a nanofibre carpet film. The z scale in the image is 20 nm. (c) XRD pattern of the film measured in ambient conditions (26°C, 35% RH). The peak at 2θ ≈ 25.031° corresponds to d-spacing of 3.5545 Å rising from the π-π stacking in nanofibres.

RH sensing by nanofibre film

The performance of the nanofibres as a humidity sensor is described in Fig. 2. A drop (5 μL, 1 mM) of the CS-DMV nanofibre solution was drop coated on gold gap electrodes on glass and allowed to dry for an hour. The device was then placed inside a humidity cell (Fig. 2a) and connected to a Keithley 4200 source unit for electrical characterisation. Moisture-nitrogen mixture of varying RH was passed through the humidity cell through the inlet as shown in Fig. 2a. As the RH increased from 5% to 65% at 0.8 V bias, the current in the nanofibres increased from ≈0.1 nA to 220 nA (Fig. 2b) and showed a small decay while RH was still on, but dropped down to 0.1 nA sharply when RH switched to 5%. The response and recovery times, measured as the time taken to reach 90% of the peak value (Fig. 2c), are 2.20 and 1.05 s respectively. The sensitivity of the device, which is a direct measure of how well a device detects per unit change of RH, is defined in this case as the change in current normalized with respect to the current at 5% RH9. The sensitivity increased rapidly as RH increased to 85% to reach a value of ≈45,000 (Fig. 2d, for current values see Supplementary Fig. S1). The fabricated devices were stable over several months when stored under ambient conditions (see Supplementary Fig. S2). The effect of environment temperature (between 10°C to 50°C) on the sensor has also been studied and described in the Supplementary Fig. S3.

Figure 2
figure 2

RH detection by CS-DMV nanofibre film.

(a) A photograph of the humidity detection set up used in the study. Inset is the optical microscope image of zoomed in part of the device, which consists of Au gap electrodes drop coated with 5 μL of nanofibre suspension resulting in a nanofibre film laid across the gap. The thin film cannot be delineated due to its transparency. (b) The changes in the measured current from the film at 0.8 V as RH was switched between 5% and 65%. (c) Estimation of the response and recovery times. (d) The variation in sensitivity for different RH values for a typical device. Inset is the zoomed portion for lower RH. Line fitting is to guide the eye.

Mechanism of RH sensing

In order to gain an insight into the observed electrical changes with RH, UV-vis absorption measurements were carried out on a CS-DMV nanofibre carpet film as shown in Fig. 3. Few drops of the nanofibre solution were drop coated on the inner side of a quartz cuvette and allowed to evaporate. The cuvette was then closed with a rubber stopper hosting inlet and outlet for passing moisture-nitrogen mixture of varying RH. The absorption spectra of CS-DMV nanofibres film exhibit strong absorption peaks at 318 and 355 nm along with a broad band centred around 480 nm which originates from the ground state intermolecular charge transfer interaction between donor and acceptor molecules43. The peak intensity is highly sensitive to any perturbation to the charge transfer interaction, which in turn influences the electrical transport through the nanofibre. The intensity of the 480 nm band does show changes with change in RH (Fig. 3), but accompanying this change, the spectral baseline also shifts due to varied transmittance of the film (vide infra). After baseline correction, the changes in the intensity of the 480 nm band became quite apparent (see inset (a) of Fig. 3). Indeed as shown in inset (b), the intensity was found to increase linearly with increase in RH emphasizing the role of charge transfer in electrical transport of CS-DMV nanofibre system.

Figure 3
figure 3

In-situ optical absorbance measurements of CS-DMV nanofibres with RH.

The change in absorbance of CS-DMV nanofibre film measured on quartz substrate from 300 to 700 nm range at different RH values. Insets are the magnified portion of the charge transfer band in the region, 400 to 600 nm, after baseline correction (a) and the plot of variation in intensity of the charge transfer band with RH (b).

Further insight into the structural changes comes from in situ X-ray diffraction measurements (Fig. 4). With increase in RH from 5% to 65%, the peak corresponding to the CS and DMV spacing (π-π interaction distance) in the supramolecular assembly is found to shift from a 2θ value of 25.027° (d-spacing, 3.5551 Å) to 25.040° (3.5534 Å), the peak shift of 0.016 Å being well outside of the measurable limit (±0.00015 Å). The peak shift is linear (Fig. 4b) and thus follows a similar behaviour as the intensity of the charge transfer peak (Fig. 3b). Thus it appears that an increase in RH brings the CS and DMV units closer, thereby enforcing a much tighter packing in the assembly. Since the electrical transport in such systems depend sensitively on the charge transfer interaction and π- π delocalization among the D and A pairs44, any small perturbation due to change in RH can bring about considerable change in conductivity.

Figure 4
figure 4

Humidity dependent XRD studies of CS-DMV nano-fibres.

(a) The XRD patterns of nanofibres film acquired at RH of 5%, 25%, 35% and 65%. The XRD peak was recorded with step size of 0.001 degree at different RH values. The patterns are shifted vertically for clarity. The peak maxima are marked by vertical bars. (b) The variation in the XRD d-spacing with RH.

The local changes in the nanofibre assembly as discussed above, may have some implications on the morphology of the nanofibres. AFM measurements were carried out on the nanofibre film at different RH values in an environmental hood (see Fig. 5 and Supplementary Fig. S4). At ambient humidity (42% RH), the average width of the nanofibres was 99.6 ± 7.6 nm (Fig. 5a) which increased to 118.4 ± 9.6 nm when the RH in the hood was changed to 15% (Fig. 5b). The concomitant change in nanofibre height was from 6.24 ± 1.1 to 5.2 ± 1.18 nm. As the humidity was increased to 62%, the average width decreased to 76.4 ± 9.0 nm while the height increased to 8.14 ± 0.5 nm (Fig. 5c). The decreasing width can enhance light transmission as seen from the downward shift of the spectral baseline in Fig. 3a. In Fig. 5d are shown the observed morphology changes with respect to a given location on a nanofibre (see arrow marks in Fig. 5a, b and c). Many such individual measurements have been performed (Supplementary Fig. S2). The observed morphology changes may be taken to indicate a tighter molecular assembly with higher humidity around the supramolecular fibres. Under very dry conditions, the nanofibres were found to be non-conducting. Indeed, the conduction could be initiated by simply exposing to humid air.

Figure 5
figure 5

AFM analysis of nanofibres under different RH conditions.

AFM images of CS-DMV nanofibres acquired at ambient RH of 42% (a) followed by at 15% (b) and 62% (c), the last two measurements being carried out in atmospheric hood. Scale bar: 500 nm, z scale: 20 nm. (d). The variations in width (left) and height (right) of nanofibre marked in dotted lines with different RH conditions. Data from other regions are presented in the Supplementary Fig. S4.

Determination of RH near a water drop

As it is clear from the above observations, the CS-DMV nanofibres can be potentially used for monitoring small variations in humidity levels near a surface, for example; such ideas could be relevant in the context of next generation intelligent device components such as artificial skin or touchless screen, where the ‘sensation’ of an approaching finger or a live cell would depend on its distance from the skin15. We designed an experiment wherein the change in current through a nanofibre film was monitored while a microtip carrying a tiny water droplet made a controlled approach (see Fig. 6a), from a distance of 2.5 to 0.2 mm in steps of 0.1 mm. As seen from the plot in Fig. 6b, the current in the circuit increased from ≈0.45 to 2.3 μA and the increase was nearly linear with distance. On retracting the tip, it followed a similar trend with slightly less current. Based on the calibration data collected for this film (Fig. 6c), we were able to estimate RH at different tip separation distances (Fig. 6d). It is interesting to see that the RH value reaches as high as 60% close to the drop and decreases gradually till 1.5 mm above which it merges with the ambient background. This trend is similar to the one reported by Feng et.al.15, although this study aims at measurements much closer to the humid surface. This experiment clearly demonstrates the ‘action at a distance’ possibility in real applications with high degree of sensitivity.

Figure 6
figure 6

RH above a water drop.

(a) A photograph of the setup used for the study. It consists of a plastic tip carrying the tiny water drop which can be moved in vertical direction using a screw gauge arm. Inset is the magnified image when the water drop is very close to the sensor. Reflection of the drop is seen from the device surface. (b) Variation in the current (at 1 V), as the water drop is brought towards and taken away from the nanofibre sensor. (c) Variation of current through the nanofibres at different RH measured at 1 V. (d) Derived plot of variation of RH of water drop with distance.

Ultrafast RH sensing using few nanofibres

It may be noted that the nanofibre carpet device developed in this study exhibits quite fast response (≈1–2 s) comparing well with many literature examples (see Supplementary Table S1). It is known from the literature that conducting paths in carpet-like morphology come across innumerable scattering junctions, which can adversely influence the device response25,26,27. We have explored improving the response by fabricating a device with only few nanofibres across the gap electrodes instead of a carpet film. This was achieved by placing a 5 μL drop of 0.1 mM CS-DMV dispersion (Fig. 7a). The change in the voltage across a standard resistor (20 MΩ) as measured using an oscilloscope was quite rapid (Fig. 7b) as the humidity over the device was switched between 5% and 80% in cycles. In this case, the response and recovery times turned out to be 8 and 24 ms respectively (Fig. 7c). To our knowledge, this is the fastest humidity sensor made so far; nafion persulphonate4 and graphene oxide17 based sensors come close to its performance with 30–40 ms response time (see Supplementary Table S1). The sensitivity of the device was in the range, 100–500 and its variation at different RH is shown in Supplementary Fig. S5.

Figure 7
figure 7

A breath RH sensor.

(a) Tapping mode AFM images of few nanofibres across gold electrodes (≈8 μm). The z scale in the image is 20 nm. (b) The changes in output voltage measured using an oscilloscope, from a few nanofibre sensor as RH is switched between 5% and 80%. (c) Estimation of response and recovery times of the sensor. (d) Variations in the RH of the exhaled breath of a healthy person. e and i refer to the exhaling and inhaling respectively. (e) Response of the sensor at different breathing rates. Inset shows zoom in part of the response corresponding to fast breathing.

Application to human breathing order

Motivated by the fast response and sensitivity of the sensor, we found it interesting to explore the usefulness of this device in monitoring human breath, particularly during exhale as the humidity is expected to be different (usually higher) compared to inhaled (ambient) air. Working with a healthy adult male, the variations in the RH value were monitored by holding the nanofibre device at a distance of 3.5 cm from the nose while breathing normally. Interestingly, the RH over the device showed sharp rise during exhaling and dropped to ambient value while inhaling, which was nearly repetitive corresponding to the breathing cycles (see Figure 7d). Further, the device could efficiently follow, no matter how fast or slow was the breathing (Figure 7e). In the panel given, the breathing varied from 0.3 to 5 s per cycle. Importantly, the nanofibres in the device were stable throughout.

Such a device should be of importance in breath analysis. Characterization of exhaled breath has become a simple yet powerful non-invasive method of diagnosing diseases such as asthma, cancer, diabetes etc45,46,47,48,49,50. Any serious monitoring of exhaled breath should be an online process tracking the changes in every breath cycles51,52; off-line trace gas analysis suffers from inherent problems associated with sample preparation and storage, contamination, chemical transformation of the analytes, etc52. While monitoring analytes for specific diseases is important, monitoring humidity itself can possibly throw some light on an individual's health such as dehydration. Although there are many indices suggested in the literature to indicate body hydration status53,54,55, we for the first time, have made an attempt monitor dehydration through RH in the breath.

Towards this end, we considered it important to measure simultaneously the humidity and the exhaled breath flow, the latter to increase the confidence in the measurements. We therefore, fabricated a flow cum humidity sensor using CS-DMV nanofibres (Fig. 8). The device consists of supramolecular humidity sensors, D1 and D2, placed in a glass tube 8 cm apart. The glass tube is connected to a breath receiving mask (typically used for oxygen supply to patients), through a flow divider (see Fig. 8a); the latter was required as calibration using typical mass flow controllers proved difficult at realistic breath flow (≈10–50 ksccm56). As an individual breaths out into the mask, the divided flow reaches the sensor D1 at time t1 and D2 at time t2 (at half rise) and the time difference, Δt = t2 − t1 (see Fig. 8b) was used for calculating the flow. The humidity could be measured from both sensors using the respective calibration curves (see Supplementary Fig. S6). By measuring both humidity and flow rate for every breath cycle, the humidity measurement could be validated.

Figure 8
figure 8

Integration of two humidity sensors for simultaneous measurement of humidity and flow of the exhaled human breath.

(a) A photograph of the humidity cum flow sensor is shown in top. It has two supramolecular humidity sensors, D1 and D2, placed apart at a distance of 8 cm inside a glass tube of inner diameter 21 mm. The circuit diagram of the experimental set up is shown below (left). Two devices are connected in parallel and applied a bias of 1 V. Two resistors (20 MΩ each) are connected in series with the devices to give out voltage signals to an oscilloscope. A photograph of a volunteer performing breathing trial (below, right). A commercially available breathing mask was used to carry the exhaled breath over D1 and D2 sensors. After every breath out, the stray humidity in the glass tube was driven away by flushing with dry N2 for a second while the volunteer inhaled. (b) Simultaneous humidity and flow sensing from the integrated device. The screen image of oscilloscope output of exhaled breath from a healthy individual (top). Below is a single breathing cycle showing calculation of ‘Δt’, the time difference between the two sensors to reach half of the peak value. (c) Demonstration of integrated device for human breath applications. Histogram plots showing variation of humidity and flow in the exhaled breath by exercise induced dehydration at different stages and by alcohol induced dehydration before and after alcohol consumption.

The above setup was used in varied conditions of volunteers. We have monitored the RH present in nasal breath rather than that from mouth34, as the former can be considered as a better representative of the lung hydration levels (with no interference from mouth saliva). The volunteer was made to breath comfortably but consistently such that the flow rate of breath was in a reasonably narrow range (20–30 ksccm). The data shown in Fig. 8c were collected from four volunteers. Average RH and flow rate values obtained for volunteer 1 (male) in normal conditions were 88.8 ± 0.8% and 20.2 ± 0.8 ksccm respectively (see histogram in Fig. 8c and Supplementary Fig. S7a). The volunteer was then made to run around 10 km in nearly 1 hr. After relaxing for few minutes, both the quantities were measured again (see histogram in Fig. 8c). It is interesting to see a sharp decline in the RH value in the exhaled breath after exercise (80.1 ± 0.3%), which is understandable as the volunteer got dehydrated due to perspiration. The volunteer was indeed feeling thirsty, but was restrained from consuming food and water. When measurements were done after 1 hr, surprisingly, we found a gradual recovery of RH in the breath (84.4 ± 1.6%). It appears that water from the internal body fluid was diverted towards the respiratory system which reflects in the breath RH level returning to normalcy (90.1 ± 1.1%, see histogram in Fig. 8c). Human lung tissue is known to maintain high degree of wetness for efficient exchange of gases and when dehydration occurs, it is susceptible to dry out thereby reducing the water content in the exhaled breath. However in our study, we have found that RH in the breath regained even under the dehydrated condition, clearly indicating that the lung tissue, by its nature, regenerated moisture on its (alveolar) surface from various metabolic processes. Upon water intake after the 1 hr measurement, the RH value completely regained (Fig. 8c). As shown on the right in Fig. 8c, a similar but mild trend was observed in the case of a female volunteer who undertook to run 3 km in nearly 30 minutes (see Fig. 8c and Supplementary Fig. S7b).

Another important situation of body dehydration relates to alcohol consumption57. Here, we examined the relative humidity in the exhaled breath to see the effect of alcohol consumption (but not as alcohol sensor). In the given two instances (Fig. 8c, bottom), the male volunteers 3 and 4 after consuming alcohol (beer, 8% alcohol, 2 L) were restrained from consuming food and water. We observed a decline in the RH following alcohol consumption due to dehydration in the body. However, the RH values recovered in spite of not feeding water (see bottom histograms in Fig. 8c and Supplementary Fig. S8). The variation in breath alcohol concentration (BAC) was monitored at every stage; RH declined with increased BAC (Supplementary Table S2). The situation is similar to that induced by physical exercise. Among many other control experiments, we have also monitored the RH of exhaled breath when a volunteer was made to drink plenty of plain water to cause excessive hydration; indeed, it was well reflected in the breath RH measurements (see Supplementary Fig. S9). Thus in this study, we have measured both flow and RH for every cycle where flow in narrow range ensures good sampling, removing other influences on RH. While this is a preliminary study of body dehydration monitored through RH in the breath, the study should open up new insights into diagnosis through breath analysis.

Discussion

An ultra-fast, wide range, highly sensitive resistive humidity sensor has been developed based on a coronene-viologen derivative system, self-assembled in the form of nanofibre from water. While a film of nanofibres exhibited high sensitivity (≈104), devices with few nanofibres showed extremely fast response (≈10 ms). Using UV-vis, XRD and AFM measurements, we have found that the π-π interaction between the donor and the acceptor molecules depends sensitively on the surrounding humidity influencing electrical conduction across the nanofibre. The fabricated devices were found to be stable over 8 months during the study. As is evident, these devices can be used in various contexts. The RH value close to a drop of water was determined by approaching it with a nanofibre film sensor. Fast response devices made of few nanofibres have been effectively employed for dynamic monitoring of human breath. Using two such devices in a circuit, a flow cum humidity sensor has also been fabricated and its application has been demonstrated in analysing dehydrated conditions. As the sensing element is a simple organic system from solution processes, these devices are essentially of low cost and also environment friendly. Potential applications in personal healthcare as use-and-dispose devices, is evident.

Methods

Synthesis of CS-DMV nanofibres

The detailed procedure can be found in Reference43. In brief, CS (coronene tetracarboxylate) was synthesized by a twofold oxidative benzogenic Diels–Alder reaction of perylene with N-ethyl maleimide and subsequent hydrolysis with KOH in methanol. DMV (dodecyl methyl viologen) was synthesized from 4,4′-bipyridine by controlled reaction on one nitrogen with dodecyl bromide to give mono pyridinium ion and followed by treating the with methyl iodide to amphiphllic dicationic bipyridine (DMV). The charge-transfer fibres have been assembled from injection of a methanol solution of DMV, in which the viologens are molecularly dissolved, to the aqueous solution containing free CS molecules (10% v/v methanol in water).

Characterisation

The structural analysis was carried out by X-ray diffraction using Bruker D8 Discover diffractometer attached with temperature and humidity controlled stage. Cu Kα (λ = 1.5419 Å) was used as X-ray source. Atomic force microscopy (AFM) was performed using Multimode, Veeco digital instruments, USA with Nanoscope IV controller. The humidity control was achieved by using an environmental hood with flow of water vapors of different RH 15%, 42% and 62% continuously for 15 minutes. The images were collected in the tapping mode using Si cantilevers. The FE-SEM imaging was done using a Nova NanoSEM 600 (FEI Co., The Netherlands) by drop casting the aqueous solution on Si(100) substrate followed by drying in vacuum and was operated with an accelerating voltage of 10 kV. Absorption spectra were recorded on a Perkin Elmer Lambda 900 UV-VIS-NIR Spectrometer using 1 mm path length cuvette. To analyse the intensity variation with increasing RH, a baseline was drawn for each spectrum using Origin 8.0 software in the region of interest, 400 to 600 nm. The raw data was then subtracted from the baseline. Vapors of different RH were obtained by controlling the equilibrium vapor pressure of sulphuric acid15. A humidity cell was constructed for rapid switching of RH and switching between two RH levels was done using a Tee with flow rate of 200–300 sccm. A commercial humidity meter Testo 410-2 was used to measure the obtained RH. For alcohol monitoring a commercial alcohol meter (BACTRACK B70) was used. We confirm that the Ethical Committee of the JNCASR approved all the experiments described in this paper. Further, informed consent was obtained from all the subjects.

Device fabrication

The glass substrates were cleaned in piranha solution followed by washing in distilled water several times. Metallic contacts were made by physical vapor deposition of Au by shadow masking using a resistive thermal evaporator (HindHivac, India) at a base pressure of 10−6 Torr. A Keithley Semiconductor Characterization System 4200 was used to measure device characteristics. An Oscilloscope Tektronix DPO 4104 was used to measure the voltage drop across resistors.