CN105476068A - Wearable cigarette lighter, mobile terminal with cigarette lighter function and application method thereof - Google Patents

Wearable cigarette lighter, mobile terminal with cigarette lighter function and application method thereof Download PDF

Info

Publication number
CN105476068A
CN105476068A CN201410484690.2A CN201410484690A CN105476068A CN 105476068 A CN105476068 A CN 105476068A CN 201410484690 A CN201410484690 A CN 201410484690A CN 105476068 A CN105476068 A CN 105476068A
Authority
CN
China
Prior art keywords
resistance
cigarette
cigar lighter
comparator
lights
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410484690.2A
Other languages
Chinese (zh)
Other versions
CN105476068B (en
Inventor
罗嘉庆
张文清
周世杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201410484690.2A priority Critical patent/CN105476068B/en
Publication of CN105476068A publication Critical patent/CN105476068A/en
Application granted granted Critical
Publication of CN105476068B publication Critical patent/CN105476068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a wearable cigarette lighter, characterized by comprising a slave device USB (universal serial bus) interface for connection with an external master device USB interface; the slave device USB interface is connected with the external master device USB interface by mutual insertion; an OTG circuit is integrated to a circuit of the slave device USB interface and used for real-time communication between a master control unit and an external master device; the invention also discloses a mobile terminal with the cigarette lighter function and an application method thereof; the wearable cigarette lighter, the mobile terminal with the cigarette lighter function and the application method thereof provided by the invention provide great convenience for users to use the cigarette lighter and a wider range of cooperative use of the cigarette lighter with the external device.

Description

Wearable cigar lighter, with the mobile terminal of cigar lighter function and application process thereof
Technical field
The present invention relates to electronic technology field, refer to a kind of Wearable cigar lighter especially, with the mobile terminal of cigar lighter function and application process thereof.
Background technology
Existing charging cigar lighter technology adopts the lithium battery power supply of larger capacity and large-size usually, not only can not ensure to power at any time, and needs user manually to complete the charging of cigar lighter, inconvenient operation.
And some cigar lighter adopts Bluetooth technology to realize the communication of external equipment and cigar lighter, need cigar lighter that bluetooth module is installed; This mode not only increases cost, and operating process is complicated, and user will use the bluetooth service of the necessary starting hand-set of APP, realizes the Bluetooth pairing with cigar lighter.
Existing cigar lighter technology, effectively can accurately not capture the operation of user; Such as, judge the number of times that lights a cigarette of user according to the switching manipulation of user to cigar lighter, and then judge the smoking behavioural habits of user, this method is inherently inaccurate, and the APP service provided just there is not practical value.
Existing cigar lighter, needs user to carry with, easily loses, and not high with the degree that is closely connected of intelligent mobile terminal.
Summary of the invention
In view of this, the object of the invention is to propose a kind of Wearable cigar lighter, with the mobile terminal of cigar lighter function and application process thereof, for mobile terminal provides the portable cigar lighter of Wearable and service, greatly facilitate user to the use of cigar lighter and widened cigar lighter and external equipment with the use of mode.
Based on above-mentioned purpose Wearable cigar lighter provided by the invention, comprise for connect outside main equipment USB interface from equipment USB interface; Describedly to be connected by the mode of mutual grafting from equipment USB interface with outside main equipment USB interface; Describedly from the circuit of equipment USB interface, be integrated with OTG circuit and for realizing the real-time Communication for Power between main control unit and the main equipment of outside.
In some embodiments, described from equipment USB interface employing microusb interface, this interface comprises 5 pins, wherein ID pin and grounding pin common ground, enter host mode for trigger external equipment (as mobile terminals such as smart mobile phones), make cigar lighter as USB-OTG from equipment.
In some embodiments, described cigar lighter also comprise communication with power supply management unit, main control unit, energising light a cigarette unit, light a cigarette probe unit;
Described communication and power supply management unit are connected respectively and light a cigarette unit from equipment USB interface, main control unit, light a cigarette probe unit and energising, for receiving supply voltage also for internal battery is powered from described from equipment USB interface, when needs for energising light a cigarette unit power carry out energising light a cigarette time, by internal battery be its power supply; Integrated described OTG circuit in simultaneously described communication and power supply management unit, for realizing the real-time Communication for Power between main control unit and the main equipment of outside;
Described main control unit, connect communication and power supply management unit respectively, be energized unit and the probe unit that lights a cigarette of lighting a cigarette, for receiving the instruction lighting a cigarette control to the energising unit that lights a cigarette of lighting a cigarette of main equipment, and receive the action message returned to main equipment of lighting a cigarette of the probe unit that lights a cigarette;
Described energising light a cigarette unit connect respectively communication with power supply management unit and main control unit, for receiving the control instruction of main control unit and carrying out the operation that lights a cigarette;
The described probe unit that lights a cigarette, connects communication and power supply management unit and main control unit respectively, for the action send the action message that lights a cigarette to main control unit of lighting a cigarette of detecting user.
In some embodiments, described main control unit comprises microcontroller, described communication and power supply management unit comprise usb communication interface circuit, bleeder circuit, reduction voltage circuit, battery interface circuit, battery control circuit, the described energising unit that lights a cigarette comprises electric-heating-wire-heating circuit, described in the probe unit that lights a cigarette comprise the first photoelectric sensor circuit and the second photoelectric sensor circuit;
Described usb communication interface circuit comprises the first resistance, the second resistance and the 3rd resistance, described battery interface circuit comprises the first interface connecting internal battery, reduction voltage circuit comprises voltage regulator chip and the 5th electric capacity, described bleeder circuit comprises the 4th resistance and the 5th resistance, and described battery control circuit comprises transistor seconds, third transistor, the 26 resistance and the 27 resistance;
The positive pin of the described data from equipment USB interface exports 5V voltage signal through the first resistance and connects the positive pin of usb data of described microcontroller, the usb data connecting described microcontroller from the data minus pin of equipment USB interface bears pin, 5V voltage signal is exported from the positive pin of the power supply of equipment USB interface, described 5V voltage signal is connected to the second pin of first interface through the second resistance of series connection and the 3rd resistance, for by external equipment being internal battery charging, described 5V voltage signal connects the positive pin of input and the negative pin of input of voltage regulator chip through the second resistance, thus 5V voltage signal outputs to described reduction voltage circuit, the grounding pin ground connection of described voltage regulator chip, the low voltage voltage signal after the power pins output buck of voltage regulator chip is also simultaneously through the 5th capacity earth, first pin ground connection of described first interface, described low voltage voltage signal is through the 4th resistance of series connection and the 5th resistance eutral grounding and simultaneously output to described first photoelectric sensor circuit and the second photoelectric sensor circuit respectively through the 4th resistance, the battery control signal that described microcontroller exports is input in described battery control circuit, the base stage of transistor seconds is connected to through the 26 resistance, and the base stage of third transistor is connected to through the colelctor electrode of transistor seconds, and form battery control voltage signal through the colelctor electrode of third transistor and be input in described electric-heating-wire-heating circuit, described 5V voltage signal connects the emitter stage of third transistor and is connected to the colelctor electrode of transistor seconds through the 27 resistance, the grounded emitter of transistor seconds, transistor seconds is NPN transistor, third transistor is PNP transistor.
In some embodiments, described electric-heating-wire-heating circuit comprises heating wire, cigar lighter chip, the first transistor, the first indicator lamp, the 19 resistance, the 20 resistance, the 21 resistance, the 22 resistance, the 23 resistance, the 24 resistance;
The switching signal that described microcontroller exports receives the base stage of the first transistor through the 24 resistance, and the switch pin of cigar lighter chip is connected through the colelctor electrode of the first transistor, the battery voltage signal exported by internal battery outputs to the switch pin of cigar lighter chip through the 21 resistance from the second pin of first interface, and the battery that described battery voltage signal also outputs to cigar lighter chip connects pin, described battery connects pin and is connected microcontroller with the 23 resistance eutral grounding through the 22 resistance through the 22 resistance of series connection simultaneously, cigar lighter chip fill the colelctor electrode that electrical connection pins connects described third transistor, the battery of described cigar lighter chip connects pin and is connected described heating wire between output pin, the LED pin of described cigar lighter chip is through described first indicator lamp of series connection and the 20 resistance eutral grounding, the 19 resistance is connected with and this grounded emitter between the emitter stage of described the first transistor and base stage,
In some embodiments, described first photoelectric sensor circuit comprises the first comparator chip, the first comparator, the second comparator, the first light emitting diode, the first photodiode, the 3rd electric capacity, the 7th resistance, the 8th resistance, the 9th resistance, the tenth resistance, the 11 resistance, the 12 resistance;
Described microcontroller export the first pulse-width signal through series connection the 7th resistance and the first light emitting diode ground connection, described low voltage voltage signal is input to the positive input terminal of the second comparator through the 8th resistance, the negative input end of the second comparator is connected by wire with output, the output of the second comparator is connected to the positive input terminal of the first comparator through the 3rd electric capacity, pin is born in the input that the output of the first comparator connects the first comparator chip, the output of the first comparator is connected the negative input end of the first comparator through the 11 resistance of series connection with the tenth resistance eutral grounding through the 11 resistance, described branch pressure voltage signal is input to the positive pin of input of the first comparator chip, described low voltage voltage signal is input to the power pins of the first comparator chip and inputs the output pin of the first comparator chip through the 12 resistance, the output pin of the first comparator chip exports first sensor signal to microcontroller, described first photodiode one end ground connection other end connects the positive input terminal of the 8th resistance and the second comparator respectively, the positive input terminal of described first comparator is through the 9th resistance eutral grounding,
Described second photoelectric sensor circuit comprises the second comparator chip, the 3rd comparator, the 4th comparator, the second light emitting diode, the second photodiode, the 4th electric capacity, the 13 resistance, the 14 resistance, the 15 resistance, the 16 resistance, the 17 resistance, the 18 resistance;
Described microcontroller export the second pulse-width signal through series connection the 13 resistance and the second light emitting diode ground connection, described low voltage voltage signal is input to the positive input terminal of the 4th comparator through the 14 resistance, the negative input end of the 4th comparator is connected by wire with output, the output of the 4th comparator is connected to the positive input terminal of the 3rd comparator through the 4th electric capacity, pin is born in the input that the output of the 3rd comparator connects the second comparator chip, the output of the 3rd comparator is connected the negative input end of the 3rd comparator through the 17 resistance of series connection with the 16 resistance eutral grounding through the 17 resistance, described branch pressure voltage signal is input to the positive pin of input of the second comparator chip, described low voltage voltage signal is input to the power pins of the second comparator chip and inputs the output pin of the second comparator chip through the 18 resistance, the output pin of the second comparator chip exports the second sensor signal to microcontroller, described second photodiode one end ground connection other end connects the positive input terminal of the 14 resistance and the 4th comparator respectively, the positive input terminal of described 3rd comparator is through the 15 resistance eutral grounding.
Another aspect of the present invention additionally provides a kind of mobile terminal with cigar lighter function, comprises as above arbitrarily described Wearable cigar lighter, described mobile terminal as USB main equipment, described Wearable cigar lighter as USB from equipment;
Described mobile terminal comprise with described Wearable cigar lighter from main equipment USB interface, communication module, instruction control module, the application service module of equipment USB interface by socket connection;
Described communication module, carries out exchanges data with described main equipment USB interface, for identifying cigar lighter and establishing a communications link with cigar lighter;
Described instruction control module, carries out exchanges data with communication module and application service module respectively, for preserving the dependent instruction of operation cigar lighter, and controls described cigar lighter according to user operation instruction;
Described application service module, and instruction control module carries out exchanges data, for providing the application service relevant to described cigar lighter.
In some embodiments, described application service module comprises induction control unit, and described mobile terminal also comprises the motion detection apparatus of the motion state for obtaining mobile terminal;
Described motion detection apparatus is connected with induction control unit, and described induction control unit sends to described instruction control module after the exercise data that motion detection apparatus produces is treated to digital information;
The digital information received when described instruction control module reflects that now motion detection apparatus detects that mobile terminal moves back and forth with certain frequency, and described instruction control module sends to cigar lighter the instruction that lights a cigarette by communication module.
In some embodiments, described application service module comprises behavior record unit;
After the action message that lights a cigarette of the user that the probe unit that lights a cigarette that described instruction control module receives described cigar lighter by communication module detects, the described action message that lights a cigarette is sent to described behavior record unit; The action message that lights a cigarette described in described behavior record unit real time record is also treated to the visual statistics of graphical format, is pushed to user according to Health & Fitness Tip corresponding in statistics call instruction control module simultaneously.
In some embodiments, described application service module comprises smoking cessation planning unit;
Described smoking cessation planning unit is for obtaining smoking cessation data smoking cessation data are sent to instruction control module, and described smoking cessation data comprise can accept smoking period section, the number of times that lights a cigarette, light a cigarette frequency;
Described instruction control module is when generation lights a cigarette instruction, and what judge whether it meet smoking cessation data setting can smoking scope; If so, then send to cigar lighter the instruction that lights a cigarette by communication module, if not, then do not send the instruction that lights a cigarette.
Another aspect of the present invention, additionally provides a kind of application process of the as above described arbitrarily mobile terminal with cigar lighter function, comprising:
Obtain the motion state of mobile terminal;
Know that acquisition for mobile terminal is to the triggering command that lights a cigarette;
According to lighting a cigarette, triggering command sends to cigar lighter the instruction that lights a cigarette;
Cigar lighter carries out electrified regulation and completes lighting a cigarette to heater strip.
In some embodiments, described application process, also comprises:
Obtain and record the action message that lights a cigarette;
The action message that lights a cigarette is treated to the visual statistics of graphical format, and calls corresponding Health & Fitness Tip according to statistics and be pushed to user.
In some embodiments, described application process, also comprises:
Obtain smoking cessation data, described smoking cessation data comprise can accept smoking period section, the number of times that lights a cigarette, light a cigarette frequency;
Judge to generate light a cigarette whether instruction meet smoking cessation data setting can smoking scope;
If so, then send to cigar lighter the instruction that lights a cigarette by communication module;
If not, then the instruction that lights a cigarette is not sent.
As can be seen from above, Wearable cigar lighter provided by the invention, with the mobile terminal of cigar lighter function and application process thereof, abandon the cigar lighter scheme of traditional single, that larger capacity, large-size, noncontinuity power effect lithium battery power supply, external equipment (particularly mobile terminal is utilized by OTG technology, such as mobile phone) power for cigar lighter, make cigar lighter become a part for external equipment; The cigar lighter that the present invention proposes is direct-connected to external equipment USB interface by OTG technology, adopts usb communication technology to realize the mutual, convenient and swift of external equipment and cigar lighter; The cigar lighter that the present invention proposes addition of infrared distance photoelectric sensor, can the behavioural habits that light a cigarette of accurate perception user by the operation that lights a cigarette of sensor sensing user, and the data of APP foundation sensor can be user and provide and serve accurately.
Outstanding contributions of the present invention be smart mobile phone power kind equipment (as mobile terminal) and Mobile solution service complete design thought; This design philosophy comprises the application service of the power-supply service of smart machine, communication scheme and cooperating equipment; The mode adopting mobile terminal to power is that cigar lighter is powered; OTG technology is adopted to realize the communication of cigar lighter and mobile terminal; Application service coordinates the running of cigar lighter, and provides relevant special project application; Adopt mobile terminal to be that cigar lighter is powered, and can power at any time; OTG technology is adopted to realize the communication of cigar lighter and mobile terminal; Mobile terminal provides: recording user light a cigarette behavior, formulate smoking cessation plan, social, the online cigarette city of online cigarette friend, distinguish the application service such as the true and false of cigarette.
Accompanying drawing explanation
Fig. 1 is the structural representation of Wearable cigar lighter embodiment provided by the invention;
Fig. 2 a is the electrical block diagram of microcontroller in Wearable cigar lighter embodiment provided by the invention;
Fig. 2 b is the electrical block diagram of usb communication interface circuit in Wearable cigar lighter embodiment provided by the invention;
Fig. 2 c is the electrical block diagram of battery interface circuit in Wearable cigar lighter embodiment provided by the invention;
Fig. 2 d is the electrical block diagram of reduction voltage circuit in Wearable cigar lighter embodiment provided by the invention;
Fig. 2 e is the electrical block diagram of bleeder circuit in Wearable cigar lighter embodiment provided by the invention;
Fig. 2 f is the electrical block diagram of battery control circuit in Wearable cigar lighter embodiment provided by the invention;
Fig. 2 g is the electrical block diagram of electric-heating-wire-heating circuit in Wearable cigar lighter embodiment provided by the invention;
Fig. 2 h is the electrical block diagram of the first photoelectric sensor circuit and the second photoelectric sensor circuit in Wearable cigar lighter embodiment provided by the invention;
Fig. 3 is the structural representation of the mobile terminal embodiment with cigar lighter function provided by the invention;
Fig. 4 is the internal structure schematic diagram of the mobile terminal embodiment with cigar lighter function provided by the invention;
Fig. 5 is the schematic flow sheet of an embodiment of the application process of the mobile terminal with cigar lighter function provided by the invention;
Fig. 6 is the schematic flow sheet of another embodiment of the application process of the mobile terminal with cigar lighter function provided by the invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
Explanation of nouns:
The third party application of APP---Application smart mobile phone;
OTG---On-The-Go is by the linkage function of USB interface.
It should be noted that, in the embodiment of the present invention, the statement of all uses " first " and " second " is all the parameters in order to the entity or non-equal distinguishing two same names non-equal, visible " first " " second " convenience only in order to state, should not be construed as the restriction to the embodiment of the present invention, subsequent embodiment illustrates no longer one by one to this.
With reference to accompanying drawing 1, it is the structural representation of Wearable cigar lighter embodiment provided by the invention.
Described Wearable cigar lighter 100, comprise for connect outside main equipment USB interface from equipment usb 1 01; Describedly to be connected by the mode of mutual grafting from equipment usb 1 01 with outside main equipment USB interface; Describedly from the circuit of equipment usb 1 01, be integrated with OTG circuit and for realizing the real-time Communication for Power between main control unit 103 and the main equipment of outside.
Further, composition graphs 1 and Fig. 2 b, describedly adopt microusb interface USB1 from equipment usb 1 01, this interface comprises 5 pins, wherein ID pin and grounding pin (GND) common ground, entering host mode for triggering the external equipment (such as smart mobile phone) be connected with cigar lighter, making cigar lighter 100 as USB-OTG from equipment, thus exchanges data can be realized simultaneously and utilize external equipment to charge.Wherein, the SHELL in USB interface refers to the shell of USB interface, this shell also ground connection.
Preferably, continue with reference to accompanying drawing 1, described cigar lighter 100 also comprise communication and power supply management unit 102, main control unit 103, be energized light a cigarette unit 104, light a cigarette probe unit 105;
Described communication and power supply management unit 102 are connected respectively and light a cigarette unit 104 from equipment usb 1 01, main control unit 103, light a cigarette probe unit 105 and energising, for receiving from equipment usb 1 01 supply voltage that external equipment provides from described and power for internal battery, described internal battery is placed in cigar lighter inside, when needs for energising light a cigarette unit 104 power supply carry out energising light a cigarette time, by internal battery for its power; Simultaneously described communication and integrated described OTG circuit in power supply management unit 102 (reference Fig. 2 b), for realizing the real-time Communication for Power between main control unit 103 and the main equipment of outside;
Described main control unit 103, connect communication and power supply management unit 102 respectively, be energized unit 104 and the probe unit 105 that lights a cigarette of lighting a cigarette, for receiving the instruction lighting a cigarette control to the energising unit 104 that lights a cigarette of lighting a cigarette of main equipment, and receive the action message returned to outside main equipment of lighting a cigarette of the probe unit 105 that lights a cigarette;
Described energising light a cigarette unit 104 connect respectively communication with power supply management unit 102 and main control unit 103, for receiving the control instruction of main control unit 103 and carrying out the operation that lights a cigarette;
The described probe unit 105 that lights a cigarette, connects communication and power supply management unit 102 and main control unit 103 respectively, for the action send the action message that lights a cigarette to main control unit 103 of lighting a cigarette of detecting user.
Further, with reference to accompanying drawing 2a-2f, the electrical block diagram of microcontroller, usb communication interface circuit, battery interface circuit, reduction voltage circuit, bleeder circuit, battery control circuit in Wearable cigar lighter embodiment provided by the invention is respectively.
Described main control unit 103 comprises microcontroller U1, described communication and power supply management unit 102 comprise usb communication interface circuit, bleeder circuit, reduction voltage circuit, battery interface circuit, battery control circuit, the described energising unit 104 that lights a cigarette comprises electric-heating-wire-heating circuit, described in the probe unit 105 that lights a cigarette comprise the first photoelectric sensor circuit and the second photoelectric sensor circuit; Optionally, the microcontroller chip of described microcontroller U1 to be model be STM32F101T8U6.
Further, data communication between described cigar lighter 100 and outside main equipment adopts OTG technology, cigar lighter is connected to outside main equipment (such as smart mobile phone), outside main equipment is as HOSTUSB, cigar lighter is as SLAVEUSB, and outside main equipment is that cigar lighter is powered and real-time Communication for Power by USB interface; Communication protocol meets USB2.0 standard agreement.
Described usb communication interface circuit comprises the first resistance R1, the second resistance R2 and the 3rd resistance R3, described battery interface circuit comprises the first interface P1 connecting internal battery, first interface P1 is used for grafting internal battery, reduction voltage circuit comprises voltage regulator chip U2 and the 5th electric capacity C5, described bleeder circuit comprises the 4th resistance R4 and the 5th resistance R5, and described battery control circuit comprises transistor seconds Q2, third transistor Q3, the 26 resistance R26 and the 27 resistance R27;
The described positive pin of data (D+) from equipment USB interface USB1 (that is the usb 1 01 Fig. 1) exports 5V voltage signal VCC5V through the first resistance R1 and connects the positive pin of usb data (PA12) of described microcontroller U1, the usb data connecting described microcontroller U1 from the data minus pin (D-) of equipment USB interface USB1 bears pin (PA11), 5V voltage signal VCC5V is exported from the positive pin of power supply (UV) of equipment USB interface USB1, described 5V voltage signal VCC5V is connected to second pin (2) of first interface P1 through the second resistance R2 of series connection and the 3rd resistance R3, voltage for being introduced by external equipment is internal battery charging, described 5V voltage signal VCC5V connects the positive pin of input (IN+) and the negative pin (IN-) of input of voltage regulator chip U2 through the second resistance R2, thus 5V voltage signal VCC5V outputs to described reduction voltage circuit, grounding pin (GND) ground connection of described voltage regulator chip U2, the low voltage voltage signal VCC after power pins (VCC) output buck of voltage regulator chip U2 is also simultaneously through the 5th electric capacity C5 ground connection, first pin (1) ground connection of described first interface P1, described low voltage voltage signal VCC is through the 4th resistance R4 of series connection and the 5th resistance R5 ground connection and simultaneously output to described first photoelectric sensor circuit and the second photoelectric sensor circuit respectively through the 4th resistance R4, the battery control signal CHARGE_EN that the pin PA3 of described microcontroller U1 exports is input in described battery control circuit, the base stage (b) of transistor seconds Q2 is connected to through the 26 resistance R26, and the base stage (b) of third transistor Q3 is connected to through the colelctor electrode (c) of transistor seconds Q2, and form battery control voltage signal V_SW through the colelctor electrode (c) of third transistor Q3 and be input in described electric-heating-wire-heating circuit, described 5V voltage signal VCC5V connects the emitter stage (e) of third transistor Q3 and is connected to the colelctor electrode (c) of transistor seconds Q2 through the 27 resistance R27, emitter stage (e) ground connection of transistor seconds Q2, transistor seconds Q2 is NPN transistor, third transistor Q3 is PNP transistor.
Optionally, with reference to accompanying drawing 2a, described main control unit 103 also comprises the second interface P2, the 6th resistance R6, the first electric capacity C1, the second electric capacity C2, the 25 resistance R25, the second indicator lamp LED2; 3rd pin (3) of described second interface P2 connects the pin PA13/JTMS/SWDIO of microcontroller U1, second pin (2) of described second interface P2 connects the pin PA14/JTCK/SWCLK of microcontroller U1, the first pin (1) ground connection of described second interface P2; Described low voltage voltage signal VCC connects the pin NRST of microcontroller U1 through the 6th resistance R6, and the pin NRST of microcontroller U1 is through the first electric capacity C1 ground connection simultaneously; Described low voltage voltage signal VCC connects pin VDD_1, VDD_2, VDD_3, VDDA of microcontroller U1 respectively, and for powering for microcontroller U1, and pin VDD_1, VDD_2, VDD_3, VDDA of microcontroller U1 are all by the second electric capacity C2 ground connection; Described second indicator lamp LED2 one end ground connection, the other end connects the pin PA15/JTD1 of microcontroller U1 through the 25 resistance R25, and being connected with external equipment when cigar lighter and starting working, microcontroller U1 sends start signal, lights the second indicator lamp LED2.
Optionally, described from equipment USB interface be MicroUSB; First interface P1 model is header, voltage regulator chip U2 model is TLV70028, and the capacitance of the 5th electric capacity C5 is 100nF, and transistor seconds Q2 model is S8050, third transistor Q3 model is AO3401; The resistance of the first resistance R1, the second resistance R2, the 3rd resistance R3, the 4th resistance R4, the 5th resistance R5, the 26 resistance R26 and the 27 resistance R27 is respectively 390k Ω, 10k Ω, 10k Ω, 100k Ω, 10k Ω, 1k Ω, 10k Ω; Second interface P2 model is header, and the capacitance of the first electric capacity C1 and the second electric capacity C2 is 100nF, and the resistance of the 6th resistance R6 and the 25 resistance R25 is respectively 10k Ω and 1k Ω, and the second indicator lamp LED2 is common light emitting diode.
Preferably, with reference to accompanying drawing 2g, be the electrical block diagram of electric-heating-wire-heating circuit in Wearable cigar lighter embodiment provided by the invention.
Described electric-heating-wire-heating circuit comprises heating wire L1, cigar lighter chip U5, the first transistor Q1, the first indicator lamp LED1, the 19 resistance R19, the 20 resistance R20, the 21 resistance R21, the 22 resistance R22, the 23 resistance R23, the 24 resistance R24;
The switching signal SW that described microcontroller U1 exports receives the base stage (b) of the first transistor Q1 through the 24 resistance R24, and the switch pin (SW) of cigar lighter chip U5 is connected through the colelctor electrode (c) of the first transistor Q1, the battery voltage signal VBAT exported by internal battery outputs to the switch pin (SW) of cigar lighter chip U5 through the 21 resistance R21 from second pin (2) of first interface P1, and the battery that described battery voltage signal VBAT also outputs to cigar lighter chip U5 connects pin (VDD), described battery connects pin (VDD) and is connected the pin PA0-WKUP of microcontroller U1 through the 22 resistance R22 of series connection through the 22 resistance R22 with the 23 resistance R23 ground connection simultaneously, cigar lighter chip U5 fills the colelctor electrode (c) that electrical connection pins VCC connects described third transistor Q3, for receiver voltage signal V_SW, the battery of described cigar lighter chip U5 connects pin (VDD) and is connected described heating wire L1 (be connected the battery connection PAD1 at pin (VDD) place and the PAD2 at output pin (OUT) place respectively by contact PAD3 with PAD4 at heating wire L1 two ends and be connected) between output pin (OUT), the LED pin (LED) of described cigar lighter chip U5 through the described first indicator lamp LED1 of series connection and the 20 resistance R20 ground connection, when heating wire L1 carrying out energising light a cigarette time, light described first indicator lamp LED1, the 19 resistance R19 is connected with and emitter stage (e) ground connection of this first transistor Q1 between the emitter stage (e) of described the first transistor Q1 and base stage (b).
Optionally, cigar lighter chip U5 model is XM7100, the first transistor Q1 model is S8050, first indicator lamp LED1 is common light emitting diode, and the resistance of the 19 resistance R19, the 20 resistance R20, the 21 resistance R21, the 22 resistance R22, the 23 resistance R23, the 24 resistance R24 is respectively 100k Ω, 10k Ω, 47k Ω, 100k Ω, 100k Ω, 1k Ω.
Light a cigarette in conjunction with the circuit structure of aforesaid communication and power supply management unit 102 and described energising the circuit structure of electric-heating-wire-heating circuit of unit 104, for the power supply mode that the energising of heating wire lights a cigarette, have employed the composite power supply mode of powering in conjunction with internal battery and external equipment.By arranging low capacity, undersized lithium battery as internal battery; For providing main power supply for the energising of heating wire lights a cigarette, when lighting a cigarette, the voltage signal introduced from outside main equipment is to built-in powered battery; Especially, when internal battery electricity lower than preset power threshold time, outside main equipment charges to internal battery, when internal battery electricity reach or higher than this default power threshold time, stop charging.Under the prerequisite that external equipment electricity is certain, what can ensure Wearable cigar lighter continues normal work.
Only have when external equipment sends a smoke signal and opens the pattern that lights a cigarette of cigar lighter, the internal battery (being chosen as lithium battery) of Wearable cigar lighter just starts as heating wire L1 powers, and in 1s, heats heating wire to the state of lighting a cigarette; Otherwise internal battery does not participate in work.The low voltage voltage signal VCC that main control unit, the probe unit that lights a cigarette are obtained by reduction voltage circuit by the voltage signal introduced from external equipment powers.
Further, with reference to accompanying drawing 2h, be the electrical block diagram of the first photoelectric sensor circuit and the second photoelectric sensor circuit in Wearable cigar lighter embodiment provided by the invention.
Described first photoelectric sensor circuit comprises the first comparator chip U3, the first comparator U2A, the second comparator U2B, the first light emitting diode D1, the first photodiode D2, the 3rd electric capacity C3, the 7th resistance R7, the 8th resistance R8, the 9th resistance R9, the tenth resistance R10, the 11 resistance R11, the 12 resistance R12;
Described microcontroller U1 export the first pulse-width signal PWM1 through series connection the 7th resistance R7 and the first light emitting diode D1 ground connection, described low voltage voltage signal VCC is input to the positive input terminal (+) of the second comparator U2B through the 8th resistance R8, the negative input end (-) of the second comparator U2B is connected by wire with output, the output of the second comparator U2B is connected to the positive input terminal (+) of the first comparator U2A through the 3rd electric capacity C3, pin (IN-) is born in the input that the output of the first comparator U2A connects the first comparator chip U3, the output of the first comparator U2A is connected the negative input end (-) of the first comparator U2A through the 11 resistance R11 of series connection with the tenth resistance R10 ground connection through the 11 resistance R11, described branch pressure voltage signal VCC is input to the positive pin of input (IN+) of the first comparator chip U3, described low voltage voltage signal VCC is input to the power pins (VCC) of the first comparator chip U3 and inputs the output pin (OUT) of the first comparator chip U3 through the 12 resistance R12, the output pin (OUT) of the first comparator chip U3 exports the pin PB1 of first sensor signal SEN_OUT1 to microcontroller U1, described first photodiode D2 one end ground connection other end connects the positive input terminal (+) of the 8th resistance R8 and the second comparator U2B respectively, the positive input terminal (+) of described first comparator U2A is through the 9th resistance R9 ground connection,
Described second photoelectric sensor circuit comprises the second comparator chip U4, the 3rd comparator U2C, the 4th comparator U2D, the second light emitting diode D3, the second photodiode D4, the 4th electric capacity C4, the 13 resistance R13, the 14 resistance R14, the 15 resistance R15, the 16 resistance R16, the 17 resistance R17, the 18 resistance R18;
Described microcontroller U1 export the second pulse-width signal PWM2 through series connection the 13 resistance R13 and the second light emitting diode D3 ground connection, described low voltage voltage signal VCC is input to the positive input terminal (+) of the 4th comparator U2D through the 14 resistance R14, the negative input end (-) of the 4th comparator U2D is connected by wire with output, the output of the 4th comparator U2D is connected to the positive input terminal (+) of the 3rd comparator U2C through the 4th electric capacity C4, pin (IN-) is born in the input that the output of the 3rd comparator U2C connects the second comparator chip U4, the output of the 3rd comparator U2C is connected the negative input end (-) of the 3rd comparator U2C through the 17 resistance R17 of series connection with the 16 resistance R16 ground connection through the 17 resistance R17, described branch pressure voltage signal VCC is input to the positive pin of input (IN+) of the second comparator chip U4, described low voltage voltage signal VCC is input to the power pins (VCC) of the second comparator chip U4 and inputs the output pin (OUT) of the second comparator chip U4 through the 18 resistance R18, the pin (OUT) of the second comparator chip U4 exports the pin PA2 of the second sensor signal SEN_OUT2 to microcontroller U1, described second photodiode D4 one end ground connection other end connects the positive input terminal (+) of the 14 resistance R14 and the 4th comparator U2D respectively, the positive input terminal (+) of described 3rd comparator U2C is through the 15 resistance R15 ground connection.
Optionally, infrared distance photoelectric sensor is formed by the first light emitting diode D1, the first photodiode D2 and the second light emitting diode D3, the second photodiode D4, for responding to the operation that lights a cigarette of user, when cigarette is near this infrared distance photoelectric sensor, judge whether user is carrying out the operation that lights a cigarette, if so, this sensor make response thus return once light a cigarette operation first sensor signal SEN_OUT1 and the second sensor signal SEN_OUT2 to microcontroller U2.Optionally, by the first comparator U2A, second comparator U2B, 3rd comparator U2C, 4th comparator U2D forms single supply four road operational amplifier LM324, wherein, the positive-negative input end of the first comparator U2A, output is respectively the 3rd of single supply four road operational amplifier LM324 the, 2, 1 pin, and from the first comparator U2A, drawn grounding pin (the 11st pin) and the power pins (the 4th pin) of single supply four road operational amplifier LM324, power pins access low voltage voltage signal VCC, the positive-negative input end of the second comparator U2B, output is respectively the 5th of single supply four road operational amplifier LM324 the, 6, 7 pins, the positive-negative input end of the 3rd comparator U2C, output is respectively the 10th of single supply four road operational amplifier LM324 the, 9, 8 pins, the positive-negative input end of the 4th comparator U2D, output is respectively the 12nd of single supply four road operational amplifier LM324 the, 13, 14 pins.
Optionally, the first comparator chip U3 and the second comparator chip U4 model are LMV331; The capacitance of the 3rd electric capacity C3 and the 4th electric capacity C4 is 100nF; The resistance of the 7th resistance R7, the 8th resistance R8, the 9th resistance R9, the tenth resistance R10, the 11 resistance R11, the 12 resistance R12, the 13 resistance R13, the 14 resistance R14, the 15 resistance R15, the 16 resistance R16, the 17 resistance R17, the 18 resistance R18 is respectively 330k Ω, 10k Ω, 10k Ω, 1k Ω, 10k Ω, 10k Ω, 330k Ω, 10k Ω, 10k Ω, 1k Ω, 10k Ω, 10k Ω.
As can be seen from above-described embodiment, Wearable cigar lighter provided by the invention, the communication unit of cigar lighter utilizes OTG connecting line to be connected to outside main equipment by USB interface, cigar lighter as USBSLAVE equipment connection to the USB interface of external equipment (such as mobile phone), thus when there is no Host, realize the data transmission between cigar lighter and outside main equipment; Further, as the external equipment of USBHOST (main equipment) and the cigar lighter as USBSLAVE (from equipment), make external equipment can serve as power supply and power to cigar lighter.
Be integrated with USB-OTG technology in the communication unit of Wearable cigar lighter provided by the invention, cigar lighter can be used as the USB interface of USBSLAVE equipment connection to external equipment, and external equipment serves as USBHOST; Meet USB2.0 standard completely due to OTG equipment and certain Host Detection ability can be provided, and support main frame circular order agreement (HNP) and session request agreement (SRP), USB2.0 communication protocol is followed in communication then between external equipment and cigar lighter completely, uses usb protocol also can realize the exchanges data of external equipment APP and cigar lighter further; Meanwhile, the external equipment as HOST can be cigar lighter power supply unit, and the electricity of trace can support the normal work of cigar lighter.
The Wearable cigar lighter that the present invention proposes, fundamentally changes the powering mode of mini-plant; When needs are powered, external equipment is only needed to provide fraction electricity to be effective, and very little on the electricity impact of external equipment, to a great extent, save for electric material, and can safe power supply be realized; The cigar lighter of the present invention's design is connected with the USB interface of external equipment by OTGUSB interface, becomes a part for external equipment, is realizing can reaching while external equipment is powered the object with external equipment instant messaging; Communication adopts USB current techique, both convenient and swift compared with current Bluetooth Communication Technology, in turn saves material and development and Design cost; The cigar lighter that the present invention proposes has used sensor technology, and accurately can be caught the operation of user by infrared distance photoelectric sensor, the conveniently operation of recording user, for the APP service of external equipment provides data source accurately.
Another aspect provides a kind of mobile terminal with cigar lighter function; With reference to accompanying drawing 3 and accompanying drawing 4, be respectively structural representation and the internal structure schematic diagram of the mobile terminal embodiment with cigar lighter function provided by the invention.
The described mobile terminal 200 with cigar lighter function, comprises the Wearable cigar lighter 100 as above described in embodiment, described mobile terminal 200 as USB main equipment, described Wearable cigar lighter 100 as USB from equipment;
Described mobile terminal 200 comprise with described Wearable cigar lighter 100 from main equipment USB interface 204, communication module 201, instruction control module 202, the application service module 203 of equipment usb 1 01 by socket connection;
Described communication module 201, carries out exchanges data with described main equipment USB interface 204, for identifying cigar lighter 100 and establishing a communications link with cigar lighter 100;
Described instruction control module 202, carries out exchanges data with communication module 201 and application service module 203 respectively, for preserving the dependent instruction of operation cigar lighter 100, and controls described cigar lighter 100 according to user operation instruction;
Described application service module 203, and instruction control module 202 carries out exchanges data, for providing the application service relevant to described cigar lighter 100.
Further, described application service module 203 comprises induction control unit 2031, and described mobile terminal 200 also comprises the motion detection apparatus (as gyroscope) of the motion state for obtaining mobile terminal 200;
Described motion detection apparatus is connected with induction control unit 2031, and described induction control unit 2031 sends to described instruction control module 202 after the exercise data that motion detection apparatus produces is treated to digital information;
The digital information received when described instruction control module 202 reflects that now motion detection apparatus detects that mobile terminal 200 moves back and forth (such as perception mobile terminal is rocked repeatedly) with certain frequency, and described instruction control module 202 sends to cigar lighter 100 instruction that lights a cigarette by communication module 201;
Light a cigarette described in the main control unit 103 of cigar lighter 100 is received by communication unit 102 instruction, and send switching signal SW, and the energising unit 104 that lights a cigarette responds rapidly, connects contactor for the heating wire L1 that lights a cigarette heat, the action thus realization lights a cigarette;
When main control unit 103 receives the fire extinguishing instruction that mobile terminal 200 sends, then send fire extinguishing instruction to the energising unit 104 that lights a cigarette, the energising unit 104 that lights a cigarette responds rapidly, and shut-off circuit stops the heating of heating wire L1.
Wherein, described instruction control module 202 is also for carrying out initialization operation: open be connected with the USB interface of cigar lighter 100, power on for cigar lighter 100, detect the duty etc. of cigar lighter 100; The operation that lights a cigarette of described cigar lighter can also be triggered by the direct touch information (touch of the icon that lights a cigarette on corresponding interface) obtained on mobile terminal; Meanwhile, be protection processing safety, described mobile terminal 200 also can comprise gesture crypto module, realizes lighting a cigarette safely for obtaining the gesture password pre-set before operation of carrying out lighting a cigarette.
When user carries out " safety lights a cigarette " operation, the probe unit 105 that lights a cigarette is in normal operating conditions, the infrared distance photoelectric sensor position be made up of the first light emitting diode D1, the first photodiode D2 and the second light emitting diode D3, the second photodiode D4 lit a cigarette in probe unit 105 is near heating wire L1, when user lights a cigarette, the distance of sensor meeting active probe cigarette end and sensor.When cigarette end and sensor distance within the specific limits time, sensor accurately can assert that user is in the state lit a cigarette; Now, the probe unit 105 that lights a cigarette can to main control unit 103 1 feedback signals, main control unit 103 and then return the action message that lights a cigarette of " user is carrying out the operation that lights a cigarette " can to mobile terminal 200; Therefore, in some preferably embodiment, described application service module 203 comprises behavior record unit 2032;
After the action message that lights a cigarette of the user that the probe unit 105 that lights a cigarette that described instruction control module 202 receives described cigar lighter 100 by communication module 201 detects, the described action message that lights a cigarette is sent to instruction control module 202, described instruction control module 202 generate corresponding behavior record information (namely user on what date, when, what place, carry out lighting a cigarette action, and process the frequency that lights a cigarette accordingly obtained; Wherein date and time information obtains from the date and time of current mobile terminal 200, and location information obtains by the GPS locator data of mobile terminal 200) and send to described behavior record unit 2032; Behavior record information described in described behavior record unit 2032 real time record is also treated to the visual statistics (such as providing user's smoking rule of a day in the mode of visual picture figure) of graphical format, is pushed to user according to Health & Fitness Tip corresponding in statistics call instruction control module 202 simultaneously.
In addition, the application service module 203 of described mobile terminal 200 also can comprise cloud lock unit, for carrying out data interaction with the cloud service platform corresponding to mobile terminal application service, comprising for selectively by behavior record synchronizing information to cloud service platform, the data of all users can be done unified statistical analysis and contrast by cloud service platform, provide the rank of user according to conditions such as smoking frequencies, the more people's rank of smoking more rearward, thus plays warning function to user; Like this, indirectly also user is served to the effect of smoking cessation.
Optionally, described application service module 203 comprises smoking cessation planning unit 2033;
Described smoking cessation planning unit 2033 is for obtaining smoking cessation data smoking cessation data are sent to instruction control module 202, and described smoking cessation data comprise can accept smoking period section, the number of times that lights a cigarette, light a cigarette frequency;
Described instruction control module 202 is when generation lights a cigarette instruction, and what judge whether it meet smoking cessation data setting can smoking scope; If so, then send to cigar lighter 100 instruction that lights a cigarette by communication module 201, if not, then do not send the instruction that lights a cigarette;
Thus the cigar lighter that pre-sets by the user time range that can normally use in a day or the parameter such as number of times, frequency that lights a cigarette, make in the time range arranged or be less than the number of times that lights a cigarette of setting, user can normally perform the operation that lights a cigarette; Exceed time range or exceed the number of times that lights a cigarette of setting, user then cannot light a cigarette, except non-user is selected to abandon.Equally, these data of user also can be synchronized to cloud service platform by cloud lock unit, make household or friend supervise the smoking cessation action of user by the data that cloud service platform provides.
In addition, the application service module 203 of described mobile terminal 200 also can comprise social unit, for checking that the neighbouring same time carries out the user operated that lights a cigarette, and can add as a friend; The application service module 203 of described mobile terminal 200 also can comprise online shopping mall's unit, purchases cigarette service for providing.
In addition, the application service module 203 of described mobile terminal 200 also can comprise unit of telling truth from falsehood, for obtaining the identifying informations such as the security code of cigarette, by carrying out data interaction with cloud service platform thus utilizing the false proof service of cloud service platform to carry out True-false distinguish, provide opinions and suggestions; Or be shared with good friend for the packaging external appearance that obtains cigarette, carry out identifying and obtaining authentication information for good friend.
As can be seen from above-described embodiment, the mobile terminal with cigar lighter function provided by the invention, by OTGUSB Interface connector cigarette device to the USB interface of mobile terminal, can become a part for mobile phone through outward appearance and practicable design; The described mobile terminal with cigar lighter function, the pettiness electricity by intelligent terminal is that cigar lighter is powered, and simultaneously for user provides application service, facilitates the life of user.
Cigar lighter is connected with the USB interface of mobile terminal by OTG technology, when needs light a cigarette, powers cause the heater strip fast heating of cigar lighter to the degree can putting burning smoke by mobile terminal; Cigar lighter keeps instant messaging by OTGUSB interface and mobile terminal simultaneously, in addition, the service that the application service module that smoker also can enjoy mobile terminal while lighting a cigarette brings, and more make smoker happy be again need not for can not find lighter and worry.
The upper layer application service that the application service module of mobile terminal of the present invention's design provides comprise recording user light a cigarette behavior, formulate smoking cessation plan, social, the online cigarette city of online cigarette friend, distinguish the application such as the true and false of cigarette; The cigar lighter that the present invention simultaneously proposes has used sensor technology, by range sensor feedack in the probe unit that lights a cigarette of cigar lighter, the behavior that lights a cigarette of accurate recording user, the operation of user can judge whether user is carrying out the infrared operation that accurately can catch user apart from photoelectric sensor of operation that lights a cigarette accurately to utilize the data of range sensor to judge, the conveniently operation of recording user, for application service module provides data source accurately.Application service module also can help user to formulate smoking cessation plan, and user arranges cycle up time of cigar lighter by application service module, and then the tobacco habit of specification user.Meanwhile, user has the cigarette friend of same hobby by application service module understanding, thus provides a social platform.And application service module also can provide online cigarette city and can distinguish the true and false of cigarette.The application service module of the present invention's design can provide a series of special project service, for vast smoking fan provides convenience.Not only can the smoking habit of recording user, and can according to user's smoking data for user formulates smoking cessation plan, cigarette friend's social platform and online cigarette city will increase the more joy of life for user in addition.
Another aspect of the present invention additionally provides a kind of application process of the mobile terminal with cigar lighter function; With reference to accompanying drawing 5, it is the schematic flow sheet of an embodiment of the application process of the mobile terminal with cigar lighter function provided by the invention.
The application process of the described mobile terminal with cigar lighter function, comprising:
Step 301: the motion state obtaining mobile terminal;
Step 302: know that acquisition for mobile terminal is to the triggering command that lights a cigarette;
Step 303: triggering command sends to cigar lighter the instruction that lights a cigarette according to lighting a cigarette;
Step 304: cigar lighter heats heater strip and completes and lights a cigarette.
Preferably, the application process of the described mobile terminal with cigar lighter function also comprises:
Obtain and record the action message that lights a cigarette;
The action message that lights a cigarette is treated to the visual statistics of graphical format, and calls corresponding Health & Fitness Tip according to statistics and be pushed to user;
And optionally, the application process of the described mobile terminal with cigar lighter function also comprises:
Obtain smoking cessation data, described smoking cessation data comprise can accept smoking period section, the number of times that lights a cigarette, light a cigarette frequency;
Judge to generate light a cigarette whether instruction meet smoking cessation data setting can smoking scope;
If so, then send to cigar lighter the instruction that lights a cigarette by communication module;
If not, then the instruction that lights a cigarette is not sent.
With reference to accompanying drawing 6, it is the schematic flow sheet of another embodiment of the application process of the mobile terminal with cigar lighter function provided by the invention.
The application process of the described mobile terminal with cigar lighter function, comprising:
Step 401: the motion state obtaining mobile terminal;
Step 402: know that acquisition for mobile terminal is to the triggering command that lights a cigarette;
Step 403: obtain smoking cessation data, described smoking cessation data comprise can accept smoking period section, the number of times that lights a cigarette, light a cigarette frequency;
Step 404: judge to generate light a cigarette whether instruction meet smoking cessation data setting can smoking scope;
If not, then step 409 is forwarded to: do not send the instruction that lights a cigarette.
If so, then step 405 is forwarded to: send to cigar lighter the instruction that lights a cigarette by communication module;
Step 406: cigar lighter heats heater strip and completes and lights a cigarette.
Step 407: obtain and record the action message that lights a cigarette;
Step 408: the visual statistics action message that lights a cigarette being treated to graphical format, and call corresponding Health & Fitness Tip according to statistics and be pushed to user.
As can be seen from above-described embodiment, the upper layer application service that the application service module of mobile terminal of the present invention's design provides comprise recording user light a cigarette behavior, formulate smoking cessation plan, social, the online cigarette city of online cigarette friend, distinguish the application such as the true and false of cigarette; The cigar lighter that the present invention simultaneously proposes has used sensor technology, by range sensor feedack in the probe unit that lights a cigarette of cigar lighter, the behavior that lights a cigarette of accurate recording user, the operation of user can judge whether user is carrying out the infrared operation that accurately can catch user apart from photoelectric sensor of operation that lights a cigarette accurately to utilize the data of range sensor to judge, the conveniently operation of recording user, for application service module provides data source accurately.Application service module also can help user to formulate smoking cessation plan, and user arranges cycle up time of cigar lighter by application service module, and then the tobacco habit of specification user.Meanwhile, user has the cigarette friend of same hobby by application service module understanding, thus provides a social platform.And application service module also can provide online cigarette city and can distinguish the true and false of cigarette.The application service module of the present invention's design can provide a series of special project service, for vast smoking fan provides convenience.Not only can the smoking habit of recording user, and can according to user's smoking data for user formulates smoking cessation plan, cigarette friend's social platform and online cigarette city will increase the more joy of life for user in addition.
It is pointed out that some part of design philosophy of the present invention: smart mobile phone is powered and OTG technology, can be used to be applied to other mobile phones and to power kind equipment, such as (intelligent mosquito-repellent incense, intelligent tire pressure monitor etc.); This application OTG technology also belongs to protection scope of the present invention to the power application process of kind equipment of all kinds of smart mobile phone.In addition, in the circuit theory diagrams of the cigar lighter of the present invention's design, part components and parts can be replaced with suitable device; The application service that the present invention proposes, can according to practical application scene change and expansion.
Those of ordinary skill in the field are to be understood that: the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a Wearable cigar lighter, is characterized in that, comprise for connect outside main equipment USB interface from equipment USB interface; Describedly to be connected by the mode of mutual grafting from equipment USB interface with outside main equipment USB interface; Describedly from the circuit of equipment USB interface, be integrated with OTG circuit and for realizing the real-time Communication for Power between main control unit and the main equipment of outside.
2. Wearable cigar lighter according to claim 1, it is characterized in that, described from equipment USB interface employing microusb interface, this interface comprises 5 pins, wherein ID pin and grounding pin common ground, enter host mode for trigger external equipment, make cigar lighter as USB-OTG from equipment.
3. Wearable cigar lighter according to claim 2, is characterized in that, described cigar lighter also comprise communication with power supply management unit, main control unit, energising light a cigarette unit, light a cigarette probe unit;
Described communication and power supply management unit are connected respectively and light a cigarette unit from equipment USB interface, main control unit, light a cigarette probe unit and energising, for receiving supply voltage also for internal battery is powered from described from equipment USB interface, when needs for energising light a cigarette unit power carry out energising light a cigarette time, by internal battery be its power supply; Integrated described OTG circuit in simultaneously described communication and power supply management unit, for realizing the real-time Communication for Power between main control unit and the main equipment of outside;
Described main control unit, connect communication and power supply management unit respectively, be energized unit and the probe unit that lights a cigarette of lighting a cigarette, for receiving the instruction lighting a cigarette control to the energising unit that lights a cigarette of lighting a cigarette of main equipment, and receive the action message returned to main equipment of lighting a cigarette of the probe unit that lights a cigarette;
Described energising light a cigarette unit connect respectively communication with power supply management unit and main control unit, for receiving the control instruction of main control unit and carrying out the operation that lights a cigarette;
The described probe unit that lights a cigarette, connects communication and power supply management unit and main control unit respectively, for the action send the action message that lights a cigarette to main control unit of lighting a cigarette of detecting user.
4. Wearable cigar lighter according to claim 3, it is characterized in that, described main control unit comprises microcontroller, described communication and power supply management unit comprise usb communication interface circuit, bleeder circuit, reduction voltage circuit, battery interface circuit, battery control circuit, the described energising unit that lights a cigarette comprises electric-heating-wire-heating circuit, described in the probe unit that lights a cigarette comprise the first photoelectric sensor circuit and the second photoelectric sensor circuit;
Described usb communication interface circuit comprises the first resistance, the second resistance and the 3rd resistance, described battery interface circuit comprises the first interface connecting internal battery, reduction voltage circuit comprises voltage regulator chip and the 5th electric capacity, described bleeder circuit comprises the 4th resistance and the 5th resistance, and described battery control circuit comprises transistor seconds, third transistor, the 26 resistance and the 27 resistance;
The positive pin of the described data from equipment USB interface exports 5V voltage signal through the first resistance and connects the positive pin of usb data of described microcontroller, the usb data connecting described microcontroller from the data minus pin of equipment USB interface bears pin, 5V voltage signal is exported from the positive pin of the power supply of equipment USB interface, described 5V voltage signal is connected to the second pin of first interface through the second resistance of series connection and the 3rd resistance, for by external equipment being internal battery charging, described 5V voltage signal connects the positive pin of input and the negative pin of input of voltage regulator chip through the second resistance, thus 5V voltage signal outputs to described reduction voltage circuit, the grounding pin ground connection of described voltage regulator chip, the low voltage voltage signal after the power pins output buck of voltage regulator chip is also simultaneously through the 5th capacity earth, first pin ground connection of described first interface, described low voltage voltage signal is through the 4th resistance of series connection and the 5th resistance eutral grounding and simultaneously output to described first photoelectric sensor circuit and the second photoelectric sensor circuit respectively through the 4th resistance, the battery control signal that described microcontroller exports is input in described battery control circuit, the base stage of transistor seconds is connected to through the 26 resistance, and the base stage of third transistor is connected to through the colelctor electrode of transistor seconds, and form battery control voltage signal through the colelctor electrode of third transistor and be input in described electric-heating-wire-heating circuit, described 5V voltage signal connects the emitter stage of third transistor and is connected to the colelctor electrode of transistor seconds through the 27 resistance, the grounded emitter of transistor seconds, transistor seconds is NPN transistor, third transistor is PNP transistor.
5. Wearable cigar lighter according to claim 4, is characterized in that,
Described electric-heating-wire-heating circuit comprises heating wire, cigar lighter chip, the first transistor, the first indicator lamp, the 19 resistance, the 20 resistance, the 21 resistance, the 22 resistance, the 23 resistance, the 24 resistance;
The switching signal that described microcontroller exports receives the base stage of the first transistor through the 24 resistance, and the switch pin of cigar lighter chip is connected through the colelctor electrode of the first transistor, the battery voltage signal exported by internal battery outputs to the switch pin of cigar lighter chip through the 21 resistance from the second pin of first interface, and the battery that described battery voltage signal also outputs to cigar lighter chip connects pin, described battery connects pin and is connected microcontroller with the 23 resistance eutral grounding through the 22 resistance through the 22 resistance of series connection simultaneously, cigar lighter chip fill the colelctor electrode that electrical connection pins connects described third transistor, the battery of described cigar lighter chip connects pin and is connected described heating wire between output pin, the LED pin of described cigar lighter chip is through described first indicator lamp of series connection and the 20 resistance eutral grounding, the 19 resistance is connected with and this grounded emitter between the emitter stage of described the first transistor and base stage,
And/or,
Described first photoelectric sensor circuit comprises the first comparator chip, the first comparator, the second comparator, the first light emitting diode, the first photodiode, the 3rd electric capacity, the 7th resistance, the 8th resistance, the 9th resistance, the tenth resistance, the 11 resistance, the 12 resistance;
Described microcontroller export the first pulse-width signal through series connection the 7th resistance and the first light emitting diode ground connection, described low voltage voltage signal is input to the positive input terminal of the second comparator through the 8th resistance, the negative input end of the second comparator is connected by wire with output, the output of the second comparator is connected to the positive input terminal of the first comparator through the 3rd electric capacity, pin is born in the input that the output of the first comparator connects the first comparator chip, the output of the first comparator is connected the negative input end of the first comparator through the 11 resistance of series connection with the tenth resistance eutral grounding through the 11 resistance, described branch pressure voltage signal is input to the positive pin of input of the first comparator chip, described low voltage voltage signal is input to the power pins of the first comparator chip and inputs the output pin of the first comparator chip through the 12 resistance, the output pin of the first comparator chip exports first sensor signal to microcontroller, described first photodiode one end ground connection other end connects the positive input terminal of the 8th resistance and the second comparator respectively, the positive input terminal of described first comparator is through the 9th resistance eutral grounding,
Described second photoelectric sensor circuit comprises the second comparator chip, the 3rd comparator, the 4th comparator, the second light emitting diode, the second photodiode, the 4th electric capacity, the 13 resistance, the 14 resistance, the 15 resistance, the 16 resistance, the 17 resistance, the 18 resistance;
Described microcontroller export the second pulse-width signal through series connection the 13 resistance and the second light emitting diode ground connection, described low voltage voltage signal is input to the positive input terminal of the 4th comparator through the 14 resistance, the negative input end of the 4th comparator is connected by wire with output, the output of the 4th comparator is connected to the positive input terminal of the 3rd comparator through the 4th electric capacity, pin is born in the input that the output of the 3rd comparator connects the second comparator chip, the output of the 3rd comparator is connected the negative input end of the 3rd comparator through the 17 resistance of series connection with the 16 resistance eutral grounding through the 17 resistance, described branch pressure voltage signal is input to the positive pin of input of the second comparator chip, described low voltage voltage signal is input to the power pins of the second comparator chip and inputs the output pin of the second comparator chip through the 18 resistance, the output pin of the second comparator chip exports the second sensor signal to microcontroller, described second photodiode one end ground connection other end connects the positive input terminal of the 14 resistance and the 4th comparator respectively, the positive input terminal of described 3rd comparator is through the 15 resistance eutral grounding.
6., with a mobile terminal for cigar lighter function, comprise the Wearable cigar lighter as described in claim 1-5 any one, it is characterized in that, described mobile terminal as USB main equipment, described Wearable cigar lighter as USB from equipment;
Described mobile terminal comprise with described Wearable cigar lighter from main equipment USB interface, communication module, instruction control module, the application service module of equipment USB interface by socket connection;
Described communication module, carries out exchanges data with described main equipment USB interface, for identifying cigar lighter and establishing a communications link with cigar lighter;
Described instruction control module, carries out exchanges data with communication module and application service module respectively, for preserving the dependent instruction of operation cigar lighter, and controls described cigar lighter according to user operation instruction;
Described application service module, and instruction control module carries out exchanges data, for providing the application service relevant to described cigar lighter.
7. mobile terminal according to claim 6, is characterized in that, described application service module comprises induction control unit, and described mobile terminal also comprises the motion detection apparatus of the motion state for obtaining mobile terminal;
Described motion detection apparatus is connected with induction control unit, and described induction control unit sends to described instruction control module after the exercise data that motion detection apparatus produces is treated to digital information;
The digital information received when described instruction control module reflects that now motion detection apparatus detects that mobile terminal moves back and forth with certain frequency, and described instruction control module sends to cigar lighter the instruction that lights a cigarette by communication module.
8. mobile terminal according to claim 6, is characterized in that, described application service module comprises behavior record unit;
After the action message that lights a cigarette of the user that the probe unit that lights a cigarette that described instruction control module receives described cigar lighter by communication module detects, the described action message that lights a cigarette is sent to described behavior record unit; The action message that lights a cigarette described in described behavior record unit real time record is also treated to the visual statistics of graphical format, is pushed to user according to Health & Fitness Tip corresponding in statistics call instruction control module simultaneously;
And/or,
Described application service module comprises smoking cessation planning unit;
Described smoking cessation planning unit is for obtaining smoking cessation data smoking cessation data are sent to instruction control module, and described smoking cessation data comprise can accept smoking period section, the number of times that lights a cigarette, light a cigarette frequency;
Described instruction control module is when generation lights a cigarette instruction, and what judge whether it meet smoking cessation data setting can smoking scope; If so, then send to cigar lighter the instruction that lights a cigarette by communication module, if not, then do not send the instruction that lights a cigarette.
9. the application process of the mobile terminal with cigar lighter function as described in claim 6-8 any one, is characterized in that, comprising:
Obtain the motion state of mobile terminal;
Know that acquisition for mobile terminal is to the triggering command that lights a cigarette;
According to lighting a cigarette, triggering command sends to cigar lighter the instruction that lights a cigarette;
Cigar lighter carries out electrified regulation and completes lighting a cigarette to heater strip.
10. application process according to claim 9, is characterized in that, also comprises:
Obtain and record the action message that lights a cigarette;
The action message that lights a cigarette is treated to the visual statistics of graphical format, and calls corresponding Health & Fitness Tip according to statistics and be pushed to user;
And/or,
Obtain smoking cessation data, described smoking cessation data comprise can accept smoking period section, the number of times that lights a cigarette, light a cigarette frequency;
Judge to generate light a cigarette whether instruction meet smoking cessation data setting can smoking scope;
If so, then send to cigar lighter the instruction that lights a cigarette by communication module;
If not, then the instruction that lights a cigarette is not sent.
CN201410484690.2A 2014-09-19 2014-09-19 Wearable cigar lighter, mobile terminal and its application method with cigar lighter function Active CN105476068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410484690.2A CN105476068B (en) 2014-09-19 2014-09-19 Wearable cigar lighter, mobile terminal and its application method with cigar lighter function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410484690.2A CN105476068B (en) 2014-09-19 2014-09-19 Wearable cigar lighter, mobile terminal and its application method with cigar lighter function

Publications (2)

Publication Number Publication Date
CN105476068A true CN105476068A (en) 2016-04-13
CN105476068B CN105476068B (en) 2019-09-20

Family

ID=55663636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410484690.2A Active CN105476068B (en) 2014-09-19 2014-09-19 Wearable cigar lighter, mobile terminal and its application method with cigar lighter function

Country Status (1)

Country Link
CN (1) CN105476068B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10029109B2 (en) 2016-12-12 2018-07-24 Revive Solutions, Inc. Defibrillator
CN110094755A (en) * 2019-05-27 2019-08-06 努比亚技术有限公司 A kind of mobile terminal with cigarette lighting function
CN110353309A (en) * 2019-07-09 2019-10-22 深圳市拓市达科技有限公司 A kind of new electronic cigarette structure and its method of supplying power to
US10449380B2 (en) 2016-12-12 2019-10-22 Revive Solutions, Inc. Defibrillator
CN111904037A (en) * 2020-09-04 2020-11-10 深圳市讴可电子科技有限公司 Control method of electronic cigarette
US10903675B2 (en) 2016-12-12 2021-01-26 Avive Solutions, Inc. Medical device draw current regulation
KR102329515B1 (en) * 2020-09-07 2021-11-19 니뽄 다바코 산교 가부시키가이샤 Power supply unit for aerosol generation device
WO2022028096A1 (en) * 2020-08-06 2022-02-10 深圳市康泓威科技有限公司 Temperature-adjustable baking cigarette
JP2022044471A (en) * 2020-09-07 2022-03-17 日本たばこ産業株式会社 Power source unit of aerosol generating device
TWI763894B (en) * 2018-07-31 2022-05-11 日商日本煙草產業股份有限公司 Information processing method, information processing computer program product, charging device and information processing system
US11607555B2 (en) 2016-12-12 2023-03-21 Avive Solutions, Inc. Defibrillator discharge control
US11901752B2 (en) 2020-09-07 2024-02-13 Japan Tobacco Inc. Power supply unit for aerosol generation device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2714366Y (en) * 2004-07-30 2005-08-03 吉东社 Vehicle-mounted automatic cigarette lighter
US7238057B2 (en) * 2005-01-24 2007-07-03 American Power Conversion Corporation Cigarette-lighter assembly connector with indicator for verifying proper insertion
CN101828336A (en) * 2007-10-19 2010-09-08 通腾科技股份有限公司 Enhanced cigarette lighter adapter
CN203147819U (en) * 2012-03-19 2013-08-21 Y·科恩·哈雷尔 Lighter and electronic device
CN203533624U (en) * 2013-11-09 2014-04-09 王爱梅 Multifunctional electronic cigarette lighter
CN103876290A (en) * 2014-03-27 2014-06-25 沈洁 Intelligent smoking cessation method and device and terminal
CN104035902A (en) * 2014-07-02 2014-09-10 广东欧珀移动通信有限公司 Data access method and communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2714366Y (en) * 2004-07-30 2005-08-03 吉东社 Vehicle-mounted automatic cigarette lighter
US7238057B2 (en) * 2005-01-24 2007-07-03 American Power Conversion Corporation Cigarette-lighter assembly connector with indicator for verifying proper insertion
CN101828336A (en) * 2007-10-19 2010-09-08 通腾科技股份有限公司 Enhanced cigarette lighter adapter
CN203147819U (en) * 2012-03-19 2013-08-21 Y·科恩·哈雷尔 Lighter and electronic device
CN203533624U (en) * 2013-11-09 2014-04-09 王爱梅 Multifunctional electronic cigarette lighter
CN103876290A (en) * 2014-03-27 2014-06-25 沈洁 Intelligent smoking cessation method and device and terminal
CN104035902A (en) * 2014-07-02 2014-09-10 广东欧珀移动通信有限公司 Data access method and communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何立民: "《单片机高级教程——应用与设计(第二版)》", 31 January 2007 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11318322B2 (en) 2016-12-12 2022-05-03 Avive Solutions, Inc. Defibrillator
US10946209B2 (en) 2016-12-12 2021-03-16 Avive Solutions, Inc. Tubular, portable automated external defibrillator
US11607555B2 (en) 2016-12-12 2023-03-21 Avive Solutions, Inc. Defibrillator discharge control
US10071256B2 (en) 2016-12-12 2018-09-11 Revive Solutions, Inc. Defibrillator
US10029109B2 (en) 2016-12-12 2018-07-24 Revive Solutions, Inc. Defibrillator
US10449380B2 (en) 2016-12-12 2019-10-22 Revive Solutions, Inc. Defibrillator
US10543376B2 (en) 2016-12-12 2020-01-28 Avive Solutions, Inc. Defibrillator
US10112054B2 (en) 2016-12-12 2018-10-30 Revive Solutions, Inc. Defibrillator
US10903675B2 (en) 2016-12-12 2021-01-26 Avive Solutions, Inc. Medical device draw current regulation
TWI763894B (en) * 2018-07-31 2022-05-11 日商日本煙草產業股份有限公司 Information processing method, information processing computer program product, charging device and information processing system
CN110094755A (en) * 2019-05-27 2019-08-06 努比亚技术有限公司 A kind of mobile terminal with cigarette lighting function
CN110353309A (en) * 2019-07-09 2019-10-22 深圳市拓市达科技有限公司 A kind of new electronic cigarette structure and its method of supplying power to
WO2022028096A1 (en) * 2020-08-06 2022-02-10 深圳市康泓威科技有限公司 Temperature-adjustable baking cigarette
CN111904037A (en) * 2020-09-04 2020-11-10 深圳市讴可电子科技有限公司 Control method of electronic cigarette
JP2022044471A (en) * 2020-09-07 2022-03-17 日本たばこ産業株式会社 Power source unit of aerosol generating device
JP2022044470A (en) * 2020-09-07 2022-03-17 日本たばこ産業株式会社 Power supply unit of aerosol generating device
EP3964084A1 (en) * 2020-09-07 2022-03-09 Japan Tobacco Inc. Power supply unit for aerosol generation device
US11399573B2 (en) 2020-09-07 2022-08-02 Japan Tobacco Inc. Power supply unit for aerosol generation device
US11503862B2 (en) 2020-09-07 2022-11-22 Japan Tobacco Inc. Power supply unit for aerosol generation device with switch unit on data line
KR102329515B1 (en) * 2020-09-07 2021-11-19 니뽄 다바코 산교 가부시키가이샤 Power supply unit for aerosol generation device
US11901752B2 (en) 2020-09-07 2024-02-13 Japan Tobacco Inc. Power supply unit for aerosol generation device

Also Published As

Publication number Publication date
CN105476068B (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN105476068A (en) Wearable cigarette lighter, mobile terminal with cigarette lighter function and application method thereof
CN204273244U (en) Touch control e cigarette
CN106170214B (en) A kind of electronic cigarette and atomization method
CN203986093U (en) A kind of battery component of electronic cigarette, atomizing component and electronic cigarette
CN203943074U (en) The smart electronics cigarette with Information Statistics function
CN107404938A (en) Battery component, atomizing component, electronic cigarette and the method for preventing oil-free smoking
CN109581937A (en) The electronic cigarette and its control method controlled by cell phone software
WO2015149340A1 (en) Information interaction method and system applying to electronic cigarette
CN106304485A (en) Multifunctional intelligent desk lamp based on STM32 and intelligent control method thereof
CN208226227U (en) Intelligent socket and intelligent socket system
CN204205561U (en) Temperature control anti-dry electronic cigarette
CN105077591A (en) Electronic cigarette and atomization control method for same
CN108062030A (en) A kind of intelligent domestic system of smartwatch control
CN105785750A (en) Intelligent alarm clock, terminal, system and method for carrying out prompting based on weather conditions
CN209215909U (en) The electronic cigarette controlled by cell phone software
CN203851811U (en) Electronic smoking system
CN203618784U (en) Cigarette case control circuit and electronic cigarette case
CN204560975U (en) A kind of electronic cigarette
CN206597017U (en) Baby's guardian system
CN207519630U (en) A kind of safe electronic cigarette
CN203154378U (en) Ultraviolet sterilizer
CN203633503U (en) Touch battery
CN105996370A (en) Intelligent motion mobile phone sleeve
CN206542020U (en) A kind of socket with Radio Control Function
CN205624489U (en) Electron cigarette with touch screen function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant