<?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=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving</id>
		<title>Lesson 8--Microduino Infrared Transmitting and Receiving - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving&amp;action=history"/>
		<updated>2026-06-14T01:34:26Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving&amp;diff=2633&amp;oldid=prev</id>
		<title>Pkj：/* Equipment */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving&amp;diff=2633&amp;oldid=prev"/>
				<updated>2014-05-09T03:43:19Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Equipment&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年5月9日 (五) 03:43的版本&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-l15&quot; &gt;第15行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第15行：&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;**The infrared receiver&amp;#160; &amp;#160; &amp;#160; &amp;#160; one&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;**The infrared receiver&amp;#160; &amp;#160; &amp;#160; &amp;#160; one&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;**Infrared transmitting tube&amp;#160;  one （Find it in old infrared remote controler）&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;**Infrared transmitting tube&amp;#160;  one （Find it in old infrared remote controler）&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;&amp;#160;&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;**Two resistors of 220 Ohm&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;/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;'''The Infrared Receiver'''&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;'''The Infrared Receiver'''&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-l60&quot; &gt;第60行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第60行：&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;Generally infrared transmitting tube has two pins, one is long, the other is short, like the LED diode. Long pin connects to the anode, short pin connects the cathode.&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;Generally infrared transmitting tube has two pins, one is long, the other is short, like the LED diode. Long pin connects to the anode, short pin connects the cathode.&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;==Experiment 1 - Infrared Receive==&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;==Experiment 1 - Infrared Receive==&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=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving&amp;diff=1661&amp;oldid=prev</id>
		<title>Pkj：/* Program */</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving&amp;diff=1661&amp;oldid=prev"/>
				<updated>2014-03-29T07:50:08Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Program&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年3月29日 (六) 07:50的版本&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-l67&quot; &gt;第67行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第67行：&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;==Program==&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;==Program==&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;Download program:&lt;/ins&gt;&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;https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Advanced/MicroduinoIRReceiver&lt;/ins&gt;&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;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;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;&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;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;/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;/table&gt;</summary>
		<author><name>Pkj</name></author>	</entry>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving&amp;diff=1364&amp;oldid=prev</id>
		<title>Pkj：Created page with &quot;{{Language | 第八课--Microduino 红外发射与接收}} {| style=&quot;width: 800px;&quot; |- | ==Objective== This tutorial will teach you how to collect TV infrared remote control c...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_8--Microduino_Infrared_Transmitting_and_Receiving&amp;diff=1364&amp;oldid=prev"/>
				<updated>2014-03-07T08:18:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language | 第八课--Microduino 红外发射与接收}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This tutorial will teach you how to collect TV infrared remote control c...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language | 第八课--Microduino 红外发射与接收}}&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 how to collect TV infrared remote control code, and sends the recorded infrared code.&lt;br /&gt;
&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-FT232R]]'''&lt;br /&gt;
*Other equipments:&lt;br /&gt;
**Breadboard Jumper            one box   &lt;br /&gt;
**Breadboard  	               one piece  &lt;br /&gt;
**USB Data cable               one&lt;br /&gt;
**The infrared receiver        one&lt;br /&gt;
**Infrared transmitting tube   one （Find it in old infrared remote controler）&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Infrared Receiver'''&lt;br /&gt;
[[File:第八课-红外接收器.jpg|600px|center|thumb]]&lt;br /&gt;
'''Brief introduction:'''&lt;br /&gt;
The infrared receiver is a kind of device which can receive the infrared signal and can independently from the infrared receiver to output signal compatibled with TTL level signal. Its volume is the sama as an encapsulation triode, suitable for all kinds of infrared remote control and infrared data transmission.&lt;br /&gt;
&lt;br /&gt;
'''The Infrared Receiver Features：'''&lt;br /&gt;
&lt;br /&gt;
*Small size&lt;br /&gt;
*Built-in dedicated IC&lt;br /&gt;
*Received with wide Angle and long distance&lt;br /&gt;
*Strong anti-interference ability&lt;br /&gt;
*Withstand environmental interference&lt;br /&gt;
*Low working voltage&lt;br /&gt;
*Only three pin: Out, GND adn VCC, easy to connect to microcontroller&lt;br /&gt;
　1. The pulse signal output PORT, connect microcontroller IO port directly&lt;br /&gt;
　2. GND connects to system GND&lt;br /&gt;
　3. Vcc connects to system power (+5V)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note：'''&lt;br /&gt;
&lt;br /&gt;
　　1. Storage and use in the absence of any external pressure and influence the quality of the environment.&lt;br /&gt;
&lt;br /&gt;
　　2. Storage and use of non-polluting gas or sea wind (salty) environment.&lt;br /&gt;
&lt;br /&gt;
　　3. Storage and use in low temperature environment.&lt;br /&gt;
&lt;br /&gt;
　　4. Under the specified conditions to welding the pin. After welding, do not apply force.&lt;br /&gt;
&lt;br /&gt;
　　5. Do not wash the product, before use connect the operator and the ground wire with electrostatic belt.&lt;br /&gt;
&lt;br /&gt;
　　6. Note infrared receiver receiving surface, contamination or wear will affect the reception, and do not touch the surface&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Infrared Transmitting Tube'''&lt;br /&gt;
[[File:第八课-红外发射管.jpg|600px|center|thumb]]&lt;br /&gt;
'''Brief introduction:'''&lt;br /&gt;
Infrared transmitting tube is composed of infrared leds light, use material of high infrared radiation efficiency (commonly used gallium arsenide) to made PN junction, forward biased current injection to the PN to stimulate infrared light, the spectral power distribution as the center wavelength of 830 ~ 950 nm.&lt;br /&gt;
Short for LED is Light Emitting Diode, performance is a positive temperature coefficient, the higher temperature with the greater current. the greater the size of the LED lamp power and current, but the forward current exceeds maximum value, the infrared lamp transmitted power will decline.&lt;br /&gt;
&lt;br /&gt;
'''How to identify the pin：'''&lt;br /&gt;
&lt;br /&gt;
Generally infrared transmitting tube has two pins, one is long, the other is short, like the LED diode. Long pin connects to the anode, short pin connects the cathode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Experiment 1 - Infrared Receive==&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:第八课-Microduino红外接收原理图.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//This example comes from infrated receive moudle's IRremote example&lt;br /&gt;
/*&lt;br /&gt;
 * IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv&lt;br /&gt;
 * An IR detector/demodulator must be connected to the input RECV_PIN.&lt;br /&gt;
 * Version 0.1 July, 2009&lt;br /&gt;
 * Copyright 2009 Ken Shirriff&lt;br /&gt;
 * [url]http://arcfn.com[/url]&lt;br /&gt;
 */&lt;br /&gt;
 &lt;br /&gt;
