<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino_Digital_tube_thermometer%28LM35%2C_DS18b20%29</id>
		<title>Microduino Digital tube thermometer(LM35, DS18b20) - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino_Digital_tube_thermometer%28LM35%2C_DS18b20%29"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_Digital_tube_thermometer(LM35,_DS18b20)&amp;action=history"/>
		<updated>2026-04-21T16:34:17Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino_Digital_tube_thermometer(LM35,_DS18b20)&amp;diff=1780&amp;oldid=prev</id>
		<title>Pkj：/* First Experiment(LM35 temperature sensor) */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_Digital_tube_thermometer(LM35,_DS18b20)&amp;diff=1780&amp;oldid=prev"/>
				<updated>2014-04-01T13:52:55Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;First Experiment(LM35 temperature sensor)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;2014年4月1日 (二) 13:52的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;第21行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第21行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''LM35 temperature sensor'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''LM35 temperature sensor'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;LM35 temperature sensor&lt;/del&gt;.jpg|600px|center|thumb]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;LM35温度传感器&lt;/ins&gt;.jpg|600px|center|thumb]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;LM35 temperature sensor output voltage linear relationship between the Celsius temperature scale，0 ℃, output is 0V, for every 1℃increases in output voltage of 10mV.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;LM35 temperature sensor output voltage linear relationship between the Celsius temperature scale，0 ℃, output is 0V, for every 1℃increases in output voltage of 10mV.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l47&quot; &gt;第47行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第47行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;　　&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;　　&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Identify the pin easily, put the sensor as upper picture, the left pin is power, the middle pin is data, the right pin is GND.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Identify the pin easily, put the sensor as upper picture, the left pin is power, the middle pin is data, the right pin is GND.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Schematic==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Schematic==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pkj</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino_Digital_tube_thermometer(LM35,_DS18b20)&amp;diff=1779&amp;oldid=prev</id>
		<title>Pkj：Created page with &quot;{{Language | Microduino 数码管温度计(LM35, DS18b20)}} {| style=&quot;width: 800px;&quot; |- | ==Objective== This tutorial will teach you using two temperature sensor, that are LM3...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_Digital_tube_thermometer(LM35,_DS18b20)&amp;diff=1779&amp;oldid=prev"/>
				<updated>2014-04-01T13:51:48Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language | Microduino 数码管温度计(LM35, DS18b20)}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This tutorial will teach you using two temperature sensor, that are LM3...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language | Microduino 数码管温度计(LM35, DS18b20)}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
