An electric apparatus (1, 1a) with an electric connection and protection function, the electric apparatus (1, 1a) comprises: a casing comprising at least one first opening; a first connector partially embedded in the first opening and fixed on the casing, wherein the first connector comprises a first connection body, at least one first wire, a protection device and at least one first pin, wherein the first connection body has a first end and a second end, the at least one first pin is disposed within the first connection body, a first end of the first wire is connected with the corresponding first pin and the first wire is routed from the first end of the first connection body, the protection device is disposed on the first end of the first connection body, and the first end of the first connection body and a portion of the at least one first wire are sealed and covered by the protection device, wherein the first end of the first connection body is disposed within the casing, the second end of the first connection body is located outside the casing, and a portion of the first connection body is embedded within the first opening of the casing; and at least one electronic component disposed within the casing and electrically connected with a second end of the at least one first wire; wherein at least one wire-outlet hole and a portion of the at least one first wire close to the first end of the first connection body are covered and sealed by the protection device, so that a vacant space formed between the at least one wire-outlet hole and the corresponding first wire is sealed; wherein the protection device comprises: a protective stopper located at the first end of the first connection body, wherein a first side of the protective stopper is arranged beside the first end of the first connection body, so that the at least one wire-outlet hole is sealed by the protective stopper, wherein the protective stopper comprises at least one second opening, and the at least one first wire is penetrated through the corresponding second opening; characterized in that the protective device further comprises a potting wall connected with and protruded externally from the first end of the first connection body to enclose the first end of the first connection body, wherein the protective stopper is disposed within the potting wall; and a protective sealant filled within the potting wall, and arranged beside a second side of the protective stopper, wherein the second side is opposite to the first side. a casing comprising at least one first opening; a first connector partially embedded in the first opening and fixed on the casing, wherein the first connector comprises a first connection body, at least one first wire, a protection device and at least one first pin, wherein the first connection body has a first end and a second end, the at least one first pin is disposed within the first connection body, a first end of the first wire is connected with the corresponding first pin and the first wire is routed from the first end of the first connection body, the protection device is disposed on the first end of the first connection body, and the first end of the first connection body and a portion of the at least one first wire are sealed and covered by the protection device, wherein the first end of the first connection body is disposed within the casing, the second end of the first connection body is located outside the casing, and a portion of the first connection body is embedded within the first opening of the casing; and at least one electronic component disposed within the casing and electrically connected with a second end of the at least one first wire; wherein at least one wire-outlet hole and a portion of the at least one first wire close to the first end of the first connection body are covered and sealed by the protection device, so that a vacant space formed between the at least one wire-outlet hole and the corresponding first wire is sealed; wherein the protection device comprises: a protective stopper located at the first end of the first connection body, wherein a first side of the protective stopper is arranged beside the first end of the first connection body, so that the at least one wire-outlet hole is sealed by the protective stopper, wherein the protective stopper comprises at least one second opening, and the at least one first wire is penetrated through the corresponding second opening; characterized in that the protective device further comprises a potting wall connected with and protruded externally from the first end of the first connection body to enclose the first end of the first connection body, wherein the protective stopper is disposed within the potting wall; and a protective sealant filled within the potting wall, and arranged beside a second side of the protective stopper, wherein the second side is opposite to the first side. a potting wall connected with and protruded externally from the first end of the first connection body to enclose the first end of the first connection body, wherein the protective stopper is disposed within the potting wall; and a protective sealant filled within the potting wall, and arranged beside a second side of the protective stopper, wherein the second side is opposite to the first side.