{"schema_version":1,"id":"dishadometi-ai-squirrel-detection-esp32","name":{"en":"Squirrel Watch","zh":"用 ESP32-S3 摄像头和 Edge Impulse 识别并记录访客松鼠。"},"summary":{"en":"AI-powered squirrel detection system using ESP32-S3 CAM, Edge Impulse, and Arduino Mega.","zh":"用 ESP32-S3 摄像头和 Edge Impulse 识别并记录访客松鼠。"},"purpose":"squirrel detector","tier":"community","author":"dishadometi","repository":"https://github.com/dishadometi/AI-Squirrel-Detection-ESP32","license":"BSD-3-Clause","shape":"square","scenes":["ai"],"boards":[{"name":"ESP32-S3"}],"motion":false,"hardware":{"en":"ESP32-S3. Verify the exact board revision, wiring and power requirements in the upstream build guide.","zh":"ESP32-S3；请在上游构建文档中核对具体板型、供电与接线。"},"notes":{"en":"Two microcontrollers split the job: an ESP32-S3 CAM takes the picture and runs an Edge Impulse model, then raises GPIO1 when the `squirrel` class passes 0.50. That 3.3 V signal crosses a SparkFun BOB-12009 level converter into digital pin 7 of an Arduino Mega 2560, which lights a red LED for a squirrel or a green one for none. The model was trained on 140 images, and Edge Impulse reported 65.2% validation and 81.5% test-set accuracy; lighting, distance, background and camera angle can change that. Both firmwares are single `.ino` sketches, one per board.","zh":"两块单片机分工：ESP32-S3 CAM 拍照并跑 Edge Impulse 训练的分类模型，判成 squirrel 且置信度超过 0.50 就把 GPIO1 拉高；这个 3.3V 信号经 SparkFun BOB-12009 电平转换送到 Arduino Mega 2560 的第 7 脚，Mega 再点亮红灯，没有松鼠就亮绿灯。数据集只有 140 张图，Edge Impulse 给出的验证准确率是 65.2%，测试集是 81.5%，光照、距离、背景和机位都会影响实际表现。两块板的固件各是一个 .ino：ESP32 一份、Mega 一份。调试时踩过悬浮输入乱跳和 ESP-NN 库编译不过的坑。目前只是工作原型，后续想扩充数据集、去户外拿真松鼠测，再加个防雨外壳。"},"readme_excerpts":[{"label":"Feature","quote":"detection threshold of 0.50"},{"label":"Accuracy","quote":"| Validation accuracy | 65.2% |"},{"label":"Input","quote":"The Arduino Mega reads the signal on Digital Pin 7."},{"label":"Build","quote":"SparkFun BOB-12009 logic-level converter"}],"images":{"type":"animation","primary":"https://esp32gallery.com/previews/dishadometi-ai-squirrel-detection-esp32/poster.jpg","poster":"https://esp32gallery.com/previews/dishadometi-ai-squirrel-detection-esp32/poster.jpg","sources":["https://esp32gallery.com/previews/dishadometi-ai-squirrel-detection-esp32/cover.gif"]},"media_credit":{"status":"upstream-project-media","creator":"dishadometi","source":"https://github.com/dishadometi/AI-Squirrel-Detection-ESP32/tree/dfc45baac3757aed955482c2539abaa8adef6aff","note":{"en":"Screenshots from the upstream README. Code and firmware were not executed. License notices are included.","zh":"来自上游 README 的真实截图；未运行代码或固件，预览包保留许可证声明。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"dfc45baac3757aed955482c2539abaa8adef6aff"},"stars":0,"pushed_at":"2026-10-08T12:56:39Z","added_at":"2026-10-20T14:44:01+08:00","urls":{"html":"https://esp32gallery.com/projects/dishadometi-ai-squirrel-detection-esp32/","html_zh":"https://esp32gallery.com/zh/projects/dishadometi-ai-squirrel-detection-esp32/","json":"https://esp32gallery.com/data/catalog/projects/dishadometi-ai-squirrel-detection-esp32.json","markdown":"https://esp32gallery.com/data/catalog/projects/dishadometi-ai-squirrel-detection-esp32.md"}}
