velxio/wokwi-libs
David Montero Crespo 442be32a6f feat(esp32-cam): real webcam emulation verified end-to-end
User confirmed the FULL pipeline works with their laptop webcam at
QVGA quality 0.6 — frontend → WS → backend → worker → DLL → I²S →
firmware → esp_camera_fb_get() → user sketch.

  [Frame #1]  8192 bytes  320x240  fmt=4
    ├─ SOI (FF D8 FF):     ✓ at offset 0
    ├─ EOI (FF D9):        ✓ at offset 8190
    └─ First 16 bytes:     FF D8 FF E0 00 10 4A 46 49 46 …
                                                (JFIF, real webcam)
  Stats: 10/10 Valid JPEGs at ~3.5 fps.

Changes:
- wokwi-libs/qemu-lcgamboa @ e4321d1 (picsimlab-esp32):
    EOFS_PER_FRAME 6→8, inject_eoi_now flag for EOI injection on the
    last EOF of each VSYNC burst. Handles JPEGs of arbitrary size by
    forcing FF D9 at offset 8190 — JPEG decoders tolerate the
    truncation gracefully.
- backend/esp32_worker.py: throttled trace log every 30 frames
    (`camera_frame #N received (NNNN bytes)`) so users can confirm
    the frontend → worker leg is alive without flooding the log.
- test/test-esp32-cam/autosearch/14: documented bug #9 (the 9th and
    final silent bug — real webcam JPEGs exceed the deliverable byte
    budget) with full forensic trace + final architecture diagram.

The emulation now handles ANY user webcam → ESP32-CAM use case end
to end. Standard upstream esp_camera_init() / esp_camera_fb_get()
sketches work without modification.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 22:05:37 -03:00
..
100_Days_100_IoT_Projects@c30c3d1429 Add shared validators and test configurations for Velxio projects 2026-04-28 00:36:05 -03:00
avr8js@898f76c787 feat: Implement Arduino Simulator with component management and simulation features 2026-03-03 00:20:49 -03:00
fritzing-parts@14296fa4b6 feat: add capacitor and inductor components, update netlist builder to return pinNetMap 2026-04-17 19:27:18 -03:00
ngspice-wasm@a0c3b1ab9a feat: implement asyncio exception handler and update entrypoint script for process management 2026-04-16 00:57:30 -03:00
picowi@bb33b1e7a1 Add comprehensive tests for Cyw43Emulator functionality and lifecycle 2026-04-29 00:21:26 -03:00
qemu-esp32@33cc9a8740 Add commercial licensing and AGPLv3 license files; update submodule references to dirty state; create strategic plan document for Velxio project 2026-03-06 22:32:05 -03:00
qemu-lcgamboa@e4321d18f8 feat(esp32-cam): real webcam emulation verified end-to-end 2026-05-02 22:05:37 -03:00
rp2040js@32e1d93e46 feat(epaper): Add SVG layouts and emulation plan for ePaper panels 2026-04-29 02:33:59 -03:00
wokwi-boards@0cffc5bdac V1 feat: Enhance ESP32 emulation support and logging 2026-03-14 16:57:22 -03:00
wokwi-elements@53cec973e2 Refactor ESP32 library management and add regression tests for issue #129 2026-04-30 23:49:46 -03:00
wokwi-features@cc6e195f57 feat: Implement Arduino Simulator with component management and simulation features 2026-03-03 00:20:49 -03:00