กลับไปหน้ารวมไฟล์
demo-of-my-new-arduino-project-manager-gpt-f9e91a-en.md

This is a demo showing the custom GPT I'm developing and posting a series here about. It can easily work with any of your projects in your standard ../Arduino folder. It's multi-platform so it knows where that folder is regardless if you are running Windows, macOS, or Linux.

It talks directly to your board using the arduino-cli tool which is available on all platforms.

It can analyze and edit any of your existing projects all just by talking with it, give you advice about any of them, and compile and upload them all without using any IDE. I'm also posting a series of articles on how to build this and other Customer GPT's using OpenAI. If there is interest I will also develop the same kind of specialized Gemini Gem for Google's AI platform.

Have Fun! (also, check out the GPT's logo 😉)

ripred

Artificial Brains: Arduino and ChatGPT

The Arduino Project Manager GPT isn't a traditional hardware build—it operates at the bleeding edge of IoT integration. This project connects an internet-enabled ESP32 to OpenAI's massive language models, turning a standard microcontroller into an incredibly smart conversational agent.

Securing the API Call

You cannot run AI models on an Arduino. Instead, you use the Cloud.

  1. The Request: The ESP32 connects to Wi-Fi. It takes a text input (perhaps from a microphone converting speech-to-text, or a serial terminal input).
  2. The HTTPS POST: The ESP32 crafts a highly secure, encrypted HTTPS request. It attaches your private OpenAI API Key, formats the question using JSON (JavaScript Object Notation), and sends it to api.openai.com.
  3. The Wait: The Arduino WiFiClientSecure library waits for the server response.
  4. The Parse: The ESP32 receives the massive JSON response back, uses ArduinoJSON to cut out the actual answer, and prints it to a screen!

Essential Parts Checklist

  • ESP32 or ESP8266 NodeMCU: Standard Arduinos don't have enough RAM or HTTPS capability for this.
  • Micro-USB Cable.
  • A valid OpenAI API Key.
  • A Display: A large TFT or I2C LCD to read the AI's responses.

This architecture forms the backbone of custom "Smart Home Assistant" projects, allowing you to ask your desk lamp complicated hardware questions and receive instant, articulate answers right on an LCD!

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x python"
author: "Ripred"
category: "Wireless & IoT"
components:
  - "1x Arduino Nano"
description: "This is a demo showing the custom GPT I'm developing and posting a series here about. It can easily work with any of your projects in your standard ../Arduino folder. It's multi-platform so it knows where that folder is regardless if you are running Windows, macOS, or Linux. \n\nIt talks directly to your board using the arduino-cli tool which is available on all platforms.\n\n It can analyze and edit any of your existing projects all just by talking with it, give you advice about any of them, and compile and upload them all without using any IDE.\n\nI'm also posting a series of articles on how to build this and other Customer GPT's using OpenAI.\n\nIf there is interest I will also develop the same kind of specialized Gemini Gem for Google's AI platform.\n\nHave Fun! (also, check out the GPT's logo 😉)\n\n`ripred`\n\nedit: Yes I had to film my screen showing the two separate films of the screen and the Nano videos because I don't have video editing that allows me to create a picture in a picture video. But the GPT IS controlling the Nano I promise heh. all of the code will be available in the series as well as on my github repositories. 😄"
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles:
  - "https://projects.arduinocontent.cc/2eafea77-2d0d-4c5b-8ab6-faf3fe525225.py"
encryptedPayload: "U2FsdGVkX19jZLK2cIkzAQ04BGCtr6Ch/i2uW+GhypRXyOD7mOqLN6q0OdWjkcXzZGD1z9uFImjXXUWY4T/ICWR9sfKGqnCHZPzqwVyQi83J+HMj6b1CBykqdIX56BED+vlAmmz8JIgEvegIXrWUxSDOYotKTGoH5vCQnGcPMG0="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/demo-of-my-new-arduino-project-manager-gpt-f9e91a_cover.jpg"
lang: "en"
likes: 2
passwordHash: "f26e0246860be75f7252123a52d326e7f9ce6d57cfa72011b6ac428b3b52bfc7"
price: 99
seoDescription: "New Arduino Project Manager GPT demo: Analyze, edit, compile, and upload code via arduino-cli without an IDE. Supports Windows, macOS, and Linux."
tags:
  - "Remote Control"
title: "Demo of my New Arduino Project Manager GPT"
tools: []
videoLinks:
  - "https://www.youtube.com/watch?v=Hhlq1Eq2puk"
views: 1845