Skip to main content

Control your Arduino microcontroller using LLMs

Project description

Chat With Arduino

Use Claude or other LLMs to control your Arduino microcontroller!

How it works

[demo goes here]

Features

  • 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

Installation

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.

  1. Install Claude Desktop either from the website or via brew install --cask claude

  2. Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh

  3. 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.

Usage

TODO

Roadmap

  • Auto-install arduino-cli
  • Support for ESP32

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chat_with_arduino-0.4.5.tar.gz (86.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chat_with_arduino-0.4.5-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file chat_with_arduino-0.4.5.tar.gz.

File metadata

  • Download URL: chat_with_arduino-0.4.5.tar.gz
  • Upload date:
  • Size: 86.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.5

File hashes

Hashes for chat_with_arduino-0.4.5.tar.gz
Algorithm Hash digest
SHA256 2c8b8ec47faa258a695ba534e53e1190f95559a136d296d76a1e3bc460c0d0ac
MD5 596e09ec7cab4fb83683f38af1b4395b
BLAKE2b-256 1d1cbd8713cad9eb4ee570a4d786c5a402a70dbb7aaea7d60884f7ac5eaad8bd

See more details on using hashes here.

File details

Details for the file chat_with_arduino-0.4.5-py3-none-any.whl.

File metadata

File hashes

Hashes for chat_with_arduino-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 07b4de938116302891e6ab2b61b07e1e353466d9c69267c6b3a2d3a78f2b80dc
MD5 99411cd177831b696e49f3252b30ab05
BLAKE2b-256 a019442e2e0d7282832c0e5aafdcdd32882ae89307848ebb412e1b2805fdac08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page