Prepare TiO2 film as working electrode on FTO glass. after that we immerse this electrode on dye that contains an electrolyte , then perform the exp. using three electrode?
is it a right set?
what about the type of electrolyte that we should use ?
The three-electrode system configuration is the best choice to perform electrochemical measurements, including Impedance.
Such a configuration can eliminate the errors by reporting the resistance, voltage and current values to a reference (you can use any type of commercial reference electrode like Ag/AgCl or you can use Standard Hydrogen Reference electrode but you have to prepare it in the lab). After that, you should choose a counter-electrode (glassy carbon or platinum are the best choices) chosen with a surface higher than the working electrode (that is TiO2 on FTO glass). Make a good electrical connection between your FTO and the potentiostat but be careful not to immerse the connection clips into the electrolyte otherwise they will interfere with the measurements.
Concerning the question about the electrolyte type, normally it is H2SO4 (0.5 mol/L prepared from a 100% fuming H2SO4) but you can try to use other basic or neutral electrolyte or even ionic liquids.
For Impedance measurements, choose 10 mV as AC amplitude and report your applied voltage vs. your reference electrode. For the frequency sweep you can try 0.1 Hz to 100000 Hz. If you do not get all the information needed, you can go to lower frequencies like 0.01 Hz up to 100000 Hz. After you can try to find the best equivalent circuit to fit your data.
The Die is deposited on the surface of porous TiO2 and then dried. This will be the working electrode. You need a suitable electrolyte and a counter electrode. The counter electrode may be made of graphite or platinum. You need to review the most efficient Die sensitized solar cells to choose the most suitable electrolyte.
Your description needs elaboration for successful experiment. You can use two electrode method when you measure the whole cell from anode to cathode.
If you want to measure the properties ov every electrode you use three electrode method where you use a reference electrode immersed in the electrolyte between the surface of the Die and the counter electrode. Even it is made very close to the Die to avoid the ohmic voltage drop on the electrolyte.