1 Introduction

Challenges in energy sector coupled with quest for eco-friendly and environment friendly source of energy has called for more research in solar energy. The branch of technology that studies different materials at a nanometric scale is referred to as nanotechnology and it is also defined as science of production, manipulation and use of materials at subatomic level that finds its application in materials science, engineering, and electronics. A plant- based material that may provide solutions to the current energy crises may be found in Nanomaterials. Synthesis of nanoparticles using plant extract is gaining importance as an alternative to conventional method of synthesis because of its simplicity and environmental friendliness. ZnO is an inorganic material with high electron mobility and easy to prepare as electron acceptor to dissociate excitons formed in conjugated polymer as the active material of solar cells. The objectives of this research are to understand the synthesis of zinc oxide nanoparticles using plant extract (bashful leaves) whose sustainable potential is inherent in its availability in abundance in our environment, to explore the behavior of zinc oxide nanoparticles thin films in certain condition and characterize ZnO.NPs thin film as a precursor for organic electronics applications. The research focus on synthesis, characterization of ZnO.NPs and evaluation of its properties. Zinc oxide (ZnO) is an inorganic material that has found its uses in many applications and can be prepared as a nanoparticle [1,2,3,4,5,6,7,8,9]. Zinc oxide nanoparticles (ZnONPs) has been widely used as donor material due to its superior optoelectronic properties and its relatively easy to be synthesized by using the following methods: ultrasound, anodization, co-precipitation, sol–gel method, chemical vapor deposition and mechanochemical-thermal synthesis. [10] in their research reported that the synthesized ZnO nanoparticles are moderately stable, roughly spherical with maximum particles in size range within 9–10 nm in diameter. [11] reported the synthesis of ZnO nanoparticles using Trifolium pratense flower extract characterized using different methods to study the efficacy of the synthesized ZnO nanoparticles against clinical and standard strain. [12] in their article Green medicated synthesis and characterization of ZnO nanoparticles using Euphorbia Jatropa latex as reducing agent reported that latex plant played an important role in controlling the size of the particle and its morphology. [13] reported that Mimosa pudica and coffee powder extracts materials have crystallite size of around 27.14 Å and 46.94 Å and that Photocatalytic activity of ZnO nanoparticles is related to the crystallite size as well as band gap energy values. [14] reported that ZnO nanoparticles have a good electrochemical activity and are consider as a potential electrocatalyst. Zinc oxide nanoparticles (ZnO–NP) has been widely developed as donor material due to its superior optoelectronic properties and its relatively easy to be synthesized by using solution methods. [15] used a sol–gel method to synthesis and study ZnO NPs. [16] carried out green synthesis of nanoparticles by biological systems they reported peaks absorption around 350 nm due to large excitation binding energy at room temperature. ZnO nanoparticles was blended with a poly-3-hexyl-thiophene as active material for high performance solar cell by [17, 18] blended ZnO.NPs with P3HT and an improvement was reported in interchains and intrachains ordering when compared to pure P3HT. Power conversion efficiency of solar cells also improved. ZnO.NPs was characterized by means of UV–Vis spectroscopy for optical properties, Scanning Electron Microscopy (SEM) for morphology, chemical structure by means of Fourier Transform Infra-Red (FTIR) spectroscopy, X-Ray Diffraction (XRD) for ZnONPs pattern and Solar Simulator to determine its electrical properties.

2 Experimental

2.1 Materials

The materials used were bashful leaves (M. pudica), Zinc acetate dihydrate, Ethanol, Sodium hydroxide (NaOH). Beakers glass, petri dish, filter papers, oven, spatula, and magnetic stirrer were some of the instruments used to carry out the research work.

2.2 Methodology

All experimental procedures of preparation of the thin films was performed under ambient air. The glove-box facility was not available for the research.

2.2.1 Substrate preparation

Clean rectangular glass slides of dimension 25.4 mm by 76.2 mm were used as substrates. The glass substrates were washed with detergent solution for 10–15 min in ultrasonic sonicator and rinsed in distilled water for 15 min at 30 °C. The substrate was cleaned with Isopropanol alcohol (IPA) in ultrasonic bath for 15 min at 30 °C and dried in a stream of nitrogen gas (N2).

