Difference between revisions of "Raspberry pi 2.13'' e ink display(250x122)"

From Wiki
Jump to: navigation, search
(Description)
(Operations Guide)
 
Line 97: Line 97:
 
     <li>sudo python3 epd_2in13_V2_test.py</li>
 
     <li>sudo python3 epd_2in13_V2_test.py</li>
 
</ol>
 
</ol>
 +
<br>
 +
[[File:Sc011_1.jpg]]

Latest revision as of 03:12, 9 April 2020

Description

Sc011 4.jpg
A low-energy, high-falutin, electronic paper (ePaper / eInk / EPD) display for your Pi, in two different colour schemes: black/white.
This 250x122 pixel eInk display is perfect for displaying simple graphics and clearly rendered text. It has low power consumption, a wide viewing angle, and is readable in bright sunlight. After power is off, the last display can be kept.
Everything is completely assembled, no soldering is required, you can plug the eInk display directly into the GPIO pin of the Raspberry Pi. It‘s also has an 8-pin PH2.0 socket that can be connected to other development boards.
It'll work with any 40-pin version of the Pi, including Pi Zero and Pi Zero W.

Features

  • 2.13 eInk Display
  • Resolution: 250*122
  • Operating Voltage: 3.3V/5V
  • Communication Interface: SPI
  • Visual Angle: 170°
  • Gray Scale: 2
  • Display Color: Black and White
  • Dimension: 65mm*30.2mm
  • Dot Pitch: 0.194*0.194
  • Refresh Power: 26.5mV(typ.)
  • For Raspberry Pi 4B/3B/3B+/2B/1B+/Zero W (any Pi with 2x20 connector)

Package Including

  • 1 x 2.13 eInk Display
  • 1 x 8pin Female Anti-reverse Cable
  • Several Mounting Cable

Operations Guide

Start the RPi and type in the following commands into the terminal.

  1. sudo raspi-config
  2. Sc011 2.png

Then restart the RPi.

  1. sudo reboot

Make sure that SPI has not been occupied by other devices and you can check this issue in /boot/config.txt.
Library Installation
Install BCM2835, and enter the RPi terminal and then run the next command.

  1. wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz
  2. tar zxvf bcm2835-1.60.tar.gz
  3. cd bcm2835-1.60/
  4. sudo ./configure
  5. sudo make
  6. sudo make check
  7. sudo make install

Install wiringPi

  1. sudo apt-get install wiringpi
  2. wget https://project-downloads.drogon.net/wiringpi-latest.deb
  3. sudo dpkg -i wiringpi-latest.deb
  4. gpio -v

Install Python function library.

  1. #python2
  2. sudo apt-get update
  3. sudo apt-get install python-pip
  4. sudo apt-get install python-pil
  5. sudo apt-get install python-numpy
  6. sudo pip install RPi.GPIO
  7. sudo pip install spidev
  8. #python3
  9. sudo apt-get update
  10. sudo apt-get install python3-pip
  11. sudo apt-get install python3-pil
  12. sudo apt-get install python3-numpy
  13. sudo pip3 install RPi.GPIO
  14. sudo pip3 install spidev

Download the Testing Program
Start the RPi terminal and execute:

  1. sudo git clone https://github.com/waveshare/e-Paper
  2. cd e-Paper/RaspberryPi\&JetsonNano/python/examples

Run the Testing Program
The following commands are to be executed under RaspberryPi&JetsonNano to ensure you can find your directory in the index.
Enter python program directory and run the command ls -al.

  1. ls -al

Sc011 3.png

  1. #python2
  2. sudo python epd_2in13_V2_test.py
  3. #python3
  4. sudo python3 epd_2in13_V2_test.py


Sc011 1.jpg