By Kevin McAleer, 3 Minutes
Page last updated November 24, 2026

Ahoy there makers! A robot that can see is good. A robot that can see and also talk about what it sees is better. The Raspberry Pi AI HAT+ 2 can do both on a Raspberry Pi 5, with no cloud connection, because it carries its own AI chip and its own memory.
Watch this first, then come back and let’s build.
The AI HAT+ 2 is an add-on board for the Raspberry Pi 5 with a Hailo-10H accelerator on it. It runs the vision jobs you may know from the AI HAT+, such as object detection and pose estimation. It also runs language models (LLMs) and vision-language models (VLMs), which the original AI HAT+ cannot.
We’ll thread one idea through the whole course: giving a robot eyes and a brain. The eyes are camera detections. The brain is the code, and the language model, that decides what to do about them.
flowchart LR
C["Camera"] --> H["AI HAT+ 2"]
H --> D["Detections"]
D --> P["Python decision"]
P --> R["Robot moves"]
H --> L["Language model"]
L --> T["Describes what it sees"]
rpicam-apps, reading detections from Python, and turning them into robot behaviourhailo-ollama, chatting in a browser, and asking the robot what it seesAfter completing this course, you will:
Please complete these two courses first, or make sure you are comfortable with their content:
One robot thread. Each lesson adds to the same idea: a robot with eyes and a brain. The eyes arrive first, then the decisions, then the language model.
Official commands only. The HAT is new and its software moves quickly. Where the Raspberry Pi documentation gives a command, we use it word for word. Where it does not, we say so and point you to the right docs page rather than guessing.
Shell and Python. Commands for the terminal are in bash blocks. Python blocks are complete programs you can run on the Pi 5. Some use pretend detections so you can try the logic on any computer.
Quizzes. Three lessons end with a short quiz. Your score is kept in your browser.
Mistakes are normal. Look for the Common Issues list in each lesson, and the troubleshooting table in lesson 12.
Ready? Let’s look at the board.
Comments