A control module includes a plurality of switching elements, a control chip, and an identification unit. The switching elements are connected to a power terminal through a corresponding resistor each, wherein the resistances of corresponding resistors or equivalent resistance of combination thereof are different. The switching elements generate an input current according to operating conditions thereof. The input current is sent to the control chip through an input/output terminal and is transformed to a digital value. The identification unit identifies the operating conditions of the switching elements according to a lookup table and the digital value, such that the control chip executes a corresponding logic operation.