text: Special methods are used to produce films of CdS as components in some photoresistors and solar cells. In the chemical bath deposition method, thin films of CdS have been prepared using thiourea as the source of sulfide anions and an ammonium buffer solution to control pH:
  :Cd  + HO   +  (NH)CS  +  2 NH  →   CdS  +  (NH)CO   +  2 NH
  Cadmium sulfide can be produced using metalorganic vapour phase epitaxy and MOCVD techniques by the reaction of dimethylcadmium with diethyl sulfide:
  :Cd(CH)  + EtS  →   CdS  +  CHCH   +  CH
  Other methods to produce films of CdS include
  * Sol–gel techniques
  * Sputtering
  * Electrochemical deposition
  * Spraying with precursor cadmium salt, sulfur compound and dopant
  * Screen printing using a slurry containing dispersed CdS