r/Arduino_AI • • Mar 31 '24

10 Surprising Fun Facts about Arduino AI

6 Upvotes

Did you know that Arduino AI can be used to create voice-controlled gadgets? Or that it was originally developed in Italy in 2005? Join us as we explore 10 surprising fun facts about Arduino AI, from its humble beginnings to its cutting-edge applications in machine learning and artificial intelligence. Share your favorite Arduino AI facts in the comments below!


r/Arduino_AI • • Jun 12 '24

Tutorials Serial Port Communication between PC and Arduino using Python 3 and PySerial Tutorial

Thumbnail
youtube.com
4 Upvotes

r/Arduino_AI • • Dec 17 '24

openAI api On the 9th day of "12 Days of OpenAI"...

1 Upvotes

r/Arduino_AI • • Jul 04 '24

Need help with Euclidean Rhythm Generator code

Thumbnail self.synthdiy
2 Upvotes

r/Arduino_AI • • Jun 26 '24

2MHz frequency output from Arduino UNO wifi Rev 2

4 Upvotes

I am facing an issue with Arduino UNO wifi rev 2 with 16 MHz clock speed, actually I want to have square waves as an output with frequency of 1-2 MHz but I am not able to get it as an output. Can someone please help?


r/Arduino_AI • • Feb 22 '24

esp32

1 Upvotes

I have this code that uses an ESP32-CAM for face recognition and when a smile is detected it takes a capture and sends it to my phone via Line notifications. I want to modify the code so that it sends a capture via Line when a face is detected. Can I have some help please?

//Line Notify (Smile)
    if (P1=="happy" || P1=="neutral" || P1=="sad" || P1=="angry" || P1=="fearful"  || P1=="disgusted"|| P1=="surprised") {
      Serial.println("");
      sendCapturedImage2LineNotify(lineNotifyToken);
    }
  } else if (cmd=="resetwifi") {  //重設網路連線  
    for (int i=0;i<2;i++) {
      WiFi.begin(P1.c_str(), P2.c_str());
      Serial.print("Connecting to ");
      Serial.println(P1);
      long int StartTime=millis();
      while (WiFi.status() != WL_CONNECTED) {
          delay(500);
          if ((StartTime+5000) < millis()) break;
      } 
      Serial.println("");
      Serial.println("STAIP: "+WiFi.localIP().toString());
      Feedback="STAIP: "+WiFi.localIP().toString();

      if (WiFi.status() == WL_CONNECTED) {
        WiFi.softAP((WiFi.localIP().toString()+"_"+P1).c_str(), P2.c_str());
        for (int i=0;i<2;i++) {    //若連不上WIFI設定閃光燈慢速閃爍
          ledcWrite(4,10);
          delay(300);
          ledcWrite(4,0);
          delay(300);    
        }
        break;
      }
    }
  } else if (cmd=="framesize") {
    int val = P1.toInt();
    sensor_t * s = esp_camera_sensor_get(); 
    s->set_framesize(s, (framesize_t)val);    
  } else if (cmd=="quality") { //畫質
    sensor_t * s = esp_camera_sensor_get();
    s->set_quality(s, P1.toInt());     
  } else if (cmd=="contrast") {  //對比
    sensor_t * s = esp_camera_sensor_get();
    s->set_contrast(s, P1.toInt());          
  } else if (cmd=="brightness") {  //亮度
    sensor_t * s = esp_camera_sensor_get();
    s->set_brightness(s, P1.toInt());   
  } else if (cmd=="saturation") {  //飽和度
    sensor_t * s = esp_camera_sensor_get();
    s->set_saturation(s, P1.toInt());          
  } else if (cmd=="special_effect") {  //特效
    sensor_t * s = esp_camera_sensor_get();
    s->set_special_effect(s, P1.toInt());  
  } else if (cmd=="hmirror") {  //水平鏡像
    sensor_t * s = esp_camera_sensor_get();
    s->set_hmirror(s, P1.toInt());  
  } else if (cmd=="vflip") {  //垂直翻轉
    sensor_t * s = esp_camera_sensor_get();
    s->set_vflip(s, P1.toInt());  
  } else {
    Feedback="Command is not defined.";
  }
  if (Feedback=="") Feedback=Command;  
}

