Https Github Com Rdagger Micropython 2 9 Inch Epaper Library
The library supports drawing lines, shapes, text and images. All code is documented and there are demo examples. Tested on WaveShare 2.9inch e-Paper Display (B) 128x296 resolution using Wemos Lolin ESP32 Wrover. Sample XGLCD fonts are included in the fonts folder. Additional fonts can generated from TTF fonts using a free utility called MikroElektronika GLCD Font Creator. There are sample images in monocrhome (monoHMSB) and raw format.
I’ve included a python app called img2monoHMSB.py in the utils folder to convert images in common formats such as JPEG and PNG to monoHMSB. demo_images.py example draws monochrome images in black & white and red & white: demo_qr.py example draws a QR code which is readable by phones, tablets and webcams: Displays of various sizes, typically of a few square inches, and mostly black on white. Some displays add one or more additional colors. The refresh speed is general several seconds or longer.
One of the biggest advantages of these displays is that it will persist the last state drawn indefinitely without requiring any power. This specifically covers the Waveshare 2.9" 296x128 (Manual) with black and yellow on white. The manual refers to model "B" which is the same module using red in place of the yellow model "C" actually used here. MicroPython library tested and used for demo https://github.com/rdagger/MicroPython-2.9-inch-ePaper-Library https://www.waveshare.com/product/displays/e-paper/epaper-2/2.9inch-e-paper-module-b.htm https://www.good-display.com/product/527.html
pip install waveshare-epaper Copy PIP instructions Waveshare e-paper package for Python on Raspberry Pi Waveshare e-paper package for Python on Raspberry Pi. Original source is https://github.com/waveshare/e-Paper. You can get available e-paper modules list by epaper.modules(). epaper.epaper method takes the model name and returns the e-paper library module.
A curated list of awesome MicroPython libraries, frameworks, software and resources. MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments. Other places you can look for MicroPython Libraries: Contributions and suggestions are always welcome! Please take a look at the contribution guidelines first. I will keep some pull requests open if I'm not sure whether those libraries are awesome, you could vote for them by adding 👍 to them.
E‐paper (a.k.a. “E‐Ink”) displays are perfect for low‐power and daylight‐readable applications. In this post, we’ll show how to wire up an 800 × 480 e‐paper display to a Raspberry Pi Pico, then walk through the MicroPython code to display images. We need to use the SPI interface of the Pico. The Pico 2 has two SPI interfaces: SPI0 and SPI1. We’ll use SPI0.
See the pinout below. Below are my pin connections. The e‐paper typically has the following signals: For DC, RST, BUSY, you can actually use any GPIOs you want. I just randomly picked GP8, GP9, GP10. Of course, if you want to use other GPIOs, you need to change the code accordingly.
Save the following script (e.g. epaper_800x480.py) to your Raspberry Pi Pico via Thonny or any other method. It defines a driver class, initializes the display, and can show an image. You can create a release to package software, along with release notes and links to binary files, for other people to use. Learn more about releases in our docs.
People Also Search
- GitHub - rdagger/MicroPython-2.9-inch-ePaper-Library: MicroPython ...
- mirrors_rdagger/MicroPython-2.9-inch-ePaper-Library - Gitee
- Electronic Paper - HackerDojo Wiki
- 2.9inch e-Paper Module Manual - Waveshare Wiki
- waveshare-epaper · PyPI
- Awesome MicroPython
- How to make ePaper work in landscape mode with RPi Pico?
- Driving WaveShare E‐Paper Display with a Raspberry Pi Pico in MicroPython
- E-paper + pi pico? - Raspberry Pi Forums
- Releases: rdagger/MicroPython-2.9-inch-ePaper-Library - GitHub
The Library Supports Drawing Lines, Shapes, Text And Images. All
The library supports drawing lines, shapes, text and images. All code is documented and there are demo examples. Tested on WaveShare 2.9inch e-Paper Display (B) 128x296 resolution using Wemos Lolin ESP32 Wrover. Sample XGLCD fonts are included in the fonts folder. Additional fonts can generated from TTF fonts using a free utility called MikroElektronika GLCD Font Creator. There are sample images i...
I’ve Included A Python App Called Img2monoHMSB.py In The Utils
I’ve included a python app called img2monoHMSB.py in the utils folder to convert images in common formats such as JPEG and PNG to monoHMSB. demo_images.py example draws monochrome images in black & white and red & white: demo_qr.py example draws a QR code which is readable by phones, tablets and webcams: Displays of various sizes, typically of a few square inches, and mostly black on white. Some d...
One Of The Biggest Advantages Of These Displays Is That
One of the biggest advantages of these displays is that it will persist the last state drawn indefinitely without requiring any power. This specifically covers the Waveshare 2.9" 296x128 (Manual) with black and yellow on white. The manual refers to model "B" which is the same module using red in place of the yellow model "C" actually used here. MicroPython library tested and used for demo https://...
Pip Install Waveshare-epaper Copy PIP Instructions Waveshare E-paper Package For
pip install waveshare-epaper Copy PIP instructions Waveshare e-paper package for Python on Raspberry Pi Waveshare e-paper package for Python on Raspberry Pi. Original source is https://github.com/waveshare/e-Paper. You can get available e-paper modules list by epaper.modules(). epaper.epaper method takes the model name and returns the e-paper library module.
A Curated List Of Awesome MicroPython Libraries, Frameworks, Software And
A curated list of awesome MicroPython libraries, frameworks, software and resources. MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments. Other places you can look for MicroPython Libraries: Contributions and suggestions are alw...