1 Introduction

The fascinating world of porphyrins offers almost unlimited opportunities of exploiting the richness of their properties in view of nanotechnological applications, tailoring the molecular systems by appropriate peripheral decorations of the single molecule, as well as by the assembly of molecular units in complex architectures [1]. Ordered or disordered layers, nanoparticles, nanosheets, nanorods, nanorings, nanowires, and nanotubes have been prepared, characterized, and applied in photocatalysis, pharmacology, solar energy conversion, sensors, and hybrid devices [2,3,4,5,6,7,8,9]. In view of their use in these different fields, various characteristics of the porphyrin-based molecular structures have been studied: to mention some examples, the sensitivity and/or selectivity to target analytes [10], the transport dependence upon the size of the nanostructures [11], the effect of charging and discharging processes in varying the conductance of a field-effect transistor [12]. Porphyrins in these devices have an active role: their tunable reactivity on one side represents the main reason for application in sensors [13], but on the other side it can limit their stability, since they suffer photobleaching, solvolysis by the solvent, or damage after exposure to aggressive analytes [14]. This reduced stability can consequently produce a gradual loss of the efficiency, and a worsening of the device performance.

The driving force for the porphyrin self-organization in the solid state is mainly the π–π stacking interaction between the planar aromatic rings, which represents an excellent platform for organizing the ordered aggregation at the nanoscale. These π–π stackings are considered as weak interactions in supramolecular chemistry, but their synergy can produce stable structures, insoluble in common solvents, for example observed in porphin or octamethylporphyrin. The ordered aggregation of porphyrins can be achieved in different ways, but an extremely high control level in building up nanostructures is possible by using organic epitaxy, i.e., by the deposition of molecules on appropriately chosen organic substrates driving the crystal structure and orientation of the organic layer [7, 15,16,17]. Among supramolecular nanostructures, nanowires represent an intriguing choice for wiring elements in organic devices and circuits at the nanoscale [12, 18]. For example, it has been demonstrated that nanowires of fused-oligo-porphyrins exhibit a negative attenuation factor of conductivity with length [19], differently from single molecule wires [20], although the better transport properties of the former are accompanied by a higher reactivity versus analytes, as the nanowires expose directly the naked core of the ring.

In the last years, the use of porphyrin aggregates and nanostructures for sensing applications has represented a significant achievement in constructing solid-state devices for the detection and recognition of volatiles [10, 21]. By exploiting: (1) the supramolecular chemistry to assemble molecules; (2) the flexibility of porphyrins to tune their molecular properties; and (3) the richness of such properties, complex architectures have been obtained, with a higher sensitivity to analytes and a larger range of applications compared to single molecular units [10]. Porphyrins can bind target analytes with a manifold of different interactions, ranging from the axial binding to the coordinated metal to end with the unavoidable dispersion forces. In nano-gravimetric chemical sensors [13], all these porphyrin-analyte bonding interactions lead to the increase of mass of the sensing layer that causes a characteristic shift of the resonance frequency of the oscillating quartz (where the porphyrin have been deposited), thus transducing the adsorption of gaseous particles in an electric signal. This signal is directly connected to the modifications of the optical anisotropy of the porphyrin layer, indeed sensitive to structural/chemical modifications [22]. By depositing metalloporphyrins onto solid substrates, as demonstrated for Langmuir–Schaeffer (LS) and Langmuir–Blodgett (LB) films, monitoring of the adsorption of analytes can be carried out by optical methods using polarized light, namely by reflectance anisotropy spectroscopy (RAS) [22, 23]. RAS has enabled the identification of classes of molecules (alcohols, alkanes, amines) on the basis of the interaction involved in the adsorption process, resulting in a signal linearly connected to the composition of the analyzed atmosphere [23].

Within this frame, the present study is aimed at checking by optical measurements if specific, highly ordered, crystalline nanostructures, namely crystalline nanowires of meso-tetraphenyl porphyrin (H2TPP) and meso-tetraphenyl porphyrin-Zn(II) (ZnTPP), may interact with different analytes, given their crystal structure where the molecules are closely packed. The choice of these two molecules has permitted investigating the effects of the insertion of a coordinated metal atom in the porphyrin center to favor a stronger coordination interaction with analytes, as indeed happens in amines. Then, depending on the level of reactivity, such nanowires may be assessed as more or less adequate, to act as functional materials in sensors or other organic electronic devices [24]. In other words, the present paper can also bestow a conceivable extension of the application of porphyrins nanowires beyond sensors, in particular, in aggressive environment.

2 Experimental

