For a long while now I’ve had a weather/calendar/status display on the wall in my kitchen. Powered b

January 02, 2023

For a long while now I’ve had a weather/calendar/status display on the wall in my kitchen. Powered by a Raspberry Pi, it updates every few minutes. Recently I started thinking about extending the interface, adding a few buttons to choose which “page” might be active at any given time.

My hope was that I would be able to do a quick update to the display while the button “selection” UI was being interacted with. The term for this in the eInk/ePaper world is “partial update.”

After spending a lot of time researching and experimenting, I haven’t yet been successful, though I learned a lot in the process. At this point I need to pause my project, but I thought it might be worthwhile to jot down my notes thus far, in case they might be helpful to anyone else trying to do the same sort of thing.


Last Updated January 2023

My Display

I have a 7.5” ePaper display (Black/White, 800x480) and board from Waveshare. The Spec Doc (PDF) is available on their site.

Most of the displays that Waveshare sells seem to be manufactured by Good Displays, then Waveshare builds some boards and code, and sells/distributes.

The Code

Waveshare provides demo code and documentation for this display (and their other displays) on wiki on their website.

My status display uses some Ruby libraries to generate a BMP image, which is then transferred as-is to the display every few minutes.

How These Displays Work

This video by Applied Sciences on YouTube is a great place to start in understanding how these displays work, and how they can be manipulated.

The fundamental principle to understand is that the display uses pulses of AC power to create a charge differential that pulls the white/black capsules to different sides of the silos they float in. The pulses are necessary because applying a constant DC voltage would induce a charge in the structure of the display itself, and further refreshes would not be possible anymore. So these waveforms must be effective both in moving the ink capsules, as well as avoiding unnecessary charge inducement. To some extend these waveforms are a “secret sauce” of good display drivers (and, from what I can tell at least, a good part of the reason that Kindle displays seem so far ahead of the rest of the eInk world — they’re using complicated, probably very high frequency updates, maybe driven by hardware of a higher complexity than these other hobbyist boards; I’d love to know more).

Partial/Fast Updates

Most of these displays can be manipulated in such a way that you can update only a subsection of the display, at a higher rate than is possible when refreshing all the pixels at once. (See Waveshare sample code for some examples on some of their smaller displays).

Custom LUTs

When a screen refresh is performed, the display executes a series of AC pulses based on stored waveform data. The waveforms vary depending on the pixel transition. White -> White, White -> Black, Black -> White, etc. can all have different waveforms in use.

The Waveshare boards support overriding the waveforms with custom LookUp Tables (LUTs). The format is complicated, but you can find documentation in their spec docs; the Applied Sciences video is another good reference for these.

GxEPD

ZinggJM has some custom code supporting many, many panels; many of these have custom LUTs for doing fast/partial updates. It’s worth digging into those for examples of how LUTs work; or, if you’re satisfied, just use his code to drive your display(s).

Other Resources

This huge thread in the Arduino forums has a ton of little gems and tidbits about using these displays.

This is another fast-update project with code that might be helpful.

This is the code that Ben Krasnow (Applied Sciences) shared in his video.

Ben’s eInk article with many great links


