DEV Community

loading...

Discussion on: Getting started with the Waveshare 2.7" ePaper HAT on Raspberry Pi

Collapse
sergeantpol profile image
sergeantpol

Hello,
I have wired 2.7inch e-Paper HAT to my Raspberry pi Zero W as it says here: waveshare.com/wiki/2.7inch_e-Paper... .
And is actually working.
I just wanted to ask if I can enable-activate the buttons without attaching it on my Rpi board but somehow wiring them with my Rpi board.
Best regards and thanks for your contribution
Kostas

Collapse
ranewallin profile image
Rane Wallin Author

I believe what you need for that is jumper. adafruit.com/product/1951

Collapse
sergeantpol profile image
sergeantpol

Yeah but which pins and which holes should i connect in order to use the buttons?

Thread Thread
ranewallin profile image
Rane Wallin Author

Oh, 5, 6, 13, 19. You start counting at the top left and then down and around in a U shape form

Thread Thread
sergeantpol profile image
sergeantpol • Edited

Yeah thanks! It's working but I have actually one more question.
When I am running your program when should I press the buttons because on the terminal it appears the image below dev-to-uploads.s3.amazonaws.com/i/...

Thread Thread
sergeantpol profile image
sergeantpol

and when the running ends there is nothing I can do...
Thank you, you are already so helpful!!!

Thread Thread
ranewallin profile image
Rane Wallin Author

It looks like it may be crashing. It prints "Clear..." when it's clearing the buffer. At that point the screen should start flashing. Do you have an ide you can run it where you might see more information? I think I used a Thonny.

Thread Thread
sergeantpol profile image
Thread Thread
ranewallin profile image
Rane Wallin Author

Did the screen flash?

Thread Thread
sergeantpol profile image
sergeantpol

yes, according to
epd.init() # initialize the display
print("Clear...") # print message to console
epd.Clear(0xFF)

Thread Thread
ranewallin profile image
Rane Wallin Author

So the eink display flashes? After it clears the display it should put a message to the console. That message comes from the drivers. If that's not happening, check the waveshare repo to see if they have a new version.