# Hacking a $15 LED Matrix with an AI Agent, Python, and a Webcam Feedback Loop

DevFeed: [Hacking a $15 LED Matrix with an AI Agent, Python, and a Webcam Feedback Loop](<https://devfeed.tech/articles/hacking-a-15-led-matrix-with-an-ai-agent-python-and-a-webcam-feedback-loop-25167.md>)

Original publisher: [Read original article](<https://www.ivanmorgillo.com/2026/04/27/hacking-a-15-led-matrix-with-an-ai-agent-python-and-a-webcam-feedback-loop/>)

Author: Ivan Morgillo

Published: 2026-04-27T09:24:54Z

Content type: tutorial

Language: en

Sources: [Ivan Morgillo](<https://devfeed.tech/sources/ivan-morgillo.md>)

Topics: [Matrix](<https://devfeed.tech/topics/matrix-org.md>), [Python](<https://devfeed.tech/topics/python.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Bluetooth](<https://devfeed.tech/topics/bluetooth.md>), [Hacking](<https://devfeed.tech/topics/hacking.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Three.js webcam](<https://devfeed.tech/topics/three-js-webcam.md>), [Home Assistant](<https://devfeed.tech/topics/home-assistant.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [api](<https://devfeed.tech/tags/api.md>), [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [claude](<https://devfeed.tech/tags/claude.md>), [cli](<https://devfeed.tech/tags/cli.md>), [coding](<https://devfeed.tech/tags/coding.md>), [home-assistant](<https://devfeed.tech/tags/home-assistant.md>), [led](<https://devfeed.tech/tags/led.md>), [python](<https://devfeed.tech/tags/python.md>), [webcam](<https://devfeed.tech/tags/webcam.md>)

## AI overview

A hands-on account of controlling a 32x32 Bluetooth RGB LED matrix from Python. The author moves from the Android app and Home Assistant to the pypixelcolor library, then uses Pillow-generated images and orientation adjustments to render text correctly. The article also introduces Claude as an AI coding agent operating through the terminal.

## Source excerpt

I was at Action (the European equivalent of a dollar store for nerds) when I spotted a B.K. Light LED Pixel Board -- a 32x32 RGB LED matrix with Bluetooth, for about 15 euros. The kind of thing you buy first and figure out later. The official Android app works fine. You type text, pick [...]