The utility model relates to an automatic
cooker, which comprises a base, a frying pan, a mounting seat, an overturning arm, a first
cooker cover, a driving device, a stir-frying
manipulator, a detection switch and a control component, the driving device drives the stir-frying
manipulator to stir-fry dishes, and the
signal output end of the control component is electrically connected with the control end of the driving device. The
signal output end of the detection switch is connected with the
signal input end of the control
assembly, the driving device and the detection switch are in signal connection with the control
assembly, and the detection switch is used for detecting the covering condition of the first pot cover and the frying pot. The detection switch is arranged to detect the closing condition of the first pot cover, and when the detection switch detects that the first pot cover is in the
closed state, the driving device cannot be started, so that the stir-frying
manipulator is prevented from rotating when the first pot cover is not closed, a user is prevented from being scratched by the stir-frying manipulator, and the use safety of the automatic
cooker is ensured.