Document verified SR505/mini PIR wiring on GPIO22 at 3.3V.

README/meta/pins note small module + 3.3V works; refresh firmware package.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-23 15:05:15 +08:00
parent 6226f0dbc2
commit db3f7d5f95
8 changed files with 19 additions and 16 deletions

View File

@@ -3,7 +3,7 @@
目录:[`cyd/`](cyd/)
板子:**CYD ESP32-2432S028R**(ILI9341)
功能:人体红外 PIR(GPIO22)计数 + SoftSPI 触控 + LVGL(同 tftest / btntest)
功能:小型人体红外 SR505/mini SR501(GPIO22、3.3V)计数 + SoftSPI 触控 + LVGL
## 刷写

View File

@@ -1,8 +1,8 @@
name: CYD Human IR / PIR (cyd)
git: a7854de
git: 6226f0d
date: 2026-10-23
board: ESP32-2432S028R (ILI9341)
features: SoftSPI touch, LVGL, PIR OUT on GPIO22 motion count+1
features: SoftSPI touch, LVGL, SR505/mini PIR OUT GPIO22 @3.3V motion count+1
flash_size: 4MB
offsets:
0x1000 bootloader.bin
@@ -12,5 +12,5 @@ offsets:
sha256:
bootloader.bin 3D234A7471F67B013686DABD4DEE7C1FA915C9928463616A94BC9297ACF1ABF8
boot_app0.bin F94C5D786A7A8FAB06AC5D10E33BF37711A6697636DC037559EA19CC410A17F0
firmware.bin CA8FBB88050BC2284EFDDBF3ECC711A6539D4F3829994017812A30C0E2E6B057
firmware.bin A870E56D4391E361A9FF6F73AA522D6ED2826937AE2565B50A9F5AA9D36D37CA
partitions.bin 148B959CBFF1C38AA8E1D5C0BA9D612C54997B945E56A63F41223EEF650653A1

Binary file not shown.

View File

@@ -1,7 +1,7 @@
{
"boardId": "esp32-2432s028",
"name": "CYD Human IR",
"summary": "PIR human infrared module on GPIO22: each motion start increments count",
"description": "SoftSPI touch + LVGL. VCC/GND/OUT->GPIO22. Auto polarity. Motion edge +1, hold bar, touch Reset clears.",
"tags": ["pir", "human-infrared", "gpio22", "touch", "lvgl", "counter"]
"summary": "Small PIR (SR505/mini SR501) on GPIO22 @ 3.3V: motion-start count +1",
"description": "SoftSPI touch + LVGL. VCC 3.3V / GND / OUT->GPIO22. Float INPUT, idle LOW active HIGH. Motion edge +1, hold bar, Reset clears.",
"tags": ["pir", "sr505", "human-infrared", "gpio22", "3.3v", "touch", "lvgl", "counter"]
}

View File

@@ -41,7 +41,7 @@ $lines = @(
"git: $git",
"date: $date",
"board: ESP32-2432S028R (ILI9341)",
"features: SoftSPI touch, LVGL, PIR OUT on GPIO22 motion count+1",
"features: SoftSPI touch, LVGL, SR505/mini PIR OUT GPIO22 @3.3V motion count+1",
"flash_size: 4MB",
"offsets:",
" 0x1000 bootloader.bin",