Source: [Katie Mansfield / @

January 02, 2023

Source: Katie Mansfield / @
tragicgirlsco
.


I'm a sucker for stuff like this.

January 02, 2023

I’m a sucker for stuff like this.


<div class="image">

December 28, 2022

Backlit clouds are illuminated by the afternoon sun, as misty clouds obscure the top of a snowy, tree-covered canyonside.
Backlit clouds are illuminated by the afternoon sun, as misty clouds obscure the top of a snowy, tree-covered canyonside.
Date Taken
December 28, 2022
Camera
SONY ILCE-7RM4A
Lens
FE 35mm F1.8
Focal Length
35.0 mm
Shutter Speed
1/2500
Aperture
f/9.0
ISO
100
Keywords
Landscape, Mountains, Snow, Winter

<img src="https://cdn.micro.blog/books/9781984878427/cover.jpg" align="left" class="microblogbook" s

December 27, 2022

Currently reading: Breaking Bread with the Dead by Alan Jacobs 📚


<img src="https://cdn.micro.blog/books/9781982168445/cover.jpg" align="left" class="microblogbook" s

December 27, 2022

Currently reading: Cloud Cuckoo Land by Anthony Doerr 📚


These are my notes to myself for adjusting the Z Offset for the BLTouch for my Ender 3V2 Printer.

December 26, 2022

These are my notes to myself for adjusting the Z Offset for the BLTouch for my Ender 3V2 Printer.

I’m running OctoPrint and Klipper Firmware.

  1. Let the bed cool to room temperature.
  2. Get out a sheet of paper.
  3. G28
  4. G90 — Switch to absolute position mode.
  5. G1 Z3 — Move down to z +3mm.
  6. Verify that we aren’t about to hit the bed.
  7. Now, keep moving down (G1 Z2 etc.) until the get to the depth where the paper test passes.
  8. Set the BLTouch offset to current_bltouch_z_offset - current_z_position — So if our absolute Z position goes below zero, we want to add that difference to the existing offset.
  9. Set that value in printer.cfg and save it.
  10. restart
  11. Repeat again, until Z0 is at the right position.
  12. Do a test print to confirm.
  13. Once the depth seems right, you probably want to do a BED_MESH_CALIBRATE again.

Speaking of eBooks, if you aren't familiar with Standard Ebooks, check it out! Free, high quality eB

December 23, 2022

Speaking of eBooks, if you aren’t familiar with Standard Ebooks, check it out! Free, high quality eBooks (in all formats) of classic out-of-copyright texts. Not a bad place for an end of year donation, either.


I feel so torn about eBooks sometimes. I absolutely love my Kindle — it's one of my favorite things.

December 23, 2022

I feel so torn about eBooks sometimes. I absolutely love my Kindle — it’s one of my favorite things. I love how small and portable it is, and I love having so many books always available, and I love how easy it is to find and get new books.

On the other hand I love physical books, especially used books. And I love being able to look at a real bookshelf and consider what I might want to read.

I want more analog experiences in my life, but alas, I just can’t get away from my Kindle. Though, the Kindle might be the most analog-esque digital device I own. Interesting.


Finally got my old bookshelf speakers out of a box in the garage and set them up in my bedroom. I sh

December 23, 2022

Finally got my old bookshelf speakers out of a box in the garage and set them up in my bedroom. I should have done this a long time ago!


<div class="image">

December 20, 2022

Alpenglow illuminates Unicorn Peak just before sunset in Yosemite National Park, California.
Alpenglow illuminates Unicorn Peak just before sunset in Yosemite National Park, California.
Date Taken
October 04, 2022
Camera
SONY ILCE-7RM4A
Lens
FE 85mm F1.8
Focal Length
85.0 mm
Shutter Speed
1/20
Aperture
f/9.0
ISO
100
Keywords
Alpenglow, Landscape, Mountains, Sunset

I got the first generation of AirPods Pro shortly after they came out, and I've loved them. They're

December 19, 2022

I got the first generation of AirPods Pro shortly after they came out, and I’ve loved them. They’re super small and portable, and while the noise cancelling isn’t quite up to the level of my Bose QC 35s, they are so light and easy to transport that I often grab them instead.

Unfortunately, my pair have been subject to the crackle of doom for a while now, and over the last few weeks it’s gotten noticibly worse.

It being Christmas time, I opted to get myself a little gift, and bought the second generation AirPods Pro — and they’re really great!

The noise cancellation in these is so good it feels like magic. The first generation ANC was great, especially for something so small. But it’s blown away by the new AirPods. I can have my music paused in the gym and it feels nearly silent. They’re amazing.

The new volume gesture on the “stick” is almost worth the upgrade on its own. I was always annoyed to have to reach for my phone to adjust the volume, but I didn’t realize just how often I was doing that until I had an alternative. The gesture feels natural, it works every time, and it really makes the experience of wearing the AirPods feel better.

The next big test will be wearing them during a flight. Typcially, I travel with my bulky QC 35s beacuse the quieting is so good, but with these new AirPods I think I can get away with leaving them at home.

All in all, this has been a really great upgrade! Highly recommended.