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

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino-Light&amp;diff=10939&amp;oldid=prev</id>
		<title>1304410487@qq.com：Created page with &quot;{{Language|Microduino-Light}} {| style=&quot;width: 800px;&quot; |- |  Microduino-Light  Microduino-Light is a light-sensitive brightnes...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino-Light&amp;diff=10939&amp;oldid=prev"/>
				<updated>2015-10-23T07:27:47Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|Microduino-Light}} {| style=&amp;quot;width: 800px;&amp;quot; |- | &lt;a href=&quot;/index.php/%E6%96%87%E4%BB%B6:Microduino-Light.jpg&quot; title=&quot;文件:Microduino-Light.jpg&quot;&gt;400px|thumb|right| Microduino-Light&lt;/a&gt;  Microduino-Light is a light-sensitive brightnes...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|Microduino-Light}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
[[File: Microduino-Light.jpg|400px|thumb|right| Microduino-Light]]&lt;br /&gt;
&lt;br /&gt;
Microduino-Light is a light-sensitive brightness detection sensor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The light sensor uses photosensitive resistance to turn optical signal to electrical sensor. Its sensitive wavelength is near the wavelength of the visible light, including infrared and ultraviolet wavelength. Light sensor is not just limited to the detection of light but also can be used as detection component to assemble other sensors. For many non electric power detection, you only need to turn this non electric power into light signal change. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
*Resistance-type light sensor with high flexibility; &lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
*Electrical specification &lt;br /&gt;
**Output: 0~5V analog signal  &lt;br /&gt;
**Operation voltage: 3.0V~5.5V&lt;br /&gt;
*Tech parameters &lt;br /&gt;
**Stable resistance value detected at room temperature or under dark environment is called dark resistance and the current here is called dark current. Such as MG41-21 type photosensitive dark resistance is greater than or equal to 0.1M. &lt;br /&gt;
**Stable resistance value detected at room temperature or under bright environment is called bright resistance and the current here is call bright current. 41-21 type photosensitive bright resistance is smaller than or equal to 1k.   &lt;br /&gt;
*Size &lt;br /&gt;
**Size of the Sensor: &lt;br /&gt;
**Size of the Board: &lt;br /&gt;
**1.27mm-pitch 4Pin interface; &lt;br /&gt;
*Connection method  &lt;br /&gt;
**Pin description: GND, VCC, signal output and NC(Empty).  &lt;br /&gt;
Note: This input signal is analog signal, which needs analog interface to detect (A0~A7), which can connect to Sensorhub's pin A6/A7,A2/A3 and A0/A1.   &lt;br /&gt;
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]&lt;br /&gt;
[[File: Microduino-Light_rule1.jpg|600px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
==Document==&lt;br /&gt;
*Schematic: '''[[File: Microduino_Light.Zip]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
===Preparation===&lt;br /&gt;
*Make sure you build Microduino development environment. If not, please refer to: [[Microduino Getting started]]&lt;br /&gt;
*Choose the core module&lt;br /&gt;
**1. Adopt [[Microduino-CoreUSB]] or [[mCookie-CoreUSB]] as the core board. &lt;br /&gt;
**2.Adopt [[Microduino-Core]] or [[Microduino-Core+]] as the core board and you also need [[Microduino-USBTTL]] to work with the core for program download.&lt;br /&gt;
&lt;br /&gt;
===Program===&lt;br /&gt;
*Open &amp;quot; AnalogInput &amp;quot; program in the libraries. &lt;br /&gt;
[[file:mCookie-AnalogInput.JPG|thumb|800px|center]]&lt;br /&gt;
*int sensorPin = A0;  Define input pin as the analog pin A0. &lt;br /&gt;
*sensorValue = analogRead(sensorPin);    Used for reading pin's value. &lt;br /&gt;
&lt;br /&gt;
===Hardware Buildup===&lt;br /&gt;
*Stack all modules, insert the Light sensor into the A0 slot of [[Microduino-Sensorhub]] with the connector. Please refer to: [[Microduino-Sensorhub]]&lt;br /&gt;
[[file:Microduino-sensorhub_Analog.PNG|thumb|400px|center]]&lt;br /&gt;
You can refer to: [[mCookie-Hub]]&lt;br /&gt;
[[file:mCookie-sensorhub_Analog.PNG|thumb|400px|center]]&lt;br /&gt;
*Connect the core board, Sensorhub and Light sensor to the computer with a USB cable. &lt;br /&gt;
*Select the right board and COM port, compile and download. Please refer to [[AVR Core: Getting started]]&lt;br /&gt;
[[file:upload.JPG|thumb|800px|center]]&lt;br /&gt;
*Select the right port number from Tools→Serial Port in Arduino IDE after compiling, then download the program. &lt;br /&gt;
*You can open the serial monitor after download, on which the displayed values indicate the current light intensity detected by the sensor. &lt;br /&gt;
&lt;br /&gt;
==Application==&lt;br /&gt;
You can sense light intensity around you. &lt;br /&gt;
&lt;br /&gt;
Microduino-Light is suitable for light intensity detection.&lt;br /&gt;
===Project===&lt;br /&gt;
* '''[[The Use of Light 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-Light-F.JPG|thumb|600px|center|Microduino-Light Front]]&lt;br /&gt;
*Back &lt;br /&gt;
[[file: Microduino-Light -b.JPG|thumb|600px|center|Microduino-Light Back]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>1304410487@qq.com</name></author>	</entry>

	</feed>