# Build a Privacy-First LLM Smart Home on Raspberry Pi 5

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/raspberry-pi-smart-home/)
- [Run LLMs locally on Raspberry Pi 5 for Edge AI](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/raspberry-pi-smart-home/1-overview/)
- [Set up software dependencies on Raspberry Pi 5 for Ollama and LLMs](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/raspberry-pi-smart-home/2-software-dependencies/)
- [Test Raspberry Pi 5 GPIO pins for smart home devices](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/raspberry-pi-smart-home/3-test-gpio/)
- [Build and Run a Smart Home Assistant on Raspberry Pi 5 with LLMs](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/raspberry-pi-smart-home/4-smart-home-assistant/)
- [Next Steps](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/raspberry-pi-smart-home/_next-steps/)

## About this Learning Path

|  |  |
| --- | --- |
| Skill level: | Introductory |
| Reading time: | 45 min |
| Last updated: | 12 Nov 2026 |

|  |  |
| --- | --- |
| Author: | Fidel Makatia Omusilibwa<br>[GitHub](https://github.com/fidel-makatia)<br>[LinkedIn](https://linkedin.com/in/fidel-makatia-hsc-mieee) |
| Arm IP: | [Cortex-A](https://support.arm.com/?tab=compute-ip&Product%20Type=Application%20Processors) |
| Tags: | [AI/ML](https://learn.arm.com/tag/ai-ml/) [Linux](https://learn.arm.com/tag/linux) [Python](https://learn.arm.com/tag/python) [Ollama](https://learn.arm.com/tag/ollama) [FastAPI](https://learn.arm.com/tag/fastapi) [Raspberry Pi](https://learn.arm.com/tag/raspberry-pi) |

### Who is this for?
This is an introductory topic for edge AI developers, Raspberry Pi hobbyists, and software engineers who want to build privacy-first smart home assistants. You’ll learn how to run large language models (LLMs) locally on the Raspberry Pi 5 using Ollama, control GPIO-connected devices, and deploy a web-based assistant without relying on cloud services.

### What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Understand how the Arm architecture enables efficient, private, and responsive LLM inference
- Run a smart home assistant on Raspberry Pi 5 with local LLM integration
- Wire and control physical devices (for example, LEDs) using Raspberry Pi GPIO pins
- Deploy and interact with a local language model using Ollama
- Launch and access a web-based dashboard for device control

### Prerequisites
Before starting, you'll need the following prerequisites:
- An Arm-based single board computer (for example, Raspberry Pi 5 running Raspberry Pi OS)
- Electronic components (breadboard, LEDs, resistors, jumper wires) for GPIO testing
- Familiarity with Python programming, Raspberry Pi GPIO pinout, and basic electronics

### Summary
You’ll build a local, privacy-first smart home assistant on a Raspberry Pi 5. First, you’ll install Python and Ollama, wire an LED to GPIO 17, and verify GPIO access. Then, you’ll run `smart_home_assistant.py`, interact through a terminal or browser, and use natural-language requests that the local model converts into actions for configured devices.
