kasian.dev
← projects/
esp32 sensor net sprite

esp32 sensor net

Three little chips, one router, one laptop, and an LLM that reads the numbers.

type
experiment
status
archived · prototype
when
may 2026
stack
ESP32 · Arduino · Python · Ollama
links
github

##a break from pare

esp32 started as a break. I was building pare every single day, switching between backend and frontend, and the frontend was much harder for me. At some point I was just tired, and out of nowhere I thought of ESP32 chips. After thinking a bit about what to build, I ordered them on Amazon the next day.

##touching something real

What I don’t love about programming is how abstract all of it is. I wanted to see real hardware working together with those abstractions. Hardware wasn’t completely new to me: in college we once built something like a traffic light on a simple chip. A tiny experience, but it was a start.

Back then I was also deep into cybersecurity, so I wanted a device that lives on a network. So the plan was: three chips, two sensors, an OLED screen, my laptop, and a local LLM hooked up to the physical side.

The sensors were only a stand-in: real numbers instead of fake ones. The point was the network. Chips collect data in one place and send it straight to a main chip, which passes it on. The LLM was a formality too. I gave it a weak prompt and its analysis was weak, but it pulled the data and looked at it, and that was enough.

##my own code this time

Unlike kel, I wrote almost all of the Arduino code myself. AI helped at the start, then I wanted to write the logic on my own. There were bugs, of course. At one point the hub flooded the Python server nonstop, the chip got hot, and the button reacted with a huge delay.

Once I understood how it all works, I took it apart. One day I’d like to build something real from it: a local LLM at home that can use tools, where I ask it for something and it switches on an ESP32 or another device.