The invention relates to a hard disk
electrostatic discharge technology, and discloses a hard disk drive with a built-in
electrostatic discharge device, which comprises a
power management module, a control execution module, an environment monitoring module, an
electrostatic discharge module and a hard disk module. The
power management module takes power from a
standby power supply of the computer; the environment monitoring module judges an environment risk through a
humidity sensor; the electrostatic
discharge module monitors the
voltage to ground of the interface through an electrostatic sensor, and triggers release when the
voltage exceeds a safety threshold value; a hard disk interface terminal is provided with a conductive sliding rod which is grounded in a
pilot mode, and it is ensured that
static electricity is released before interface contact in the installation process. According to the invention, automatic and non-inductive electrostatic protection of the hard disk before installation and starting is realized, and the safety of the hard disk in a dry high-risk environment is improved.