An electronic cigarette comprising a battery pole and an atomizer, wherein the battery pole includes a battery and a control module electrically connected to the battery, and the atomizer includes an identification signal generation module and an atomizing module;
- wherein the control module includes a microprocessor unit, a switch unit, and an identification signal identifying unit;
- wherein the microprocessor unit is connected to the battery, the switch unit, and the identification signal identifying unit respectively;
- wherein the microprocessor unit is configured for sending a detecting signal to the identification signal generation module in a preset time;
- wherein the identification signal generation module is configured for sending an identification signal when receiving the detecting signal;
- the identification signal identifying unit is configured for receiving the identification signal from the identification signal generation module by wireless transmission and identifying the identification signal;
- wherein the microprocessor unit is further configured for controlling the switch unit to be turned on and off according to an identifying result generated by the identification signal identifying unit, and then controlling the battery to be electrically connected with or to be electrically isolated from the atomizing module;
- wherein the microprocessor unit includes a first microprocessor, a type of the first microprocessor U1 is SN8P2711,
- wherein the identification signal generation module includes a first LED, and the identification signal identifying unit includes a phototransistor;
- wherein a base of the phototransistor is configured for sensing an optical signal sent from the first LED, and then driving a collector of the phototransistor to send a current signal corresponding to the optical signal to the microprocessor unit;
- wherein the battery pole further includes a first interface, and the atomizer further includes a second interface;
- the switch unit is further connected to the first interface;
- wherein an anode of the first LED is connected to an anode of the second interface, and a cathode of the first LED is connected to a cathode of the second interface;
- an emitter of the phototransistor is connected to a cathode of the first interface, and the collector of the phototransistor is connected to an anode of the first interface and the microprocessor unit respectively;
- wherein the anode of the first interface is a first terminal of a joint connecting member, and the cathode of the first interface is a second terminal of the joint connecting member;
- the anode of the second interface is a third terminal of the joint connecting member, and the cathode of the second interface is a fourth terminal of the joint connecting member;
- the first terminal of the joint connecting member is connected to an anode of the battery, and the second terminal of the joint connecting member is connected to a cathode of the battery, when the switch unit is turned off, an electrical connection between the second interface and the battery is cut off even if the battery pole is connected to the atomizer mechanically;
- wherein the identification signal is the optical signal and a transmission of the optical signal is achieved via a central through-hole of a joint between the battery pole and the atomizer;
- wherein, the switch unit includes an MOSFET;
- a grid of the MOSFET is connected to the microprocessor unit, a source of the MOSFET is grounded, and a drain of the MOSFET is connected to the cathode of the first interface;
- and the grid of the MOSFET is configured for receiving a control signal sent from the microprocessor unit and controlling the MOSFET to be turned on and off according to the control signal;
- wherein the battery pole further includes a warning module, and the warning module is connected to the control module;
- wherein the warning module includes a second LED and a resistor, an anode of the second LED is connected to the anode of the battery;
- wherein a first pin of the first microprocessor is connected to the anode of the battery via a voltage stabilizing diode, a fourth pin of the first microprocessor is connected to a grid of the MOSFET, a fifth pin of the first microprocessor is connected to a cathode of the second LED via the resistor, a seventh pin of the first microprocessor is connected to the collector of the phototransistor;
- when the battery pole is electrically connected to the atomizer, the fourth pin of the first microprocessor is configured for sending out a control signal to control the MOSFET to be turned on or turned off, the seventh pin of the first microprocessor is configured for receiving a current signal to determine whether the atomizer is fit for the battery pole, the fifth pin of the first microprocessor is configured for outputting an electrical signal to turn on the second LED to emit a warning light;
- the first microprocessor is further configured for setting the preset time directly;
- and
- wherein the warning module is configured for sending a warning under the control of the control module when the control module determines that the atomizer doesn't match with the battery pole.