The study conducted shows a vibrational energy harvester (VEH) based on a microelectromechanical system (MEMS) with a gap-closing electrostatic resonator. The harvester system consists of a charge pump system in the form of a rectifier with feedback. An ultra-low power (ULP) comparator, based on a bulk driven topology, is connected to it, which regulates the harvesting cycle of the system. The complete circuit is implemented with 180 nm silicon technology. The designed energy harvester generates an output power of 65.45 nW at an acceleration of 0.35 for a frequency of 53.5Hz. The implemented circuit is supplied with a voltage of one volt and shows a power consumption of about 7nW at the operating range. All simulations were conducted using Cadence Virtuoso.