mirror of
https://github.com/pengwon/epd42.git
synced 2025-12-06 15:52:49 +08:00
Update README.md for EPD42 project details and links
This commit is contained in:
7
.vscode/settings.json
vendored
Normal file
7
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"spellright.language": [],
|
||||
"spellright.documentTypes": [
|
||||
"latex",
|
||||
"plaintext"
|
||||
]
|
||||
}
|
||||
22
README.md
22
README.md
@@ -1,12 +1,16 @@
|
||||
# EPD-nRF51
|
||||
# EPD42
|
||||
|
||||
4.2 寸电子墨水屏固件,带有一个[网页版上位机](https://tsl0922.github.io/EPD-nRF51/),可以通过蓝牙传输图像到墨水屏。
|
||||
[English](README_EN.md)
|
||||
|
||||
4.2 寸电子墨水屏固件,带有一个[网页版上位机](https://pengwon.github.io/epd42/),可以通过蓝牙传输图像到墨水屏。
|
||||
|
||||
理论上支持所有 nRF51 系列 MCU,内置 3 个微雪 4.2 寸墨水屏驱动(可切换),同时还支持自定义墨水屏到 MCU 的引脚映射,支持睡眠唤醒(NFC / 无线充电器)。
|
||||
|
||||
## 支持设备
|
||||
|
||||
- 老五 4.2 寸价签,黑白双色版本
|
||||
硬件是对电商平台上4.2寸墨水屏价签hack而来,可以[点此购买](https://item.taobao.com/item.htm?ft=t&id=874071462547),支持黑白双色和黑白红三色两种版本。
|
||||
|
||||
- 黑白双色版本
|
||||
|
||||
```
|
||||
MCU:nRF51822
|
||||
@@ -20,7 +24,7 @@
|
||||
|
||||

|
||||
|
||||
- 老五 4.2 寸价签,黑白红三色版本
|
||||
- 黑白红三色版本
|
||||
|
||||
```
|
||||
MCU:nRF51802
|
||||
@@ -39,17 +43,16 @@
|
||||
|
||||
## 上位机
|
||||
|
||||
地址:https://tsl0922.github.io/EPD-nRF51/
|
||||
地址:https://pengwon.github.io/epd42/
|
||||
|
||||

|
||||
|
||||
本项目自带一个基于浏览器蓝牙接口实现的网页版上位机,可通过上面网址访问,或者在本地直接双击打开 `html/index.html` 来使用。
|
||||
扫描上方二维码加入微信群,获取更多信息。
|
||||
|
||||
## 开发
|
||||
|
||||
> **注意:**
|
||||
> - 必须使用 [Keil 5.36](https://img.anfulai.cn/bbs/96992/MDK536.EXE) 或以下版本,nRF51 SDK 只支持 V5 版本的 ARM 编译器,从 5.37 版本开始 Keil 已经不再内置 V5 版本编译器。
|
||||
> - `sdk10` 分支为旧版 SDK 代码归档(不再维护),好处是蓝牙协议栈占用的空间小一些,对于小 ROM 芯片友好一点点。
|
||||
> - 必须使用 [Keil 5.36](https://img.anfulai.cn/bbs/96992/MDK536.EXE) 或以下版本,nRF51 SDK 只支持 V5 版本的 ARM 编译器,从 5.37 版本开始 Keil 已经不再内置 V5 版本编译器,需要手动安装。
|
||||
|
||||
项目配置有几个 `Target`:
|
||||
|
||||
@@ -69,5 +72,4 @@
|
||||
|
||||
## 致谢
|
||||
|
||||
- 屏幕驱动代码来自微雪 [E-Paper Shield](https://www.waveshare.net/wiki/E-Paper_Shield)
|
||||
- 网页版上位机代码来自 [atc1441/ATC_TLSR_Paper](https://github.com/atc1441/ATC_TLSR_Paper)
|
||||
- 本项目基于 [EPD-nRF51](https://github.com/tsl0922/EPD-nRF51) 分叉而来,感谢原作者的分享和贡献。
|
||||
|
||||
70
README_EN.md
Normal file
70
README_EN.md
Normal file
@@ -0,0 +1,70 @@
|
||||
# EPD42
|
||||
|
||||
[中文](README.md)
|
||||
|
||||
4.2 inch e-ink screen firmware with a [web-based upper computer](https://pengwon.github.io/epd42/) that can transfer images to the e-ink screen via Bluetooth.
|
||||
|
||||
Theoretically supports all nRF51 series MCUs, built-in 3 micro-snow 4.2 inch e-ink screen drivers (switchable), also supports custom e-ink screen to MCU pin mapping, supports sleep wake-up (NFC / wireless charger).
|
||||
|
||||
## Supported Devices
|
||||
|
||||
The hardware is hacked from a 4.2 inch e-ink price tag available on e-commerce platforms, you can [click here to buy](https://item.taobao.com/item.htm?ft=t&id=874071462547), supports both black and white dual-color and black, white, and red tri-color versions.
|
||||
|
||||
- Black and White Dual-Color Version
|
||||
|
||||
```
|
||||
MCU: nRF51822
|
||||
RAM: 16K
|
||||
ROM: 128K
|
||||
|
||||
Driver: UC8176 (EPD_4in2)
|
||||
Screen Pins: 0508090A0B0C0D
|
||||
Coil Pins: 07
|
||||
```
|
||||
|
||||

|
||||
|
||||
- Black, White, and Red Tri-Color Version
|
||||
|
||||
```
|
||||
MCU: nRF51802
|
||||
RAM: 16K
|
||||
ROM: 256K
|
||||
|
||||
Driver: UC8276C (EPD_4in2b_V2)
|
||||
Screen Pins: 0A0B0C0D0E0F10
|
||||
Coil Pins: 09
|
||||
LED Pins: 03/04/05 (three LEDs, any one can be used)
|
||||
```
|
||||
|
||||

|
||||
|
||||
The default driver and pin mapping are for the black and white dual-color version, other versions need to switch drivers and modify pin mapping.
|
||||
|
||||
## Upper Computer
|
||||
|
||||
Address: https://pengwon.github.io/epd42/
|
||||
|
||||

|
||||
|
||||
Scan the QR code above to join the WeChat group for more information.
|
||||
|
||||
## Compilation Targets
|
||||
|
||||
- `nRF51822_xxAB`: Used to compile nRF51822 firmware, with built-in black and white dual-color version configuration
|
||||
- `nRF51802_xxAA`: Used to compile nRF51802 firmware, with built-in black, white, and red tri-color version configuration
|
||||
- `flash_softdevice` Target: Used to flash the Bluetooth protocol stack (only needs to be flashed once)
|
||||
|
||||
You can use J-Link or DAPLink as the programmer (you can use [RTTView](https://github.com/XIVN1987/RTTView) to view RTT logs).
|
||||
|
||||
**Flashing Process:**
|
||||
|
||||
> If you do not modify the code, it is recommended to download the binary firmware from [Releases](https://github.com/tsl0922/EPD-nRF51/releases) for immediate use.
|
||||
|
||||
1. Erase all (if Keil cannot erase, try using the programmer's upper computer software to erase)
|
||||
2. Switch to the `flash_softdevice` Target corresponding to the MCU, **do not compile, just download** (only needs to be flashed once)
|
||||
3. Switch to the Target corresponding to the MCU, compile first, then download
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
- This project is forked from [EPD-nRF51](https://github.com/tsl0922/EPD-nRF51), thanks to the original author for sharing and contributing.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 454 KiB |
Reference in New Issue
Block a user