Pericarditis causes characteristic ECG changes including initially elevated T waves that later invert and flat or concave ST elevation. Substantial pericardial effusion with pericarditis can produce low voltage QRS complexes and electrical alternans. Pulmonary embolism results in the S1Q3T3 pattern on ECG with large S waves in lead I, deep Q waves in lead III, and inverted T waves in lead III. Pacemakers, electrolyte imbalances, and medications like digoxin can also impact the ECG with changes like pacing spikes, peaked T waves, prolonged QT, and downward ST segments.