<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Arduino中国 &#187; rgb</title>
	<atom:link href="http://blog.flamingoeda.com/tag/rgb/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flamingoeda.com</link>
	<description>Flamingo EDA</description>
	<lastBuildDate>Sat, 13 Aug 2011 11:41:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Arduino控制的全彩RGB LED</title>
		<link>http://blog.flamingoeda.com/2009/08/31/arduino%e6%8e%a7%e5%88%b6%e7%9a%84%e5%85%a8%e5%bd%a9rgb-led/</link>
		<comments>http://blog.flamingoeda.com/2009/08/31/arduino%e6%8e%a7%e5%88%b6%e7%9a%84%e5%85%a8%e5%bd%a9rgb-led/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 14:40:14 +0000</pubDate>
		<dc:creator>flamingoeda</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[rgb]]></category>
		<category><![CDATA[tlc5940]]></category>

		<guid isPermaLink="false">http://blog.arduino.cn/?p=494</guid>
		<description><![CDATA[RGB Monome项目为全彩LED的控制留下了充足的空间，为了进一步实验TLC5940对RGB LED的控制，我们将TCL5940和RGB LED分别制作成了相应的模块，以方便类似RGB LED项目的开发。首先是RGB LED模块，这个小模块上提供有6颗RGB LED： 接着是TLC5940模块，它被设计成能够方便地与RGB LED模块通过连接线连接 可惜的是，这一版本的TLC5940模块在设计的时候参考的是Monome的设计，因而被设计成了共阴驱动的方式，但相应的转换电路又没有带上，所以实际上是一个设计不成功的电路。不过没有关系，我们只需要使用连接线将VCC与每个RGB LED模块的公共端连接起来就可以了，虽然乱点，但并不影响实验。 Arduino这端暂时就用原型板一个一个引脚连接了，虽然也能够做一个扩展板，但在原型验证阶段并不是那么必须。 所以硬件连接好之后，就可以下载软件进行实验了，基本实验使用的是tlc5940arduino这一库所提供的测试例子Fades，需要注意的是由于USB接口没有办法提供足够的电流，因些需要使用外接电源来给整个电路供电。下图是测试时的效果：]]></description>
			<content:encoded><![CDATA[<p>RGB Monome项目为全彩LED的控制留下了充足的空间，为了进一步实验TLC5940对RGB LED的控制，我们将TCL5940和RGB LED分别制作成了相应的模块，以方便类似RGB LED项目的开发。首先是RGB LED模块，这个小模块上提供有6颗RGB LED：</p>
<p style="text-align: center;"><a href="http://blog.flamingoeda.com/wp-content/uploads/2009/08/6rgb.jpg"><img class="size-full wp-image-495 aligncenter" title="6rgb" src="http://blog.flamingoeda.com/wp-content/uploads/2009/08/6rgb.jpg" alt="" width="460" height="345" /></a></p>
<p>接着是TLC5940模块，它被设计成能够方便地与RGB LED模块通过连接线连接</p>
<p style="text-align: center;"><a href="http://blog.flamingoeda.com/wp-content/uploads/2009/08/rgb_driver.jpg"><img class="size-full wp-image-496 aligncenter" title="rgb_driver" src="http://blog.flamingoeda.com/wp-content/uploads/2009/08/rgb_driver.jpg" alt="" width="460" height="345" /></a></p>
<p>可惜的是，这一版本的TLC5940模块在设计的时候参考的是Monome的设计，因而被设计成了共阴驱动的方式，但相应的转换电路又没有带上，所以实际上是一个设计不成功的电路。不过没有关系，我们只需要使用连接线将VCC与每个RGB LED模块的公共端连接起来就可以了，虽然乱点，但并不影响实验。</p>
<p style="text-align: center;"><a href="http://blog.flamingoeda.com/wp-content/uploads/2009/08/6rgb_linkage.jpg"><img class="size-full wp-image-497 aligncenter" title="6rgb_linkage" src="http://blog.flamingoeda.com/wp-content/uploads/2009/08/6rgb_linkage.jpg" alt="" width="460" height="345" /></a></p>
<p>Arduino这端暂时就用原型板一个一个引脚连接了，虽然也能够做一个扩展板，但在原型验证阶段并不是那么必须。</p>
<p>所以硬件连接好之后，就可以下载软件进行实验了，基本实验使用的是<a style="text-decoration: none; color: #000000;" href="http://code.google.com/p/tlc5940arduino/">tlc5940arduino</a>这一库所提供的测试例子Fades，需要注意的是由于USB接口没有办法提供足够的电流，因些需要使用外接电源来给整个电路供电。下图是测试时的效果：</p>
<p style="text-align: center;"><a href="http://blog.flamingoeda.com/wp-content/uploads/2009/08/6rgb_circuit.jpg"><img class="size-full wp-image-498 aligncenter" title="6rgb_circuit" src="http://blog.flamingoeda.com/wp-content/uploads/2009/08/6rgb_circuit.jpg" alt="" width="460" height="336" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.flamingoeda.com/2009/08/31/arduino%e6%8e%a7%e5%88%b6%e7%9a%84%e5%85%a8%e5%bd%a9rgb-led/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

