Synthesis and Nanoarchitectonics of Novel Squaraine Derivatives for Organic Photovoltaic Devices

Necessary advancements in the area of organic photovoltaic (OPV) devices include the upgrade of power conversion efficiencies (PCE) and stability. One answer to these demands lies in the research into new absorbers. Here, we focus on the development of new small molecule absorbers from the group of squaraines (SQs). These modular absorbers can be applied as donors in organic solar cells and have the ability to utilize a broad range of solar radiation if blended with suitable acceptors. In order to allow for the compatibility and favorable organization of donor and acceptor in the absorber layer, we intend to optimize the structure of the SQ by varying the groups attached to the squaric acid core. For that purpose, we accordingly developed a well-suited synthesis route. The novel alkyl- and benzyl-substituted aryl aminosquaraines were synthesized through an improved and eco-friendly procedure. Special emphasis was placed on optimizing the amination reaction to obtain initial precursors in the synthesis of squaraine, avoiding hitherto common catalytic processes. All SQ precursors and SQ products were completely described. The derived SQs were additionally characterized in thin-film configuration using cyclic voltammetry and UV-VIS spectroscopy and then processed to prepare self-standing bulk heterojunction (BHJ) thin films in conjunction with fullerene-based electron acceptors, which were characterized via profilometry. The comparison between SQ and BHJ solutions and thin films, using atomic force microscopy and UV-VIS spectroscopy, revealed differences in susceptibility for the organization and orientation of the constituting domains.


Introduction
Solar cells are regarded as an important technology for solving environmental problems and utilizing renewable energy, so various types of solar cells have been developed. Over the last few decades, organic photovoltaics (OPV) have been heavily researched as an alternative to silicon photovoltaics, and significant progress in terms of power conversion efficiency (PCE) and stability has been made [1]. Recently, for single-junction perovskite solar cells, very promising power conversion efficiencies (PCEs) of 25.5% were reported (which is close to the Shockley-Queisser limit), but the stabilities of the silicon devices were not surpassed [2].
The comparative advantages of OPV are mainly their low price, flexibility, transparency, and bendability/stretchability [3,4]. Moreover, applications as an integrated diisobutylanilino-and N,N-diphenylanilino-(diphenylamino)squaraines give blueshifted absorption spectra relative to their symmetric counterparts. Lahti and Thayumanavan prepared a series of squaraine dyes with electron-donating (OH, C 6 H 13 ) and electronwithdrawing (F, CF 3 ) groups, where the absorbance of the dyes (λ max = 650-700 nm) and the band gap depended significantly on their electron-donating character (Figure 1b) [29]. As the electron-donating character of the dyes increases, the absorbance of the dyes redshifts and the optical band gap decreases from 1.7 eV to 1.4 eV. Furthermore, H. Sasabe and J. Kido reported a synthesis of alkyl-substituted aryl aminosquaraine (E gOPTICAL = 1.7 eV, λ max = 650 nm) (Figure 1c) in order to increase the power conversion efficiency from BHJ photovoltaic cells, and they came to the conclusion that the shorter alkyl chains induce a strong redshifting and the broadening of the peak responsible for the enhanced photoresponse in the NIR region [30]. Nanomaterials 2022, 12, x 3 of 16 N,N-diaryl-and N,N-dialkylanilino squaraines (Figure 1a) [28]. Symmetric squaraine dyes with N,N-diarylanilino substituents showed optical bandgaps of approximately 2 eV, high solubility, λmax = 650-750 nm, and high absorptivity in the red solar spectral region, making them promising candidates for application in OPV devices. Asymmetrical N,N-diisobutylanilino-and N,N-diphenylanilino-(diphenylamino)squaraines give blueshifted absorption spectra relative to their symmetric counterparts. Lahti and Thayumanavan prepared a series of squaraine dyes with electron-donating (OH, C6H13) and electron-withdrawing (F, CF3) groups, where the absorbance of the dyes (λmax = 650-700 nm) and the band gap depended significantly on their electron-donating character (Figure 1b) [29]. As the electron-donating character of the dyes increases, the absorbance of the dyes redshifts and the optical band gap decreases from 1.7 eV to 1.4 eV. Furthermore, H. Sasabe and J. Kido reported a synthesis of alkyl-substituted aryl aminosquaraine (EgOPTICAL = 1.7 eV, λmax = 650 nm) (Figure 1c) in order to increase the power conversion efficiency from BHJ photovoltaic cells, and they came to the conclusion that the shorter alkyl chains induce a strong redshifting and the broadening of the peak responsible for the enhanced photoresponse in the NIR region [30].
(a) (b) (c) Here, we present the results of the development of new small molecule absorbers from the group of SQs that might represent an answer to the demands for PCE upgrades in the area of squaraine-based OPV devices. We vary the groups attached to the SQ core in the course of the synthesis, which has been specifically developed to ensure the derived products are chemically and microstructurally compatible with other constituents and absorbers in an OPV device. All investigated squaraine dyes, synthesized mostly through three steps (through palladium-catalyzed Buchwald or Ullmann coupling, followed by demethylation with BBr3 and condensation with squaric acid) have been fully described. The idea of this paper was to develop a synthesis route for new SQs, avoiding expensive catalytic processes. Therefore, special emphasis was placed on optimizing the amination reaction and developing a simple and mild synthetic route for the preparation of tertiary aryl amines, which were used as starting precursors in further syntheses. Additionally, the SQ and BHJ solutions and thin films have been compared to shed more light on the course of the organization and orientation of the constituting domains, which is critical for the PCE of OPVs. This research will lay a good foundation for further cost-effective synthesis strategies and provide an overview of the preliminary parameters that characterize a good small molecule donor. Furthermore, future structural studies on novel squaraine compounds in model BHJ systems for PV applications are necessary as they contribute to a broader understanding of morphology and nanostructure of SQ-based BHJ layers, paving the way for the incorporation of SQ derivatives into non-model systems, such as non-fullerene small molecule acceptors or even interfacing these with nanostructured charge carrier transport layers. Here, we present the results of the development of new small molecule absorbers from the group of SQs that might represent an answer to the demands for PCE upgrades in the area of squaraine-based OPV devices. We vary the groups attached to the SQ core in the course of the synthesis, which has been specifically developed to ensure the derived products are chemically and microstructurally compatible with other constituents and absorbers in an OPV device. All investigated squaraine dyes, synthesized mostly through three steps (through palladium-catalyzed Buchwald or Ullmann coupling, followed by demethylation with BBr 3 and condensation with squaric acid) have been fully described. The idea of this paper was to develop a synthesis route for new SQs, avoiding expensive catalytic processes. Therefore, special emphasis was placed on optimizing the amination reaction and developing a simple and mild synthetic route for the preparation of tertiary aryl amines, which were used as starting precursors in further syntheses. Additionally, the SQ and BHJ solutions and thin films have been compared to shed more light on the course of the organization and orientation of the constituting domains, which is critical for the PCE of OPVs. This research will lay a good foundation for further cost-effective synthesis strategies and provide an overview of the preliminary parameters that characterize a good small molecule donor. Furthermore, future structural studies on novel squaraine compounds in model BHJ systems for PV applications are necessary as they contribute to a broader understanding of morphology and nanostructure of SQ-based BHJ layers, paving the way for the incorporation of SQ derivatives into non-model systems, such as non-fullerene small molecule acceptors or even interfacing these with nanostructured charge carrier transport layers.

