<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://www.ingcool.cn/w/index.php?action=history&amp;feed=atom&amp;title=E-paper_for_RPi_Use</id>
	<title>E-paper for RPi Use - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://www.ingcool.cn/w/index.php?action=history&amp;feed=atom&amp;title=E-paper_for_RPi_Use"/>
	<link rel="alternate" type="text/html" href="http://www.ingcool.cn/w/index.php?title=E-paper_for_RPi_Use&amp;action=history"/>
	<updated>2026-04-08T03:09:48Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>http://www.ingcool.cn/w/index.php?title=E-paper_for_RPi_Use&amp;diff=270&amp;oldid=prev</id>
		<title>INKU-admin123：文本替换 - 替换“http://www.ingcool.cn”为“http://{{SERVERNAME}}”</title>
		<link rel="alternate" type="text/html" href="http://www.ingcool.cn/w/index.php?title=E-paper_for_RPi_Use&amp;diff=270&amp;oldid=prev"/>
		<updated>2020-07-13T05:06:56Z</updated>

		<summary type="html">&lt;p&gt;文本替换 - 替换“http://www.ingcool.cn”为“http://{{SERVERNAME}}”&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2020年7月13日 (一) 05:06的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot; &gt;第75行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第75行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo apt-get install p7zip-full&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo apt-get install p7zip-full&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo wget http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;www.ingcool.cn&lt;/del&gt;/w/images/5/50/E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo wget http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{SERVERNAME}}&lt;/ins&gt;/w/images/5/50/E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;7za X E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;7za X E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd e-Paper/RaspberryPi\&amp;amp;JetsonNano/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd e-Paper/RaspberryPi\&amp;amp;JetsonNano/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>INKU-admin123</name></author>
		
	</entry>
	<entry>
		<id>http://www.ingcool.cn/w/index.php?title=E-paper_for_RPi_Use&amp;diff=250&amp;oldid=prev</id>
		<title>INKU-admin123：文本替换 - 替换“47.107.148.244”为“www.ingcool.cn”</title>
		<link rel="alternate" type="text/html" href="http://www.ingcool.cn/w/index.php?title=E-paper_for_RPi_Use&amp;diff=250&amp;oldid=prev"/>
		<updated>2020-07-13T01:32:32Z</updated>

		<summary type="html">&lt;p&gt;文本替换 - 替换“47.107.148.244”为“www.ingcool.cn”&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2020年7月13日 (一) 01:32的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot; &gt;第75行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第75行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo apt-get install p7zip-full&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo apt-get install p7zip-full&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo wget http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;47&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;107&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;148.244&lt;/del&gt;/w/images/5/50/E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;sudo wget http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;www&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ingcool&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cn&lt;/ins&gt;/w/images/5/50/E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;7za X E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;7za X E-Paper.7z&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd e-Paper/RaspberryPi\&amp;amp;JetsonNano/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd e-Paper/RaspberryPi\&amp;amp;JetsonNano/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>INKU-admin123</name></author>
		
	</entry>
	<entry>
		<id>http://www.ingcool.cn/w/index.php?title=E-paper_for_RPi_Use&amp;diff=183&amp;oldid=prev</id>
		<title>INKU-admin123：创建页面，内容为“=连接树莓派使用= ==硬件连接== 连接树莓派的时候，如果是驱动板带有40pin排座的，可以直接插到树莓派的40PIN排针上去，注意…”</title>
		<link rel="alternate" type="text/html" href="http://www.ingcool.cn/w/index.php?title=E-paper_for_RPi_Use&amp;diff=183&amp;oldid=prev"/>
		<updated>2020-04-21T06:25:21Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“=连接树莓派使用= ==硬件连接== 连接树莓派的时候，如果是驱动板带有40pin排座的，可以直接插到树莓派的40PIN排针上去，注意…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=连接树莓派使用=&lt;br /&gt;
