We have developed the all-optical EO-modulator using a pulsed photogalvanic power supply driven by light illumination (coherent and incoherent). Generated by ferroelectric crystal with the photogalvanic effect (Fedoped LiNbO 3 ), electrical pulses were used for driving a standard EO-modulator, based on transversal EO effect in Bi 12 SiO 20 (BSO) crystals. Both parallel and serial connections of photogalvanic crystal (LN), BSO and oscilloscope were tested. The depth of EO-modulation was very sensitive to the impedance of the connected cables, which implies the existence of transmission-line resonances. Secondly, a more compact version of EO self-modulation is realized with green (wavelength λ= 532 nm, P = 100mW) solid-state CW laser. In this case, reflection of the CW laser from the LN crystal was modulated in time. Pulsating optical reflection was correlated with the pulsating electrical signals. We report both modes of operation: (1) as pulsed high-voltage power supply, and (2) as compactpulsed optical modulator. We have described these pulsations using model of photogalvanic effect and ferroelectric emission.