<?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; 74hc595</title>
	<atom:link href="http://blog.flamingoeda.com/tag/74hc595/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flamingoeda.com</link>
	<description>Flamingo EDA</description>
	<lastBuildDate>Mon, 02 Aug 2010 05:45:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Arduino 电子积木 八路数字输出模块 74HC595</title>
		<link>http://blog.flamingoeda.com/2010/01/12/arduino-%e7%94%b5%e5%ad%90%e7%a7%af%e6%9c%a8-%e5%85%ab%e8%b7%af%e6%95%b0%e5%ad%97%e8%be%93%e5%87%ba%e6%a8%a1%e5%9d%97-74hc595/</link>
		<comments>http://blog.flamingoeda.com/2010/01/12/arduino-%e7%94%b5%e5%ad%90%e7%a7%af%e6%9c%a8-%e5%85%ab%e8%b7%af%e6%95%b0%e5%ad%97%e8%be%93%e5%87%ba%e6%a8%a1%e5%9d%97-74hc595/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 08:54:35 +0000</pubDate>
		<dc:creator>flamingoeda</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[电子积木]]></category>
		<category><![CDATA[74hc595]]></category>
		<category><![CDATA[shiftout]]></category>

		<guid isPermaLink="false">http://blog.flamingoeda.com/?p=578</guid>
		<description><![CDATA[我们曾经做过一个八路的数字输出扩展模块，那个时候数字传感器的引脚顺序同现在的通用传感器引脚顺序是不一致的，而且连接的时候要用到三根传感器连接线。近期我们在电子积木的开发过程中引入了IDC接口，这样当电路模块有多个引脚时可以更加方便，不过同时灵活性也就降低了。新一版本的八路数字输出模块就是根据新的传感器引脚顺序，以及多个引脚相连接的问题做了修改： 按照新的传感器引脚的顺序定义，相应的为GND(-)，VCC(+)和信号： 连接的时候使用的是IDC扩展板上提供的IDC-6引脚，并通过6芯IDC连接线相连接到八路数字输出模块的595IN插座上： 扩展出来的数字I/O引脚，可以用来连接数字输出模块，比如常用的LED模块： 如果需要多块级连的话，则需要将前一个模块的595OUT座与下一个模块的595IN座相连接： 该模块的核心是一个74HC595芯片，有关Arduino编程的问题可以借用Arduino官网上ShiftOut的说明和例子，但需要按照IDC扩展板上的硬件连线，修改相应的引脚，如下面的代码段所示： int dataPin = 9; // SER int latchPin = 7; //RCK int clockPin = 6; //SCK]]></description>
			<content:encoded><![CDATA[<p>我们曾经做过一个八路的数字输出扩展模块，那个时候数字传感器的引脚顺序同现在的通用传感器引脚顺序是不一致的，而且连接的时候要用到三根传感器连接线。近期我们在电子积木的开发过程中引入了IDC接口，这样当电路模块有多个引脚时可以更加方便，不过同时灵活性也就降低了。新一版本的八路数字输出模块就是根据新的传感器引脚顺序，以及多个引脚相连接的问题做了修改：</p>
<p><img alt="" src="http://image.flamingoeda.com/albums/userpics/febb_shiftout_1.JPG" title="shiftout" class="aligncenter" width="460" height="345" /></p>
<p>按照新的传感器引脚的顺序定义，相应的为GND(-)，VCC(+)和信号：<br />
<img alt="" src="http://image.flamingoeda.com/albums/userpics/febb_shiftout_2.JPG" title="shiftout" class="aligncenter" width="460"  /></p>
<p>连接的时候使用的是IDC扩展板上提供的IDC-6引脚，并通过6芯IDC连接线相连接到八路数字输出模块的595IN插座上：<br />
<img alt="" src="http://image.flamingoeda.com/albums/userpics/febb_shiftout_3.JPG" title="shiftout" class="aligncenter" width="460" height="345" /></p>
<p>扩展出来的数字I/O引脚，可以用来连接数字输出模块，比如常用的LED模块：<br />
<img alt="" src="http://image.flamingoeda.com/albums/userpics/febb_shiftout_4.JPG" title="shiftout" class="aligncenter" width="460" height="345" /></p>
<p>如果需要多块级连的话，则需要将前一个模块的595OUT座与下一个模块的595IN座相连接：<br />
<img alt="" src="http://image.flamingoeda.com/albums/userpics/febb_shiftout_5.JPG" title="shiftout" class="aligncenter" width="460" height="345" /></p>
<p>该模块的核心是一个74HC595芯片，有关Arduino编程的问题可以借用<a href="http://www.arduino.cc/en/Tutorial/ShiftOut">Arduino官网上ShiftOut的说明和例子，但需要按照IDC扩展板上的硬件连线，修改相应的引脚，如下面的代码段所示：</a></p>
<pre>
<span style="color: #CC6600;">int</span> dataPin = 9;   <span style="color: #7E7E7E;">// SER</span>
<span style="color: #CC6600;">int</span> latchPin = 7;  <span style="color: #7E7E7E;">//RCK</span>
<span style="color: #CC6600;">int</span> clockPin = 6; <span style="color: #7E7E7E;">//SCK</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.flamingoeda.com/2010/01/12/arduino-%e7%94%b5%e5%ad%90%e7%a7%af%e6%9c%a8-%e5%85%ab%e8%b7%af%e6%95%b0%e5%ad%97%e8%be%93%e5%87%ba%e6%a8%a1%e5%9d%97-74hc595/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