2.2.2 Preparation of plant extract

30 g of Ewe patanmon (Yoruba name), bashful leaves (M. pudica), were collected and washed thoroughly with distilled water to remove dirt and the residual moisture. The leaves were grinded into powder after drying in ambient temperature, 0.4 g of the powder sample was added into 40 ml of ethanol solvent and stirred for 24 h without heat using magnetic stirrer. The solution was filtered. The extract was stored and kept away from ray of the sun.

2.2.3 Preparation of aqueous zinc acetate dihydrate solution

0.168 g of Zinc acetate dehydrate was dissolved in 20 ml of ethanol at room temperature. The solution was heated at 90 °C for 40 min using magnetic stirrer. The solution was left to cool under ambient temperature.

2.2.4 Synthesis of zinc-oxide nanoparticles (ZnO.NPs)

0.5 M aqueous solution of zinc acetate dihydrate prepared was added to 10 ml of plant extract which was stirred without heat for 4 h using magnetic stirrer for homogenous mixture. Sodium hydroxide (NaOH) solution was then prepared by mixing it with `0.8 M aqueous ethanol and stirred without heat for 4 h. The two solutions were added together and stirred for 6 h for homogenous mixture and chemical reaction. Zn(OH)2 precipitate that settled at the bottom of the sealed beaker was obtained by removal of excess mother liquor. The precipitate Zn(OH)2 by-products was removed by washing with deionized water and acetone. Heating process or baking was carried out at the temperature of 300 °C for 45 min to evaporate the solvent in a carbolite tubular furnance (Srw 21-501042 Type-CT17) and to convert Zn(OH)2 into zinc-oxide nanoparticles (ZnO.NPs) particle powder.

2.2.5 Deposition of synthesized zinc-oxide nanoparticles (ZnO.NPs)

ZnO.NPs solution was prepared and deposited on glass substrate at different spin-coating speed using spin -coater (laurel WS-650 Hz-23NPP). Spin coating speeds of 3000 revolution per minute (rpm), 2000 rpm, 1500 rpm, 1000 rpm, 750 rpm, and 500 rpm were considered respectively for 30 s corresponding to thin film layer thicknesses of 32 nm, 35 nm, 87 nm, 115 nm, 146 nm, and 177 nm respectively. Depending on the speed of rotation (rpm) of the spin coater, the desirable thickness of the sample was obtained. It is important to note that the thickness of film being spin -coated depend on both time and speed of rotating stub as specified by equipment manufacturer in absence of surface profilometer.

2.2.6 Zinc oxide nanoparticles characterization

ZnONPs characterization was performed with UV–Vis spectrophotometer (Avantes Avalight-DH-5-BAL), Fourier transform infra-red spectroscopy (BUK, lnfrared spectrophotometer model M530), Scanning Electron Microscope (SEM), X-Ray Diffractor (XRD), and Solar Simulator equipped with Keithley2400 SMU for current–voltage measurement. UV–VIS spectrophotometer (Avantes Avalight-DH-5-BAL) was used to record the transmittance and reflectance in percentage (%). Absorbance was calculated using Eq. (1).

$${\text{A}} = 2\,{-}\,\log \left( {\% {\text{T}}} \right){\text{ a u}}$$
(1)

where A is the absorbance, %T is the percentage transmittance.

Band gap energy of ZnO.NPs was calculated using Eq. (2) [19, 20].

$$\left( {\upalpha{\text{h}}\upnu} \right)^{{1/{\text{n}}}} = {\text{A}}\left( {{\text{h}}\upnu - {\text{Eg}}} \right)\,{\text{or}}\,\left( {\upalpha{\text{h}}\upnu} \right)^{2} = {\text{h}}\upnu - {\text{Eg}}$$
(2)

where (hν) is the photon energy the values were determined from the inverse relationship between energy in electron volts (eV) and wavelength of the UV–visible spectrum using Eq. (3).

$${\text{E}} = {\text{hc}}/{\text{q}}\uplambda\left( {\text{eV}} \right)$$
(3)

E = Photon energy, h = planck’s constant (6.626 × 10−34 J s), C = speed of light (3.0 × 108), λ = wavelength in nanometres (nm), q = electronic charge (1.6 × 10−19 C), 1 eV = 1.6 × 10−19 C), α = absorption coefficient, Eg = optical band gap, A = constant and n = 1 or 4. The energy band gap was obtained from straight line plot of (αhʋ)2 versus hʋ by extrapolating of the line to base line. The absorption coefficient (α) of thin film was calculated using Eq. (4) [21].

$$\upalpha = 2.303 \, \left( {{\text{A}}/{\text{t}}} \right)$$
(4)

2.2.7 ZnO nanoparticle thin film device fabrication

To fabricate ZnONPs thin film device. ZnONPs solution was deposited by spin-coating method on Indium tin oxide (ITO) coated glass substrate as counter electrode, and thickness of film depended on the number of rpm (117 nm). Silver paste was deposited as the electrode. ZnO film thin film were heated at 100 °C in an oven for 30 min to evaporate solvent.

2.2.8 I–V characteristics measurement

The current– voltage characterization of thin film device fabricated was carried out under illumination of solar Simulator with Kiethley 2400 SMU. Short-circuit current (ISC) and open-circuit voltage (VOC) were measured and noted. Fill factor (FF) and efficiency of the solar cell were calculated. Current- Voltage (I–V) measurements was performed to determine ZnONPs electrical properties.

3 Results and discussion

3.1 UV–Vis spectra analysis of zinc oxide nanoparticles

Figure 1 shows the transmittance of ZnO.NPs deposited at different spin-coating speed. The solution at 500 rpm among the deposition at different spin coating speed has the highest absorption value and least transmittance after optical properties characterization in the visible spectrum of wavelength band (400–900 nm) as shown in Fig. 2. It can be seen in Figs. 3 and 4 that the absorption spectrum of the ZnO.NPs at 500 rpm lies at 235–300 nm in UV spectrum of wavelength band in agreement as reported by [22]. The maximum absorption peaks occurred at 235 nm, 250 nm, 270 nm, and 300 nm respectively but lower when compared with the bulk size that occurred at 350 nm and in the visible spectrum of the wavelength band. Figure 5 shows band gap energy graph of zinc oxide nanoparticle at 500 rpm, the obtained band gap energy was 3.50 eV which is agreement with research study reported by [23, 24]. This shows thickness of plant extract and ZnO.NPs composites has effect on photon energy absorption.

Fig. 1
figure 1

Transmittance versus wavelength graph of ZnO.NPs at different spin-coating speed

Fig. 2
figure 2

Absorbance versus wavelength graph of ZnO.NPs at different spin-coating speed

Fig. 3
figure 3

Absorbance versus wavelength graph of ZnO.NPs

Fig. 4
figure 4

Absorbance versus wavelength graph of ZnO.NPs

Fig. 5
figure 5

Tauc plot of (αhν)2versus (hν) for band gap energy

Fourier transform infra-red spectroscopy analysis of Zinc Oxide Nanoparticle FTIR reveals the chemical structure of a material using vibrational states to recognize the presence of specific bonds. FTIR (BUK, lnfrared spectrophotometer model M530) was used for IR characterization. FTIR spectrum of ZnO.NPs was obtained from sample deposited at 500 rpm corresponding to 117 nm thickness. Figure 6 shows the IR spectrum of the sample of ZnO·NPs at deposited on glass substrate at 500 rpm. ZnO·NPs FTIR spectrum was recorded in the range of 4000–500 cm−1, observation shows that the bands of ZnO·NPs occurs at 3903.4 cm−1, 3626.4 cm−1, 2802.2 cm−1,2395.4 cm−1, 2195.9 cm−1, 1963.2 cm−1, 1905.0 cm−1, 1834.5 cm−1, 1643.0 cm−1,1494.9 cm−1, 1288.7 cm−1, 1194.7 cm−1, 969.8 cm−1, 882.6 cm−1, 783.4 cm−1 and 682.6 cm−1. The FTIR result of synthesized nanoparticles shows Zn–O functional group are was found at low wavenumber as shown in Figs. 6 and 7 which agreed with results reported by [7, 11, 15, 24, 25] (Table 1).

Fig. 6
figure 6

Synthesized ZnO NPs FTIR spectra at 500 rpm Using Mimosa pudica Extract

Fig. 7
figure 7

FTIR spectrum of zinc oxide nanoparticles [15]

Table 1 Functional groups of synthesized ZnO.NPs Using Mimosa pudica Extract

3.2 Scanning electron microscope image of zinc oxide nanoparticles

The Fig. 8a, b gives the typical SEM images of the sample at 300 µm and 100 µm respectively. The images give information on the morphology of the sample prone to aggregation due to the surface area to volume ratio which are spherical and granular nature for both resolutions. The larger particle size of the nanostructure was observed which gave bigger surface for the dye attached and thus more light can be absorbed and harvested. In addition, this structure of ZnO provides direct pathways for the electrons to move through the cell and thus increase the energy conversion rate.

Fig. 8
figure 8

a SEM Image of (ZnO.NPs) at 300 µm b SEM Image of (ZnO.NPs) at 100 µm

3.3 X-ray diffraction pattern of zinc oxide nanoparticles

The XRD pattern of powder ZnO.NPs was shown in Fig. 9. All the peaks of the XRD patterns are indexed to ZnO with the hexagonal wurtzite structure. In comparison with the standard card of bulk ZnO with hexagonal structure, there is no diffraction peaks of other impurities, which shows that the substances only belong to ZnO, the average grain size of the particles was calculated for the peak (100) using the Debye scherrer formula and was estimated to be 14.7 nm.

Fig. 9
figure 9

XRD pattern of ZnO.NPs

3.4 Electrical properties

The current–voltage characterization of thin films were carried out under illumination of solar Simulator with Kiethley source meter (2400 SMU). The short-circuit current (ISC) and open-circuit voltage (VOC) was recorded. Figure 10 shows the graph of ZnONPS current–voltage characteristics. Fill-factor (FF) and efficiency (η) were calculated using Eqs. (5) and (6) respectively.

Fig. 10
figure 10

Current–voltage characteristics for ZnO.NPs thin film device

$$FF = \frac{Pmax}{1sc Voc} = \frac{1mp Vmp}{1sc VoC}$$
(5)
$$\eta = \frac{{I_{SC} \cdot V_{OC} \cdot FF}}{{P_{in} }}$$
(6)

The fabricated thin film device of ZnO.NPs under illumination has efficiency of 0.7%.

4 Conclusion

The research focus on synthesis, characterization of ZnO.NPs and evaluation of its properties. UV–VIS spectrum analysis shows ZnO.NPs thin film has a range of absorption that occurs from 235 to 300 nm and 350 nm upward in visible spectrum. The FTIR of synthesized ZnO NPs shows Zn–O functional group was found at low wavenumber which agrees with results reported by [7, 11, 15, 32]. The SEM images give information on the morphology of the sample, the structure of ZnO provides direct pathways for the electrons to move through the cell and thus increase the energy conversion rate. The XRD pattern of powder ZnO.NPs shows the peaks indexed to ZnO with the hexagonal wurtzite structure and the average grain size of the particles was estimated to be 14.7 nm. The environmental consideration and the phytochemical present in the plant make it suitable for the synthesis procedure, because of not polluting and less hazardous to the community compared to the chemical method. Sustainable potential is inherent in the availability of the plant in abundance. ZnO.NPs thin film device under illumination has efficiency of 0.7%. Based on the optical, structural and electrical properties of the fabricated thin film device, it was therefore recommended that the observed parameters could be suitable for photoanode in Dye sensitized solar cells for performance enhancement.