Laravel IoT Demo

Live sensor data via Raspberry Pi gateway. Tabs for I2C, CAN (0x101/0x120), and USB CDC.

I2C – ESP32 Slave (0x28)

Temperatur (analog sensor → ESP32 → I2C → STM32 → UDP → Raspi → Laravel)

Temperature

— °C

last update: —

Slave Address

0x28

I2C slave on ESP32

Raw Payload

CAN – 0x101 (Health / Heartbeat)

Slave alive check (sequence counter)

Sequence

last update: —

CAN ID

0x101

heartbeat frame

Raw Payload

CAN – 0x120 (Light Sensor)

TSL2591 via ESP32 → CAN → STM32 → Gateway

Lux

last update: —

Full

raw channel

IR

raw channel

Raw Payload

USB CDC

The Raspberry Pi can read the STM32 via /dev/ttyACM0 (CLI/logs) and display the output in Laravel.

Output

last update: —

CDC Socket Status

  • status: —
  • room: —
  • socket id: —

Send Command

Sent to the CDC server via Socket.IO (no Laravel API required).

Events: cdc:command (out) · cdc:line (in)

Info

Data flow: ESP32 → (CAN/I2C) → STM32 → UDP → Raspberry Pi → Laravel. This page polls /api/telemetry/latest and displays the values live.

Status

  • last update: —
  • event id: —
  • source: —
  • device: —