Use Claude or other LLMs to control your Arduino microcontroller!
[demo goes here]
- Control your Arduino directly through Claude
- no code writing or uploading required. Claude handles it all
- You can move motors, turn on LEDs, read sensors directly via Claude
- Claude can write it's own code and upload it to the microcontroller
Install the desktop-based LLM app. I'll show how to use Claude Desktop,
but you can also use ollama
paired with oterm
for fully local tool-use.
-
Install Claude Desktop either from the website or via
brew install --cask claude
-
Install
uv
:curl -LsSf https://astral.sh/uv/install.sh | sh
-
Tell Claude how to use Chat With Arduino:
echo '{ "mcpServers": { "chat-with-arduino": { "command": "/opt/homebrew/bin/uvx", "args": [ "beyarkay/chat-with-arduino" ] } } }' > ~/Library/Application\ Support/Claude/claude_desktop_config.json
Now open Claude Desktop
, and you should see a small hammer icon on the bottom
right of the chat window:
![A small hammer icon circled in red][media/hammer.png]
You are now good to go! Claude is smart enough to figure out what commands need to be called to do what you want it to.
TODO
- Auto-install arduino-cli
- Support for ESP32