Close

Getting the Code Ready to Post...

A project log for PaperBack: A Desktop EPaper Monitor

EPaper monitor driven by either VGA or an Internet Connected ESP32.

pkPK 06/10/2017 at 18:200 Comments

I'm not sure how useful it'll be to you all, but I'm cleaning up and commenting my code before I post.

I'm using the Arduino Core for the ESP32 and the standard signal names for these ePaper displays - so even though the boards aren't working, maybe you can borrow my timings or look at how I'm driving the screen. As I promised, I'll spin up another board - but since I have two more days and an ESP32 I'll be working mainly on Internet features this weekend.

Also, I'm adding greyscale support to the display, using a similar method to NekoCal's. I use progressively greater number of refresh cycles to change the brightness of an area. I'm experimenting with 16-grays or 4-bit color and it doesn't look so bad right now.

Once I lock that in I'll post.

Here are my current timings so you'll know if I made progress when the code goes up:

4 output cycles coming!

// The next one is a clearscreen
Took 1327 ms to redraw the screen.
Did anything happen?  Adding one and trying again.
4 output cycles coming!

// The next one is drawing a picture.
Took 6351 ms to redraw the screen.
Did anything happen?  Adding one and trying again.

And what am I drawing in those 6.3 seconds? E-Paperception, of course!

Okay, more soon - and more speed. Stay tuned.

Discussions