Skip to main content

iot-connected-camera

Connected-camera reference application for an E1M-V2N101 / E1M-V2N102 / E1M-V2N103 SoM (Renesas RZ/V2N): camera capture → DRP-AI3 classification → MQTT/TLS publish + a local UI overlay. It frames <alp/camera.h>, <alp/inference.h>, <alp/iot.h>, <alp/security.h> and <alp/gui.h> in one app.

Source: examples/connectivity/iot-connected-camera/.

Skeleton — the pipeline is staged, not implemented

The checked-in app is the v0.1 skeleton: it compiles under native_sim/native/64 and its init flow walks through the stages with stubs. Camera capture with a local SSD1306 overlay is the next stage, and the full Wi-Fi + MQTT-over-TLS + LVGL pipeline — whose acceptance bar is 60 s on a real V2N EVK plus a broker, at least one inference published per second — is the target after that. The V2N EVK hardware scenario is parked. (Earlier versions of this page showed an A55/Yocto board.yaml with DRP-AI dispatch; that is not what the project contains.)

The intended pipeline​

  1. Capture — a CSI-2 camera frame through <alp/camera.h>.
  2. Infer — a classifier on the on-die DRP-AI3 (4 TOPS) through <alp/inference.h>.
  3. Publish — the top-1 result as a JSON payload over MQTT with TLS via <alp/iot.h>, plus a subscription for commands.
  4. Display — a live preview + overlay through <alp/gui.h> (LVGL).

Wi-Fi credentials and the MQTT broker config are meant to come from a per-device JSON file written at factory provisioning; the example's certs/ directory explains how to drop in a TLS CA and client certificate.

board.yaml​

som:
sku: E1M-V2N101

preset: e1m-x-evk

chips:
- ssd1306
- button_led

cores:
a55_cluster:
os: "off"
m33_sm:
app: ./src

diagnostics:
log_level: info

Note that the checked-in project is Cortex-M33-only (a55_cluster: os: "off"). On V2N the DRP-AI3 runtime is A55/Linux-owned, so the inference stage of the finished pipeline needs an A55/Yocto app — the M33 slice cannot reach the NPU (see ai-object-detection-realtime).

Build (host smoke)​

cd alp-sdk
python3 scripts/gen_example_alp_conf.py examples/connectivity/iot-connected-camera
west build -b native_sim/native/64 examples/connectivity/iot-connected-camera \
-- -DEXTRA_CONF_FILE=generated/alp.conf

See also​

Questions about this page? Email contact@alplab.ai