i bought an E-ink Display from Wafeshare after Playin with my 16x2 LCD
but it doesnt work at all.
// This #include statement was automatically added by the Particle IDE.
#include <Adafruit_GFX.h>
#include <PL_microEPD.h>
#define EPD_RST A1
#define EPD_BUSY A0
#define EPD_CS A3
PL_microEPD display(EPD_CS, EPD_RST, EPD_BUSY);
void setup()
{
SPI.begin(); // SPI-Bus initialisation
SPI.setBitOrder(MSBFIRST);
SPI.setDataMode(SPI_MODE0);
SPI.setClockDivider(SPI_CLOCK_DIV4);
display.begin(); // Paperino ePaper initialisation and refresh screen
display.println("Hello World!");// Write message into memory buffer
display.update(); // Trigger a full image update
}
void loop()
{
}
i doubt the 3-Way SPI is configured correctly.
Pls help
ScruffR
September 16, 2017, 6:19am
2
Is that library even meant for WaveShare modules?
Posting a link for the exact hardware you use would be a habit to develop
There are UART modules and SPI modules - which one do you have?
2 Likes
RobP
September 16, 2017, 7:17am
3
PL_microEPD
supports 1.1" ePaper displays from Plastic Logic but no Waveshare EPD modules.
For driving the 4.3" waveshare ePaper with a Photon this link might be useful: Arduino E-Paper Display Library Port
3 Likes
Particle Photon and a 200x200 Wafeshare E-ink Display
/Edit @RobP but the Shared App Links in the other post dont work anymore
AND how do i get the Library in the Online Particle Build Thingy ?
ScruffR
September 24, 2017, 11:02am
5
@redinvader , have you got the display working yet?
I just received my Waveshare 2.9" Module B and got it to work right out the box with the code provided by Waveshare .
Just for esthetics I've slightly reworked the library to support alternative HW SPI interfaces (a SW SPI may be following)
Do you see how one can supply useful links to the actual hardware and code?
I guess yours is this
https://www.waveshare.com/wiki/1.54inch_e-Paper_Module
and the code is here
1 Like
RWB
September 24, 2017, 4:35pm
6
Wow, this the first I have seen E ink displays with multiple colors in multiple sizes for reasonable pricing.
So does anything special need to be done to display bitmap images?
1 Like
ScruffR
September 24, 2017, 4:38pm
7
Depends what you consider "special"
send the bitmap for the dark areas
send the bitmap for the red areas
tell the display to refresh
done
RWB
September 24, 2017, 4:40pm
8
Just wondering if all it takes is a bitmap array the same as the Adafruit OLED displays to display bmp images in RED or Black. I guess looking at the code would tell me.
Does the refresh time really take 8 seconds?
ScruffR
September 24, 2017, 4:45pm
9
Yup, the contrast seems to be gradually increased by multiple refresh cycles (all handled by the display itself after one refresh command).
RWB
September 24, 2017, 4:47pm
10
Cool.
Upload a video if you’re up to the task. E ink is an interesting technology.
ScruffR
September 24, 2017, 5:01pm
11
What's that supposed to mean
1 Like
RWB
September 24, 2017, 5:14pm
12
Just wasn’t sure if you wanted to do the whole Youtube upload process.
Thanks for the video, gives people a clear understanding of what the refresh process looks like.
If you need quicker refresh updates then the Sharp Memory LCD’s are the next step up for an ultra-low always ON display solution.
These e-ink displays are certainly reasonably priced.
1 Like
RWB
September 25, 2017, 5:35am
13
1 Like
RWB
September 29, 2017, 1:25am
14
And another Waveshare Eink display project:
For our Northern Hemisphere readers the chill winds of winter are fast approaching, so it seems appropriate to feature a weather station project. Enjoy your summer, Southern readers! [Fandonov] has…
2 Likes
ScruffR
September 29, 2017, 6:01am
15
I guess @redinvader has lost interest
RWB
October 31, 2017, 6:57pm
16
@ScruffR @peekay123
Thought you may find this interesting about the Wave Share Modules being refreshed quickly.
3 Likes
@ScruffR Can you provide some code and connection for the pins?
ScruffR
November 5, 2017, 3:21pm
18
Have you tried the samples in the library?
https://build.particle.io/libs/WaveshareEPaper29b/0.0.1/tab/example/EPaper29b.ino
The wiring is straight forward
// HW SPI
// CLK A3;
// DIN A5
// rest custom
const int pRESET = A0;
const int pDC = A1;
const int pCS = A2;
const int pBUSY = D7;
Epd epd(SPI, pCS, pDC, pRESET, pBUSY);
Update:
@krister.johansson , has this helped? Would be nice to respond when you get help from the community.
Update2;
How I like that, people asking for help but not bothering to respond when the got the solution presented
1 Like
Hi guys,
I just received my 1.54" waveshare display and I am trying to set it up. It seems that this link doesn’t work anymore (https://build.particle.io/libs/WaveshareEPaper29b/0.0.1/tab/example/EPaper29b.ino ).
Reading this thread I am not sure if someone managed to use this device or should I start from scratch. I tried downloading the Arduino code from Waveshare but couldn’t (yet) adapt it to work with the photon.
Thank you!
ScruffR
February 3, 2018, 9:45am
20
Doh' I never published the library - silly me, but you were the first to point this out, thanks
Try now.
It's not the 1.54 but in this post you can see a video of my 2.9b running
What’s that supposed to mean
For that I didn't have to really change anything to make it work although I considerably decluttered and (IMO) streamlined for my own "esthetic sanity".
The stock lib was unfortunately not written very portable for different screen sizes and aspect ratios, hence you may need to just grab that to build upon.
What issues are you having?
2 Likes