An earthquake is a sudden shift of the earth’s surface. An earthquake occurs when two parts of the earth’s surface suddenly move about one another along a fault line due to tectonic forces. Quakes, also known as tremors or earthquakes, are caused by an abrupt release of energy in the earth’s crust. Earthquakes are recorded with seismographs, also often called seismographs. Traditionally, the moment magnitude of an earthquake is measured, or its associated, but now mostly outdated Richter magnitude; earthquakes with a magnitude of three or less are essentially undetectable, while those with a magnitude of seven can cause catastrophic damage over huge areas. The intensity of the ground tremble is measured using the modified Marcella scale. Seismic events are unpredictable and can cause damage to both people and property. We cannot stop it when it strikes unexpectedly, but we can be warned. Several technologies are available now to detect minor tremors and knocks so that we can take action before more significant earth vibrations occur. This study uses an accelerometer to find vibrations before an earthquake. The three axes, as well as shakes and vibrations, are extremely sensitive to the accelerometer. Reduced destructive losses are a benefit of utilizing an accelerometer to develop an earthquake detector based on Arduino.