Keragi Keragi Keragi
Solutions

Reference

On this page

STM32 dev boards and industrial nodes

Last updated: 2026-11-21

Status: reference. This is the STM32 access reference; the product direction includes dev/learning boards and industrial nodes, and the first hardware is coming soon. Specifications, SKU, certification and delivery follow the official release. Current protocol adaptation and secure storage are the integrator’s responsibility.

STM32 is a good fit for deterministic IO, sensor acquisition and protocol aggregation at an industrial site, sending device state into a Keragi conversation or receiving low-risk commands after human approval.

Where it sits

sensor/actuator ↔ STM32 ↔ gateway or local bridge ↔ Keragi conversation ↔ human/AI

STM32 plays a device/industrial-node role and does not run the Keragi host. It connects through a gateway resource or local bridge; fieldbus/serial protocols are implemented by the integrator.

Selection dimensions (reference)

Dimension What to consider
MCU and IO IO and communication peripherals for acquisition, control and protocol handling
Site sensing Range, isolation, environment and mounting
Isolation/driver Mains isolation, fusing, emergency stop and independent protection
Communication Serial/fieldbus/Ethernet and protocol adaptation
Power and enclosure Independent supply, dust/moisture/EMI protection

Firmware responsibilities

  • Device identity and credentials: per-device ID/credentials, secure storage, rotation.
  • Real-time acquisition: deterministic sampling, timestamps, filtering and local buffering.
  • Communication: reconnect, backoff, heartbeat, offline buffering, idempotency.
  • Commands: accept only authorised commands; validate range, timeout and interlocks locally.
  • Security: TLS or a controlled network; do not expose management to the internet.
  • Observability: watchdog, safe restart, local logs; never log credentials.
  • OTA: implemented by the integrator with signing/rollback today; an official OTA service will follow the product release.

Failure modes (reference requirements)

The table below lists the failure cases integrator firmware should cover. It is not official SDK behavior; implementation is the integrator’s responsibility.

Case Reference behavior Boundary
Fieldbus/serial link lost Keep local acquisition and interlocks running; buffer timestamped data and replay idempotently after recovery Do not abandon local safety logic because the uplink is down
Watchdog/abnormal restart Return to a known safe state; reset actuator outputs; self-check before accepting commands Do not use “a restart fixes it” to hide the root cause
Credential expired/revoked Stop connecting; enter a local read-only/safe state and raise an alert Do not fall back to a shared account or hard-coded credential
Command timeout/no human approval Reset locally on timeout; reject high-risk actions by default Do not retry forever or hold a relay closed
Sensor out of range/fault Mark the reading invalid and alert locally; do not trigger actuators automatically Do not report an abnormal value as normal

Safety and failure boundaries

  • Relays, motors and valves affect people and property: require fail-safe behavior, emergency stop, timeout reset, authorization and manual takeover.
  • Keep critical control logic local; do not depend on a cloud message arriving before a safety action.
  • Manage device credentials per device, with rotation and audit; never reuse an administrator account.
  • The mains side needs isolation, fusing and independent protection; STM32 only handles low-voltage control/acquisition.
  • Do not use for life support, medical, nuclear, aviation, emergency or industrial-safety applications without certification.

Fit and non-fit

Fit: industrial-site acquisition, deterministic IO, fieldbus/serial protocol aggregation, low-power nodes.

Boundary: STM32 plays a device/industrial-node role and does not run the Keragi host; PLC/safety interlocks should use dedicated safety solutions; the first hardware is coming soon, and provisioning/OTA follow the official release.

Next steps

Frequently asked questions

Can STM32 run the Keragi server?

STM32 plays a device/industrial-node role and does not run the server host; the host targets Linux x86_64 and Windows x64. STM32 connects through a gateway or local bridge, and protocol adaptation and firmware are the integrator’s responsibility.

Is there official STM32 firmware or an SDK?

The STM32 direction includes dev/learning boards and industrial nodes; the first hardware is coming soon, and specific SKU, firmware and SDK follow the official release. This page is an access reference.

Are Modbus/CAN and other industrial protocols supported?

Keragi does not include those protocols; fieldbus/serial protocols are implemented by the integrator in the gateway or bridge.

Is device data end-to-end encrypted?

Qualified yes. A device joining as a client participant (a subaccount can approximate one) can use E2EE. By default, device data through a gateway uses plaintext/bot channels and is not encrypted; the gateway cannot decrypt E2EE messages.

What is it good for?

Nodes that need deterministic IO, fieldbus, low power or industrial-site acquisition; not for running the Keragi host or replacing PLC/safety interlocks.