This tutorial will teach you using two temperature sensor, that are LM35 and DS18B20, and use the digital tube to display the temperature.&lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-FT232R]]'''&lt;br /&gt;
*Other equipment&lt;br /&gt;
**Breadboard Jumper               &lt;br /&gt;
**Breadboard  	&lt;br /&gt;
**LM35 temperature sensor&lt;br /&gt;
**DS18B20 temperature sensor&lt;br /&gt;
**digital tube&lt;br /&gt;
**USB cable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==First Experiment(LM35 temperature sensor)==&lt;br /&gt;
&lt;br /&gt;
'''LM35 temperature sensor'''&lt;br /&gt;
[[File:LM35 temperature sensor.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
LM35 temperature sensor output voltage linear relationship between the Celsius temperature scale，0 ℃, output is 0V, for every 1℃increases in output voltage of 10mV.&lt;br /&gt;
&lt;br /&gt;
*Sensor parameters：&lt;br /&gt;
**Input voltage 35V to -0.2V&lt;br /&gt;
**Output voltage 6V to -1.0V&lt;br /&gt;
**Output current 10mA&lt;br /&gt;
**Specified operating temperature range&lt;br /&gt;
**LM35A  -55℃ to +150℃&lt;br /&gt;
**LM35C, LM35CA  -40℃ to +110℃&lt;br /&gt;
**LM35D  0℃ to +100℃&lt;br /&gt;
　　　&lt;br /&gt;
*specification：(detailed information, please refer to LM35 datasheft)&lt;br /&gt;
**1. Working voltage：DC4～30V;&lt;br /&gt;
**2. Working current：less than 133μA;&lt;br /&gt;
**3. Output voltage：+6V～-1.0V;&lt;br /&gt;
**4. Output impedance: 1mA 0.1Ω load&lt;br /&gt;
**5. Precision：0.5℃ (at +25℃);&lt;br /&gt;
**6. Leakage current：less than 60μA；&lt;br /&gt;
**7. Proportion factor: linear +10.0mV/℃；&lt;br /&gt;
**8. Nonlinear values：±1/4℃；&lt;br /&gt;
**9. Calibration method: directly use Celsius temperature calibration；&lt;br /&gt;
**10. Rated temperature range：-55～+150℃。&lt;br /&gt;
　　&lt;br /&gt;
Identify the pin easily, put the sensor as upper picture, the left pin is power, the middle pin is data, the right pin is GND.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:Microduino数码管温度计(LM35, DS18B20)原理图.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Pin table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Microduino pin !! Digital tube pin&lt;br /&gt;
|-&lt;br /&gt;
| D2 || 10(A)&lt;br /&gt;
|-&lt;br /&gt;
| D3 || 9(B)&lt;br /&gt;
|-&lt;br /&gt;
| D4 || 1(C)&lt;br /&gt;
|-&lt;br /&gt;
| D5 || 4(D)&lt;br /&gt;
|-&lt;br /&gt;
| D6 || 3(E)&lt;br /&gt;
|-&lt;br /&gt;
| D7 || 6(F)&lt;br /&gt;
|-&lt;br /&gt;
| D8 || 5(G)&lt;br /&gt;
|-&lt;br /&gt;
| 9 || 2(DP)&lt;br /&gt;
|-&lt;br /&gt;
| D10 || 8(LED1)&lt;br /&gt;
|-&lt;br /&gt;
| D11 || 7(LED2)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
LM35 and DS18B20 use the same program.&lt;br /&gt;
&lt;br /&gt;
Refers to MicroduinoDigitalThermometerLM35-DS18B20.ino&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
Step 1：Copy the code to IDE and compile it&lt;br /&gt;
&lt;br /&gt;
Step 2：Set up the circuit, as follows:&lt;br /&gt;
[[File:Microduino数码管温度计(LM35, DS18B20)连接图1.jpg|600px|center|thumb]]&lt;br /&gt;
Step 3：Download the program and then run it.&lt;br /&gt;
&lt;br /&gt;
Step 4：Observe the digital tube. Find a hot object to close the temperature sensor, the digital tube will display the value.&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
After LM35 sensor near the heat source, the digital tube displayed value will rise, leave the heat source temperature will gradually reduce.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Second Experiment (DS18B20 temperature sensor)==&lt;br /&gt;
&lt;br /&gt;
'''DS18B20 temperature sensor'''&lt;br /&gt;
[[File:DS18B20温度传感器.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
DS18B20 is a single bus digital sensors produced by United States DALLAS company, convert temperature variation to digital signal, and each device has an unique serial number, so can realize multipoint measurement. Its measuring range is -55°C to +125 °C, in which -10°C to +85°C range measuring accuracy can reach ±0.5°C.&lt;br /&gt;
It is only has three pins, GND, DQ and VDD, power supply can be directly by the cable itself, also can use external power supply, it is convenient to use, but must pay a price for this kind of convenient. Its timing is critical, various operation on DS18B20 must be conducted in accordance with the protocol of DS18B20. Operation protocol contains: initialize DS18B20, send ROM function command, send the memory operation command and process data. If there are more interrupt in program, or the hardware connection wire is too long, which can cause temporal waveform distortion, then result in chaotic measurement results. Based on this situation which makes use of this chip by certain restrictions.&lt;br /&gt;
&lt;br /&gt;
Identify the pin easily, put the sensor as upper picture, the left pin is power, the middle pin is data, the right pin is GND.&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:Microduino数码管温度计(LM35, DS18B20)原理图.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Pin table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Microduino pin !! Digital tube pin&lt;br /&gt;
|-&lt;br /&gt;
| D2 || 10(A)&lt;br /&gt;
|-&lt;br /&gt;
| D3 || 9(B)&lt;br /&gt;
|-&lt;br /&gt;
| D4 || 1(C)&lt;br /&gt;
|-&lt;br /&gt;
| D5 || 4(D)&lt;br /&gt;
|-&lt;br /&gt;
| D6 || 3(E)&lt;br /&gt;
|-&lt;br /&gt;
| D7 || 6(F)&lt;br /&gt;
|-&lt;br /&gt;
| D8 || 5(G)&lt;br /&gt;
|-&lt;br /&gt;
| 9 || 2(DP)&lt;br /&gt;
|-&lt;br /&gt;
| D10 || 8(LED1)&lt;br /&gt;
|-&lt;br /&gt;
| D11 || 7(LED2)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
LM35 and DS18B20 use the same program.&lt;br /&gt;
&lt;br /&gt;
Refer to MicroduinoDigitalThermometerLM35-DS18B20.ino&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
Step 1：Copy the code to IDE and compile it&lt;br /&gt;
&lt;br /&gt;
Step 2：Set up the circuit, as follows:&lt;br /&gt;
[[File:Microduino数码管温度计(LM35, DS18B20)连接图2.jpg|600px|center|thumb]]&lt;br /&gt;
Step 3：Download the program and then run it.&lt;br /&gt;
&lt;br /&gt;
Step 4：Observe the digital tube. Find a hot object to close the temperature sensor, the digital tube will display the value.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
After DS18B20 sensor near the heat source, the digital tube displayed value will rise, leave the heat source temperature will gradually reduce.&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
'''LM35:'''&lt;br /&gt;
http://v.youku.com/v_show/id_XNjkwMTI3ODA4.html&lt;br /&gt;
&lt;br /&gt;
'''DS18B20:'''&lt;br /&gt;
http://v.youku.com/v_show/id_XNjgyMzE4ODg4.html&lt;/div&gt;</summary>
		<author><name>Pkj</name></author>	</entry>

	</feed>