==硬件连接==&lt;br /&gt;
连接树莓派的时候，如果是驱动板带有40pin排座的，可以直接插到树莓派的40PIN排针上去，注意对好引脚。如果是选择用8PIN排线连接的话，请参考下方的引脚对应表格&amp;lt;br /&amp;gt;&lt;br /&gt;
{|border=1; style=&amp;quot;width:700px;&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|+树莓派连接引脚对应关系&lt;br /&gt;
|- style=&amp;quot;background:#228B22; color:white&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|e-Paper&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Raspberry Pi&lt;br /&gt;
|-  style=&amp;quot;background:#228B22; color:white&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|BCM2835编码&lt;br /&gt;
|Board物理引脚序号&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
|VCC||3.3V||3.3V&lt;br /&gt;
|- align=&amp;quot;center&amp;quot;&lt;br /&gt;
|GND||GND||GND&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|DIN||MOSI||19&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|CLK||SCLK||23&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|CS||CE0||24&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|DC||25||22&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|RST||17||11&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|BUSY||24||18&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==打开SPI接口==&lt;br /&gt;
本模块使用SPI接口通信，使用前需要先确保树莓派的SPI接口已经正常开启&lt;br /&gt;
*打开终端，输入指令进入raspi-config设置界面&lt;br /&gt;
 sudo raspi-config&lt;br /&gt;
*Interfacing Options -&amp;gt; SPI -&amp;gt; Yes&lt;br /&gt;
&lt;br /&gt;
==安装函数库==&lt;br /&gt;
*安装BCM2835， 打开终端，运行以下指令&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz&lt;br /&gt;
tar zxvf bcm2835-1.60.tar.gz &lt;br /&gt;
cd bcm2835-1.60/&lt;br /&gt;
sudo ./configure&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make check&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*安装wirignPi&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install wiringpi&lt;br /&gt;
#对于树莓派4B可能需要进行升级：&lt;br /&gt;
wget https://project-downloads.drogon.net/wiringpi-latest.deb&lt;br /&gt;
sudo dpkg -i wiringpi-latest.deb&lt;br /&gt;
gpio -v&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*安装Python函数库&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#python2&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install python-pip&lt;br /&gt;
sudo apt-get install python-pil&lt;br /&gt;
sudo apt-get install python-numpy&lt;br /&gt;
sudo pip install RPi.GPIO&lt;br /&gt;
sudo pip install spidev&lt;br /&gt;
#python3&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install python3-pip&lt;br /&gt;
sudo apt-get install python3-pil&lt;br /&gt;
sudo apt-get install python3-numpy&lt;br /&gt;
sudo pip3 install RPi.GPIO&lt;br /&gt;
sudo pip3 install spidev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==下载测试程序==&lt;br /&gt;
打开树莓派终端，执行：&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install p7zip-full&lt;br /&gt;
sudo wget http://47.107.148.244/w/images/5/50/E-Paper.7z&lt;br /&gt;
7za X E-Paper.7z&lt;br /&gt;
cd e-Paper/RaspberryPi\&amp;amp;JetsonNano/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==运行测试程序==&lt;br /&gt;
以下命令请在RaspberryPi&amp;amp;JetsonNano下执行，否则不在索引不到目录；&amp;lt;br /&amp;gt;&lt;br /&gt;
;C语言 &lt;br /&gt;
*打开main.c选择对应尺寸的屏幕&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd c&lt;br /&gt;
sudo nano examples/main.c &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
如果你使用的是2.13inch e-paper,那么就去掉EPD_2IN13_V2_test()函数前面的//，然后按ctrl+c，然后按Y键并回车保存并退出&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*重新编译，编译过程可能需要几秒&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
返回c目录下，运行以下指令&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
sudo ./epd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;python &lt;br /&gt;
*进入python程序目录,并运行指令ls -al&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd python/examples&lt;br /&gt;
ls -al&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*运行对应屏幕的程序即可，程序支持python2/3，以2.13 为例子&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# python2&lt;br /&gt;
sudo python2.7 epd_2in13_V2_test.py&lt;br /&gt;
# python3&lt;br /&gt;
sudo python3 epd_2in13_V2_test.py&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==API详解(请选读c或python部分)==&lt;br /&gt;
{{e-paper_for_rpi_and_jetsonano_code_description}}&lt;/div&gt;</summary>
		<author><name>INKU-admin123</name></author>
		
	</entry>
</feed>