The cardiac cycle and the ECG

The sinoatrial node starts each beat, the impulse crosses the atria, pauses at the atrioventricular node and runs down the ventricles, and the pressure changes that follow open and close the valves in a fixed order that the ECG and the heart sounds track.

From Anatomy and Physiology.