<?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=Lesson_25--Microduino_5%2A7_Lattice_Static_Display</id>
		<title>Lesson 25--Microduino 5*7 Lattice Static Display - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Lesson_25--Microduino_5%2A7_Lattice_Static_Display"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_25--Microduino_5*7_Lattice_Static_Display&amp;action=history"/>
		<updated>2026-04-21T11:32:34Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Lesson_25--Microduino_5*7_Lattice_Static_Display&amp;diff=1571&amp;oldid=prev</id>
		<title>Jasonsheng：Created page with &quot;{{Language|第二十五课--Microduino 5*7点阵静态显示}} {| style=&quot;width: 800px;&quot; |- | ==Objective== This experiment will introduce how to use the Microduino I/O port to...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_25--Microduino_5*7_Lattice_Static_Display&amp;diff=1571&amp;oldid=prev"/>
				<updated>2014-03-26T01:03:07Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|第二十五课--Microduino 5*7点阵静态显示}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This experiment will introduce how to use the Microduino I/O port to...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|第二十五课--Microduino 5*7点阵静态显示}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
This experiment will introduce how to use the Microduino I/O port to control 5*7 lattice and without drive chip.&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-FT232R]]'''&lt;br /&gt;
*Other hardware equipment&lt;br /&gt;
**Breadboard Jumper            one box   &lt;br /&gt;
**Breadboard  	               one piece  &lt;br /&gt;
**5*7 lattice                  one&lt;br /&gt;
**USB cable                    one&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
*5*7 lattice schematic&lt;br /&gt;
[[File:led_5_7_Principle.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
*Drive Mode&lt;br /&gt;
Common cathode：All the cathode of LED connect together, and use high level to light the LED.&lt;br /&gt;
Common anode：All the anode of LED connect together, and use low level to light the LED.&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
===Measure lattice pin===&lt;br /&gt;
If you don't have hte lattice pin diagram, measure it by yourself. Detailed step, please refer to 8*8 lattice.&lt;br /&gt;
&lt;br /&gt;
http://v.youku.com/v_show/id_XNjg0NTk4Nzk2.html&lt;br /&gt;
&lt;br /&gt;
===Set up circuit===&lt;br /&gt;
*Connect the column pin to D2-D6 and row pin to D7-D13；&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|D2||D3||D4||D5||D6&lt;br /&gt;
|-&lt;br /&gt;
|COL1||COL2||COL3||COL4||COL5&lt;br /&gt;
|-&lt;br /&gt;
|D7||D8||D9||D10||D11||D12||D13&lt;br /&gt;
|-&lt;br /&gt;
|ROW1||ROW2||ROW3||ROW4||ROW5||ROW6||ROW7&lt;br /&gt;
|}&lt;br /&gt;
[[File:led_5_7_line.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
===Program===&lt;br /&gt;
*Prepared Work：&lt;br /&gt;
**Download test protram：'''[[File:.led_5_7_static.zip]]'''&lt;br /&gt;
**Modulus software：'''[[File:PCtolCD.zip]]'''&lt;br /&gt;
Step 1：Download test program, and open it；&lt;br /&gt;
Step 2：Select the board type and download directly, after download a picture will be shown on lattice&lt;br /&gt;
*Note:&lt;br /&gt;
**duan[] array use to store column data, data[] array use to store row data;&lt;br /&gt;
**If need change the picture, only need change the data in array data[], five data represent a picture;&lt;br /&gt;
**leddisplay() function configures the lattice row pin. Function ledduan() uses to configure lattice column pin;&lt;br /&gt;
**Use the right shift operation &amp;quot;&amp;gt;&amp;gt;&amp;quot; to move out the data and output to I/O port, then light the LED.&lt;br /&gt;
**This experiment uses the common cathode lattice, if use the common anode lattice with the same pin defination, need reverse the array data. For example, change the &amp;quot;data[i]&amp;quot; to &amp;quot;~data[i]&amp;quot;. If the pin defination is different, need change the pin's configuration in function leddisplay() and ledduan().&lt;br /&gt;
&lt;br /&gt;
==Change the font==&lt;br /&gt;
Detailed information, please refer to：http://www.microduino.cc/wiki/index.php?title=%E7%AC%AC%E4%BA%8C%E8%AF%BE--Microduino_OLED%E4%BD%BF%E7%94%A8/zh&lt;br /&gt;
Note：Need to replace modulus with image model, and new a 5*7 image. Draw a image, then the modulus way changed to: Yin, column type, reverse.&lt;br /&gt;
&lt;br /&gt;
Change the font code in data[], download directly and then display the new image on lattice.&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
By testing, lattice can display an image and each LED's brightness is uniform, very beautiful.&lt;br /&gt;
[[File:led_5_7_static_Result.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Video==&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jasonsheng</name></author>	</entry>

	</feed>