Support for waveshare e_paper with pico #2114
Replies: 7 comments 5 replies
-
The ePaper support was added before the RP2040 even existed and as you note is for the ESP8266 only. The RP2040 is my favorite processor so I will have a look at getting the example and support EDP library to work with it. I think this should be quite easy... hopefully! I have an ePaper 2.13 display somewhere that I can test it with, finding that might be more difficult... |
Beta Was this translation helpful? Give feedback.
-
Here is a zip file for the library for your display. Load it as an Arduino library. Try it and tell me if it works. There is an example in that library. Note that your GPIO choice above is hard coded into that library in the epdif.h file. You will need to define a user setup file for TFT_eSPI. Here is an example content:
The Floyd_Steinberg TFT_eSPI library example should now run. Ignore the fact that is it appears to use SPIFFS, LittleFS will in fact be used automatically. To get the tiger image included in the sketch data folder loaded into the pico define a FS partition in the IDE using the menu option, say sketch 1MB and FS 1MB, and upload the data from the sketch using the IDE LittleFS data upload menu option. Then compile and upload the sketch. Hopefully it will run but the tiger image will be bigger than the display so will only partially show. |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Here it is,but no mention about the pins used... [code] Font GLCD loaded Display SPI frequency = 20.00 |
Beta Was this translation helpful? Give feedback.
-
This one: there are some indications on the strap wire : HINK-E021-3A22-A0 SLH 1948 I searched over the web with those indications and found somethink that could interest you: https://devzone.nordicsemi.com/f/nordic-q-a/87352/waveshare-e-paper-with-ssd16xx-driver |
Beta Was this translation helpful? Give feedback.
-
You're right it's a bit confusing,here is the exact link,but i can't find no more about my specifications order, i've tried with a 2colors demo uf2,it's ok,but i can't find with 3 colors to try with,if you know where i can download them |
Beta Was this translation helpful? Give feedback.
-
I've made a total reset of the pico flash by holding RUN to GND then hold BOOTSEL,then release RUN from GND before Clear... Seems only the 2.13 (extra_uf2) works,not the 2.13b or 2.13c or 2.13d,so it's "EPD_2IN13_V2_test" as the monitor shows,but without |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,bodmer,
It's pretty hard to find something working for the e_paper shield that hold a pico,only a difficult py or c programmation examples,
or also for arduino boards .The tft e_spi propose the steinberg example,but only for esp8266,with pre-defined pin settings.
The settings used for pico e_paper 2.13 are:
https://www.waveshare.com/wiki/Pico-ePaper-2.13
DIN | GP11 | MOSI pin of SPI interface, data transmitted from Master to Slave.
CLK | GP10 | SCK pin of SPI interface, clock input
CS | GP9 | Chip select pin of SPI interface, Low active
DC | GP8 | Data/Command control pin (High: Data; Low: Command)
RST | GP12 | Reset pin, low active
BUSY | GP13 | Busy pin
How can i adapt those settings to e_spi?
Or will there be a future support?
Beta Was this translation helpful? Give feedback.
All reactions