Fix PIR input: float GPIO (no pull-down) and log raw level changes.

Internal pull-down could hold OUT low; default idle=LOW/active=HIGH and prefer 5V VCC.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-23 14:54:06 +08:00
parent a7854de87b
commit 6226f0dbc2
4 changed files with 50 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
name: CYD Human IR / PIR (cyd)
git: bab93d0
git: a7854de
date: 2026-10-23
board: ESP32-2432S028R (ILI9341)
features: SoftSPI touch, LVGL, PIR OUT on GPIO22 motion count+1
@@ -12,5 +12,5 @@ offsets:
sha256:
bootloader.bin 3D234A7471F67B013686DABD4DEE7C1FA915C9928463616A94BC9297ACF1ABF8
boot_app0.bin F94C5D786A7A8FAB06AC5D10E33BF37711A6697636DC037559EA19CC410A17F0
firmware.bin 67228A24CE3DBED1C9CBA1AD811DB016AE7F9D12470E0DAD8E329004DC593F7B
firmware.bin CA8FBB88050BC2284EFDDBF3ECC711A6539D4F3829994017812A30C0E2E6B057
partitions.bin 148B959CBFF1C38AA8E1D5C0BA9D612C54997B945E56A63F41223EEF650653A1

Binary file not shown.