<?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_indicator-Digital_tube%28TSL2561%29</id>
		<title>Microduino Light indicator-Digital tube(TSL2561) - 版本历史</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_indicator-Digital_tube%28TSL2561%29"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_Light_indicator-Digital_tube(TSL2561)&amp;action=history"/>
		<updated>2026-04-30T06:51:58Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Microduino_Light_indicator-Digital_tube(TSL2561)&amp;diff=1817&amp;oldid=prev</id>
		<title>Pkj：Created page with &quot;{{Language | Microduino 光照指示器-数码管(TSL2561)}} {| style=&quot;width: 800px;&quot; |- | ==Objective== This tutorial will teach you to use the TSL2561 sensor and use digital...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Microduino_Light_indicator-Digital_tube(TSL2561)&amp;diff=1817&amp;oldid=prev"/>
				<updated>2014-04-03T13:56:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language | Microduino 光照指示器-数码管(TSL2561)}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This tutorial will teach you to use the TSL2561 sensor and use digital...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language | Microduino 光照指示器-数码管(TSL2561)}}&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 to use the TSL2561 sensor and use digital tube to dispaly the result.&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-FT232R]]'''&lt;br /&gt;
*'''[[Microduino-Weatherstation]]'''&lt;br /&gt;
*Other equipment&lt;br /&gt;
**USB cable &lt;br /&gt;
**Breadboard Jumper               &lt;br /&gt;
**Breadboard &lt;br /&gt;
**Digital tube&lt;br /&gt;
**220Ω resistor&lt;br /&gt;
&lt;br /&gt;
'''TSL2561 light sensor:'''&lt;br /&gt;
[[File:TSL2561.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
'''Product overview'''&lt;br /&gt;
TSL2561 is a light-digital converter which converts light into digital signal output, contains I2C interface or SMBus interface. Each device connected to a photosensitive diode tube and infrared photosensitive diode on a single CMOS integrated circuit. The integrated circuit has 20bit dynamic range optimal light response ability.&lt;br /&gt;
&lt;br /&gt;
Features：&lt;br /&gt;
*Programmable to set light intensity's threshold, when the actual light intensity exceeds the threshold sends a interrupt signal;&lt;br /&gt;
*Digital output meets standard SMBus (TSL2560) and I2C (TSL2561) bus protocol;&lt;br /&gt;
*Analog gain and digital output time programmable control;&lt;br /&gt;
*1.25mm x 1.75mm ultra small encapsulated, in low power mode, the power consumption only has 0.75 mW;&lt;br /&gt;
*Automatic inhibition 50 Hz/60 Hz light wave.&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
[[File:Microduino数码管光照指示器原理图(TSL2561).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 !! 74HC595&lt;br /&gt;
|-&lt;br /&gt;
|  || 10(A) || Q0 &lt;br /&gt;
|-&lt;br /&gt;
|  || 9(B) || Q1 &lt;br /&gt;
|-&lt;br /&gt;
|  || 1(C) || Q2 &lt;br /&gt;
|-&lt;br /&gt;
|  || 4(D) || Q3 &lt;br /&gt;
|-&lt;br /&gt;
|  || 3(E) || Q4 &lt;br /&gt;
|-&lt;br /&gt;
|  || 6(F) || Q5 &lt;br /&gt;
|-&lt;br /&gt;
|  || 5(G) || Q6 &lt;br /&gt;
|-&lt;br /&gt;
|  || 2(DP) || Q7 &lt;br /&gt;
|-&lt;br /&gt;
| V5 ||  || VCC, MR &lt;br /&gt;
|-&lt;br /&gt;
| GND ||  || GND, OE &lt;br /&gt;
|-&lt;br /&gt;
| D11 ||  || DS &lt;br /&gt;
|-&lt;br /&gt;
| D10 ||  || ST_CP &lt;br /&gt;
|-&lt;br /&gt;
| D13 ||  || SH_CP &lt;br /&gt;
|-&lt;br /&gt;
|  ||  || Q7’ &lt;br /&gt;
|-&lt;br /&gt;
| D8 || 12 ||  &lt;br /&gt;
|-&lt;br /&gt;
| D4 || 9 ||  &lt;br /&gt;
|-&lt;br /&gt;
| D3 || 8 ||  &lt;br /&gt;
|-&lt;br /&gt;
| D1 || 6 ||  &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
&lt;br /&gt;
https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_Sensor/TSL2561Segments&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
Step 1：Download TSL2561 library, and uncompress it to libraries folder of Arduino IDE, then restart IDE.&lt;br /&gt;
http://learn.adafruit.com/tsl2561/use &lt;br /&gt;
&lt;br /&gt;
Step 2：Copy the code to IDE and compile it.&lt;br /&gt;
&lt;br /&gt;
Step 3: Set up circuit, as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:Microduino数码管关照指示器连接图(TSL2561).jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
Step 4：Run program.&lt;br /&gt;
&lt;br /&gt;
Step 5：Observe digital tube, cover the light sensor with the hand and then let it see the light again, look at the digital tube change.&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
Cover the TSL2561 sensor with the hand, the digital tube's value will decrease, put the hand away, the value will increase.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
http://v.youku.com/v_show/id_XNjkyMzUwMDc2.html&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Pkj</name></author>	</entry>

	</feed>