Skip to content

Commit afa5437

Browse files
committed
feat(keyboard): release v0.3.0 (check changelog in readme)
1 parent 66a300c commit afa5437

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

examples/keyboard/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The ESP-KeyBoard project is a keyboard project using the ESP32-S3, supporting N-
88
* Supports low-power key scanning
99
* Supports USB 1K report rate
1010
* Supports BLE 125Hz report rate
11+
* Supports BLE battery level reporting
1112
* Supports local lighting control with over 40 types
1213
* Supports `Windows 11` dynamic lighting control
1314

@@ -78,6 +79,11 @@ Note: keyboard_rgb_martix comes from the **QMK** project. Due to the use of the
7879

7980
### Change LOG
8081

82+
* v0.3.0 - 2025-08-04
83+
84+
* Added BLE battery level reporting with ADC-based battery monitoring.
85+
* Improved battery capacity estimation using resistor voltage divider circuit.
86+
8187
* v0.2.2 - 2024-11-21
8288

8389
* Added support for waking up a PC from sleep mode (remote wakeup).

examples/keyboard/README_cn.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ESP-KeyBoard 项目是使用 ESP32-S3 的键盘项目,支持全键无冲,USB
88
* 支持按键扫描低功耗
99
* 支持 USB 1K 回报率
1010
* 支持 BLE 125hz 回报率
11+
* 支持 BLE 电池电量报告
1112
* 支持本地灯效控制 40+ 种
1213
* 支持 `Windows 11` 动态灯效控制
1314

@@ -78,6 +79,11 @@ Note: keyboard_rgb_martix 来自 **QMK** 工程,由于使用 GPL 协议,如
7879

7980
#### Change LOG
8081

82+
* v0.3.0 - 2025-8-4
83+
84+
* 增加了基于 ADC 的 BLE 电池电量监控和报告功能
85+
* 改进了使用电阻分压电路的电池容量估算
86+
8187
* v0.2.2 - 2024-11-21
8288

8389
* 支持唤醒睡眠状态下的 PC (remote wakeup)

examples/keyboard/main/battery_adc.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,11 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <driver/adc.h>
8-
9-
#include "battery_adc.h"
10-
11-
#include "ble_hid.h"
127
#include <esp_log.h>
138
#include <esp_adc/adc_oneshot.h>
14-
9+
#include "ble_hid.h"
1510
#include "bsp/esp-bsp.h"
11+
#include "battery_adc.h"
1612
#include "adc_battery_estimation.h"
1713

1814
static const char *TAG = "BATTERY-ADC";

examples/keyboard/main/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.2.2
1+
version: 0.3.0
22
dependencies:
33
idf: '>=5.2'
44
espressif/tinyusb:

0 commit comments

Comments
 (0)