A galvanometer is an electromechanical instrument for detecting and indicating electric current. A galvanometer works as an actuator, by producing a rotary deflection (of a "pointer"), in response to electric current flowing through a coil in a constant magnetic field. Early galvanometers were not calibrated, but their later developments were used as measuring instruments, called ammeters, to measure the current flowing through an electric circuit.
Galvanometers developed from the observation that the needle of a magnetic compass is deflected near a wire that has electric current flowing through it, first described by Hans Oersted in 1820. They were the first instruments used to detect and measure small amounts of electric currents. André-Marie Ampère, who gave mathematical expression to Ørsted's discovery and named the instrument after the Italian electricity researcher Luigi Galvani, who in 1791 discovered the principle of the frog galvanoscope – that electric current would make the legs of a dead frog jerk.
Sensitive galvanometers have been essential for the development of science and technology in many fields. For example, they enabled long range communication through submarine cables, such as the earliest Transatlantic telegraph cables, and were essential to discovering the electrical activity of the heart and brain, by their fine measurements of current.
Galvanometers also had widespread use as the visualising part in other kinds of analog meters, for example in light meters, VU meters, etc., where they were used to measure and display the output of other sensors. Today the main type of galvanometer mechanism, still in use, is the moving coil, D'Arsonval/Weston type.