#include &amp;lt;IRremote.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
int RECV_PIN = 11;//Define the infrated receive pin&lt;br /&gt;
IRrecv irrecv(RECV_PIN);&lt;br /&gt;
decode_results results;&lt;br /&gt;
&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  irrecv.enableIRIn(); // Initialize the infrated receiver&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() {&lt;br /&gt;
  if (irrecv.decode(&amp;amp;results)) {&lt;br /&gt;
    Serial.println(results.value, HEX);//Output the receive value using hexadecimal&lt;br /&gt;
    Serial.println();//In order to watch the output increase a blank line&lt;br /&gt;
    irrecv.resume(); //Receive next value&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
Step 1：Download IRremote library&lt;br /&gt;
[http://www.geek-workshop.com/forum.php?mod=attachment&amp;amp;aid=ODk2N3wyYmQ0YTJlYnwxMzkxODcwMDU5fDI4MTYzfDI0MzM=]&lt;br /&gt;
&lt;br /&gt;
Step 2：Uncompress the library to libraries folder of Arduino IDE&lt;br /&gt;
&lt;br /&gt;
Step 3：Set up the circuit&lt;br /&gt;
[[File:第八课-Microduino红外接收电路.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Step 4：Open the program, compile it and download&lt;br /&gt;
&lt;br /&gt;
Step 5：Open the serial monitor, infrared remote control  toward to the infrared receiver and press different button.&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
 See infrared codes of different keys.&lt;br /&gt;
[[File:第八课-接收编码值.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Experiment 2 - Infrared Send==&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:第八课-Microduino红外发送原理图.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;IRremote.h&amp;gt;                  // Invoke IRRemote library&lt;br /&gt;
&lt;br /&gt;
IRsend irsend;                          // Define IRsend instance to send the infrared signal&lt;br /&gt;
// constants won't change. They're used here to&lt;br /&gt;
// set pin numbers:&lt;br /&gt;
const int buttonPin = 2;     // the number of the pushbutton pin&lt;br /&gt;
const int ledPin =  3;      // the number of the LED pin&lt;br /&gt;
&lt;br /&gt;
// variables will change:&lt;br /&gt;
int buttonState = 0;         // variable for reading the pushbutton status&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  // initialize the LED pin as an output:&lt;br /&gt;
  pinMode(ledPin, OUTPUT);      &lt;br /&gt;
  // initialize the pushbutton pin as an input:&lt;br /&gt;
  pinMode(buttonPin, INPUT);  &lt;br /&gt;
&lt;br /&gt;
  digitalWrite(ledPin, HIGH);   // ligth LED(ObservE by mobile phone camera mode)&lt;br /&gt;
  delay(3000);             // Wait for 3s&lt;br /&gt;
  digitalWrite(ledPin, LOW);    // the end of testing  &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(){&lt;br /&gt;
  // read the state of the pushbutton value:&lt;br /&gt;
  buttonState = digitalRead(buttonPin);&lt;br /&gt;
&lt;br /&gt;
  // check if the pushbutton is pressed.&lt;br /&gt;
  // if it is, the buttonState is HIGH:&lt;br /&gt;
  if (buttonState == HIGH) {    &lt;br /&gt;
    Serial.print(&amp;quot;SendIR: &amp;quot;);&lt;br /&gt;
    irsend.sendNEC(0x234E817, 32); //9&lt;br /&gt;
  }&lt;br /&gt;
  else {&lt;br /&gt;
    // turn LED off:&lt;br /&gt;
    digitalWrite(ledPin, LOW);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
Setp 1：Download IRremote library&lt;br /&gt;
[http://www.geek-workshop.com/forum.php?mod=attachment&amp;amp;aid=ODk2N3wyYmQ0YTJlYnwxMzkxODcwMDU5fDI4MTYzfDI0MzM=]&lt;br /&gt;
&lt;br /&gt;
Step 2：Uncompress the library to libraries folder of Arduino IDE&lt;br /&gt;
&lt;br /&gt;
Step 3：Set up the circuit&lt;br /&gt;
[[File:第八课-Microduino红外发送电路.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Step 4：Open the program, compile it and dowanload&lt;br /&gt;
&lt;br /&gt;
Step 5：Press the button, infrared transmitting tube will launch infrared coding, due to the infrared light invisible to the naked eye, but can be seen in the camera.&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
With a button to control whether to send infrared, press the buttuon infrared tubes will send the infrared code that you set.&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
http://v.youku.com/v_show/id_XNjc1NjQ1Nzg0.html&lt;/div&gt;</summary>
		<author><name>Pkj</name></author>	</entry>

	</feed>