Vision models (detection, classification, segmentation) compiled to the DXNN format run on the NPU, several at once with RunAsync in the DEEPX runtime API. The Raspberry Pi 5 handles I/O, networking, and the application. No network connection is needed at runtime.
With the onboard HAT+ EEPROM, the Raspberry Pi 5 loads the NPU device tree overlay automatically. Use the board to add on-device vision to a small Raspberry Pi 5 build, such as an AI camera, a robot or a drone. To mount the board, install the runtime, and run a first model, follow the Quickstart.
Compatibility
- Raspberry Pi 5
- Raspberry Pi 4 and earlier
- Compute Module 4 and earlier
- Compute Module 5 on the CM5 IO Board
- Other SBCs (Orange Pi, Rock Pi, Jetson)
Compute Module 5
The AI HAT+ does not fit the CM5 IO Board, mechanically or electrically. For NVMe, LTE/5G, or extra I/O on a Raspberry Pi 5, use the Sixfab Edge AI Expansion Board.
The 40-pin header carries only power, ground, and the ID EEPROM lines; the other GPIO pins stay free.
Power off Raspberry Pi 5
The AI HAT+ is not hot-pluggable. Power off the Raspberry Pi 5 and disconnect the USB-C supply before mounting or removing the board; mounting under power can damage the board and the Raspberry Pi 5.
What’s in the box
- 1×AI HAT+ boardDX-M1M NPU
- 1×PCIe FFC cable16-pin, shielded
- 1×Stacking header2 × 20, 16 mm, clears an active cooler
- 4×M2.5 × 16 mm spacersFemale to female
- 8×M2.5 × 5 mm screwsPlastic, finger-tight only
- 1×Passive cooler20 × 20 mm; add a 3.3 V fan for sustained full load
- Raspberry Pi 54 GB or more; 8 GB for multi-streamRequired
- 27 W USB-C PD power supply15 W supplies are not enoughRequired
- microSD card32 GB or more, A2Required
- CameraCamera Module, USB, or RTSP; for live video onlyOptional
Check power supply first
Power the Raspberry Pi 5 from a 27 W USB-C PD supply. A weaker supply shows as under-voltage warnings, resets and devices that disconnect; change the supply before suspecting the AI HAT+.
How it works
-
Capture
A CSI, USB, or IP camera feeds frames to the Raspberry Pi 5.
-
Pre-process
The CPU resizes the frame, converts color, and packs the input tensor.
-
Inference
The NPU runs the compiled DXNN model in INT8. Data moves over PCIe Gen 3 x1.
-
Post-process
The application parses the outputs (NMS, for example) and sends the results to a display, a log, or an RTSP stream.
PCIe gives the NPU a dedicated data path, separate from USB and GPIO. CPU pre-processing is usually the first bottleneck: a Raspberry Pi 5 (8 GB) with the DX-M1M handles up to four 1080p streams.
Software
The sixfab-dx package from the Sixfab APT repository installs the DEEPX runtime and the kernel driver. Raspberry Pi OS runs the PCIe link at Gen 2 until dtparam=pciex1_gen=3 in /boot/firmware/config.txt raises it to Gen 3; the Quickstart sets both up. The Sixfab Model Zoo, compiling your own models with the DXNN SDK, and the limits of the stack are covered in AI Model Deployment.
Next steps
- Quickstart Mount the board, install the runtime, enable PCIe Gen 3, verify the installation and run the first inference.
- Hardware reference Specifications, pinout and GPIO, the PCIe FFC link, the HAT+ EEPROM bus, power, cooling, dimensions and compliance.
- Troubleshooting NPU detection, the runtime, the PCIe link, power, temperature, and inference results.
- FAQ Compatibility, performance, models and the DXNN SDK, power and heat, deployment, updates, and purchase.
- Sixfab Model Zoo Pre-compiled DXNN models for detection, classification, segmentation, and pose, with FPS on the AI HAT+.
Guides
Projects
Start with Choose project, then set up Frigate NVR and the camera feeds and MQTT once; the builds below run on that setup.

Get person alert from camera with Boss Detector
Detect people with Frigate on the AI HAT+ and publish a JSON alert over MQTT for each person event.

Identify bird species with bird feeder camera
Name the bird species at a feeder camera with one NABirds model on the AI HAT+, one MQTT topic per species.

Detect falls and count reps with pose estimation
Run a rep counter, a fall detection demo and a pose game on one YOLOv8n-pose engine at about 32 FPS.