//拆解命令字串置入變數
void getCommand(char c)
{
  if (c=='?') ReceiveState=1;
  if ((c==' ')||(c=='\r')||(c=='\n')) ReceiveState=0;
  
  if (ReceiveState==1)
  {
    Command=Command+String(c);
    
    if (c=='=') cmdState=0;
    if (c==';') strState++;
  
    if ((cmdState==1)&&((c!='?')||(questionstate==1))) cmd=cmd+String(c);
    if ((cmdState==0)&&(strState==1)&&((c!='=')||(equalstate==1))) P1=P1+String(c);
    if ((cmdState==0)&&(strState==2)&&(c!=';')) P2=P2+String(c);
    if ((cmdState==0)&&(strState==3)&&(c!=';')) P3=P3+String(c);
    if ((cmdState==0)&&(strState==4)&&(c!=';')) P4=P4+String(c);
    if ((cmdState==0)&&(strState==5)&&(c!=';')) P5=P5+String(c);
    if ((cmdState==0)&&(strState==6)&&(c!=';')) P6=P6+String(c);
    if ((cmdState==0)&&(strState==7)&&(c!=';')) P7=P7+String(c);
    if ((cmdState==0)&&(strState==8)&&(c!=';')) P8=P8+String(c);
    if ((cmdState==0)&&(strState>=9)&&((c!=';')||(semicolonstate==1))) P9=P9+String(c);
        const aiView = document.getElementById('stream')
        const aiStill = document.getElementById('get-still')
        const canvas = document.getElementById('canvas')     
        var context = canvas.getContext("2d");  
        const message = document.getElementById('message');
        const uart = document.getElementById('uart');
        const chkResult = document.getElementById('chkResult');
        const probability = document.getElementById('probability')
        var res = "";

        //Model: https://github.com/fustyles/webduino/tree/master/TensorFlow/Face-api
        const modelPath = 'https://fustyles.github.io/webduino/TensorFlow/Face-api/';
        let currentStream;
        let displaySize = { width:320, height: 240 }
        let faceDetection;
        
        Promise.all([
          faceapi.nets.tinyFaceDetector.load(modelPath),
          faceapi.nets.faceLandmark68TinyNet.load(modelPath),
          faceapi.nets.faceRecognitionNet.load(modelPath),
          faceapi.nets.faceExpressionNet.load(modelPath),
          faceapi.nets.ageGenderNet.load(modelPath)          
        ]).then(function(){
          message.innerHTML = "";
          aiStill.click();
        })  
        
        async function DetectImage() {
          canvas.setAttribute("width", aiView.width);
          canvas.setAttribute("height", aiView.height);
          context.drawImage(aiView, 0, 0, aiView.width, aiView.height); 
          if (!chkResult.checked) message.innerHTML = "";
                
          const detections = await faceapi.detectAllFaces(canvas, new faceapi.TinyFaceDetectorOptions()).withFaceLandmarks(true).withFaceExpressions().withAgeAndGender()
          const resizedDetections = faceapi.resizeResults(detections, displaySize)
          faceapi.draw.drawDetections(canvas, resizedDetections)
          faceapi.draw.drawFaceLandmarks(canvas, resizedDetections)
          faceapi.draw.drawFaceExpressions(canvas, resizedDetections)
          resizedDetections.forEach(result => {
            const { detection,expressions,gender,genderProbability,age } = result
            //message.innerHTML = JSON.stringify(result);

            res = "";
            var i=0;
            var maxEmotion="neutral";
            var maxProbability=expressions.neutral;
            if (expressions.happy>maxProbability) {
              maxProbability=expressions.happy;
              maxEmotion="happy";
            }
            if (expressions.sad>maxProbability) {
              maxProbability=expressions.sad;
              maxEmotion="sad";
            }
            if (expressions.angry>maxProbability) {
              maxProbability=expressions.angry;
              maxEmotion="angry";
            }
            if (expressions.fearful>maxProbability) {
              maxProbability=expressions.fearful;
              maxEmotion="fearful";
            }
            if (expressions.disgusted>maxProbability) {
              maxProbability=expressions.disgusted;
              maxEmotion="disgusted";
            }
            if (expressions.surprised>maxProbability) {
              maxProbability=expressions.surprised;
              maxEmotion="surprised";
            }

            if (uart.checked) {
              //當可能性最大的表情是happy時
              //if ((maxEmotion=="happy"||maxEmotion="neutral"||maxEmotion="sad" ||maxEmotion="angry" ||maxEmotion="fearful" ||maxEmotion="disgusted" ||maxEmotion="surprised")&&maxProbability>=Number(probability.value)) {
              if (maxEmotion=="happy" &&maxProbability>=Number(probability.value)) {
                var query = document.location.origin+'?uart='+maxEmotion;
                fetch(query)
                  .then(response => {
                    console.log(`request to ${query} finished, status: ${response.status}`)
                  })              
              }
            }
            
            res+= i+",age,"+Math.round(age)+",gender,"+gender+",genderProbability,"+Math.round(genderProbability)+",emotion,"+maxEmotion+",neutral,"+Math.round(expressions.neutral)+",happy,"+Math.round(expressions.happy)+",sad,"+Math.round(expressions.sad)+",angry,"+Math.round(expressions.angry)+",fearful,"+Math.round(expressions.fearful)+",disgusted,"+Math.round(expressions.disgusted)+",surprised,"+Math.round(expressions.surprised)+",boxX,"+Math.round(detection._box._x)+",boxY,"+Math.round(detection._box._y)+",boxWidth,"+Math.round(detection._box._width)+",boxHeight,"+Math.round(detection._box._height)+"<br>";
            i++;        
            new faceapi.draw.DrawTextField(
              [
                `${faceapi.round(age, 0)} years`,
                `${gender} (${faceapi.round(genderProbability)})`
              ],
              result.detection.box.bottomRight
            ).draw(canvas)
          })
          
          if (chkResult.checked) message.innerHTML = res;
          aiStill.click();
        }
        
        aiView.onload = function (event) {
          try { 
            document.createEvent("TouchEvent");
            setTimeout(function(){DetectImage();},250);
          } catch(e) { 
            setTimeout(function(){DetectImage();},150);
          } 
        }
        
        //官方式函式
        function start() {
          var baseHost = 'http://'+document.getElementById("ip").value;  //var baseHost = document.location.origin
   
          const hide = el => {
            el.classList.add('hidden')
          }
          
          const show = el => {
            el.classList.remove('hidden')
          }
        
          const disable = el => {
            el.classList.add('disabled')
            el.disabled = true
          }
        
          const enable = el => {
            el.classList.remove('disabled')
            el.disabled = false
          }
        
          const updateValue = (el, value, updateRemote) => {
            updateRemote = updateRemote == null ? true : updateRemote
            let initialValue
            if(!el) return;
            if (el.type === 'checkbox') {
              initialValue = el.checked
              value = !!value
              el.checked = value
            } else {
              initialValue = el.value
              el.value = value
            }
        
            if (updateRemote && initialValue !== value) {
              updateConfig(el);
            } 
          }
        
          function updateConfig (el) {
            let value
            switch (el.type) {
              case 'checkbox':
                value = el.checked ? 1 : 0
                break
              case 'range':
              case 'select-one':
                value = el.value
                break
              case 'button':
              case 'submit':
                value = '1'
                break
              default:
                return
            }
        
            if (el.id =="flash") {  //新增flash自訂指令
              var query = baseHost+"?flash=" + String(value);
            } else if (el.id =="servo") {  //新增servo自訂指令
              var query = baseHost+"?servo=" + pinServo.value + ";" + String(value);
            } else if (el.id =="relay") {  //新增繼電器自訂指令
              var query = baseHost+"?relay=" + pinRelay.value + ";" + Number(relay.checked);
            } else if (el.id =="uart") {  //新增uart自訂指令
              return;
            } else if (el.id =="probability") {  //新增probability自訂指令
              return;                                          
            } else {
              var query = `${baseHost}/?${el.id}=${value}`
            }
        
            fetch(query)
              .then(response => {
                console.log(`request to ${query} finished, status: ${response.status}`)
              })
          }
        
          document
            .querySelectorAll('.close')
            .forEach(el => {
              el.onclick = () => {
                hide(el.parentNode)
              }
            })
        
          const view = document.getElementById('stream')
          const viewContainer = document.getElementById('stream-container')
          const stillButton = document.getElementById('get-still')
          const enrollButton = document.getElementById('face_enroll')
          const closeButton = document.getElementById('close-stream')
          const stopButton = document.getElementById('stop-still')            //新增stopButton變數
          const restartButton = document.getElementById('restart')            //新增restart變數
          const flash = document.getElementById('flash')                      //新增flash變數
          const servo = document.getElementById('servo')                      //新增servo變數
          const pinServo = document.getElementById('pinServo');               //新增servo pin變數
          const relay = document.getElementById('relay')                      //新增relay變數
          const pinRelay = document.getElementById('pinRelay');               //新增relay pin變數          
          const uart = document.getElementById('uart')                        //新增uart變數
          var myTimer;
          var restartCount=0;    
          var streamState = false;
          
          stopButton.onclick = function (event) {   
            window.stop();
            message.innerHTML = "";
          }    
           
          // Attach actions to buttons
          stillButton.onclick = () => {
            view.src = `${baseHost}/?getstill=${Date.now()}`
            show(viewContainer);     
          }
          
          closeButton.onclick = () => {
            hide(viewContainer)
          }
          
          //新增重啟電源按鈕點選事件 (自訂指令格式:http://192.168.xxx.xxx/?cmd=P1;P2;P3;P4;P5;P6;P7;P8;P9)
          restartButton.onclick = () => {
            fetch(baseHost+"/?restart");
          }    
                
          // Attach default on change action
          document
            .querySelectorAll('.default-action')
            .forEach(el => {
              el.onchange = () => updateConfig(el)
            })
        
          framesize.onchange = () => {
            updateConfig(framesize)
          }
          
          // read initial values  
          fetch(`${baseHost}/?status`)
          .then(function (response) {
            return response.json()
          })
          .then(function (state) {
            document
            .querySelectorAll('.default-action')
            .forEach(el => {
              if (el.id=="flash") {  //新增flash設定預設值0
                flash.value=0;
                var query = baseHost+"?flash=0";
                fetch(query)
                  .then(response => {
                    console.log(`request to ${query} finished, status: ${response.status}`)
                  })
              } else if (el.id=="servo") {  //新增servo設定預設值90度
                servo.value=90;
                /*
                var query = baseHost+"?servo=" + pinServo.value + ";90";
                fetch(query)
                  .then(response => {
                    console.log(`request to ${query} finished, status: ${response.status}`)
                  })
                */
              } else if (el.id=="relay") {  //新增relay設定預設值0
                relay.checked = false;
                /*
                var query = baseHost+"?relay=" + pinRelay.value + ";0";
                fetch(query)
                  .then(response => {
                    console.log(`request to ${query} finished, status: ${response.status}`)
                  })
                */
              } else if (el.id=="uart") {  //新增uart設定預設值0
                uart.checked = false;
              } else if (el.id=="probability") {  //新增probability設定預設值0
                probability.value = 0;                                  
              } else {    
                updateValue(el, state[el.id], false)
              }
            })
          })
        }
        
        //  網址/?192.168.1.38  可自動帶入?後參數IP值
        var href=location.href;
        if (href.indexOf("?")!=-1) {
          ip.value = location.search.split("?")[1].replace(/http:\/\//g,"");
          start();
        }
        else if (href.indexOf("http")!=-1) {
          ip.value = location.host;
          start();
        }
          
    </script>        
    </body>
</html>
)rawliteral";

//設定選單初始值取回json格式
void status(){
  //回傳視訊狀態
  sensor_t * s = esp_camera_sensor_get();
  String json = "{";
  json += "\"framesize\":"+String(s->status.framesize)+",";
  json += "\"quality\":"+String(s->status.quality)+",";
  json += "\"brightness\":"+String(s->status.brightness)+",";
  json += "\"contrast\":"+String(s->status.contrast)+",";
  json += "\"saturation\":"+String(s->status.saturation)+",";
  json += "\"special_effect\":"+String(s->status.special_effect)+",";
  json += "\"vflip\":"+String(s->status.vflip)+",";
  json += "\"hmirror\":"+String(s->status.hmirror);
  json += "}";
  
  client.println("HTTP/1.1 200 OK");
  client.println("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
  client.println("Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS");
  client.println("Content-Type: application/json; charset=utf-8");
  client.println("Access-Control-Allow-Origin: *");
  client.println("Connection: close");
  client.println();
  
  for (int Index = 0; Index < json.length(); Index = Index+1024) {
    client.print(json.substring(Index, Index+1024));
  }
}

void mainpage() {
  //回傳HTML首頁或Feedback
  client.println("HTTP/1.1 200 OK");
  client.println("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
  client.println("Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS");
  client.println("Content-Type: text/html; charset=utf-8");
  client.println("Access-Control-Allow-Origin: *");
  client.println("Connection: close");
  client.println();
  
  String Data="";
  if (cmd!="")
    Data = Feedback;
  else
    Data = String((const char *)INDEX_HTML);
  
  for (int Index = 0; Index < Data.length(); Index = Index+1024) {
    client.print(Data.substring(Index, Index+1024));
  } 
}

void getStill() {
  //回傳JPEG格式影像
  camera_fb_t * fb = NULL;
  fb = esp_camera_fb_get();  
  if(!fb) {
    Serial.println("Camera capture failed");
    delay(1000);
    ESP.restart();
  }

  client.println("HTTP/1.1 200 OK");
  client.println("Access-Control-Allow-Origin: *");              
  client.println("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
  client.println("Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS");
  client.println("Content-Type: image/jpeg");
  client.println("Content-Disposition: form-data; name=\"imageFile\"; filename=\"picture.jpg\""); 
  client.println("Content-Length: " + String(fb->len));             
  client.println("Connection: close");
  client.println();
  
  uint8_t *fbBuf = fb->buf;
  size_t fbLen = fb->len;
  for (size_t n=0;n<fbLen;n=n+1024) {
    if (n+1024<fbLen) {
      client.write(fbBuf, 1024);
      fbBuf += 1024;
    }
    else if (fbLen%1024>0) {
      size_t remainder = fbLen%1024;
      client.write(fbBuf, remainder);
    }
  }  
  esp_camera_fb_return(fb);

  pinMode(4, OUTPUT);
  digitalWrite(4, LOW);              
}

String sendCapturedImage2LineNotify(String token) {
  camera_fb_t * fb = NULL;
  fb = esp_camera_fb_get();  
  if(!fb) {
    Serial.println("Camera capture failed");
    delay(1000);
    ESP.restart();
    return "Camera capture failed";
  }
   
  WiFiClientSecure client_tcp;
  client_tcp.setInsecure();   //run version 1.0.5 or above
  Serial.println("Connect to notify-api.line.me");
  if (client_tcp.connect("notify-api.line.me", 443)) {
    Serial.println("Connection successful");
    
    String message = "ESP32-CAM";
    String head = "--Taiwan\r\nContent-Disposition: form-data; name=\"message\"; \r\n\r\n" + message + "\r\n--Taiwan\r\nContent-Disposition: form-data; name=\"imageFile\"; filename=\"esp32-cam.jpg\"\r\nContent-Type: image/jpeg\r\n\r\n";
    String tail = "\r\n--Taiwan--\r\n";

    uint16_t imageLen = fb->len;
    uint16_t extraLen = head.length() + tail.length();
    uint16_t totalLen = imageLen + extraLen;
  
    client_tcp.println("POST /api/notify HTTP/1.1");
    client_tcp.println("Connection: close"); 
    client_tcp.println("Host: notify-api.line.me");
    client_tcp.println("Authorization: Bearer " + token);
    client_tcp.println("Content-Length: " + String(totalLen));
    client_tcp.println("Content-Type: multipart/form-data; boundary=Taiwan");
    client_tcp.println();
    client_tcp.print(head);
    
    uint8_t *fbBuf = fb->buf;
    size_t fbLen = fb->len;
    for (size_t n=0;n<fbLen;n=n+1024) {
      if (n+1024<fbLen) {
        client_tcp.write(fbBuf, 1024);
        fbBuf += 1024;
      }
      else if (fbLen%1024>0) {
        size_t remainder = fbLen%1024;
        client_tcp.write(fbBuf, remainder);
      }
    }  
    
    client_tcp.print(tail);
    esp_camera_fb_return(fb);

    String getResponse="",Feedback="";
    int waitTime = 10000;   // timeout 10 seconds
    long startTime = millis();
    boolean state = false;
    
    while ((startTime + waitTime) > millis()) {
      Serial.print(".");
      delay(100);      
      while (client_tcp.available())  {
          char c = client_tcp.read();
          if (state==true) Feedback += String(c);        
          if (c == '\n') {
            if (getResponse.length()==0) state=true; 
            getResponse = "";
          } 
          else if (c != '\r')
            getResponse += String(c);
          startTime = millis();
       }
       if (Feedback.length()>0) break;
    }
    Serial.println();
    client_tcp.stop();
    return Feedback;
  }
  else {
    return "Connected to notify-api.line.me failed.";
  }
}

r/Arduino_AI • • Feb 21 '25

A One-Shot Demo of the APM GPT while it knows it is going to be in a community post...

4 Upvotes

Update: Just to be clear; This is all happening live on my local hard drive with all of the files and folders left so I can continue to edit them however I want. Or I can have the agent take a look at things and suggest changes or tell it to make go ahead and them if I choose. 😀


r/Arduino_AI • • Jan 21 '25

Ai showed better results than I could have manually_now I feel useless

3 Upvotes

The AI analysis outperformed my manual work.does this make me redundant?


r/Arduino_AI • • Feb 26 '25

Arduino Project Manager GPT now includes library file caching, reading, explaining. Short demo..

3 Upvotes

r/Arduino_AI • • Feb 24 '25

APM GPT New Featurs: Library and Board Management, Installing, and Updating

1 Upvotes

Cheers!
ripred


r/Arduino_AI • • Feb 05 '24

Simple RNN on Arduino Due and Portenta H7

3 Upvotes

Hi,

I need to deploy a simple Recurrent Neural Network created using Tensorflow on the Due and Portenta H7. I've been looking online, but I could only find Tensorflow lite for the Nano 33 BLE Sense. I also read something about using EdgeImpulse, but not too sure on how to go about that. Does anyone have any insights?


r/Arduino_AI • • Feb 20 '25

Look What I Made! Demo of my New Arduino Project Manager GPT

4 Upvotes

This is a demo showing the custom gpt series 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 of 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!

ripred

edit: 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 it is real I swear all of the code will be available in the series as well as on my github repositories. 😄


r/Arduino_AI • • Mar 04 '24

Look What I Made! Arduino self-driving car project+tutorial

Thumbnail
dev.to
2 Upvotes

Hey everyone, I'm working towards building an Arduino based car with self driving capabilities. Will be sensors and exchanging data wirelessly using the esp8266. I'm still new to embedded programming so would love your feedback!


r/Arduino_AI • • Sep 13 '24

Connecting to Chat GPT (API) From Arduino Uno R4 (x-post with r/Arduino)

7 Upvotes

Hey guys,

Ever since Open AI came out with a multi-modal model (GPT-4o) that can take audio and images as input, I've been thinking about how cool it would be to create Arduino projects powered by Chat GPT. For instance, a robot that you can control by talking to it.

I'm in the process of ordering a microphone / speaker, so I can expand on this idea, but to get started, today I managed to get my Arduino R4 hooked up to my WIFI and hooked up Open AI's API.

Currently, I have hardcoded a question (prompt) that asks Chat GPT "What is 1+1", and prints out the response to the serial monitor. Pretty simple, but I'm hoping to start building some cool projects with this setup!

Here's a link to my project in case you guys want to give it a try yourself:
https://app.cirkitdesigner.com/project/6c561288-cb6c-43b2-bb27-2ce5b1217712

Note: You'll need to set up your own Open AI API account to get this working.

Let me know if you have any suggestions for projects, etc. I'd love to hear your thoughts!

Austin


r/Arduino_AI • • Mar 12 '24

What free (no subscription level) AI coding assistants have you found to be the most useful?

11 Upvotes

I have been testing several lately including the following:

I have run several trail tests with all of these, submitting the same question and evaluating their responses by correctness, usefulness, etc.

So far I am most impressed with Mistral, Gemini, and the crewAI platforms.

I'm curious to hear what other users experiences are, and of course what platforms I have left off of this initial list.

Cheers!

ripred


r/Arduino_AI • • Nov 25 '23

Resource-conscious neural network implementation for MCUs

Thumbnail self.arduino_ai
2 Upvotes

r/Arduino_AI • • Jul 08 '24

Teensy 4.1

3 Upvotes

Guys I have been working with Teensy and whenever I try to run any code on it then it shows only one error -

Memory Usage on Teensy 4.1:

FLASH: code:9188, data:4040, headers:8272 free for files:8104964

RAM1: variables:4832, code:6496, padding:26272 free for local variables:486688

RAM2: variables:12416 free for malloc/new:511872

Idk what to do please throw out any suggestion you have guys, it's urgent


r/Arduino_AI • • Mar 04 '25

Look What I Made! A New Game Using the Minimax Library – Othello (Reversi)!

Thumbnail reddit.com
1 Upvotes

r/Arduino_AI • • Mar 14 '24

Error in uploading program

2 Upvotes

I am facing issues in uploading my program in arduino I have checked the ports and device but I am not able to find any issues. does anyone know anything about it ?


r/Arduino_AI • • Feb 14 '24

ai arduino robot

5 Upvotes

I'm looking to make a Ronbot that can use speech to text enter that speech into a chat gpt esque program and use text to speech to respond

edit what programs /boards can i use i have an arduino uno could i use that or would i need a new one


r/Arduino_AI • • Jul 01 '24

New AI Chat Library for Arduino - Integrate ChatGPT and More! 🤖💬

10 Upvotes

Hi Arduino enthusiasts! 👋

I'm excited to share my new project, AI Chat Library for Arduino, which allows you to integrate AI chatbot capabilities into your Arduino projects effortlessly. Whether you want to connect to OpenAI's ChatGPT, Hugging Face APIs, or other free chatbot APIs, this library makes it simple and effective.

quick example for library

I hope you find this library useful for your projects. Contributions and feedback are always welcome! Let's make Arduino projects even smarter together. 😊

If you have any questions or need help, feel free to ask. Happy coding!

🔗 GitHub Repository : https://github.com/bayeggex/Arduino-AI-Chat-Library

cross posting : r/arduino & r/Arduino_AI


r/Arduino_AI • • Jun 01 '26

my robot lidar moves now up down left right if i need it, too hard and rough. but works

6 Upvotes

r/Arduino_AI • • Nov 20 '25

ATtiny85 - Image recognition via the internal 512-byte EEPROM

Thumbnail reddit.com
3 Upvotes

r/Arduino_AI • • Dec 10 '25

MOD POST Announcement : Upcoming AMA with Marcello Majonchi, CPO of Arduino LLC - Let’s Talk About the Qualcomm Acquisition, New ToS, and the UNO Q

Thumbnail reddit.com
2 Upvotes

r/Arduino_AI • • May 02 '26

firsttime that steering + lidar + cam works

19 Upvotes