Preparing
The following chemicals were used: 1-bromo-3,5-dimethoxybenzene 97% (BrC6H3(OCH3)2, Acros Organics, Geel, Belgium), n-butyllithium 2.5 M solution in hexane (CH3(CH2)3Li, Sigma-Aldrich, St Louis, MO, USA), 4-benzylpiperidine 99% (C12H17N, Merck, Darmstadt, Germany), N-isopropylbenzylamine (C6H5CH2NHCH(CH3)2, Sigma-Aldrich, St Louis, USA), dihexylamine (CH3(CH2)5NH(CH2)5CH3, Acros Organics, Geel, Belgium), boron tribromide 1.0 M solution in methylene chloride (BBr3, Sigma-Aldrich, St Louis, USA), 3,4-dihydroxy-3-cyclobutene-1,2-dione 99.0% ((HO)2C4(=O)2, Acros Organics, Geel, Belgium), chloroform p.a. ( Here, 1.0 g (0.0047 mol) of 1-bromo-3,5-dimethoxybenzene was dissolved in 30 mL of dry diethyl ether, followed by the addition of the corresponding amine (1.5 eq), after which n-BuLi (1.5 eq, 2.5 M solution in hexane) was added dropwise in a stream of nitrogen at 0° C. After 2 h of stirring, 10 mL of water were added to remove unreacted n-BuLi. The reaction mixture was extracted with diethyl ether (2 × 10 mL) and water (2 × 10 mL) and dried over MgSO4. After the evaporation of the solvent, the resulting products 1a-1c were purified by column chromatography on silica gel with petroleum ether as the eluent (Figure 2).  To a solution of corresponding amine 1a-1c in dry dichloromethane (0.75 M), BBr 3 was added dropwise in a stream of nitrogen at −78 • C, and the mixture was stirred for 3 h, gradually warming to room temperature. The reaction was quenched by methanol (1 mL) and concentrated under vacuum. The obtained alcohols (2a, 2b, 3b, and 3c) were separated via column chromatography on silica gel with dichloromethane as the eluent, and they were used without further purification ( Figure 3). To a solution of corresponding amine 1a-1c in dry dichloromethane (0.75 M), BBr3 was added dropwise in a stream of nitrogen at -78 °C, and the mixture was stirred for 3 h, gradually warming to room temperature. The reaction was quenched by methanol (1 mL) and concentrated under vacuum. The obtained alcohols (2a, 2b, 3b, and 3c) were separated via column chromatography on silica gel with dichloromethane as the eluent, and they were used without further purification (Figure 3).  To a solution of the corresponding alcohol 2a, 2b, 3b, and 3c in a toluene/butanol mixture (13.00 M), squaric acid (0.5 eq) was added, and the mixture was stirred for 16 h at a reflux temperature. After cooling to room temperature and the evaporation of the solvent, the resulting products 4a, 4b, 5b, and 5c were purified via column chromatography on silica gel with petroleum ether as the eluent (Figure 4). To a solution of the corresponding alcohol 2a, 2b, 3b, and 3c in a toluene/butanol mixture (13.00 M), squaric acid (0.5 eq) was added, and the mixture was stirred for 16 h at a reflux temperature. After cooling to room temperature and the evaporation of the solvent, the resulting products 4a, 4b, 5b, and 5c were purified via column chromatography on silica gel with petroleum ether as the eluent ( Figure 4).

Deposition
The synthesized SQs were dissolved together with PC 71 BM at a weight ratio of 1:6 in either chloroform or o-DCB (1,2-dichlorbenzene) in the total concentrations shown in Table 1. Upon intense stirring for 48 h, the solutions were filtered and spin cast in a protective atmosphere (N 2 ) onto ITO glass substrates that were previously ultrasonically cleaned in isopropyl alcohol and etched with oxygen plasma. Different solvents and spincoating parameters shown in Table 1 were chosen in order to gain insight into the ability of different solvents to produce thin films at a wide range of thickness, from 50 to 200 nm, as the optimal film thickness for the absorbing layer in an OPV generally falls into this range. To a solution of the corresponding alcohol 2a, 2b, 3b, and 3c in a toluene/butanol mixture (13.00 M), squaric acid (0.5 eq) was added, and the mixture was stirred for 16 h at a reflux temperature. After cooling to room temperature and the evaporation of the solvent, the resulting products 4a, 4b, 5b, and 5c were purified via column chromatography on silica gel with petroleum ether as the eluent (Figure 4).  (c) 2,4-bis(4-(4-benzylpiperidin-1-yl)-2,6-dihydroxyphenyl)cyclobuta-1,3-diene-1, 3

Deposition
The synthesized SQs were dissolved together with PC71BM at a weight ratio of 1:6 in either chloroform or o-DCB (1,2-dichlorbenzene) in the total concentrations shown in Table 1. Upon intense stirring for 48 h, the solutions were filtered and spin cast in a protective atmosphere (N2) onto ITO glass substrates that were previously ultrasonically cleaned in isopropyl alcohol and etched with oxygen plasma. Different solvents and spin-coating parameters shown in Table 1 were chosen in order to gain insight into the ability of different solvents to produce thin films at a wide range of thickness, from 50 to 200 nm, as the optimal film thickness for the absorbing layer in an OPV generally falls into this range.

Characterization
The 1 H NMR spectra were recorded on the spectrometers Bruker AV600 and AV300 (Mannheim, Germany). The 13 C NMR spectra were registered at 75 and 150 MHz. All NMR spectra were measured in CDCl 3 using tetramethylsilane as a reference.
Silica gel (0.063-0.2 mm) was used for chromatographic purifications. Thin-layer chromatography (TLC) was performed using silica gel 60 F254 plates. Solvents were purified through distillation. The samples' exact masses were measured on the Agilent (Santa Clara, CA, USA) 6545 Q-TOF LC/MS (G6545B) connected to an Agilent 1290 Infinity II UPLC system (highpressure pump G7120A, autosampler G7129B, column compartment G7116B, and DAD detector G7117B). All samples were dissolved in pure methanol. Elution was performed on a Phenomenex Luna Phenyl-Hexyl chromatographic column (250 mm × 4.6 mm, 5 µm), using the following mobile phases: 0.1% acetic acid in water as mobile phase A and 100% methanol as mobile phase B. The gradients used at the flow of 1 mL min −1 for the separation of compounds on the column are shown in Table 2. The exact masses of the eluted compounds were recorded on an Agilent (Santa Clara, CA, USA) 6545 Q-TOF detector using the following parameters of the method: the gas temperature of the source was set to 300 • C, 8 L min −1 was the flow of the drying gas, the nebulizer pressure was set to 60 psi, and the sheath gas temperature was set to 300 • C and 7 L min −1 of flow. The capillary voltage was set to 3000 V and the nozzle voltage was set to 1000 V. The fragmentor was set at 100 and 80 V, and the skimmer was set to 65 V. The fragmentor setting was affecting the recovery of ions of interest, which is why the samples were measured at two different values. The masses were acquired between 40 and 1700 m/z at an acquisition rate of 1.5 spectra/min and 666.7 ms/spectrum. The reference mass correction was performed using a tuning solution with an m/z of 121.050873 and 922.009798 to cover the range of masses of all the samples. The reference masses were within 5 ppm of error in all the recorded chromatograms.
To record absorption/excitation and emission spectra, samples were measured on an Agilent (Santa Clara, CA, USA) 1290 Infinity I UPLC system (high-pressure pump G4220A, autosampler G4226A, column compartment G1316C, DAD detector G7117A, and FLD detector G1321B). The same column and chromatographic elution conditions were used as for the MS measurements. To record fluorescent spectra, 360 and 450 nm excitation wavelengths were used to record emission and excitation spectra, respectively. These wavelengths were chosen during method development as the optimal wavelength for the compounds of interest.
Surface profilometry measurements were performed on a DektakXT stylus system for profiling (Bruker, Billerica, MA, USA) equipped with a 12.5 µm-radius stylus tip to determine the layer thickness and surface roughness of thin film samples. Line scans were recorded over a length of 2000 µm, with a stylus force of 3 mg and a resolution of 0.33 µm per pt. Layer thickness and surface roughness values were derived from surface profiles. For surface profilometry, the thin films were blends of squaraine and PC 71 BM dissolved in either chloroform or o-DCB spin cast at varying conditions.
The absorption spectra of thin films were recorded on an UV-1800 UV-VIS spectrophotometer (Shimadzu, Kyoto, Japan) in the range of 450-1000 nm. The films were prepared by drop casting 5 mg/mL pristine squaraine solutions followed by evaporation.
Cyclic voltammetry was measured on a SP-50 potentiostat/galvanostat (BioLogic Seyssinet-Pariset, France) in anhydrous acetonitrile with tetrabutylammonium hexafluorophosphate (Bu 4 NPF 6 , 0.1 M) as a supporting electrolyte. The setup consisted of three electrodes: a platinum wire counter electrode, an Ag/Ag + (0.01 M AgNO 3 in anhydrous acetonitrile) reference electrode, and drop-cast films of squaraine materials in chloroform (5 mg mL −1 ) on a platinum surface as the work electrode. The reference electrode was calibrated against a ferrocene/ferrocenium solution (Fc/Fc + ) in the aforementioned solution. The measurements were performed in an inert atmosphere (N 2 ) in the range from −2.5 to 2.5 V at a scan rate of 50 mV s −1 . The HOMO/LUMO levels were estimated from the onset of the oxidation and reduction potential (E ox and E red ) of the squaraine thin films, considering the energy level of Fc/Fc + to be −4.8 eV below the vacuum level with the equations listed below. LUMO levels were also calculated as the difference between the optical bandgap determined via UV/Vis and the HOMO level determined via cyclic voltammetry.
Atomic force microscopy (AFM) measurements were performed on a Tosca™ 400 atomic force microscope (Anton Paar, Graz, Austria) in tapping mode using Al-coated cantilevers (ARROW-NCR, NanoWorld AG, Neuchâtel, Switzerland) with a resonance frequency of 285 kHz and a force constant of 42 N m −1 . All measurements were acquired at room temperature under ambient conditions. All calculations and image processing were performed with Tosca™ analysis software V7.4.8341 (Anton Paar, Graz, Austria).

Amine Preparation
The synthetic procedures for squaraines 4 and 5 included several steps, starting with the preparation of the amino precursors 1a-1c ( Figure 2). Traditionally, the most used methods for the preparation of tertiary aryl amines mainly included a transition metal-catalyzed amination reaction, usually requiring high temperatures and long reaction times. Buchwald-Hartwig amination utilizing a palladium catalyst was literarily the most used method for the synthesis of amine precursors in squaraine chemistry. The major drawback of the Buchwald-Hartwig reaction is the large amount of catalyst required and their separation from organic products, which is of particular importance because of their residual toxicity in the target compounds. Moreover, transition metal-catalyzed reactions also generate hazardous waste, which is environmentally problematic and should be avoided wherever possible. To avoid the use of catalysts and rigid reaction conditions, we investigated the preparation of the amines with an alternative milder and cheaper procedure. After a series of experimental attempts (changes in reaction conditions, solvents, amines, and attempt at microwave synthesis) with limited success, the amination reaction has been successfully conducted using an optimized method based on the Pittelkow method [27]. Unlike previously performed experiments, in this case, the catalysts were not used, and the reaction was carried out in one step between halogen and corresponding amine with the addition of n-BuLi [31]. On behalf of this mild procedure, for which the transition metal catalyst was not necessary, amines 1a-1c have been successfully prepared with a very good yield ( Figure 5). Nanomaterials 2022, 12, x 9 of 16 success, the amination reaction has been successfully conducted using an optimized method based on the Pittelkow method [27]. Unlike previously performed experiments, in this case, the catalysts were not used, and the reaction was carried out in one step between halogen and corresponding amine with the addition of n-BuLi [31]. On behalf of this mild procedure, for which the transition metal catalyst was not necessary, amines 1a-1c have been successfully prepared with a very good yield ( Figure 5).

Squaraine Preparation
Since previous research has shown that hydroxy derivatives are more thermally stable precursors than methoxy derivatives, the next step of the synthesis concerned the demethylation process. The demethylation of substrates 1a-1c was performed according to a conventional procedure using BBr3 in dichloromethane, wherein the degree of demethylation and the number of formed hydroxyl groups depended on the structure of the starting compound. Therefore, in the case of the dihexyl derivative 1a, only the mono-hydroxyl compound 2a was obtained. The piperidine derivative 1b gave a mixture  Figure 6 presents the 1 H NMR spectra of compounds 1a-1c. The influence of substituents on crucial proton signals was not significant. In all cases, characteristic aromatic protons appear at about 6 ppm, while the methoxy group can be observed at about 4 ppm. Other signals refer to the proton substituents on nitrogen.

Squaraine Preparation
Since previous research has shown that hydroxy derivatives are more thermally stable precursors than methoxy derivatives, the next step of the synthesis concerned the demethylation process. The demethylation of substrates 1a-1c was performed according to a conventional procedure using BBr 3 in dichloromethane, wherein the degree of demethylation and the number of formed hydroxyl groups depended on the structure of the starting compound. Therefore, in the case of the dihexyl derivative 1a, only the mono-hydroxyl compound 2a was obtained. The piperidine derivative 1b gave a mixture of mono-and di-demethylated products 2b and 3b, in contrast to the demethylation reaction of compound 1c, where only the di-demethylated product 3c was isolated ( Figure 3). All four hydroxyl derivatives 2a, 2b, 3b, and 3c were used without further purification in the final step of the squaraine synthesis. The condensation reaction of squaric acid and the corresponding amines 2a, 2b, 3b, and 3c ( Figure 3) has been conducted according to the standard procedure in a toluene/butanol mixture, whereby the target squaraines 4a, 4b, 5b, and 5c were formed as the main products ( Figure 4). The products were further purified via column chromatography and completely characterized using spectroscopic methods. Figure 5. Synthesis of squaraines 4a, 4b, 5b and 5c. Figure 6 presents the 1 H NMR spectra of compounds 1a-1c. The influence of substituents on crucial proton signals was not significant. In all cases, characteristic aromatic protons appear at about 6 ppm, while the methoxy group can be observed at about 4 ppm. Other signals refer to the proton substituents on nitrogen.

Squaraine Preparation
Since previous research has shown that hydroxy derivatives are more thermally stable precursors than methoxy derivatives, the next step of the synthesis concerned the demethylation process. The demethylation of substrates 1a-1c was performed according to a conventional procedure using BBr3 in dichloromethane, wherein the degree of demethylation and the number of formed hydroxyl groups depended on the structure of the starting compound. Therefore, in the case of the dihexyl derivative 1a, only the mono-hydroxyl compound 2a was obtained. The piperidine derivative 1b gave a mixture

UV-VIS Spectroscopic Characterization of the SQ Dyes
The UV-VIS spectra of the prepared squaraines 4a, 4b, 5b, and 5c show absorption maxima in the characteristic area from 500 to 700 nm (Figure 7), which makes them excellent candidates for further characterization as photovoltaic materials. Squaraine 4b shows a significantly blueshifted absorption maximum in ethanol relative to the products 4a, 5b, and 5c. However, a noticeable local maximum of absorption can be observed in the 650-700 nm range, matching the absorption maxima of other products. terials 2022, 12, x of mono-and di-demethylated products 2b and 3b, in contrast to the de action of compound 1c, where only the di-demethylated product 3c was 3). All four hydroxyl derivatives 2a, 2b, 3b, and 3c were used without furt in the final step of the squaraine synthesis. The condensation reaction of s the corresponding amines 2a, 2b, 3b, and 3c (Figure 3) has been conduct the standard procedure in a toluene/butanol mixture, whereby the targe 4b, 5b, and 5c were formed as the main products (Figure 4). The produ purified via column chromatography and completely characterized usin methods.

