不再反复打印席卡,我用 ESP32 和墨水屏做了一块电子席卡Tired of re-printing seat cards? I built an electronic version with ESP32 and an e-ink display.


AI free token/AI免费积分

本文来源:https://mp.weixin.qq.com/s/jTr60g9ZX02ET8wCBaD7eQ
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

在日常会议和培训中,席卡人们都很熟悉。

每次来了不同的专家或嘉宾,笔者都要重新排版、打印、裁切,再把纸张装进席卡。人数一多,这项工作不仅费时间,也容易因为临时调整而返工。

于是我产生了一个想法:能不能做一块电子席卡?以后只需要在手机或电脑上修改姓名和内容,就不用每次重新制作纸质席卡了。

沿着这个想法,我完成了这次分享的项目——一块基于 ESP32 和 7.5 英寸三色墨水屏的电子席卡。

为什么挑选墨水屏?

这次使用的是一块 7.5 英寸黑、白、红三色墨水屏,分辨率为 640×384,驱动 IC 为 UC8159。

墨水屏格外合适席卡这类不需要频繁变化的内容。它最大的特征是:画面刷新完成后,即使显示屏不再持续供电,表明内容仍然可以保留。

当网页提示“表明完成”后,墨水屏驱动会进入休眠。保持当前画面不需要持续刷新,因而格外省电。需要说明的是,ESP32、热点和电源模块在开机状态下仍会有一定耗电。

另外,墨水屏没有普通液晶屏那种持续发光的感觉,在会议桌面上看起来更接近纸张,长时间摆放也比较自然,拍照不会浮现频闪条纹。

手机连接后就能设置

项目使用 ESP32 作为主控。打开设备电源后,ESP32 会自动建立一个以 EINK- 开头的 Wi-Fi 热点。

每块 ESP32 都会依据自身芯片编号生成不同的热点名称,例如:

这样在同一个会场放置多台电子席卡时,也不会因为热点重名而连接错设备。

使用步骤很简单:

整个过程不需要连接互联网,也不需要额外安装 App,只要设备带有浏览器就可以操作。

不只是表明一行姓名

进入后台管理页面后,可以添加任意多行文字。每一行都可以单独设置:

文字会自动水平居中,也可以使用“均匀排列”快速完成多行布局。

除了文字,后台还兼容上传 JPG、PNG、WebP、GIF 等图片,可以设置完整表明、铺满裁切或拉伸,也可以调整图片透明度,在图片上继续叠加文字。

背景同样可以设置为黑色、白色或红色。

锁住格式,只修改名字

为了让后续操作更方便,我给每一行文字加入了三种状态:

不锁定:文字和所有格式都可以修改。

锁格式:固定字号、位置、颜色、字间距和字重,只允许修改文字内容。

锁全部:文字和格式全部固定。

例如,第一行始终表明单位或会议名称,就可以使用“锁全部”;第二行需要不断更换专家姓名,就可以使用“锁格式”。制作下一张席卡时,只改名字,不用重新调整大小、位置和颜色。

锁定内容会保存在 ESP32 中,即使刷新网页、换一部手机或者设备重新启动,仍然可以恢复。

保存思路,主持人也能切换

后台最多可以保存 10 个命名思路。例如,可以提前保存:

需要切换时,可以直接在网页思路列表中点击“表明”,也可以点击“上一个”或“下一个”。

设备上还设置了两个三线按钮模块:

两个按钮模块都由 ESP32 的 3.3V 供电:VCC 接 3.3V,GND 接 ESP32 的 GND,两个模块的 OUT 分别接 GPIO13 和 GPIO14。

这样即使工艺人员不在现场,主持人也可以直接按按钮切换内容,不需要重新进入后台设置。

使用锂电池,方便携带

为了方便在会议室、培训现场和临时活动中使用,这个项目使用一节 18650 锂电池供电,并配有带 Type-C 接口、兼容 5V 输出的锂电池充放电模块。

电量不足时,可以借助 Type-C 接口充电,也可以直接更换一节已经充好的 18650 电池,使用起来比较灵活。

外壳使用 3D 打印制作,把墨水屏、驱动板、ESP32、电池和充放电模块整合在一起。

项目接线图

接线时需要特别注意:充放电模块的 5V 输出接 ESP32 的 5V/VIN,墨水屏驱动模块只能使用 3.3V,所有模块必须共地,不能把 5V 直接接到墨水屏驱动板的 3.3V 引脚。

不再反复打印席卡,我用 ESP32 和墨水屏做了一块电子席卡

主要硬件

开源资料

程序、网页源码和 3D 打印文件:

https://gitee.com/zhoutao10086/electronic-pass

写在最后

这块电子席卡的出发点很简单:应对工作中反复制作纸质席卡这个小难题。

它不需要复杂的网络环境,也不需要专门的软件。打开设备,用手机连接热点,修改内容并刷新即可。提前保存好思路后,还可以借助实体按钮直接切换。

如果你在工作中也经常需要组织会议、培训或接待活动,希望这个项目能给你给出一点新的思路。

当然,这个项目只是给出了一种基础达成,人们完全可以按照自己的需要继续改造。表明内容不一定只是专家姓名,也可以改成会议日程、教室门牌、活动指引、价签、值班信息或欢迎标语。

两个按钮的能力也不必局限于“上一个”和“下一个”,可以改成一键刷新、切换页面、清空显示屏、进入休眠,或者执行其他常用操作。你还可以修改网页界面、增加更多表明思路,重新外观外壳和供电方式。

