Automatic system to relock a laser frequency to a Fabry-Perot cavity Rev. Sci. Instrum. 76, 026101 (2005); 10.1063/1.1841811A simple system of thermal control and frequency stabilization of solitary diode lasers Rev. Sci. Instrum. 71, 3648 (2000)Control of the double pendulum optics suspension system of a 30 m triangular Fabry-Pérot cavity Rev.This article describes an automatic system that permanently keeps an extended cavity diode laser ͑ECDL͒ frequency locked to a cesium line ͑852 nm͒. The ECDL has a new architecture based on an intracavity étalon. The laser power is 30 mW and the linewidth is narrower than 50 kHz. Two acousto-optic modulators finely change the laser frequency and optical power. The electronic control is composed of a computer, microcontrollers, digital analog converters, and direct digital synthesizers. The computer searches the ECDL parameters to tune it to the Cs line and closes the servoloop. It permanently checks the servoloop and relocks the laser if necessary. Both acousto-optic modulators are driven in real time by microcontrollers. They are programed in order to control the laser power and frequency with a predefined time sequence. This system, especially developed for an atomic fountain, can be easily adapted to a wide range of applications.