The invention discloses an intelligent electrical switch and a charging
pile, and relates to the technical field of electrical parts, and the intelligent electrical switch comprises a base which is used for bearing the electrical parts; the mutual
inductor module is arranged on one side of the base, the bottom of the mutual
inductor module is connected with a plurality of first
copper bars, and the first
copper bars penetrate through the base; the
contactor module is arranged on the side, away from the mutual
inductor module, of the base, the side, away from the mutual inductor module, of the
contactor module is connected with a second
copper bar, the second copper bar is arranged on the base in a penetrating mode, and the mutual inductor module is electrically connected with the
contactor module through a third copper bar; the circuit board is arranged on the base, and the circuit board is arranged on the common side face of the mutual inductor module and the contactor module; the shell covers the base, and a cavity is formed between the shell and the base, so that the mutual inductor module, the contactor module and the circuit board are accommodated in the cavity; according to the technical scheme provided by the invention, the overall size of the intelligent electrical switch is effectively reduced.