Better HN
topnewbestaskshowjobs
Log inSign up

pietruccio

1 karma · joined Apr 2, 2025 (1y ago) · 4 submissions

Submissions

comment 1y ago · link · parent

As soon as I started playing with MCP, I was looking at all the hardware in my room thinking that I wanted to have an LLM control a motor and do something with it, there you have it, I can control my curtains with an LLM. As one minute paper would say: what a time to be alive! lol

Some technicalities: - the chip is an ESP32, absolutely goated chip, has a wifi module, 4MB of ram and very flexible set of pins. That's where I run the MCP. - I drive a stepper motor NEMA 17 with a DRV8825 - The curtain is an ikea one, I fixed the motor shaft to the curtains shaft - I connect everything to the current via a step down buck converter and a cheap transformer

Writing the MCP server on arduino was not so fun since there is no SDK to make it easy easy, but following the documentation/specification from anthropic made it pretty okay. (be careful about the protocol version) I used mcp-use to connect to it which made it very easy to debug.

I think this is the future of home automation, I have some apple home stuff and the experience is just excruciating, hope it will evolve in this direction.

What should I control next ?

Thanks!!

2.

Show HN: I wrote an MCP server for ESP32, now I can open my curtains with LLMs(twitter.com ↗)

2 points · by pietruccio · 1y ago · 1 comment

comment 1y ago · link · parent

The list of MCPs (https://mcp.so/, etc) is so big and so fastly growing that the opportunities are unbounded, I hope people will be creative with tools like this and be able to control. In general, I'd love to see MCPs for robots :)

4.

Show HN: OSS Python client for creating MCP capable agents in 6 lines of code(github.com ↗)

5 points · by pzullo · 1y ago · 2 comments