ARDUINO-UNO-Q

Arduino UNO Q Hands-On Tutorials


Why the Arduino UNO Q for an ML Engineering Course?

In the Edge AI Machine Engineering courses, we have traditionally used separate hardware platforms for different tiers of the ML deployment spectrum:

These have always been taught as separate worlds — MCU-based TinyML, Fixed-Function SBC Edge AI, and Generative AI on a beefier SBC — each with its own toolchain and, in the SBC case, its own hardware.

The Arduino UNO Q bridges more of this than any single board before it.

Its dual-brain architecture — a Linux-capable Qualcomm QRB2210 MPU paired with a real-time STM32U585 MCU on the same board — lets students experience MCU-style real-time control and SBC-style AI inference simultaneously, in one project: an AI model runs in Python on the Linux side (like on a Raspberry Pi) while an Arduino sketch on the MCU side handles sensors, motors, and LEDs (like on a Nicla or XIAO) — the two communicating through Bridge RPC.

It also closes the gap within the SBC tier that used to require two different Raspberry Pis. The 2 GB UNO Q outperforms a Pi Zero 2 W at Fixed-Function AI and, unlike the Zero, is enough to introduce real Generative AI — running a small language model locally, as chapters 2–5 of this course do. The 4 GB variant pushes further still. The Raspberry Pi 5 remains the right tool for heavier generative workloads (larger models, real-time multimodal pipelines) that outgrow what the UNO Q can hold in RAM — but for a huge slice of what used to require the Pi 5, the UNO Q is now enough, and it’s the only one of the three that also gives you real-time hardware control on the same board.

How the UNO Q Compares to What We’ve Used Before

Aspect MCUs (Nano, Nicla, XIAO ESP32S3) SBCs (RPi Zero 2W, RPi 5) Arduino UNO Q
CPU Single/Dual-core, 80–240 MHz Quad/Multi-core, 1–2.4 GHz Quad-core A53 @ 2 GHz + Cortex-M33
RAM 256 KB – 1MB (8MB w/PSRAM) 512 MB – 8 GB 2 GB or 4 GB + MCU SRAM
OS Bare-metal / RTOS Linux (Raspberry Pi OS) Debian Linux + Zephyr RTOS
ML Frameworks TFLM, Edge Impulse (C/C++) TF Lite, ONNX, PyTorch (Python) Both: Python ML + Arduino C++
Real-time I/O Native (GPIO, ADC, PWM) Via libraries (no determinism) Dedicated MCU (deterministic)
Power Milliwatts (battery-friendly) 1–5 W (RPi Zero) / 5–27 W (RPi 5) ~3–5 W
Camera support Built-in (Nicla, XIAO) USB or CSI cameras USB or MIPI-CSI (via carrier)
Price ~$15 (XIAO) –$90 (Nicla) $15 (Zero) / $120 (RPi 5) ~$50 (2 GB) / ~$60 (4 GB)
AI Acceleration None (CPU only) None (RPi 5 CPU) or external Adreno GPU
Ecosystem Arduino IDE, PlatformIO Full Linux / pip / Docker Arduino + Linux + App Lab CLI

What the UNO Q Brings to the Course

The UNO Q does not replace the MCU boards or the Raspberry Pi in our curriculum — it complements them by offering a unique “middle ground” that is pedagogically valuable:


Tutorials

Getting Started

Generative AI

A small language model, run entirely on the board, taught progressively — first as a standalone tool, then wired into vision, into physical sensors and actuators, and finally into an agent that decides what to do on its own.

Fixed-Function AI

Trained, task-specific models — no language model involved — deployed and driven the same dual-brain way.


Tutorials created for IESTI05 — Edge AI Machine Learning System Engineering, UNIFEI. Licensed under GNU General Public License 3.0.