Meso-tetraphenyl porphyrin (H2TPP) and meso-tetraphenyl porphyrin-Zn(II) (ZnTPP) (Sigma-Aldrich) were used as received. (010)-oriented single crystals of potassium acid phthalate (KAP) were purchased from Ekspla to be used as substrates and were cleaved in air before use. Thin films of H2TPP and ZnTPP were grown at room temperature on KAP substrates by means of an organic molecular beam epitaxy (OMBE) apparatus working under high vacuum (base pressure < 2 × 10−7 torr) with a Knudsen-type effusion cell at 275 °C for H2TPP and 307 °C for ZnTPP.

Films of two different nominal thicknesses, 3 nm and 5 nm, were grown for each molecule. The nominal thickness was monitored by means of a quartz microbalance. According to the growth protocols reported in Refs. [7, 26], H2TPP and ZnTPP crystalline nanowires are selectively grown, uniformly distributed over the whole substrate surface. Atomic force microscopy (AFM) images were collected in intermittent-contact mode in air with a Nanoscope V MultiMode (Bruker) microscope, with silicon probes (tip radius 8 nm, spring constant 40 N/m, resonance frequency ≈ 340 kHz) with a resolution of 512 × 512 pixels. Image processing was performed with the software WSXM [25]. In Fig. 1, the surface of two 5-nm-thick films is shown, as imaged by AFM, and shows the presence of the nanowires. The crystal structure of the nanowires is a specific polymorph of the two materials, having in both cases the stacking direction of the molecules along the long wire axis, which results well aligned along [001]KAP, thanks to organic epitaxy [7, 26]. A detailed discussion about the growth protocol, structural characterization, and epitaxial relation is reported in Refs. [7, 26].

Fig. 1
figure 1

AFM 5 μm × 5 μm height images of (left panel) a 5-nm-thick H2TPP film on KAP, and (right panel) a 5-nm-thick ZnTPP film on KAP. Both films are made of crystalline nanowires, well aligned along the [001] direction of the KAP substrate, obtained following specific growth protocols. Below each image, the signal profile collected along the white line is also reported

After growth, the samples have been inserted in a little stainless steel chamber with inlet and outlet gates for the gas flow, controlled by valves. In stationary conditions (that is without analytes entering the chamber), the inner atmosphere of the chamber was high purity (99.999%) nitrogen. A home-made glass window allows the normal-incidence optical access to the sample, kept at room temperature. The optical measurements have been performed measuring the optical anisotropy by a RAS spectrometer in the range 250–800 nm, using a Xe lamp, a grating monochromator, two CaF2 Glan–Taylor polarizers, a photoelastic modulator (PEM), and a photomultiplier as detector [27].

In RAS one measures, at nearly normal incidence, the difference of the sample reflectance (ΔR) for light linearly polarized alternatively along two perpendicular directions (α and β), then reporting the ratio between ΔR and the average sample reflectance (R) as a function of wavelength:

$$ \Delta R{/}R = 2(R_{\alpha } - R_{\beta } ){/}(R_{\alpha } + R_{\beta } ) $$

where Ri (i = α, β) is the reflectance for linearly polarized light in state i. The RAS technique (applied to inorganic surfaces [28], organic materials [29,30,31,32,33], 2D materials [34]) is discussed in details elsewhere [35]; it is important to note here its extremely high sensitivity, up to 1 × 10–5. When a signal is measured, however, the detection chain (preamplifier and digital lock-in) has to be set at the proper scale, so that in conclusion variations as low as 1 × 10–2 of the anisotropy signal itself can be measured. In our experiment, the electric field of light was linearly polarized, respectively, parallel (α) and orthogonal (β) to the long axis of the nanowires, i.e., the direction of the maximum optical anisotropy of the film [7, 26].

We have monitored the RAS signal during the exposure of the film to vapors of different chemical species. Vapors were obtained by N2 bubbling at room temperature in the liquid analyte, and injected into the measurement cell. As analytes, two alcohols (ethanol, butanol), two amines (butylamine, triethylamine), and an alkane (hexane) were considered. This choice has been done to investigate the different interaction modes among porphyrin nanowires and volatiles. For hexane only London forces can occur, while in the case of alcohols both coordination to the metal ion and hydrogen bond are added. In the case of amines, the coordination to Zn ion is enhanced as a strong interaction. For alcohols, the two compounds have been tested to evaluate the possible influence of the dispersion interaction related to the length of alkyl chain. Finally, we used both amines, because the linear structure of butylamine can avoid the steric effect present when the bulky triethylamine interacts with the porphyrin aggregates in the solid layer.

To monitor the variations of ΔR/R eventually produced by interaction of the nanowires with the analytes, the following procedure has been adopted for all samples:

  1. (a)

    The RAS spectrum in the 350–650 nm spectral range (350–500 nm for ZnTPP) has been recorded before and after exposure, and the difference calculated to highlight signal variations; the “before” spectrum relates to the film as grown and stored in atmosphere;

  2. (b)

    During each exposure stage, the RAS signal has been monitored in time every 10 s—intervals at fixed photon wavelength (usually selecting the maximum of the ΔR/R curve).