硬件只是工具,真正有趣的是把它变成合适自己的作品。欢迎人们发挥创意,做出属于自己的电子墨水屏应用。

Source: https://mp.weixin.qq.com/s/jTr60g9ZX02ET8wCBaD7eQ If you have copyright concerns, please contact us via email: 13951431913#139.com or submit a comment on the right.

In daily meetings and training sessions, people are very familiar with name cards.

Every time different experts or guests arrive, I have to re-layout, print, and cut paper, then insert it into the name card holders. When there are many people, this process is not only time-consuming but also prone to errors from last-minute changes, requiring rework.

So I thought, "What if I could create an electronic name card? In the future, I would only need to change the name and content on my phone or computer without re-making paper cards every time."

With this idea, I completed the project I'm sharing today — an electronic name card based on ESP32 and a 7.5-inch tri-color e-ink display.

Why Choose E-ink Display?

I used a 7.5-inch black, white, and red tri-color e-ink display with a resolution of 640×384, driven by IC UC8159.

E-ink is particularly well-suited for name cards because the content doesn't need to change frequently. Its biggest feature is that once the image is refreshed, the display retains the content even without continuous power supply.

After the webpage indicates "refresh complete", the e-ink driver enters sleep mode. There is no need to continuously refresh the current image, making it very energy-efficient. It's important to note that the ESP32, hotspot, and power modules will still consume some electricity when turned on.

Additionally, e-ink displays lack the constant glow of LCD screens, appearing more like paper on a conference table, which looks natural even after long periods and doesn't show flicker in photos.

Set Up via Phone Connection

The project uses ESP32 as the main controller. When the device is powered on, the ESP32 automatically creates a Wi-Fi hotspot with a name starting with "EINK-".

Each ESP32 generates a unique hotspot name based on its chip number, such as:

This ensures that even with multiple electronic name cards in the same room, you won't accidentally connect to the wrong device due to duplicate hotspot names.

The usage steps are very simple:

The entire process does not require an internet connection or the installation of any additional apps; you only need a device with a browser.

More than Just a Single Name Line

After entering the backend management page, you can add multiple lines of text. Each line can be individually customized:

The text is automatically centered, and you can use the "uniform spacing" feature for quick multi-line layouts.

In addition to text, the backend supports uploading JPG, PNG, WebP, GIF, and other image formats. You can set these to fill the entire screen, crop, or stretch, adjust image transparency, and overlay text on top of images.

The background can also be set to black, white, or red.

Lock the Format, Only Change the Name

To make subsequent operations easier, I introduced three states for each text line:

Unlocked: Both text and all formats can be modified.

Lock Format: Font size, position, color, spacing, and weight are fixed; only the text content can be changed.

Lock All: Both text and format are fully locked.

For example, the first line (always showing the unit or meeting name) can use "Lock All", while the second line (frequently changing expert names) can use "Lock Format". This way, when creating a new card, you only need to change the name without re-adjusting size, position, or color.

Locked content is saved in the ESP32, so it persists even after refreshing the page, switching phones, or restarting the device.

Save Presets — Moderators Can Switch Instantly

The backend can save up to 10 named presets. For example, you can pre-save:

When you need to switch, you can click "Display" directly from the preset list in the webpage, or use the "Previous" and "Next" buttons.

Two physical pushbutton modules are also installed on the device:

Both button modules are powered by the ESP32's 3.3V: VCC connects to 3.3V, GND to ESP32 GND, and each OUT pin connects to GPIO13 and GPIO14 respectively.

This means that even if the technical staff is not present, the moderator can switch content instantly by pressing the buttons without re-entering the backend settings.

Portable with Lithium Battery

For convenience in meeting rooms, training venues, and temporary events, the device is powered by a 18650 lithium battery and features a Type-C-compatible 5V output charging and discharging module.

When the battery is low, you can charge via the Type-C port or replace the 18650 battery directly — offering flexible usage options.

The enclosure is 3D-printed, integrating the e-ink display, drive board, ESP32, battery, and charging module into one unit.

Project Wiring Diagram

Important note during wiring: The 5V output from the charging module connects to the ESP32's 5V/VIN pin, while the e-ink drive module must be powered by 3.3V. All modules must share a common ground; do not connect 5V directly to the drive board's 3.3V pin.

Tired of re-printing seat cards? I built an electronic version with ESP32 and an e-ink display.

Main Hardware

Open Source Resources

Program, web source code, and 3D print files available at:

https://gitee.com/zhoutao10086/electronic-pass

Final Thoughts

The purpose of this electronic name card is simple: to solve the hassle of repeatedly making paper name cards for work.

It doesn't require a complex network environment or dedicated software. Turn on the device, connect to the hotspot via phone, modify the content, and refresh — that's it. Once presets are saved, buttons can be used for instant switching.

If you frequently organize meetings, training sessions, or events, this project may offer a new solution for you.

Of course, this is just a basic implementation — people are welcome to customize it further. The displayed content doesn't have to be just expert names; it could be meeting agendas, classroom placards, event guides, price tags, duty rosters, or welcome messages.

The two buttons don't need to be limited to "Previous" and "Next"; they could serve as one-touch refresh, page toggle, clear screen, enter sleep mode, or execute other common actions. You can also modify the web interface, add more presets, redesign the enclosure, or adjust the power supply — the possibilities are endless.

Hardware is just a tool; the fun lies in transforming it into something that fits your needs. I encourage everyone to use their creativity to build their own e-ink display applications.

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry