<?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=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89%2Fzh</id>
		<title>第十四课--指尖开关（三极管触发）/zh - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89%2Fzh"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89/zh&amp;action=history"/>
		<updated>2026-06-06T01:56:11Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89/zh&amp;diff=7375&amp;oldid=prev</id>
		<title>1183296105@qq.com：/* 结果 */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89/zh&amp;diff=7375&amp;oldid=prev"/>
				<updated>2015-01-22T14:39:49Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;结果&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;2015年1月22日 (四) 14:39的版本&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;*用手握住两引出来的线的金属头后，LED等点亮。&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;*用手握住两引出来的线的金属头后，LED等点亮。&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;[[File:lesson14_4.jpg|600px|center|thumb]]&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;[[File:lesson14_4.jpg|600px|center|thumb]]&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 class=&quot;diffchange diffchange-inline&quot;&gt;在引出来的两根线没和人体接触时，串口监视界显示值为零，当用手握住后，显示只不为零。&lt;/del&gt;&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;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;在引出来的两根线没和人体接触时，串口监视界显示值为零，当用手握住后，显示值不为零。&lt;/ins&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;[[File:lesson14_5.jpg|600px|center|thumb]]&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;[[File:lesson14_5.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;div&gt;*松开引线后，串口监视界面上显示值又变为零，LED灯熄灭。&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;*松开引线后，串口监视界面上显示值又变为零，LED灯熄灭。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>1183296105@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89/zh&amp;diff=7374&amp;oldid=prev</id>
		<title>1183296105@qq.com：/* 结果 */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89/zh&amp;diff=7374&amp;oldid=prev"/>
				<updated>2015-01-22T14:39:10Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;结果&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;2015年1月22日 (四) 14:39的版本&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-l49&quot; &gt;第49行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第49行：&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;[[File:lesson14_5.jpg|600px|center|thumb]]&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;[[File:lesson14_5.jpg|600px|center|thumb]]&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 class=&quot;diffchange diffchange-inline&quot;&gt;松开引线上的后，串口监视界面上显示值又变为零，LED灯熄灭。&lt;/del&gt;&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;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;松开引线后，串口监视界面上显示值又变为零，LED灯熄灭。&lt;/ins&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;[[File:lesson14_6.jpg|600px|center|thumb]]&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;[[File:lesson14_6.jpg|600px|center|thumb]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&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;== 视频 ==&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;/table&gt;</summary>
		<author><name>1183296105@qq.com</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89/zh&amp;diff=7367&amp;oldid=prev</id>
		<title>1183296105@qq.com：Created page with &quot;== 目的 == 不知大家有没有触电的经历，之所以能触电是因为人体相当于电阻，当有大电流流过人体就会有触电的感觉。有人会问为什...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=%E7%AC%AC%E5%8D%81%E5%9B%9B%E8%AF%BE--%E6%8C%87%E5%B0%96%E5%BC%80%E5%85%B3%EF%BC%88%E4%B8%89%E6%9E%81%E7%AE%A1%E8%A7%A6%E5%8F%91%EF%BC%89/zh&amp;diff=7367&amp;oldid=prev"/>
				<updated>2015-01-22T14:32:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== 目的 == 不知大家有没有触电的经历，之所以能触电是因为人体相当于电阻，当有大电流流过人体就会有触电的感觉。有人会问为什...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 目的 ==&lt;br /&gt;
不知大家有没有触电的经历，之所以能触电是因为人体相当于电阻，当有大电流流过人体就会有触电的感觉。有人会问为什么我接触几伏特的电压为什么不会触电？其实电压较低的时候人体也有电流流过，只是电流太小，没有触电的感觉。本课我们利用人体电阻做一个指尖开关，换而言之就是通过放大流经人体的电流，来点亮一个LED灯。&lt;br /&gt;
== 设备 ==&lt;br /&gt;
*[[ Microduino-CoreSTM32]]&lt;br /&gt;
Microduino-CoreSTM32是采用 STM32F103CBT6芯片的ARM开发板，采用独特的Upin7接口，大小与一枚一元硬币差不多大，完全兼容Microduino其他扩展模块。&lt;br /&gt;
*其他硬件设备&lt;br /&gt;
**面包板跳线  	        一盒  &lt;br /&gt;
**面包板  	        一块  &lt;br /&gt;
**LED发光二极管         一个  &lt;br /&gt;
**10k、1K、220欧电阻    各一个  &lt;br /&gt;
**USB数据连接线  	一根 &lt;br /&gt;
**9014三极管	        一个&lt;br /&gt;
[[File:lesson14_1.jpg|600px|center|thumb]]&lt;br /&gt;
== 原理图 ==&lt;br /&gt;
[[File:lesson14_2.jpg|600px|center|thumb]]&lt;br /&gt;
人体一端接[[ Microduino-CoreSTM32]]的Vcc，另一端接9014三极管的基极。集电极通过10K的电阻与Vcc相连，发射极通过1K的电阻与GND相连。如上图所示。&lt;br /&gt;
== 程序 ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  SerialUSB.begin();&lt;br /&gt;
  pinMode(13,OUTPUT);  //LED pin&lt;br /&gt;
  pinMode(14,INPUT_ANALOG);  //// set up pin for analog input&lt;br /&gt;
}&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
  int n=analogRead(14);   // read the input pin      &lt;br /&gt;
  if(n&amp;gt;0)         // executing  program if the analog input value is greater than zero&lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(13,HIGH); //turn on the LED&lt;br /&gt;
  }&lt;br /&gt;
  else&lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(13,LOW);  //turn off the LED&lt;br /&gt;
  }&lt;br /&gt;
  SerialUSB.println(n);   // print the ananlog input value&lt;br /&gt;
  delay(1000); &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
第D13引脚控制LED灯的两灭，A0（14）引脚用来读取人体到后放大的电流在发射极和GND之间产生的电压值。&lt;br /&gt;
== 调试 ==&lt;br /&gt;
*步骤一：根据原理图连接好电路图。&lt;br /&gt;
[[File:lesson14_3.jpg|600px|center|thumb]]&lt;br /&gt;
*步骤二：将以上程序代码拷贝到Maple IDE，编译下载程序。&lt;br /&gt;
*步骤三：打开串口监视界面，用手握住两引出来的线的金属头，观察LED灯的状态，查看串口监视界面数据的变化。&lt;br /&gt;
== 结果 ==&lt;br /&gt;
*用手握住两引出来的线的金属头后，LED等点亮。&lt;br /&gt;
[[File:lesson14_4.jpg|600px|center|thumb]]&lt;br /&gt;
*在引出来的两根线没和人体接触时，串口监视界显示值为零，当用手握住后，显示只不为零。&lt;br /&gt;
[[File:lesson14_5.jpg|600px|center|thumb]]&lt;br /&gt;
*松开引线上的后，串口监视界面上显示值又变为零，LED灯熄灭。&lt;br /&gt;
[[File:lesson14_6.jpg|600px|center|thumb]]&lt;br /&gt;
== 视频 ==&lt;/div&gt;</summary>
		<author><name>1183296105@qq.com</name></author>	</entry>

	</feed>