UV-VIS Spectroscopic Characterization of the SQ Dyes
The UV-VIS spectra of the prepared squaraines 4a, 4b, 5b, and 5c s maxima in the characteristic area from 500 to 700 nm (Figure 7), which cellent candidates for further characterization as photovoltaic material shows a significantly blueshifted absorption maximum in ethanol relative 4a, 5b, and 5c. However, a noticeable local maximum of absorption can the 650-700 nm range, matching the absorption maxima of other product   4b and 5b a examples to show that no significant influence of substituents and num groups on emission was observed, furthermore demonstrating that the to the squaric core is primarily responsible for such high absorption compounds. All spectra show a characteristic maximum at 720 nm.  Figure 8 presents the 3D emission spectra of products 4b and 5b as representative examples to show that no significant influence of substituents and number of hydroxyl groups on emission was observed, furthermore demonstrating that the aniline attached to the squaric core is primarily responsible for such high absorption of synthesized compounds. All spectra show a characteristic maximum at 720 nm.   products 4b and 5b as representative examples to show that no significant influence of substituents and number of hydroxyl groups on emission was observed, furthermore demonstrating that the aniline attached to the squaric core is primarily responsible for such high absorption of synthesized compounds. All spectra show a characteristic maximum at 720 nm.

Solvent Selection, Blending Ratio, and Deposition Conditions
The course of the optimization was performed for the purpose of blending the selected donor SQs with fullerene-based acceptors. A number of reports where the PCBM-to-SQ ratio was investigated suggest that a 1:(x > 5) of SQ:PCBM is mostly favored as the PCBM matrix suppresses SQ aggregation, which consequently increases the overall functional properties of the BHJ, regardless of the lesser amount of donor material in the active layer [23][24][25][26]. For the purposes of developing a method for spin coating these blends, the ratio of 1:6 was used. Since compounds 4a, 5b, and 5c are quite similar in terms of the interaction with the acceptor material and solvent, we find that the film thickness and surface roughness are mainly functions of the solvent, PC 71 BM concentration, process conditions, and amount of, but not the type of, SQ material. A notable difference in the solubility of compound 4b in chloroform and chlorobenzene was observed through spin casting, as the thin films cast from an apparently homogeneous solution produced a granular morphology with visibly noticeable crystals of sizes up to a few hundred nanometers, indicating that no primary nucleation took place during film formation. Instead, the undissolved small aggregate particles served as primary nuclei, which resulted in much bigger SQ domains. This is also supported by the significant blueshift of the SQ 4b absorption maxima, where it can clearly be seen that this compound exhibits different interactions with the solvent used in comparison to squaraines 4a, 5b, and 5c. Apparent homogeneity was held responsible for the beneficial appearance of the films. Namely, the PCE and fill factor of solar cells greatly depend on the homogeneity and domain size of the constituents in the BHJ photoabsorber layer. Having better absorber homogeneity is a good indicator that thicker films can be used without considerably increasing susceptibility for recombination, thus increasing the photocurrent. What can be seen from the preliminary results of profilometry is that, as expected, film thickness and surface roughness decrease with the increase in acceleration and rotation speed during spin coating. As can be seen in Table 1, chloroform as a solvent shows the potential to allow the preparation of thin films in the desired thickness range for BHJ OPV devices (at least 50 nm); however, the drawback is the increased surface roughness of the films in the higher range of concentrations, which introduces a number of practical problems in terms of device fabrication. The BHJ thin films spin coated using o-DCB as solvent also showed satisfactory surface roughness (<10 nm), but they exhibited thicknesses much lower than those spin coated using chloroform as a solvent, where the achieved thicknesses definitely fall below the lower range of desired thickness. For that reason, further optimization was desired with the o-DCB solvent used for squaraines 4a, 5b, and 5c. The root-mean-square roughness of the films was, according to profilometry measurements, below 10 nm (Table 1) for all the films spin coated from solutions of 20 mg mL −1 concentration, while the values go up by approximately an order of magnitude higher (50-100 nm) when the thin films were spin coated from solutions of double the concentration (40 mg mL −1 ). In the case that films thicker than 100 nm are to be optimized, it will be necessary to strike a balance between increasing the concentration and lowering the spin-coating speed and/or acceleration values in order to increase film thickness and minimize surface roughness.

