Direct current
Direct current was produced in 1800 by Italian physicist Alessandro Volta's battery, his Voltaic pile. The nature of how current flowed was not yet understood. French physicist André-Marie Ampère conjectured that current travelled in one direction from positive to negative. When French instrument maker Hippolyte Pixii built the first dynamo electric generator in 1832, he found that as the magnet used passed the loops of wire each half turn, it caused the flow of electricity to reverse, generating an alternating current. At Ampère's suggestion, Pixii later added a commutator, a type of "switch" where contacts on the shaft work with "brush" contacts to produce direct current.