CN102118472B - A kind of mobile phone temp is taken into account it and is utilized mobile phone to realize thermometric circuit - Google Patents
A kind of mobile phone temp is taken into account it and is utilized mobile phone to realize thermometric circuit Download PDFInfo
- Publication number
- CN102118472B CN102118472B CN201010594331.4A CN201010594331A CN102118472B CN 102118472 B CN102118472 B CN 102118472B CN 201010594331 A CN201010594331 A CN 201010594331A CN 102118472 B CN102118472 B CN 102118472B
- Authority
- CN
- China
- Prior art keywords
- temp
- mobile phone
- analog
- digital converter
- pin
- 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.)
- Expired - Fee Related
Links
- 238000013507 mapping Methods 0.000 claims description 15
- 239000000523 sample Substances 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 11
- 239000000284 extract Substances 0.000 claims description 3
- 238000003780 insertion Methods 0.000 claims description 3
- 230000037431 insertion Effects 0.000 claims description 3
- 239000007769 metal material Substances 0.000 claims description 3
- 238000005259 measurement Methods 0.000 abstract description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000009529 body temperature measurement Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Measuring Temperature Or Quantity Of Heat (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of mobile phone temp to take into account it and utilize mobile phone to realize thermometric circuit, described circuit comprises mobile phone terminal circuit and external temperature sensing circuit.The wherein mobile phone terminal circuit USB interface that comprises main control chip MCU and be electrically connected with main control chip MCU, the ID pin of USB interface is connected to the analog to digital converter input pin ADC_TEMP of main control chip MCU, and analog to digital converter input pin ADC_TEMP connect the first end of divider resistance R1, second end of divider resistance R1 connects voltage source AVDD.The USB that external temperature sensing circuit comprises thermistor NTC and is electrically connected with thermistor NTC, the ID pin of USB connects the first end of thermistor NTC, the second end ground connection of thermistor NTC.Wherein, USB and USB interface are connected pluggablely, and analog to digital converter input pin ADC_TEMP learns external temperature according to the level on thermistor NTC.The present invention facilitates user Measurement accuracy environment or hot water temperature etc. when needed, and it is with low cost, convenient and practical.
Description
[technical field]
The present invention relates to temperature measurement technology, particularly one utilizes mobile phone to realize thermometric circuit and a kind of mobile phone temp meter thereof.
[background technology]
Along with the raising day by day of living standard, mobile phone has become one of people's daily life, work necessary tool.Mobile phone, as information terminal, except possessing the major functions such as call, data communication, also possesses multiple miscellaneous function, and such as clock, torch, mp3, photograph etc. bring facility to the life of people.
NTC thermistor (Negative Temperature Coefficient, negative temperature coefficient thermistor) has the temperature variant characteristic of impedance, therefore generally uses NTC device to detect battery temperature, to detect crystal oscillator temperature in mobile phone.Utilize NTC thermistor that mobile phone can be made to become a kind of temperature-detecting device, but the impact of interior of mobile phone operational environment can be subject to due to the NTC device be built in mobile phone, can not accurately and detect ambient temperature easily.
[summary of the invention]
Technical problem to be solved by this invention is to provide one and utilizes mobile phone to realize thermometric circuit and a kind of mobile phone temp meter thereof, accurately and easily can not detect the problem of ambient temperature to improve mobile phone in prior art.
The technical scheme that the present invention solves the problems of the technologies described above and takes is to provide one and utilizes mobile phone to realize thermometric circuit, comprising:
Mobile phone terminal circuit, the USB interface comprising main control chip MCU and be electrically connected with main control chip MCU, wherein, main control chip MCU has analog to digital converter input pin ADC_TEMP, the ID pin of USB interface is connected to analog to digital converter input pin ADC_TEMP, and analog to digital converter input pin ADC_TEMP connect the first end of divider resistance R1, second end of divider resistance R1 connects voltage source AVDD;
External temperature sensing circuit, the USB comprising thermistor NTC and be electrically connected with thermistor NTC, the ID pin of USB connects the first end of thermistor NTC, the second end ground connection of thermistor NTC;
Wherein, USB and USB interface are connected pluggablely, and analog to digital converter input pin ADC_TEMP learns external temperature according to the level on thermistor NTC.
According to one preferred embodiment of the present invention, voltage temperature mapping table is stored in main control chip MCU, analog to digital converter input pin ADC_TEMP carries out to the level on thermistor NTC the magnitude of voltage that analog-to-digital conversion obtains a correspondence, inquires about drawing corresponding temperature and being shown by the display screen of mobile phone according to the magnitude of voltage of correspondence in voltage temperature mapping table.
According to one preferred embodiment of the present invention, analog to digital converter input pin ADC_TEMP carries out analog-to-digital conversion in predetermined time interval and carries out inquiring about with real-time update external temperature in voltage temperature mapping table.
According to one preferred embodiment of the present invention, thermistor NTC is located in external temp probe.
According to one preferred embodiment of the present invention, external temp probe is provided with waterproof enclosure.
The technical scheme that the present invention solves the problems of the technologies described above and takes is to provide a kind of mobile phone temp meter, comprising:
Mobile phone, the USB interface that mobile phone comprises main control chip MCU and is electrically connected with main control chip MCU, wherein, main control chip MCU has analog to digital converter input pin ADC_TEMP, the ID pin of USB interface is connected to analog to digital converter input pin ADC_TEMP, and analog to digital converter input pin ADC_TEMP connect the first end of divider resistance R1, second end of divider resistance R1 connects voltage source AVDD;
External temp is popped one's head in, and external temp pop one's head in the USB comprising thermistor NTC and be electrically connected with thermistor NTC, wherein, and the first end of USB ID pin connection thermistor NTC, the second end ground connection of thermistor NTC;
Wherein, USB and USB interface are connected pluggablely, and analog to digital converter input pin ADC_TEMP learns external temperature according to the level on thermistor NTC.
According to one preferred embodiment of the present invention, voltage temperature mapping table is stored in main control chip MCU, analog to digital converter input pin ADC_TEMP carries out to the level on thermistor NTC the magnitude of voltage that analog-to-digital conversion obtains a correspondence, inquires about drawing corresponding temperature and being shown by the display screen of mobile phone according to the magnitude of voltage of correspondence in voltage temperature mapping table.
According to one preferred embodiment of the present invention, analog to digital converter input pin ADC_TEMP carries out analog-to-digital conversion in predetermined time interval and carries out inquiring about with real-time update external temperature in voltage temperature mapping table.
According to one preferred embodiment of the present invention, external temp probe adopts thermal conductive metallic material to make.
According to one preferred embodiment of the present invention, external temp probe is provided with waterproof enclosure.
Compared with prior art, provided by the inventionly utilize mobile phone to realize thermometric circuit and mobile phone temp meter effectively to improve in prior art that NTC thermistor be built in mobile phone can not the problem of Measurement accuracy ambient temperature, and the present invention utilizes external temp to pop one's head in, be convenient to carry out temperature survey to external environment condition, it is with low cost, convenient and practical.
[accompanying drawing explanation]
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.Wherein:
Fig. 1 shows mobile phone terminal circuit diagram according to one preferred embodiment of the present invention; And
Fig. 2 shows the circuit diagram of external temperature sensing circuit according to one preferred embodiment of the present invention.
[embodiment]
Below in conjunction with drawings and Examples, the present invention is described in detail.
Refer to Fig. 1, Fig. 1 shows mobile phone terminal circuit diagram according to a preferred embodiment of the invention.
The voltage source AVDD that the mobile phone terminal circuit that the present embodiment provides comprises main control chip MCU 10, the USB interface 20 be electrically connected with main control chip MCU 10 and is electrically connected with main control chip MCU and USB interface.
Wherein, main control chip MCU 10 has analog to digital converter input pin ADC_TEMP, the ID pin of USB interface 20 is connected to analog to digital converter input pin ADC_TEMP, and analog to digital converter input pin ADC_TEMP connect the first end of divider resistance R1, second end of divider resistance R1 connects voltage source AVDD, in the present embodiment, divider resistance R1 selects 10K ohm.
The circuit diagram of external temperature sensing circuit is according to one preferred embodiment of the present invention shown please also refer to Fig. 2, Fig. 2.
The USB 30 that the external temperature sensing circuit that the present embodiment provides comprises thermistor NTC 40 and is electrically connected with thermistor NTC 40.Wherein, the ID pin of USB 30 connects the first end of thermistor NTC 40, the second end ground connection of thermistor NTC 40.
In embodiments of the present invention, USB 30 and USB interface 20 are connected pluggablely.
Specifically, USB 30 has unsettled ID pin, this unsettled ID pin is connected to analog to digital converter input pin ADC_TEMP, mobile phone terminal circuit utilizes unsettled ID pin as the insertion identification pin identifying external temperature sensing circuit, namely when USB inserts USB interface, unsettled ID pin becomes low level from high level, and when USB extracts USB interface, unsettled ID pin becomes high level from low level.When USB inserts USB interface, voltage source AVDD provides operating voltage to external temperature sensing circuit.
In embodiments of the present invention, after USB 30 is connected with USB interface 20, level on ID pin is the dividing potential drop on thermistor NTC 40, owing to there is one-to-one relationship between the resistance of thermistor NTC 40 and temperature, according to voltage divider principle, the partitioned level on thermistor NTC 40 can reflect temperature.Therefore, analog to digital converter input pin ADC_TEMP can learn external temperature according to the level on thermistor NTC 40.Specifically, the analog to digital converter input pin ADC_TEMP pin of the level signal access main control chip MCU 10 of thermistor NTC 40, a corresponding voltage value is obtained after analog-to-digital conversion, preset storage voltage temperature mapping table in main control chip MCU 10, inquire about in voltage temperature mapping table can draw corresponding temperature according to the magnitude of voltage that the level on thermistor NTC 40 obtains through analog-to-digital conversion, and show this temperature value by the display screen of mobile phone, realize temperature measurement function.
In a preferred embodiment, analog to digital converter input pin ADC_TEMP carries out analog-to-digital conversion in predetermined time interval and carries out inquiring about with real-time update external temperature conditions in voltage temperature mapping table.
The embodiment of the present invention also provides a kind of mobile phone temp meter, and it comprises mobile phone and external temp probe.
In the embodiment of the present invention, have mobile phone terminal circuit as shown in Figure 1 in mobile phone, external temp probe has the external temperature sensing circuit shown in Fig. 2, and wherein, thermistor NTC 40 is located in external temp probe.
After external temp probe is connected with USB interface 20 by USB 30 with mobile phone, mobile phone is popped one's head in by external temp just can realize detecting the function of ambient temperature.
Preferably, external temp probe adopts the good metal material of heat conduction to make.Further, external temp probe can be provided with waterproof enclosure, so that carry out temperature survey to liquid.
The specific works principle of mobile phone temp meter of the present invention and process refer to above about mobile phone terminal circuit and the operation principle of external temperature sensing circuit and the description of the course of work, and this is no longer going to repeat them.
In sum, those skilled in the art's easy understand, provided by the invention utilize mobile phone to realize thermometric circuit and mobile phone temp meter effectively improve in prior art can not the problem of Measurement accuracy ambient temperature, and the present invention adopts external temp to pop one's head in, facilitate user measurement environment or hot water temperature etc. when needed, it is with low cost, convenient and practical.
In the above-described embodiments, only to invention has been exemplary description, but those skilled in the art can carry out various amendment to the present invention without departing from the spirit and scope of the present invention after reading present patent application.
Claims (6)
1. utilize mobile phone to realize a thermometric circuit, it is characterized in that, described circuit comprises:
Mobile phone terminal circuit, the USB interface comprising main control chip MCU and be electrically connected with described main control chip MCU, wherein, described main control chip MCU has analog to digital converter input pin ADC_TEMP, the ID pin of described USB interface is connected to described analog to digital converter input pin ADC_TEMP, and described analog to digital converter input pin ADC_TEMP connect the first end of divider resistance R1, second end of described divider resistance R1 connects voltage source AVDD, and described divider resistance R1 selects 10K ohm;
External temperature sensing circuit, the USB comprising thermistor NTC and be electrically connected with described thermistor NTC, the ID pin of described USB connects the first end of described thermistor NTC, the second end ground connection of described thermistor NTC;
Wherein, described USB and described USB interface are connected pluggablely, and described analog to digital converter input pin ADC_TEMP learns external temperature according to the level on thermistor NTC;
Described USB has unsettled ID pin, described unsettled ID pin is connected to described analog to digital converter input pin ADC_TEMP, described mobile phone terminal circuit utilizes described unsettled ID pin as the insertion identification pin identifying external temperature sensing circuit, when described USB inserts described USB interface, described unsettled ID pin becomes low level from high level, when described USB extracts described USB interface, described unsettled ID pin becomes high level from low level;
Voltage temperature mapping table is stored in described main control chip MCU, described analog to digital converter input pin ADC_TEMP carries out to the level on described thermistor NTC the magnitude of voltage that analog-to-digital conversion obtains a correspondence, inquires about drawing corresponding temperature and being shown by the display screen of described mobile phone according to the magnitude of voltage of described correspondence in described voltage temperature mapping table;
Described analog to digital converter input pin ADC_TEMP carries out analog-to-digital conversion in predetermined time interval and carries out inquiring about with real-time update external temperature in described voltage temperature mapping table.
2. the mobile phone that utilizes according to claim 1 realizes thermometric circuit, it is characterized in that: described thermistor NTC is located in external temp probe.
3. the mobile phone that utilizes according to claim 2 realizes thermometric circuit, it is characterized in that: described external temp probe is provided with waterproof enclosure.
4. a mobile phone temp meter, is characterized in that, comprising:
Mobile phone, the USB interface that described mobile phone comprises main control chip MCU and is electrically connected with described main control chip MCU, wherein, described main control chip MCU has analog to digital converter input pin ADC_TEMP, the ID pin of described USB interface is connected to described analog to digital converter input pin ADC_TEMP, and described analog to digital converter input pin ADC_TEMP connect the first end of divider resistance R1, second end of described divider resistance R1 connects voltage source AVDD, and described divider resistance R1 selects 10K ohm;
External temp is popped one's head in, described external temp is popped one's head in the USB comprising thermistor NTC and be electrically connected with described thermistor NTC, wherein, described USB ID pin connects the first end of described thermistor NTC, the second end ground connection of described thermistor NTC;
Wherein, described USB and described USB interface are connected pluggablely, and described analog to digital converter input pin ADC_TEMP learns external temperature according to the level on thermistor NTC;
Described USB has unsettled ID pin, described unsettled ID pin is connected to described analog to digital converter input pin ADC_TEMP, described mobile phone terminal circuit utilizes described unsettled ID pin as the insertion identification pin identifying external temperature sensing circuit, when described USB inserts described USB interface, described unsettled ID pin becomes low level from high level, when described USB extracts described USB interface, described unsettled ID pin becomes high level from low level;
Voltage temperature mapping table is stored in described main control chip MCU, described analog to digital converter input pin ADC_TEMP carries out to the level on described thermistor NTC the magnitude of voltage that analog-to-digital conversion obtains a correspondence, inquires about drawing corresponding temperature and being shown by the display screen of described mobile phone according to the magnitude of voltage of described correspondence in described voltage temperature mapping table;
Described analog to digital converter input pin ADC_TEMP carries out analog-to-digital conversion in predetermined time interval and carries out inquiring about with real-time update external temperature in described voltage temperature mapping table.
5. mobile phone temp meter according to claim 4, is characterized in that: described external temp probe adopts thermal conductive metallic material to make.
6. the mobile phone temp meter according to claim 4 or 5, is characterized in that: described external temp probe is provided with waterproof enclosure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010594331.4A CN102118472B (en) | 2010-12-17 | 2010-12-17 | A kind of mobile phone temp is taken into account it and is utilized mobile phone to realize thermometric circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010594331.4A CN102118472B (en) | 2010-12-17 | 2010-12-17 | A kind of mobile phone temp is taken into account it and is utilized mobile phone to realize thermometric circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102118472A CN102118472A (en) | 2011-07-06 |
CN102118472B true CN102118472B (en) | 2015-07-29 |
Family
ID=44217057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010594331.4A Expired - Fee Related CN102118472B (en) | 2010-12-17 | 2010-12-17 | A kind of mobile phone temp is taken into account it and is utilized mobile phone to realize thermometric circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102118472B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8909955B2 (en) | 2011-07-07 | 2014-12-09 | Blackberry Limited | Method and apparatus for providing characteristics information of a peripheral device to an electronic device by encoding the characteristic information into a power signal |
CN102361488B (en) * | 2011-09-28 | 2015-07-29 | 惠州Tcl移动通信有限公司 | Mobile phone |
CN102438066B (en) * | 2011-10-24 | 2013-11-06 | 惠州Tcl移动通信有限公司 | Mobile phone and temperature detection method based on same |
CN102564615A (en) * | 2011-12-30 | 2012-07-11 | 广东步步高电子工业有限公司 | System and method for measuring external environment temperature of mobile communication terminal |
CN110567603B (en) * | 2019-09-29 | 2024-03-19 | 江苏久卫智能科技有限公司 | Single ADC multipath temperature monitoring circuit controlled by GPIO |
CN112229535A (en) * | 2019-12-20 | 2021-01-15 | 青岛鼎信通讯股份有限公司 | External temperature measurement circuit based on electric energy meter |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2831632Y (en) * | 2005-08-31 | 2006-10-25 | 中兴通讯股份有限公司 | Cell phone having function of measuring temp |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4990049B2 (en) * | 2007-07-02 | 2012-08-01 | 株式会社リコー | Temperature detection circuit |
-
2010
- 2010-12-17 CN CN201010594331.4A patent/CN102118472B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2831632Y (en) * | 2005-08-31 | 2006-10-25 | 中兴通讯股份有限公司 | Cell phone having function of measuring temp |
Also Published As
Publication number | Publication date |
---|---|
CN102118472A (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102118472B (en) | A kind of mobile phone temp is taken into account it and is utilized mobile phone to realize thermometric circuit | |
CN204049076U (en) | A kind of Intelligent water cup with infrared temperature data acquisition function | |
CN102613962A (en) | Device for monitoring basal body temperature | |
CN103735255B (en) | A kind of non-contact infrared body temperature meter | |
CN105662359A (en) | Solar electronic thermometer | |
KR20160120001A (en) | Physical quantity measuring apparatus linked to terminal equipment | |
CN204233108U (en) | Clinical thermometer | |
CN203763061U (en) | Surface-mounted electronic thermometer with low-power-consumption bluetooth communication function | |
CN109495629A (en) | A kind of cell-phone cover | |
CN204758128U (en) | Temperature detection circuit structure based on audio interface | |
CN204600437U (en) | A kind of electronic clinical thermometer | |
CN203157475U (en) | Handwriting pen with electronic thermometer | |
CN102783939A (en) | Electronic clinical thermometer, body temperature monitoring system and body temperature detecting method | |
CN210514598U (en) | 4 ~ 20mA calibrator | |
CN203435844U (en) | Electronic equipment sleeve with body temperature measuring function and electronic equipment | |
CN110411598A (en) | The detection method of electronic equipment, thermocouple temperature measurement piece and battery temperature | |
CN105380615A (en) | Electronic thermometer used in connection to smart phone | |
CN207662526U (en) | A kind of double mode wearable intelligent clinical thermometer | |
CN209559339U (en) | Wireless Thermometer sensor | |
CN203837817U (en) | Probe point adjusting apparatus for infrared temperature measurement system | |
CN211904424U (en) | Simple household infrared thermometer | |
CN203479327U (en) | Humiture measurement instrument | |
CN214798114U (en) | Data line capable of measuring human body temperature | |
CN209102229U (en) | A kind of thermocouple temperature measurement instrument | |
CN216524418U (en) | Egg-shaped thermometer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150729 |
|
CF01 | Termination of patent right due to non-payment of annual fee |