Optical, Electrical, and Surface Characterization of SQ in Thin-Film Configuration
To showcase the potential for application in photovoltaic devices, the most important preliminary parameters (HOMO/LUMO levels and the optical bandgaps of the synthesized compounds) were estimated on drop-cast thin films via UV-VIS spectroscopy and cyclic voltammetry, and the results are shown below. In this work, we display a basic optical characterization, a more detailed investigation of the effects of thickness on the absorption, and optimal BHJ morphology (H-aggregate and J-aggregate stacking), which requires closed SCs and a top-down course of substantial investigation, and which will be reported in a follow-up study. However, we already observed a group of quite unexpected parameters governing the mechanisms behind the successful development of the homogeneous and applicable BHJ absorbers based on SQs, but again, due to the extent of the results, this will be reported separately.
The UV-VIS spectra of drop-cast thin films in Figure 9a show closely grouped absorption maxima at 672, 675, and 680 nm for compounds 5b, 5c, and 4b, respectively. It can also be seen that the broad absorption peaks extend over a 300 nm range. This is characteristic for squaraine dyes when cast as thin films, while they reveal quite sharp absorption peaks in the bulk or solution [26]. The bandgaps determined from the onset values are shown in Table 3 above and are estimated to be slightly above 1.6 eV for all compounds. unexpected parameters governing the mechanisms behind the successful development of the homogeneous and applicable BHJ absorbers based on SQs, but again, due to the extent of the results, this will be reported separately.
The UV-VIS spectra of drop-cast thin films in Figure 9a show closely grouped absorption maxima at 672, 675, and 680 nm for compounds 5b, 5c, and 4b, respectively. It can also be seen that the broad absorption peaks extend over a 300 nm range. This is characteristic for squaraine dyes when cast as thin films, while they reveal quite sharp absorption peaks in the bulk or solution [26]. The bandgaps determined from the onset values are shown in Table 3 above and are estimated to be slightly above 1.6 eV for all compounds.  The UV-VIS spectra were additionally utilized for the comparison of contributions between pristine SQ and BHJ films (Figure 9b) to show that different systems show different susceptibilities for the organization and ordering of the constituting domains. By comparing the absorption data of SQ in these different systems/setups, it can be seen that in the BHJ system (Figure 9b), the SQ5c peak (675 nm) is more pronounced and narrow, which indicates less agglomeration (due to its suppression by the PC71BM matrix) and more monomeric absorption in comparison to the pristine SQ drop-cast films (Figure 9a). Additionally, to display the existence of the superstructural assembly for compound 5c, a UV-Vis comparison of BHJ thin films as-cast and BHJ thin films annealed at 100 °C is shown, where a slight bathochromic (red) shift of about 5 nm for the annealed monomer  The UV-VIS spectra were additionally utilized for the comparison of contributions between pristine SQ and BHJ films (Figure 9b) to show that different systems show different susceptibilities for the organization and ordering of the constituting domains. By comparing the absorption data of SQ in these different systems/setups, it can be seen that in the BHJ system (Figure 9b), the SQ5c peak (675 nm) is more pronounced and narrow, which indicates less agglomeration (due to its suppression by the PC 71 BM matrix) and more monomeric absorption in comparison to the pristine SQ drop-cast films (Figure 9a). Additionally, to display the existence of the superstructural assembly for compound 5c, a UV-Vis comparison of BHJ thin films as-cast and BHJ thin films annealed at 100 • C is shown, where a slight bathochromic (red) shift of about 5 nm for the annealed monomer peak indicates oriented stacking (J-aggregates). The agglomeration in all of the BHJ thin films is still present in the form of separate peaks in the wavelength range of 400-600 nm (with less intensity when compared with pristine SQ films due to a lower number of agglomerated particles), but this cannot be seen clearly, as their absorption is interfered with by PC 71 BM absorption. However, from the UV-Vis spectra in ethanol, in which most of the compounds are not completely soluble, the optical absorption of aggregates can be observed, and for all of the compounds, it ranges from 500 to 600 nm. Additionally, absorption spectra suggest that chloroform is not an optimal solvent for all of these compounds, which can also be seen in Figure 9b. Compounds 4b and 5b show pronounced aggregate absorption and very low levels of monomer absorption, indicating that the particles may have not been completely dissolved before the deposition, leading to their more heterogeneous distribution throughout the PC 71 BM matrix. Therefore, by pinpointing the contribution of PC 71 BM to the organizational behavior of SQ, it is possible to confirm that the type of compound, BHJ ratio, choice of solvent, type and extent of post processing, etc., surely play a major role in affecting the aforementioned organizational susceptibilities. With the influence of all of these parameters in mind, it is needless to say that a proper description of the superstructural assembly for different systems will require a much broader investigation with more suitable characterization tools.
Voltammograms obtained via cyclic voltammetry are shown in Figure 10, while the calculated HOMO/LUMO levels and the corresponding bandgaps obtained via this method are shown in Table 3. Due to the fact that the compounds show certain solubility in acetonitrile, the oxidation and reduction peak had to be measured in two separate scans. Additionally, even after separately measuring oxidation and reduction, it was observed that during the reductive scan, compounds 4b and 5b completely changed color from blue to red, which implies a reaction or decomposition in a reducing environment. This explains why the LUMO levels for compounds 4b and 5b could not be determined directly from the CV measurements. During the oxidative scan, on the other hand, no change in the color of the films were observed, and the results obtained are appropriate for the determination of the HOMO levels of −5.07, −5.19, and −5.34 eV, for compounds 4b, 5b, and 5c, respectively, and these values are comparable to other small molecule squaraine compounds published so far [32,33]. These values are also supported by the fact that compound 5c displayed complete stability during both the forward and backward scans, and the bandgaps resulting from both methods, the optical and electrochemical, are very similar. Finally, it can be seen that all compounds exhibit relatively deep HOMO levels and low bandgap values, which is beneficiary for photovoltaic application as it allows for better compatibility with the solar spectrum, leading to good absorption and, consequently, charge carrier generation.
AFM characterization was performed on optimized films to shed more light on the surface topography of the spin-coated SQ:PC 71 BM blends. Micrographs show very similar topography for all films spin coated from a 20 mg mL −1 chloroform solution, regardless of the BHJ ratio (Figure 11a). Figure 11b,c also shows representative phase scans and 3D height scans for the non-annealed samples. It can be seen that the as-prepared films are very smooth and exhibit very low squared surface roughness which, according to AFM, averages at about 0.77 nm. Furthermore, the RMS of all of the spin-cast films of the same concentration was determined to be <1 nm. This indicates that there is no phase separation, and the blending of the BHJ constituents was confirmed to be successful. Regardless of the miscibility of these blended compounds, morphology and vertical phase separation are of great importance for the enhancement of small molecule donor organic solar cells, and control over these phenomena must be fully achieved to obtain maximum performance; however, here, we confirm that very fine morphology can be reproduced for all compounds, whereas rougher morphology (if necessary) can be achieved through post-process treatment, such as thermal treatment and solvent vapor annealing. compounds 4b, 5b, and 5c, respectively, and these values are comparable to othe molecule squaraine compounds published so far [32,33]. These values are also sup by the fact that compound 5c displayed complete stability during both the forwa backward scans, and the bandgaps resulting from both methods, the optical an trochemical, are very similar. Finally, it can be seen that all compounds exhibit rel deep HOMO levels and low bandgap values, which is beneficiary for photovolt plication as it allows for better compatibility with the solar spectrum, leading to absorption and, consequently, charge carrier generation. AFM characterization was performed on optimized films to shed more light surface topography of the spin-coated SQ:PC71BM blends. Micrographs show ver lar topography for all films spin coated from a 20 mgmL −1 chloroform solution, reg of the BHJ ratio (Figure 11a). Figure 11b,c also shows representative phase scans a height scans for the non-annealed samples. It can be seen that the as-prepared fil very smooth and exhibit very low squared surface roughness which, according to averages at about 0.77 nm. Furthermore, the RMS of all of the spin-cast films of the same concentration was determined to be <1 nm. This indicates that there is no phase separation, and the blending of the BHJ constituents was confirmed to be successful. Regardless of the miscibility of these blended compounds, morphology and vertical phase separation are of great importance for the enhancement of small molecule donor organic solar cells, and control over these phenomena must be fully achieved to obtain maximum performance; however, here, we confirm that very fine morphology can be reproduced for all compounds, whereas rougher morphology (if necessary) can be achieved through post-process treatment, such as thermal treatment and solvent vapor annealing.

