The engine control module basically controls many different elements whose work is necessary for the proper operation of our engine. The engine computer basically monitors many different devices and systems in our car.
It monitors many sensors located at various points in our car, and regulates the work of the entire system. One of its roles is to monitor the mixture burned in the engine compartment, the idea is to properly select the amount of air to the amount of fuel. Thanks to the throttle, the air reaches the chamber depending on the needs, similarly the electronic fuel injection adjusts to the power expected by the driver after pressing the gas. Earlier, when the foot touched the accelerator pedal, it was connected to the cable leading directly to the engine, so that the engine could decide how much fuel to inject, based on the force with which the pedal was pressed, it was a mechanical way. Currently, an electronic sensor on or near the gas pedal sends a signal via an electric wire to the engine control system, which evaluates the throttle condition, and then sends a signal to the engine to adjust the fuel dose.