A two-compartment Plexiglas cell has been set up and tested for separate hydrogen and oxygen production from photocatalytic water splitting on a thin TiO2 layer deposited by magnetron sputtering on a flat Ti electrode inserted between the two cell compartments.