Posts with «zephyr rtos» label

Arduino UNO Q: what you can run on the Linux side with the STM32H5 microcontroller

The Arduino UNO Q shows in concrete terms what you can install and run on its Linux side. The dual-brain architecture combines high-performance computing and real-time hardware control on a single board. The MPU side runs a Linux environment designed for installing familiar open source software, the same tools you would use on a server or on a common SBC. The STM32H5 microcontroller, on the other hand, runs a dedicated Arduino Core on Zephyr RTOS and handles sensors, actuators and critical I/O with deterministic precision. The two parts communicate through an RPC bridge built into the board, with no need for an external Arduino board.

The value of the UNO Q lies precisely in this bridge. Every piece of software running on the Linux side gains direct access to the physical world, without USB cables and without add-on boards. So a home server stops being a closed box and becomes a node that reads sensors and drives actuators.

Debian, OpenCode and the Arduino App Lab CLI on the Linux side

At the base of everything is Debian, the Linux environment that hosts the rest. On this base you install OpenCode and the Arduino App Lab CLI, the tools used to prepare and launch the board’s software. The CLI also simplifies the passage between the Linux world and the microcontroller, because it holds together the two sides of the same project.

The interesting part is the AI agent. An agent running on the board receives a goal, processes the context, calls tools and services and, through the hardware interfaces, turns decisions into actions in the physical world. The reasoning comes from a frontier model via API, but the tool calls run on the device. So the agent does not just answer: it switches on, measures, adjusts. Anyone who wants to start from the code will find everything in the project code repository.

Home Assistant, n8n, Pi-hole, Frigate and an SMB NAS

Concrete platforms run on the Linux side of the UNO Q, each with a precise task. The link with the microcontroller changes the way each one works:

  • Home Assistant: local home automation, which thanks to the microcontroller can read sensors and command relays without third-party hardware.
  • n8n: workflow automation, which can start a software routine and close it on a physical actuator.
  • Pi-hole: the network DNS filter, which runs on the Linux side as on any server and always stays on.
  • Frigate: video surveillance with local analysis, which talks to the microcontroller for sensors and status signals.
  • Local NAS with SMB: file sharing over the network, with the microcontroller able to control power and disk status.

Building the physical part of these examples takes few parts. A Qwiic temperature and air quality sensor connects to the microcontroller side, while a relay and a fan close the loop on a real load. Alternatively, Modulino modules offer a quick way to add I/O without soldering, for example with the kit with UNO R4 WiFi and Modulino modules.

For those who want the board with the accessories already included, the complete Arduino UNO Q kit is the most direct starting point.

Put together, these programs turn the UNO Q into a small server that also speaks to the hardware. Home Assistant and n8n handle the logic, Pi-hole and Frigate cover network and video, the SMB NAS keeps the files. The STM32H5 microcontroller acts as a bridge to sensors, relays and fans, so every automation can end on a real actuator. It is a concrete way to use the dual-brain architecture without adding external boards.

Source: https://github.com/arduino/docs-content-private/pull/1088

Related products

The post Arduino UNO Q: what you can run on the Linux side with the STM32H5 microcontroller appeared first on Open Electronics.