<?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-Line-track</id>
		<title>Microduino-Line-track - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Microduino-Line-track"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Line-track&amp;action=history"/>
		<updated>2026-06-06T07:23:14Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-Line-track&amp;diff=11103&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language|Microduino-Line-track }} {| style=&quot;width: 800px;&quot; |- |  Microduino-Line-track  Microduino-Line-track is an inf...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Line-track&amp;diff=11103&amp;oldid=prev"/>
				<updated>2015-10-28T08:14:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|Microduino-Line-track }} {| style=&amp;quot;width: 800px;&amp;quot; |- | &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:Microduino-Line_track.jpg&quot; title=&quot;文件:Microduino-Line track.jpg&quot;&gt;400px|thumb|right| Microduino-Line-track&lt;/a&gt;  Microduino-Line-track is an inf...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|Microduino-Line-track }}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File: Microduino-Line_track.jpg|400px|thumb|right| Microduino-Line-track]]&lt;br /&gt;
&lt;br /&gt;
Microduino-Line-track is an infrared reflection sensor module. It can be used for tacking. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The black line's detection principle is : Infrared emission tube sends light to the ground and when the light comes to white background, it'll be reflected and the receiving tube gets the reflection light. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*High detection sensitivity and stability;  &lt;br /&gt;
*Small size  &lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
*Electrical specification&lt;br /&gt;
**3.3V~5V operation voltage; &lt;br /&gt;
**Input device &lt;br /&gt;
*Tech parameters  &lt;br /&gt;
**Pin description: GND, VCC, signal output and NC(empty).&lt;br /&gt;
**Digital input  &lt;br /&gt;
&lt;br /&gt;
*Size &lt;br /&gt;
**Size of the switch: 5mm*10mm，&lt;br /&gt;
**Size of the board: 20mm*10mm&lt;br /&gt;
*1.27mm-pitch 4PIN interface &lt;br /&gt;
*Output: Digital signal &lt;br /&gt;
*Connection method &lt;br /&gt;
**Since the output signal is digital, it needs digital interface to detect(D0~D13). You can connect Microduino-Line-Track to the pins (3~10) of Sensorhub with the corresponding pins(D0,D2,D4,D6,D8,D10,D12).&lt;br /&gt;
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
[[File: Microduino-Line-track_rule1.jpg|600px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
&lt;br /&gt;
*Schematic: '''[[File: Microduino_Line-track.Zip]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
===Preparation===&lt;br /&gt;
*Make sure you build Microduino IDE or refer to: [[Microduino Getting started]]&lt;br /&gt;
*Core selection &lt;br /&gt;
**1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core. &lt;br /&gt;
**2. Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core plus [[Microduino-USBTTL]] as the program download module. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Program===&lt;br /&gt;
* Open Arduino IDE, selectFile→Examples→Basics→DigitalReadSerial program examples, choose the right board, compile and then download.&lt;br /&gt;
 [[file:mCookie-crashCodeExample.JPG|thumb|800px|center]]&lt;br /&gt;
&lt;br /&gt;
*int pushButton = 6;   Define D6 as the input pin, which can also be changed by users , such as linePin. &lt;br /&gt;
*pinMode(pushButton, INPUT);    Define pushButton as the input pin.  &lt;br /&gt;
*int buttonState = digitalRead(pushButton);    Read values of pushButton &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware Buildup===&lt;br /&gt;
*Connect the line track sensor to D6 digital port of the Sensorhub. D6 here is also the pushButton mentioned above, which can be changed by users according to personal needs, such as linePin. &lt;br /&gt;
*For reference: [[Microduino-Sensorhub]]&lt;br /&gt;
[[file:Microduino-sensorhub_6.JPG|thumb|400px|center]]&lt;br /&gt;
* For reference: [[mCookie-Hub]]&lt;br /&gt;
[[file:mCookie-sensorhub_6.JPG|thumb|400px|center]]&lt;br /&gt;
&lt;br /&gt;
*Connect the core, Sensorhub and the Microduino-Line-track to a computer with a USB cable.   &lt;br /&gt;
* Select the right board and COM port, compile and download.  You can refer to [[AVR Core：Getting started]]&lt;br /&gt;
 [[file:upload.JPG|thumb|800px|center]]&lt;br /&gt;
*After download, you can open the serial monitor and tell if there is an object getting close to you by the detected value, which is &amp;quot;0&amp;quot; when there is no obstacle getting close and is &amp;quot;1&amp;quot; when there is an obstacle getting close. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Application==&lt;br /&gt;
Microduino-Line-track is suitable for obstacle and infrared transmission detection, which can be used as a tracking sensor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Purchase==&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
&lt;br /&gt;
==Pictures==&lt;br /&gt;
&lt;br /&gt;
*Front&lt;br /&gt;
[[file: Microduino-Line-track-F.JPG|thumb|600px|center|Microduino-Line-track Front]]&lt;br /&gt;
*Back&lt;br /&gt;
[[file: Microduino-Line-track -b.JPG|thumb|600px|center|Microduino-Line-track Back]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>