Conclusions
The main focus of this study was to develop the synthesis of new squaraines, avoiding expensive catalytic processes. Therefore, special emphasis was placed on optimizing the amination reaction and developing a simple and mild synthetic route for the preparation of tertiary aryl amines, which were used as starting precursors in subsequent syntheses. The investigated squaraine dyes (SQs) have typically been synthesized through three steps: through the amination reaction of starting precursors, followed by demethylation with BBr3, and then condensation with squaric acid. We varied the groups attached to the SQ core in a course of the synthesis specifically developed to ensure that the derived products can be solution-processed and are chemically and microstructurally compatible with other absorbers and OPV device constituents. All SQ precursors and SQ products were fully described.
As expected, SQ products generally showed relatively deep HOMO levels and low bandgap values. Bearing in mind their applicability in OPV, SQs were blended with fullerene acceptors, and the optimal ratios, processing solvents, and spin-coating deposition parameters were determined. We indicated the existence of the differences in susceptibility for the organization and orientation of the constituting domains for SQ and BHJ solutions and thin films. Finally, it was evident that there are several strategies available for upgrading the PCE of squaraine-based OPV devices, one of which is developing modular small molecule absorbers that are chemically and microstructurally compatible with the acceptor material in the absorber layer.

Conclusions
The main focus of this study was to develop the synthesis of new squaraines, avoiding expensive catalytic processes. Therefore, special emphasis was placed on optimizing the amination reaction and developing a simple and mild synthetic route for the preparation of tertiary aryl amines, which were used as starting precursors in subsequent syntheses. The investigated squaraine dyes (SQs) have typically been synthesized through three steps: through the amination reaction of starting precursors, followed by demethylation with BBr 3 , and then condensation with squaric acid. We varied the groups attached to the SQ core in a course of the synthesis specifically developed to ensure that the derived products can be solution-processed and are chemically and microstructurally compatible with other absorbers and OPV device constituents. All SQ precursors and SQ products were fully described.
As expected, SQ products generally showed relatively deep HOMO levels and low bandgap values. Bearing in mind their applicability in OPV, SQs were blended with fullerene acceptors, and the optimal ratios, processing solvents, and spin-coating deposition parameters were determined. We indicated the existence of the differences in susceptibility for the organization and orientation of the constituting domains for SQ and BHJ solutions and thin films. Finally, it was evident that there are several strategies available for upgrading the PCE of squaraine-based OPV devices, one of which is developing modular small molecule absorbers that are chemically and microstructurally compatible with the acceptor material in the absorber layer.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author.