After each exposure stage, the effect of purging by a flux of pure nitrogen in the chamber, known to remove the contaminants recovering the original film conditions, was also monitored by RAS.

3 Results and discussion

In Fig. 2, the RAS spectra of two as-grown films of H2TPP (black curve) and ZnTPP (red curve), deposited on KAP with 5 nm nominal thickness, are presented. The peak of the anisotropy (430 nm for H2TPP and 447 nm for ZnTPP) is for both materials in the spectral range of the Soret bands, dominating the UV–Vis spectrum of porphyrins crystals [7, 26, 36]. The spectra for the 3-nm-thick samples are similar, with lower amplitude. In all cases, the anisotropy reaches remarkable values, as high as about 50–70% for the thicker layers. The high anisotropy values are consistent with the optical anisotropy observed using polarized light transmission spectra measured with the light electric field parallel and perpendicular to the long nanowire axis [26, 36]. At longer wavelengths, characteristic oscillations dominate all the spectra: they are due to the KAP birefringence, as the polarization axes of the spectrometer do not coincide perfectly with the symmetry axes of KAP [27].

Fig. 2
figure 2

ΔR/R spectra measured at two films on KAP with the same nominal thickness of 5 nm: a film of H2TPP (black curve) and a film of ZnTPP (red curve). The positive peak means higher reflectance for light polarized along the nanowire axis. The low energy side of the anisotropy peak for H2TPP is dominated by oscillations (due to the birefringence of the KAP substrate, as explained in Ref. [27]), that obscure almost completely the presence of any other structure. Consequently, for ZnTPP ΔR/R spectra have been measured in a limited wavelength range, without losing any significant information

Exposure to alcohol has been already demonstrated to lead to detectable variations of the anisotropy signal in the visible–UV region in porphyrins [37]. Monitoring the RAS response of the H2TPP and ZnTPP nanowires during exposure to ethanol and butanol permits checking the strength and characteristics of the interaction resulting with these porphyrins when they are in the form of crystalline nanowires with the specific structure. When ethanol and butanol are compared, the main common interactions with porphyrin layers are the non-selective London forces, with the addition of H bonds for H2TPP and coordination for the ZnTPP layer. However, the longer carbon chain of butanol increases the importance of non-selective dispersion forces with respect to the more selective H bond and coordination interactions.

In Fig. 3, we report a representative series of the results obtained exposing the 3-nm-thick film of H2TPP to ethanol and butanol, being paradigmatic of the behavior of all the other samples. In Fig. 3, (left panel) the spectra collected before (red curve) and after (green curve) exposure are reported, almost indistinguishable; this is confirmed by the difference spectrum (black curve), which results in a nearly zero line (the oscillations above 460 nm originate from the not-coincident KAP-related fringes, being therefore meaningless in terms of evolution with vapor exposure).

Fig. 3
figure 3

Left panel: ΔR/R spectra measured at a 3-nm-thick H2TPP film before (red curve) and after (green curve) exposure to saturated vapors of ethanol. The black curve represents the difference between the two spectra. Right panel: RAS signal measured at the peak position (430 nm) of the ΔR/R spectrum of the same film during exposure to saturated vapors of ethanol and butanol (peth = 5.73 kPa @293 K; pbut = 1.7 kPa @ 293 K). The arrows indicate when the purging N2 gas and the analyte vapor (vap) have been introduced (ON) or not (OFF) in the chamber. The signals have been arbitrarily shifted on the vertical axis to present them in the same plot

These results demonstrate the insensitivity to alcohols of all nanowire samples, independently of the molecules, H2- or Zn-TPP, and film thickness. Strong support to this conclusion comes from the data in the right panel of Fig. 3, showing the optical signal of the same sample at 430 nm, monitored during exposure and purging cycles with the different alcohols. Introduction of the analyte (vapor ON) is followed by cleaning cycles (vapor OFF, nitrogen ON), leaving the RAS signal almost unchanged; the tiny (< 5 × 10–3) and irregular variations of the signal sometimes recorded (not correlated to the gas inlet) correspond to the noise at the chosen scale of the electronic chain detecting the modulated RAS signal. A similar “negative” behavior is observed for both alcohols and all the different samples. This result is at variance with previous experiments by RAS on LB layers of porphyrins, where a clear modification (about one tenth of the whole anisotropy) of the spectral line shape is observed around the Soret band during exposure to well lower quantities of ethanol [37]. In that case, the quite fast and reversible variation of the optical anisotropy has been explained in terms of a temporary structural modification of the film.

