Inside AI
← Build & Hack
Proposed build / Edge AI

STM32N6: a tray monitor that can say “unknown”

Proposed build. Convert a camera demo into an explicit state decision and expose the cost of model deployment.

Device profile · STM32N6570-DK ↗
Start with the documented setup

This is a proposed workflow. Follow the linked official setup, then use the checks below to decide whether it works on your hardware.

Blue STM32N6570-DK board with its wide rectangular display and a raised camera board at one corner.
Official product image. See UM3300 for board layout and module references; no hidden component locations are inferred. Hardware reference for this proposed build; not a result from our test. STMicroelectronics ↗

Outcome and prerequisites

Show present, missing or unknown for one marked tray compartment. Use the kit camera/display, suitable power/cable, development computer and ST tools. Embedded firmware skills are required. Confirm the selected demo recognizes your object before promising a custom-part application. AI examples

First working baseline

Follow UM3300 to power and run the board demo. Record board/firmware/tool versions and keep a copy of the working image. Run a matching ST vision example before replacing its network. Quick start and power

Add the application rule

Choose one region and require consistent observations over time. Separate camera unavailable/occluded from object absent. Render the three states and an observation age on the LCD. This state machine is our proposed application, not a supplied ST feature.

Custom model gate

For an unfamiliar part, collect representative images and a held-out validation set, then convert the model for this target. Read the operator placement and memory reports before flashing. Compare output on known images before testing live. An accepted ONNX input file does not establish equivalent accuracy or NPU-only execution. Conversion tools

Optional extension and first-year cost

Add ToF as an independent distance gate only after the visual baseline works. Do not equate a range reading with a full depth map. Use the calculator for kit and accessory quotes; local software has no mandatory monthly plan. Failure-case test

Primary sources

STM32N6570-DK: official hardware reference