What is the name of the instrument used to detect earthquakes?

The instrument used to detect earthquakes is called a seismometer or seismograph.