Mosaico USB Webcam: Turn Mosaico into a USB Camera200179
Paired with the ESP-Mosaico camera expansion board Module-Camera V1.4 (equipped with SC101IOT), it allows Mosaico to transmit images to a computer via USB. Privacy protection is enabled by default on each startup, and data collection only begins after a light touch; it supports local preview, mirroring and rotation settings, as well as a Chinese‑English touch interface. Open‑source firmware, with an Iris installation package provided.
v0.2.0 Update: Improve camera connection stability on Windows, fix issue where camera may stay black after USB recovery.
Interface Overview
| Home: Turn On Camera | Settings: Preview and Orientation | Live Shot: Mac |
|---|---|---|
![]() | ![]() | ![]() |
In the live shot, the device screen shows the original framing, the like bubble is overlaid by Mac's system gesture effect.
Give Mosaico an Additional Use
This is an open-source USB camera firmware for ESP-Mosaico (ESP32-S31), used together with ESP-Mosaico Camera Expansion Board Module-Camera V1.4 (featuring SC101IOT). Insert the camera expansion board into the left H2 slot, then connect the computer via the High-Speed OTG USB‑C interface, and you can use Mosaico as a UVC camera.
V1.4 refers to the PCB version of the camera expansion board; you can check the version silkscreen on the board.
You Control the Camera
Privacy protection is enabled by default on each startup, so the camera is off. Tap “Turn On Camera” on the device to start capture; tap “Turn Off Camera” to stop capture, and the computer screen will go black after a short delay.
- Local Preview: View composition on the device screen; the image is displayed fully proportionally, with borders added if the aspect ratio does not match.
- Orientation Adjustment: The interface and local preview rotate with the device orientation; preview mirroring and USB video orientation are set independently, USB supports 0°, 90°, 180°, 270°.
- Touch Settings: Adjust brightness, local preview, auto screen off, and display language; settings persist after reboot.
- Chinese/English Interface: Switch by tapping “中文 / EN” in Settings.
- Screen Off, Continue Transmission: After tapping “Turn Off Screen / Pause Preview”, USB video continues streaming; a single touch wakes it.
The current video mode is MJPEG 640×480, target frame rate 25 FPS; actual performance depends on the environment.
Installation and Connection
- Download the attachment
mosaico-webcam-0.2.0.irisfw. The device must first have Vibe Mode 0.2.0 or later installed, and be in Vibe Mode. - Use the official Iris installer, or “Add Iris Firmware” in Ideas, select this file to install. Back up application data before changing the partition layout.
- Insert the camera expansion board into the motherboard’s left H2 slot.
- Use a data‑capable USB cable to connect the computer to the device’s High-Speed OTG USB‑C interface.
- Tap “Turn On Camera” on the device.
The Iris integration in this project is for firmware installation; during operation the USB provides UVC video and does not offer Iris preview or runtime control. The motherboard download interface and the runtime UVC interface serve different purposes; connect according to the interface labels.
View the Image on a Computer
- Windows: Open the system “Camera” app and switch to the Mosaico camera.
- macOS: Open QuickTime Player, choose “File → New Movie Recording”, and select Mosaico Webcam / UVC CAM1 from the camera list.
On first use, grant the system camera permission. Wave in front of the lens to verify that the image updates in real time; no actual video recording is required. Seeing a black screen on the computer before turning on the camera is normal privacy protection behavior.
Source Code and Other Installation Methods
For a wired full flash, refer to the flashing instructions in the repository. Writing mosaico-webcam-0.2.0-factory-merged.bin to address 0x0 will overwrite the existing firmware, partition layout, and NVS settings; back up before proceeding.
The project code is licensed under Apache‑2.0; third‑party components and assets follow their respective licenses, see the repository’s license and dependency documentation for details.



Comments (0)