The invention relates to an optical pickup for an optical recording medium, an electrically controlled diffraction grating suitable for use in such a pickup, and to an apparatus for reading from and/or writing to optical recording media using such an optical pickup or diffraction grating.