Skip to main content

iot-dashboard

:::warning [UNTESTED] — v0.5 paper-correct Builds clean on native_sim/native/64. Real-silicon bring-up + an MQTT broker round-trip land later. :::

A live temperature / humidity / pressure dashboard with sparkline + MQTT/TLS publish — sensor → local screen + cloud telemetry, all on one E1M-AEN module.

Source: examples/iot-dashboard/.

Components

  • BME280 — T / RH / P environment sensor via <alp/chips/bme280.h>.
  • OPTIGA Trust M — TLS client cert + private key for the MQTT broker authentication.
  • ST7789 TFT — 240×320 panel rendering the dashboard.
  • mbedtls + coreMQTT-SN — TLS + MQTT publish via library knobs.
  • LVGL — composes T/H/P dashboard with sparkline + status strip.

The app uses the portable <alp/iot.h> alp_wifi_connect path so the same source builds against AEN (external Wi-Fi via CC3501E) or V2N (on-module Murata) — only som.sku changes.

board.yaml

som:
sku: E1M-AEN701

preset: e1m-evk

cores:
m55_hp:
app: ./src
peripherals: [i2c, spi]
libraries: [lvgl, mbedtls, coremqtt_sn]
iot: { wifi: true, mqtt: true, tls: true }

chips:
- bme280
- optiga_trust_m
- st7789

diagnostics:
log_level: info

See also

Questions about this page? Discuss in Community Forum