Metal oxide resistive gas sensors suffer from poor selectivity that restricts their practical applicability. Conventional sensor arrays are used to improve selectivity which increased the system complexity. Here, we have proposed a novel NiO/ZnO-based p–n junction single-diode device for selective sensing of several volatile organic compounds (VOCs) simultaneously by tuning bias voltage. The operating voltage was varied between 3 and 5 volts to achieve selective sensing of 2-propanol (19.1 times for 95 ppm with response and recovery times of 70 s and 55 s respectively‚ at 3 volts), toluene , and formaldehyde . A probable mechanism of the tunable selectivity with operating bias voltage due to increase in surface carriers with increasing voltage was hence put forth. Thus, this device may play an important role to develop future selective multiple VOC sensor thereby replacing standard sensor arrays. Employed in manufacturing many industrial products, volatile organic compounds (VOCs) are often highly toxic. A diode based device has been developed that allows the selective sensing of several VOCs simultaneously in a cost-efficient manner. Various methods can be used to detect VOCs, but they have considerable shortcomings, including high cost, excessive size, and poor selectivity. However, a team headed by Prasanta Kumar Guha at the Indian Institute of Technology Kharagpur, India has succeeded in developing a new single-diode device based on nickel oxide and zinc oxide (NiO/ZnO) heterojunction that can be fabricated in an environment-friendly fashion and allows accurate sensing of VOCs. The authors believe that their voltage-tunable selective NiO/ZnO diode device has considerable potential for application as future VOC sensors, replacing the complex gas sensor arrays that are currently in standard commercial use. However, VOCs are toxic and can cause many short-term as well as long-term health problems if inhaled in excess amount5. There are several applications where selective detection of VOCs is important. For example, detection and removal of VOCs  are necessary in smart houses to maintain indoor air quality6. Specific VOCs (in excess amount) can be found in exhaled human breath during deteriorated health condition, e.g., acetone for type II diabetes mellitus, ammonia for renal failure, and NOx for asthma and COPD. Detection of VOCs plays an important role in agriculture as well, e.g., ethylene and esters are released with ripening of fruits . So, level of such VOCs can give information of ripening stage of fruits. Thus, it is important to detect VOCs selectively8.Volatile organic compounds (VOCs) are used for the development of several industrial products2 or ZnO or WO3 with Pt, Pd, and Au nanoparticles)11, or composites are formed with other metal oxides or two-dimensional materials 16. This approach though improves the sensor performance but fails to make sensors fully selective. On the other hand, pattern recognition algorithm can also be used to train sensors and then (using database) detect the unknown VOCs17. This is more effective for improving selectivity; however, the approach is complicated and sometimes computer intensive. In fact, most of the VOC sensors available in the market today gives information of total VOC, instead of individual VOC. In this respect, p–n heterojunction diode can play an important role. A p–n diode can also be integrated with CMOS  die-like resistive sensor. But the main advantage is, a diode forward bias voltage can be changed to modulate the number of carriers participating in sensing. We believe this can be used to tune the selectivity of the sensor among different VOCs. A p–n nano heterojunction can be formed (both in situ and ex situ) in the crystallite level as well. Several reports demonstrate p–n nano heterojunctions  as sensors. However, the diode like nonlinear nature is not expected in these cases as it is impossible to take contacts individually from p and n sides and hence the voltage-tunable selectivity cannot be achieved. These films hence behave as conventional resistive sensors. To the best of authors’ knowledge, this will be the first report of voltage control selectivity.VOCs can be detected using various techniques. For example, gas chromatography–mass spectrometry (GC–MS) is an important tool to detect VOCs very accurately. But, it is bulky, trained man power is required, data cannot be obtained in real time, and also GC–MS is hugely expensive . Other sensors, like optical, electrochemical, and resistive sensors are also being used for detecting VOCs. Optical sensors , though accurate, are very expensive (>$1000). Electrochemical sensors are also not cheap (each discrete sensor may cost ~$25), have larger footprint and also suffer from short life time . Resistive sensors have much smaller footprint due to matured microelectronics technology but they suffer from poor selectivity. There are primarily two ways through which sensors’ selectivity can be improved—(i) using functionalized nanomaterial-based sensing layer and (ii) using pattern recognition techniques. In the first approach, metal oxides are doped with metal nanoparticles 2·6H2O was solubilized in 10 mL deionized (DI) water. To this, 10 mL of 0.1 M NaOH was added dropwise under constant stirring. The resultant precipitate was washed and filtered to obtain pure Ni(OH)2 that was then dispersed in 20 mL dimethylformamide and sonicated for 8 h to obtain single to few layered flakes of Ni(OH)2. Then Ni(OH)2 film was spin coated on a ITO coated glass.The sensor device was fabricated by evenly growing ZnO hierarchical nanostructures on NiO nano flakes. All chemicals were purchased from Merck India Pvt. Ltd. and were used without further purification. In a typical fabrication process, 0.05 M Ni2·6H2O were dissolved in 120 mL DI water. To this, 6 mL 25% NH3 solution was added under constant stirring until the turbidity disappears. The solution was then transferred to a teflon-lined steel autoclave and the Ni(OH)2 coated substrate was obliquely immersed in the solution. The solution was then kept at 95 °C for 3 h. The autoclave was allowed to cool at room temperature, and the substrate was washed and dried. Finally, the device was calcined at 450 °C and gold contacts were thermally evaporated to form NiO/ZnO heterojunction-based sensing device. The schematic of the device is illustrated in Fig. The ZnO nanostructure layer was grown hydrothermally on Ni(OH)21. The baseline of sensor was stabilized by purging dry air for 2 h and then different concentrations (19–95 ppm) of VOCs  were introduced into the chamber. The operating diode voltage was varied from 3 to 5 volts. The response was calculated by the following formula:Ia is the current through the sensor in presence of dry air and IVOC is the current through the sensor after introduction of VOCs diluted by air.The sensing experiment was carried out in a customized air tight gas test setup. The sensor was interfaced with a semiconductor parametric analyzer  to measure the real-time change in sensor signal (current). The flow of VOC and dry air were controlled by digital mass flow controllers (MFC: Alicat Inc.). A detailed description of the setup was demonstrated in ref. Kα radiation, λ = 1.5404 Å). The XRD spectrum shows peaks at 38.12°, 44.35°, 64.62°, and 77.45° corresponding to (111), (200), (220), and (311) of NiO (JCPDS card no. 47-1049) and 31.88°, 34.59°, 36.31°, 47.70°, 56.56°, 62.99°, and 68.13° corresponding to (100), (002), (101), (102), (110), (103), and (112) of hexagonal ZnO , respectively. The maximum response was obtained at 300 °C for all three VOCs, hence all the experiments were performed at 300 °C Fig. . The dioThe gas sensor showed excellent response toward three VOCs. The sensor was found to give 19.1 times response with 95 ppm of 2-propanol with response and recovery times of 70 s and 55 s respectively, at an operating voltage of 3 volts Fig. . When th23:σnoise is the standard deviation (root mean square) of noise and s is the slope of the response vs. concentration plot. The calculated value of LOD for the sensor was 710 ppb, 1.92 ppm, and 961 ppb for 2-propanol, toluene, and formaldehyde, respectively.The limit of detection (LOD) of the sensor for the different VOCs was calculated using the following relationIt was observed that the sensor was selective for 2-propanol over similar alcohols , which should undergo same oxidation reaction under similar physical conditions. This could be explained on the basis of the electron withdrawing nature (−I effect) of the functional groups. In general, the four functional groups encountered in the present study can be arranged as follows:6H5 > –R. Hence, it can be concluded that the the oxygen species requirement by the above groups for any reaction (in this case oxidation) will be more for –CHO  and least for –R . Again, considering electron releasing nature (+I effect) of the alkyl groups, the arrangement would be: 3° > 2° > 1°. 2-Propanol being a 2° alcohol, while methanol and ethanol are 1° alcohols, the oxygen requirements for these structurally different alcohols are not same. 2-Propanol, having a higher +I effect will release less electrons during reaction.–CHO > –OH > –CThe sensor performance was studied in varying humidity (20–80% RH). It was observed that there was a slight degradation in the sensor response  with respect to dry VOC vapors Fig. . The sen(i)EgNiO = 3.67 eV, electron affinity NiO 3.95 eV and EgZnO = 3.24 eV, electron affinity ZnO 4.35 eV) has been illustrated in Fig. The band diagram of NiO/ZnO heterojunction device ((ii)It is well known that height of a p–n junction barrier potential can be modulated by applying bias voltage. The barrier height reduces on increasing the forward bias, thereby facilitating more carriers (electrons and holes) to cross the junction. The more the number of carriers crossing the junction, the more will be the carriers need to replenish from the bias voltage to maintain the supply of carriers.(iii)−. So, if we increase forward bias voltage, there will be more electrons  supplied to the ZnO surface, which in turn gives rise to more number of O− adsorbates. This can be seen from the experimental plot in Fig. I–V characteristics shows much higher diode current in presence of dry N2 (black plot) compared to that in dry air (red plot).The oxygen molecules (present in air) can absorb the conduction band electrons present near the surface. In this case, free electrons near the top surface of ZnO will be absorbed by oxygen forming O(iv)− adsorbates present at the ZnO surface. These O− will interact with the VOCs and release the trapped electrons (see the equations below in (v)), which in turn will increase the diode currents.In order to support the above experimental argument, simulation was carried out of the diode structure by a T-CAD simulation tool (Silvaco). In Fig. (v)The equations governing the sensing of the three VOCs are as follows:3)2 – CH–OH + O− → (CH3)2 – CO + H2O + 1e−with 2-propanol:  increases from 2-propanol to toluene and then highest in case of formaldehyde. This in turn shifts the selectivity from 2-propanol to formaldehyde with increase in operating voltage due to the increase in number of available electrons to take part in the sensing. As mentioned before, on introducing the analyte gas , the adsorbed oxygen species get desorbed upon reaction with the analyte thereby repopulating the surface with electrons. As a result, the diode current increases. This is illustrated in Fig. Thus, from the above equations, it is clear that the requirement of oxygen adsorbates  to form O(vi)In reverse bias, the diode current is very low, i.e., diode saturation current. This current is low because of the large depletion region exists at the junction. Now, in presence of VOCs, though electrons will be released by the oxygen adsorbates, but they will fail to cross the junction. Thus, no appreciable response was found in reverse bias case. This is explained schematically in Fig. The mechanism of tuning selectivity of VOC sensor device by varying bias voltage may be explained as follows:Thus, in this work, it was established that it is possible to fabricate a single NiO/ZnO-based vertical heterojunction diode via chemical based, cost-efficient hydrothermal technique that can selectively sense different VOCs by tuning the forward bias voltage (in the nonlinear region). Selective sensing of 2-propanol , toluene , and formaldehyde  was achieved using this device. The sensing mechanism demonstrated that the exponential rise in carrier concentration with increase in bias voltage (resulting in increasing surface carriers) can be related to the type of gas being sensed by the device, as it depends on the electron requirement of the analyte gases. We believe, diode sensor can play an important role to develop selective, highly response VOC sensor in near future thereby eradicating complex structured gas sensor arrays being used commercially nowadays.Supplemental information