Arduino IDE Extension

Integrate AI code generation directly into the Arduino IDE

Download the Coduino AI Assistant extension package:

The extension is compatible with Arduino IDE 2.0 and above.

  1. Download the extension package using the button above
  2. Extract the ZIP file to a location you can easily find
  3. Open Arduino IDE 2.3.5
  4. Go to Sketch > Include Library > Add .ZIP Library...
  5. Navigate to the extracted folder and select it
  6. Click Open to install the extension
  7. After installation, you'll see a message confirming the library has been added
  8. Restart the Arduino IDE to complete the installation

  1. The extension is pre-configured to use our hosted AI service
  2. No additional configuration is needed for most users
  3. If you need to use your own API keys for the AI services:
  4. Create a file named arduino_ai_config.txt in your Arduino sketchbook directory
  5. Add your API keys in the format: OPENAI_API_KEY=your_key_here (one key per line)
  6. Restart the Arduino IDE after creating or modifying this file
If you're using your own API key, be sure to keep it secure and never share it publicly.

To generate code:
  1. Open Arduino IDE 2.3.5
  2. Click on Sketch > New Sketch to create a new Arduino sketch
  3. Go to Sketch > Include Library > Coduino AI Assistant > Generate Code
  4. In the dialog that appears, describe what you want your Arduino to do
  5. Select which components you're using (LED, sensors, motors, etc.)
  6. Click Generate to create your Arduino code
  7. The generated code will appear in your current sketch, ready to upload to your Arduino
To get explanations:
  1. Open an Arduino sketch with code you want to understand
  2. Go to Sketch > Include Library > Coduino AI Assistant > Explain Code
  3. The AI will provide a detailed explanation of how the code works

Extension Features

Natural Language to Code

Describe what you want your Arduino to do in plain English, and the extension will generate the corresponding code.

Boilerplate Generation

Quickly generate foundation code for common Arduino projects and components without writing everything from scratch.

Code Explanation

Get detailed explanations of the generated code to help you understand how it works and how to modify it.

Code Completion

Get AI-powered suggestions as you write Arduino code to speed up your development process.

Demo Video

Video Demo Coming Soon

Check back later for a video tutorial on using the Coduino AI Assistant extension.