In Fig. 4, the response to hexane of the 5-nm-thick ZnTPP film, taken as an example representative for all samples, is shown in terms of the same curves as those in Fig. 3: in the left panel, the spectra before and after exposure are reported, while the right panel shows the signal at 447 nm during several cycles. Once more, the spectra and their difference do not permit observation of any variation upon exposure to hexane vapor; at the same time, the signal at 447 nm does not exhibit any meaningful variation. Some differences with respect to the previous case could in principle be expected between H2- and Zn-TPP: with ethanol and butanol multiple binding mechanisms, such as hydrogen bond or coordination to the porphyrin core metal can be present, while hexane can only be adsorbed via dispersion interactions.

Fig. 4
figure 4

Left panel: ΔR/R spectra measured at a 5-nm-thick ZnTPP film before (red curve) and after (green curve) exposure to saturated vapors of hexane (phex = 16.94 kPa@300 K). The two spectra are almost perfectly superimposed. The black curve represents the difference between the two spectra. Right panel: RAS signal measured at the peak position (447 nm) of the ΔR/R spectrum of the same film during exposure to saturated vapors of hexane. The arrows indicate when the purging N2 gas and the analyte vapor (vap) have been introduced (ON) or not (OFF) in the chamber

This noteworthy lack of sensitivity versus the chosen set of chemicals definitely rules out the possible use of our porphyrin crystalline nanowires as active elements in gas sensors, contrary to layers, nanosheets, or nanotubes displaying a completely different molecular packing [2,3,4,5,6]. The detected insensitivity of the nanowires versus the analytes is not due to the molecule, being present in all mentioned structures, nor to the length and density of the nanowires. In fact, their crystal structure hinders the mechanisms of binding between the analytes and the molecules, thanks to a closely packed arrangement of the molecules in the crystal, like in a Roman “testudo” formation. The distance between two adjacent H2TPP porphyrin molecules in an ordered structure due to π–π interaction varies in a range [38] whose average nicely compares with the stacking distance along the nanowire of the same molecule (3.79 Å), coming from the peculiar crystal structure [7]. When the analytes interact with porphyrins through the known, various mechanisms, the effect of the different interactions can be dramatically dissimilar: while the low energy dispersion interactions can induce swelling of the nanostructure, with the macrocycles slightly moving away from each other, the coordination of analytes completely destroys the three-dimensional structure of the nanowire, because it imposes the separation of the vicinal porphyrin disks; in this case, the stiffness of the whole nanowire structure due to the supramolecular organization in the crystal can prevent the interaction, which would have a very high energetic cost (larger than for a simple couple of paired porphyrins). This is at variance with LB or LS layers exposed to gases or vapors [22, 23]: in these cases, the less strongly packed structure of the porphyrin assembly is prone to favor the interaction of molecules with analytes.

The same series of experiments have been repeated for all the samples with two amines, namely triethylamine and butylamine, both of them expected to have a coordination interaction with the Zn ion, similar to alcohols and hexane, but with a stronger intensity. The experiments result in an evident lack of any effect on the optical anisotropy of the nanowires, also in the case of ZnTPP (expected to have a stronger interaction). We present in Fig. 5 the signal monitored on a 5-nm-thick ZnTPP film at about 447 nm during the two distinct exposure stages, displaying a conclusive and unexpected, given the strong reactivity of amines, absence of effects.

Fig. 5
figure 5

Left panel: ΔR/R spectra measured at a 5-nm-thick ZnTPP film before (green curve) and after (red curve) exposure to saturated vapors of butylamine. The two spectra are almost perfectly superimposed. The black curve represents the difference between the two spectra. Right panel: RAS signal measured at the peak position (447 nm) of the ΔR/R spectrum of a 5-nm-thick ZnTPP nanowires film during exposure of the film to saturated vapors of triethylamine (red curve, ptriethy = 6.9 kPa @ 293 K) and butylamine (blue curve, pbuthy = 10.9 kPa @ 293 K). The arrows indicate when the purging N2 gas and the analyte vapor (vap) have been introduced (ON) or not (OFF) in the chamber

4 Conclusions

The results here shown clearly demonstrate that the crystalline H2TPP or ZnTPP nanowires grown by OMBE on a properly selected crystalline substrate present a completely different behavior with respect to most porphyrin aggregates and nanostructures, being insensitive to the presence of different analytes. Therefore, the exploitation of these nanowires as sensing elements in chemical sensors cannot be proposed: the compact structure of the nanowire eliminates any possibility of interaction with analytes, preventing, in the case of ZnTPP, even the strong coordination of butylamine with the metal ion, otherwise causing the swelling of the structure. On the contrary, the robustness of these nanowires even in very aggressive environments suggests a possible application as active materials in organic devices, to overwhelm their intrinsic weakness related to the limited material stability [24]. As a more general conclusion, our work demonstrates that organic molecular nanostructures suitable for device integration, such as our crystalline TPP nanowires, can be implemented through an appropriate material design by taking advantage of the opportunity offered by organic epitaxy, thus achieving a real molecular architectonics for functional applications.