
电子墨水屏非常适合偶尔变化的信息:房间读数、车间公告、设备标签或配送状态。它独特的优势也带来了一个界面挑战。当电子器件不再更新屏幕时,画面依然清晰可读,因此清晰的图像并不能证明信息是最新的。一个成功的项目需要两套设计协同工作:一是让工作时间尽可能少的电气设计,二是告诉读者所显示结果已经过时多久的信息设计。
确认完整的显示组件。面向 WeMos LoLin 开发板的 250 x 122 ePaper 扩展板就是一个具体例子,它采用 2.13 英寸显示屏和 IL3897 控制器。在选择软件之前,先核对自己拿到的版本。相近的屏幕尺寸并不等于控制器、分辨率或波形要求相同。「扩展板」这个词也不意味着每块开发板都能直接插上这个模块。
弄清楚哪些部分仍然通电。E Ink 对电子墨水的解释描述了由电场移动的粒子以及显示屏的双稳态特性。光学图像可以在不持续刷新的情况下保持,但控制板、稳压器、微控制器、传感器和无线电模块都是独立的负载。因此,「显示屏保持图像」和「整个项目几乎不耗电」是两种完全不同的说法。列出整个系统的各个工作阶段:唤醒、传感器转换、网络连接、数据传输、渲染、屏幕更新和休眠,并在预期的供电输入端对它们进行测量。
首先确定信息更新间隔。车间温度可能不需要每秒都刷新显示;会议室公告可能只在预订状态变化时才需要更新。不要把测量和显示混为一谈。控制器可以进行多次读数、剔除无效样本,并判断有意义的变化是否值得生成一幅新图像。
要把刷新模式看作与具体面板相关。全刷新可能会明显地闪过一些中间状态。局部刷新可以用更少的干扰更新受支持的区域,但它是否可用以及维护要求取决于面板、控制器和软件。如果残影加重,先检查预定的刷新时序和支持的模式。不要更改驱动电压,也不要照搬其他面板的波形表。
让陈旧信息一目了然。在空间允许的地方加上绝对更新时间戳,例如「更新于 14:20」。当设备处于休眠或故障状态时,「两分钟前」这样的标签保持不变,就会变得不正确。网络不可用时,清楚地标出最后一次已知结果以及最后一次成功更新的时间;传感器结果无效时,使用明确的不可用标记,而不是一个看似合理的默认数字。
使用完整的更新事务:获取数据、校验数据、格式化一整幅屏幕图像、按要求初始化显示屏、执行受支持的刷新,并在进入预期的低功耗状态之前等待刷新完成。一个无限等待的网络请求或屏幕忙循环会阻止设备进入休眠并耗尽电池。刷新仍在进行时,不要断开显示屏电源。
先估算能耗,再进行实测。假设某设备在五秒的更新期间平均电流为 80 mA,在十分钟周期的其余 595 秒内为 0.2 mA,那么按时间加权的平均值约为 0.865 mA。这个计算只是示例,既不是测量结果,也不是电池续航保证。要测量多次成功更新以及失败情况,并测试预期最长的休眠时长。
以读者的身份审视完成的设备。在正常光照下从预期距离阅读它,检查最小的字号时间戳和最长的标签,并确认在通信失败后旧数值仍然能被看出是旧的。最出色的项目会把受支持的刷新时序、实测的整机功耗,以及即使在电子器件休眠时也如实呈现信息的屏幕结合起来。
本文来源:https://pmdway.com/blogs/welcome/epaper-status-display-refresh-sleep-stale-data
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
E-paper is well suited to information that changes occasionally: a room reading, workshop notice, equipment label or delivery status. Its distinctive advantage also creates an interface challenge. A screen can remain readable when the electronics are no longer updating it, so a crisp image is not proof that the information is current. A successful project needs two designs working together: an electrical design that spends little time active, and an information design that tells the reader how old the displayed result is.
Identify the complete display assembly. The 250 x 122 ePaper shield for WeMos LoLin boards provides a concrete example, with a 2.13-inch display and IL3897 controller. Check the revision supplied before selecting software. A similar screen size does not establish an identical controller, resolution or waveform requirement. The word shield does not mean every development board can accept the module directly.
Understand what remains powered. E Ink's explanation of electronic ink describes particles moved by electric fields and the bistable behaviour of the display. The optical image can persist without continuous refresh, but the controller board, regulator, microcontroller, sensors and radio are separate loads. Therefore "the display holds an image" and "the complete project consumes almost no power" are different claims. List the whole system's operating phases: wake, sensor conversion, network connection, data transfer, rendering, screen update and sleep, and measure them at the intended supply input.
Choose the information update interval first. A workshop temperature might not need a new display every second; a meeting-room notice may only need updating when its booking changes. Do not confuse measuring with displaying. A controller can take several readings, reject invalid samples and decide whether a meaningful change warrants a new image.
Treat refresh modes as panel-specific. A full refresh may visibly flash through intermediate states. Partial refresh can update supported regions with less disruption, but its availability and maintenance requirements depend on the panel, controller and software. If ghosting increases, first check the intended refresh sequence and supported modes. Do not change drive voltages or borrow waveform tables from another panel.
Make stale information obvious. Include an absolute update timestamp where space allows, for example "Updated 14:20". A label saying "two minutes ago" becomes incorrect while a sleeping or failed device leaves it unchanged. For network unavailable, show the last known result clearly labelled plus the last successful update time; for invalid sensor result, use an explicit unavailable marker rather than a plausible default number.
Use a complete update transaction: acquire the data, validate it, format a complete screen image, initialise the display as required, perform the supported refresh and wait for completion before entering the intended low-power state. An indefinitely waiting network request or display-busy loop can prevent sleep and exhaust a battery. Do not remove display power while a refresh is still underway.
Estimate energy, then measure it. A hypothetical device averaging 80 mA during a five-second update and 0.2 mA during the remaining 595 seconds of a ten-minute cycle has a time-weighted average of about 0.865 mA. That arithmetic is only an example, not a measurement or battery-life guarantee. Measure repeated successful updates and failure cases, and test the longest expected sleep period.
Review the finished device as a reader. Read it from the intended distance under normal lighting, check the smallest timestamp and longest label, and confirm that an old value remains recognisably old after communications fail. The strongest project combines a supported refresh sequence, measured whole-device power and a screen that remains honest about its information even while the electronics sleep.
本文来源:https://pmdway.com/blogs/welcome/epaper-status-display-refresh-sleep-stale-data
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。