r/Arduino_AI • • Jan 12 '26

Arduino AI! arduino mcp powered claude will make brain start questioning reality like never before!

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/Arduino_AI • • Mar 24 '26

this project is a bridge between embedded systems and AI

1 Upvotes

Building a decentralized LoRa Mesh Network

I started by assembling three custom nodes, two were built using ESP32 boards flashed with the Meshtastic firmware
and the third was a preassembled TTGO board, all three were configured with identical radio settings and the same channel URL to ensure they could see each other.
the result was the three nodes communicate freely on the 868 MHz band with full access via the Meshtastic android app and web interface.

While the first step was to create a reliable RF backbone for an AI swarming project, the setup has clear practical applications,
For companies, it provides a resilient communication layer for warehouses, factories, construction sites, or outdoor facilities where wifi and cellular are unreliable.
For teams, employees can grab a node, connect it to a machine, and exchange info without relying on the internet.
The 868 MHz frequency offers excellent building penetration as fixed nodes can act as repeaters to extend coverage, and the self healing mesh requires no central infrastructure.

I documented the steps on youtube : https://www.youtube.com/watch?v=dpcqyKeVRN4&t=35s

the second part :

AI remote control over Mesh

After establishing the mesh network, it was left to bridge the gap between large language models and remote system control,
and by taking from the previous experiments (AI models chatting over mesh and using meshexec for data retrieval) i integrated them into a single system and added an option for full control over the target system.

Now it works by the controller machine that runs a python script as it uses a fast and lightweight AI model,
the user can type a request like "show me the disk space of the remote box in powershell" and the AI translates it into the correct command.
The target machine runs a swarm handler with its own AI model and this model acts as a safety layer by reviewing the incoming command to ensure it isn't destructive and rejecting dangerous file operations before executing it
The command is sent over the Meshtastic network and the system maintains powershell and cmd sessions allowing user commands and directory tracking.

This setup merges radio remote execution with LLMs into one, I can simply manage remote systems without memorizing command syntax with the swarming AI architecture
(one for translation and one for safety), the system even handles Meshtastic’s message size limits by chunking long responses.

i documented the steps on youtube : (1) https://www.youtube.com/watch?v=P6Je3_ckbqQ&t=109s
(2) https://www.youtube.com/watch?v=yI3kFZcB210


r/Arduino_AI • • Feb 18 '25

Tutorials Level Up Your Arduino: Custom GPT Control

2 Upvotes

This series will demonstrate how to build a Custom GPT (using OpenAI) to control your Arduino, write code, upload it, and interact with it in real-time.

Specifically, this Custom GPT will be able to:

  • Generate Arduino code based on natural language instructions.

  • Upload generated code directly to your Arduino.

  • Interface with your running Arduino program through a Python application, enabling data streaming and control.

  • Pass text and images bi-directionally between your Arduino and the GPT conversation.

Disclaimer: Using Custom GPT "Actions" requires a paid OpenAI subscription (Plus, Pro, or Enterprise).

Custom GPTs and "Actions": The Basics

A Custom GPT, in this context, is a specifically trained model designed to recognize Arduino-related requests. When a relevant prompt is detected, it extracts the necessary information and passes it to an "Action" – a Python function we'll develop to handle code generation, uploading, and communication with the Arduino. This allows for customized interaction and responses.

With the right Python libraries you can even return images or video back to the conversation. This means things like (for example) maybe showing an animated GIF of a running circuit, grabbed from falstad.com's circuit simulator. Or an image of the wiring steps for a breadboard project using one of the online simulators, and grabbing their screens to get the images.

Dall-E and Sora are two examples of Custom GPT's.

Why This Matters

This approach can significantly streamline Arduino development, making it more intuitive and potentially accelerating project completion.

Initial Setup: Essential Tools

We'll be using two command-line tools:

  • ngrok: Creates a secure tunnel from your local machine to a public URL. This is necessary for OpenAI servers to access your locally running Python application.

  • uvicorn: An ASGI web server implementation, which we'll use to run our Python application and handle communication.

Let's get these installed. Instructions for Windows, macOS, and Linux follow.

1. Installing ngrok

  • Purpose: Enables OpenAI to access your local Python server.

  • Common Steps (All Platforms):

    1. Download the appropriate package for your OS from https://ngrok.com/download.

    2. Unzip the downloaded archive.

    3. Authentication: Create a free ngrok account at https://ngrok.com/. Obtain your authtoken from the dashboard (https://dashboard.ngrok.com/get-started/setup).

  • Windows:

    1. Move ngrok.exe to a designated directory (e.g., C:\ngrok). Create the directory if it doesn't exist.

    2. Add C:\ngrok to your system's PATH environment variable.

      • Search for "Edit the system environment variables".

      • Select "Environment Variables...".

      • Under "System variables", locate Path, select it, and click "Edit...".

      • Click "New" and add C:\ngrok.

      • Confirm changes by clicking "OK" on all windows.

    3. Open a new Command Prompt and execute ngrok authtoken YOUR_AUTHTOKEN (replace YOUR_AUTHTOKEN with your actual authtoken).

  • macOS:

    1. Move the ngrok executable to /usr/local/bin:(Replace /path/to/ngrok with the actual path to the downloaded file.)sudo mv /path/to/ngrok /usr/local/bin/ngrok

    2. Make it executable:sudo chmod +x /usr/local/bin/ngrok

    3. Run ngrok authtoken YOUR_AUTHTOKEN in Terminal.

  • Linux:

    1. Extract the ngrok executable to a directory (e.g., ~/ngrok).

    2. Add the directory to your PATH. Temporarily:For a persistent change, add the above line to ~/.bashrc or ~/.zshrc.export PATH="$PATH:~/ngrok"

    3. Make it executable:chmod +x ~/ngrok/ngrok

    4. Execute ngrok authtoken YOUR_AUTHTOKEN in Terminal.

2. Installing uvicorn

  • Purpose: To run our Python application.

  • All Platforms:

    1. Python Installation: Ensure you have Python 3.7+ installed. Download from https://www.python.org/downloads/. On Windows, select the option to add Python to your PATH.

    2. Terminal/Command Prompt: Open your preferred terminal.

    3. Install uvicorn**:**(Use pip3 if necessary.) pip install uvicorn

That concludes the initial setup. If you encounter any issues with ngrok or uvicorn installation, please post in the comments. The next post will cover building the Python application for Arduino interaction. #arduino #openai #gpt #python #ai #makers


r/Arduino_AI • • Nov 21 '23

A Cardboard Ant vs Aggressive Plastic One. Running out of plastics and having to use another material. What do you think, guys?

Thumbnail
self.diyelectronics
0 Upvotes

r/Arduino_AI • • Feb 01 '24

Light autonomous machinery platform killed a bird "accidentally"

0 Upvotes

r/Arduino_AI • • Apr 26 '26

Ghosting su display 7 segmenti con filamenti LED + 74HC595 + ULN2803

Thumbnail reddit.com
0 Upvotes

r/Arduino_AI • • Mar 19 '26

How to build a BlackBerry-style "Pocket Terminal" for AI and Server Administration?

0 Upvotes

Hi everyone! I’m planning a project to build my own Linux handheld console. My main goal is professional use: app development, server troubleshooting (remote access), and running CLI-based AI models (lightweight LLMs).

I'm looking for a compact design, similar to a BlackBerry. I have the following questions:

  1. Base Hardware: Which board do you recommend? I’ve considered a Raspberry Pi 4/5 (for the RAM needed for AI) or something like a Radxa Zero. Do you think a microcontroller like an Arduino would be enough, or is an SBC strictly necessary?

  2. Interface: For server administration and coding, what is more practical: a touchscreen or an integrated physical keyboard (QWERTY style)?

  3. AI: Does anyone have experience running small models (like TinyLlama or Phi-3) on handheld devices of this size?

  4. Components: Do you know of any keyboard or screen kits that make this form factor easier to build?

Thanks for your advice!


r/Arduino_AI • • Apr 03 '25

Dialog Vibe Coding for Arduino

5 Upvotes

Hello all,

My background is in automotive and robotics, and I run a consultancy that specializes in programming embedded systems in the Rust programming language (including Arduinos!)

On the side we're making a "vibe coding for Arduino" tool (or any other microcontroller).

For those who haven't heard, "vibe coding" is the rebrand for no-code tools powered by AI. For example, Replit or Bolt.new

We'd like to commercialize the tool at some point, but until then I'd really like to talk with people who might be interested in such a thing and get a sense for what features are important and what are not. Especially people who'd like to be initial alpha testers!

If this sounds interesting, please comment or DM any suggestions and if you'd be willing to chat.

Cheers! Brendan


r/Arduino_AI • • Feb 02 '26

I spent 3 hours debugging why my ESP32 MQTT location data vanished. Telemetry worked, heartbeat worked, location silently disappeared. The fix was one line.

6 Upvotes

I'm building a fleet tracking system with ESP32 devices in commercial vehicles. The setup: ESP32 → MQTT (EMQX) → Node.js backend → PostgreSQL.

Everything looked perfect in Serial Monitor:

[LOC] Published: 41.013045,28.909387 spd=0.1 sats=8 ✅
[TEL] Published: system telemetry ✅
[HB] Published: heartbeat ✅

But when I checked the MQTT broker trace... location messages were completely missing. Telemetry arrived every 60s. Heartbeat arrived every 60s. Location? Zero. Nothing. Not a single message in hours.

**The root cause:** PubSubClient's default buffer is **256 bytes**. My location payload (lat, lon, speed, heading, altitude, satellites, hdop, wifi_rssi, fw_version) was ~220 bytes + 38 byte topic + MQTT overhead = **~268 bytes**. Just 12 bytes over the limit.

**The evil part:** `publish()` returns `false` when the message doesn't fit, but since I wasn't checking the return value, Serial kept printing "Published!" like everything was fine. The function fails silently if you don't check.

Here's the math:

MessagePayloadTotal w/ topicStatus
Telemetry~165 bytes~215 bytes✅ Fits in 256
Heartbeat~80 bytes~130 bytes✅ Fits in 256
Location~220 bytes~268 bytes❌ Over by 12 bytes

**The fix — literally one line in setup():**

```cpp
mqtt_client.setBufferSize(512);
```

That's it. After adding this, every location message started arriving at the broker instantly.

**Lessons learned:**

  1. **Always call `setBufferSize()`** — never rely on the 256-byte default

  2. **Always check `publish()` return value** — it returns a bool for a reason

  3. **Test at the broker level, not Serial Monitor** — Serial Monitor will lie to you

  4. Calculate your total packet size: topic + payload + ~10 bytes overhead

I wrote a `SafePublish` wrapper library that does pre-flight buffer checks and logs actual publish results. It also catches the overflow before it happens and tells you exactly what buffer size you need.

**GitHub repo with full writeup + SafePublish library:**
https://github.com/mightyforever74/esp32-mqtt-silent-fail

Hope this saves someone the 3 hours I lost! 🫠


r/Arduino_AI • • Jun 14 '26

Quiero hacer un proyecto de reconocimiento de imagen pero no se como

1 Upvotes

Últimamente me han interesado las placas de Arduino, porque son baratas y sirven para hacer proyectos bastante entretenidos.

El último proyecto que quería hacer necesita reconocer un dibujo específico en la camiseta de las personas usando una cámara, y me gustaría que trabajase de manera autónoma, pero he estado investigando y no sé siquiera si eso es posible 😅

No quiero gastar demasiado dinero así que había pensado en capaz usar una placa Orange pi como apoyo pero quería saber ¿Qué me recomendáis? ¿Cómo puedo hacerlo? 🤔

(Es una cosa de juguete con 0 utilidad así que quiero gastar lo menos posible)


r/Arduino_AI • • Dec 05 '24

Wanna Hire someone for Arduino coding (contain ESP32 cam, Ai model trained by EdgeImpulse)

1 Upvotes

Hyy, I am looking for someone who can help me in Arduino coding for a project. Someone with expertise in this area (plss only if you have expertise). I am trying to integrate AI model trained by edge impulse on Esp32cam. Basically, ESp32cam will take an image and send it as input to Ai model and on basis of output we will do some tasks


r/Arduino_AI • • Dec 03 '25

Code Help Arduino help Request - Zeppelin

1 Upvotes

Hello,

I'm in desperate need of help with lines of code for my Arduino project.

I'm making a RC Zeppelin with 3 BLDC Motors, 2 for direction on each side of the zeppelin, 1 for elevation under the zeppelin. We are also using 3 ESC + BLDCS Pulsar B-20. We are using the receiver R8EF and as sensors the BMP280 + InduinoST1099 and a T8S Controller.

We are also using the Arduino nano.

What I'm requesting is basic lines of code to make my Zeppelin up and working in Arduino.

Thanks for your time and many thanks!


r/Arduino_AI • • Jun 09 '26

Use of AI by students to create Arduino projects

7 Upvotes

I work as a remote teacher in electronics. We use Wokwi with students so that they have to solve a use case by creating the circuit, programming the MCU and documenting the development.

I am afraid of the students using generative AI to create their whole project. Can you imagine a sort of CAPTCHA in the use case definition to make sure that the solution was created by a human (student)?


r/Arduino_AI • • Nov 04 '23

Tutorials Temperature monitoring with DHT11

Thumbnail
youtu.be
2 Upvotes

r/Arduino_AI • • Jan 26 '24

Help me

2 Upvotes

This code plays music on a regular speaker by sending data(port.write(number)) to the port from a Processing program. However, when attempting to use DFPlayer instead of the melody_play(3) section at the end of the code, the audio doesn't play even when writing code as follows. What could be the reason for this, and how can it be corrected?

#include <SoftwareSerial.h>
//Pin Assign
#define BT_RX 6
#define BT_TX 7
#define DP_LED 2
#define SP 5
#define SW 4
//Constant Value
#define BAUDRATE 115200
//Getting raw data
#define period 100 //measurement period
#define ST 1000 //計測以外での待ち時間の設定 setting of waiting time (besides measuring)
#define Vcc 5.0 //電圧値⇒圧力値で使用 voltage value ⇒ used at pressure value
#define Rm 1.0 //電圧値⇒圧力値で使用 voltage value ⇒ used at pressure value
#include "SoftwareSerial.h"
#include "DFRobotDFPlayerMini.h"
// Use pins 2 and 3 to communicate with DFPlayer Mini
static const uint8_t PIN_MP3_TX = 2; // Connects to module's RX
static const uint8_t PIN_MP3_RX = 3; // Connects to module's TX
SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX);
SoftwareSerial mySerial(BT_RX,BT_TX);
// Create the Player object
DFRobotDFPlayerMini myDFplayer;
//Software Serial class
//--追加部分------------------------
//Valiable
int melo[8][24];
int wait[8][24];
unsigned long melody_millis = 0;
int melody_count = 0;
int melody_flag = -1;
//-----------------------------------
//Time management
unsigned long time_now = 0; //time in which the measurement is done
int Count = 0; //計測終了用のカウント count for measuring termination (in case of pressing the button twice by accident)
int APin_F = 0; //Analogread圧力値入力 pressure value input
int APin_ax, APin_ay, APin_az; //Analogread加速度入力 x axis acceleration input
float F_Vout, Rfsr; //Used for calculate force
float ax_row, ay_row, az_row; //Acceleration [G]
//------追加部分-----------------------------
void melody_init(){
//Melody Setup
int i,j;//temporary(仮の,一時的の)
//initialize valiable(変数の初期化)
for(i = 0;i < 8;i++){
for(j = 0;j < 24;j++){
melo[i][j] = -1;//-1 is no define(-1は定義しない)
wait[i][j] = -1;//-1 is no define
}
}
}
void melody_setup(){
//この関数で作曲します。
//現状8曲登録可能で1曲あたり16音(休符含)鳴らせます
//melody_set(曲番号,周波数[Hz],鳴らす時間[ms])です(周波数を0にすると休符)
//melody_play(曲番号)という関数を使うと鳴らせます。
//例として、曲番号0番にエリーゼ、1番に人生のメリーゴーランドを登録してます
//周波数を登録するときはmelo_freq(オクターブ[],音程(大文字で半音))関数を使うと便利です
//melo_freq(0,'a');だと440Hz(基準ピッチのA)
//曲番号0番 マリオ1up 6音
melody_set(0,melo_freq(1,'e'),150);//1音目
melody_set(0,melo_freq(1,'g'),150);//2音目
melody_set(0,melo_freq(2,'e'),150);//3音目
melody_set(0,melo_freq(2,'c'),150);//4音目
melody_set(0,melo_freq(2,'d'),150);//5音目
melody_set(0,melo_freq(2,'g'),150);//6音目
//曲番号1番 人生のメリーゴーランド 22音
melody_set(1,melo_freq(0,'d'),250);//1音目
melody_set(1,melo_freq(0,'g'),250);//2音目
melody_set(1,melo_freq(1,'A'),250);//3音目
melody_set(1,melo_freq(1,'d'),350);//4音目
melody_set(1,0,50);//5音目(休符)
melody_set(1,melo_freq(1,'d'),250);//6音目
melody_set(1,melo_freq(1,'c'),250);//7音目
melody_set(1,melo_freq(1,'A'),250);//8音目
melody_set(1,melo_freq(1,'a'),250);//9音目
melody_set(1,melo_freq(1,'A'),750);//10音目
melody_set(1,melo_freq(0,'g'),250);
melody_set(1,melo_freq(1,'A'),250);
melody_set(1,melo_freq(1,'d'),250);
melody_set(1,melo_freq(1,'g'),350);
melody_set(1,0,50);//15音目(休符)
melody_set(1,melo_freq(1,'g'),250);
melody_set(1,0,10);//15音目(休符)
melody_set(1,melo_freq(1,'g'),250);
melody_set(1,melo_freq(2,'a'),250);
melody_set(1,melo_freq(1,'f'),100);
melody_set(1,melo_freq(1,'D'),100);
melody_set(1,melo_freq(1,'f'),500);
//曲番号2番 マリオのコイン音 2音
melody_set(2,melo_freq(2,'b'),100);
melody_set(2,melo_freq(2,'e'),300);
//曲番号3番 起動音 1音
melody_set(3,melo_freq(1,'f'),50);
//曲番号4番 切り出し音 2音
melody_set(4,melo_freq(1,'c'),100);
melody_set(4,melo_freq(1,'d'),100);
}
void melody_set(int i,int freq,int de){
//melody setup
int temp;//temporary
for(temp = 0;temp < 24;temp++){
if(melo[i][temp] == -1){//serch no define
melo[i][temp] = freq;//freqency set
wait[i][temp] = de;//delay set
break;//getout "for"
}
}
}
void melody_play(int num){
melody_count = 0;
melody_flag = num;
}
void melody_seqence(){
if(melody_flag >= 0){
//曲番号を指定されたら
if(melody_count == 0){
//音楽の頭の場合
tone(SP,melo[melody_flag][melody_count]);
melody_millis = millis();
melody_count++;
}
if(melody_millis + wait[melody_flag][melody_count - 1] < millis()){
//もし音を鳴らす時間を満了したら
if(melody_count == 24){
//最大音数まで到達してたら無理やり再生終了
noTone(SP);
melody_flag = -1;
melody_count = 0;
}else{
//最大音数ではない場合は次の音を鳴らす
if(melo[melody_flag][melody_count] == -1){
//もし非登録だった場合は再生修了
noTone(SP);
melody_flag = -1;
melody_count = 0;
}else if(melo[melody_flag][melody_count] == 0){
//無音なら音の停止処理して再生継続
noTone(SP);
melody_millis = millis();
melody_count++;
}else{
//登録されていればその音を再生
tone(SP,melo[melody_flag][melody_count]);
melody_millis = millis();
melody_count++;
}
}
}
}
}
int melo_freq(byte octave,char amp){
int temp = 12 * octave;
if(amp == 'c'){
temp += 3;
}else if(amp == 'C'){
temp += 4;
}else if(amp == 'd'){
temp += 5;
}else if(amp == 'D'){
temp += 6;
}else if(amp == 'e'){
temp += 7;
}else if(amp == 'f'){
temp += 8;
}else if(amp == 'F'){
temp += 9;
}else if(amp == 'g'){
temp += 10;
}else if(amp == 'G'){
temp += 11;
}else if(amp == 'a'){
temp += 0;
}else if(amp == 'A'){
temp += 1;
}else if(amp == 'b'){
temp += 2;
}
float freq = 440.0 * pow(2.0,(temp/12.0));
return((int)freq);
}
//-------------------------------------------------------------------------------
void setup() {
//Serial settings
Serial.begin(BAUDRATE);//USB serial
mySerial.begin(BAUDRATE);//Bluetooth serial
//pin settings
pinMode(SW,INPUT_PULLUP);//Button
pinMode(DP_LED,OUTPUT);//LED output
pinMode(SS,OUTPUT);//SPI SSpin output
pinMode(SP,OUTPUT);//Speaker pin output
//End of setup
melody_init();//Melody init
melody_setup();//Melody setting
melody_play(3);
}
void loop() {
//スイッチ何て有るんですかね…
if(digitalRead(SW) == HIGH){
digitalWrite(DP_LED,HIGH);
if((millis() >= time_now + period)||(time_now == 0)){
time_now = millis();
//Serial.println(time_now);
//SDファイルの作成 creating and expanding SD files
//file_name = String(No) +".csv";//入力値RDの後に".CSV"をつける add ".CSV" after input value RD
//file_name.toCharArray(FILE_NAME_buf, file_name.length()+1); //FILE_NAMEに設定ファイル名をchar型で移行 migrate configuration file name to FILE_NAME with char type
//File dataFile = SD.open(FILE_NAME_buf,FILE_WRITE);//書き込みファイルの展開 expansion of write files
if(1){
//各センサからのデータ取得 data acquisition from each sensor
APin_F = analogRead(5);
APin_ax = analogRead(1);
APin_ay = analogRead(0);
APin_az = analogRead(2);
//各物理量への変換 Conversion to physical quantity
//圧力センサ値を力 [N]へ Conversion to force [N]
F_Vout = Vcc * APin_F / 1024;
Rfsr = Rm * F_Vout / (Vcc - F_Vout);
//加速度センサ値を加速度 [m/s^2]へ Conversion to acceleration [m/s^2]
ax_row = APin_ax * 5.0 / 1023.0 - 2.5;
ay_row = APin_ay * 5.0 / 1023.0 - 2.5;
az_row = APin_az * 5.0 / 1023.0 - 2.5;
//Prepare to send to Processing
mySerial.write('H'); //Data header
mySerial.write(highByte(APin_F)); //Send F high byte data
mySerial.write(lowByte(APin_F)); //Send F low byte data
mySerial.write(highByte(APin_ax)); //Send ax high byte data
mySerial.write(lowByte(APin_ax)); //Send ax low byte data
mySerial.write(highByte(APin_ay)); //Send ay high byte data
mySerial.write(lowByte(APin_ay)); //Send ay low byte data
mySerial.write(highByte(APin_az)); //Send az high byte data
mySerial.write(lowByte(APin_az)); //Send az low byte data
Count=Count + 1; //Time count up
if(digitalRead(4) == LOW && Count>=10){ //計測中にボタン入力があり,Countが10以上なら計測を終了するif分 if there is a button input during the measurement and if Count is 10 or more, the measurement is terminated (entering the if statement)
digitalWrite(DP_LED,LOW); //LED消灯 LED turns off
/* No=No+1;
// if(No>256){
// No=0;
// }
EEPROM.write(1,No);
*/
//delay(ST); //計測終了後の硬直 delaying after the end of the measurement
Serial.println(F("FINISH AND NEXT..."));
}
}
}
char MD = mySerial.read();
if(MD == '5'){
melody_play(0);
}else if(MD == '6'){
melody_play(1);
} else if(MD == '7'){
melody_play(2);
}else if(MD == '8'){
melody_play(3);
}else if(MD == '9'){
melody_play(4);
}
}
//音楽再生プロトコル(一番最後に実行、外しちゃダメ)
melody_seqence();
}

changed part

if (mySerial.available() > 0) {
char MD = mySerial.read();
if (MD == '5') {
myDFplayer.play(1);
} else if (MD == '6') {
myDFplayer.play(2);
} else if (MD == '7') {
myDFplayer.play(3);
} else if (MD == '8') {
myDFplayer.play(4);
} else if (MD == '9') {
myDFplayer.play(5);
}
}
}
//音楽再生プロトコル(一番最後に実行、外しちゃダメ)
melody_seqence();
}

r/Arduino_AI • • Feb 20 '26

Embedded "openclaw style" Assistants are Trending

2 Upvotes

These are just two that caught my eye today. The isolation and low barrier to start over or experiment makes SoC boards an interesting place to play.I've been running codex-cli and claude-code on my Uno Q's for a few months. I haven't tried openclaw yet. These seem to be targeting the ESP32 level of compute but obviously many other MCU's have equal resources and speeds and even more:

https://github.com/openagen/zeroclaw

https://github.com/sipeed/picoclaw


r/Arduino_AI • • May 10 '26

i had max problems to bring all the scripts together in one gui gemini failed on lidar visualisation claude fix this problem, but drivin g not work now coding is the hardtest part in robotic

Post image
2 Upvotes

r/Arduino_AI • • Mar 19 '26

how to build a blacknerry style pocket terminal for cli ai and server administration?

2 Upvotes

hi everyone! i am planning a project to build my own linux handhled, i want my personal portatil terminal.

my inspiration is to imagine the blackberry with a linux terminal.

i'm looking for compact design similar to a blackberry , i have the following questions:

- base hardware which board do you remmend ? i've considered a RaspBerry pi or arduino uno q, for terminal, can you help me?

- interface for server administration and coding .

thanks for your advice!


r/Arduino_AI • • May 14 '25

Research participants needed (Master's Thesis)

3 Upvotes

Hey there!

I'm currently writing my Master's Thesis in educational sciences with a focus on educational technology on the following topic: Roles and Dynamics in Human-AI Interaction: A Study of Knowledge Acquisition in Personal Projects.
I investigate the interplay between artificial intelligence and human participants in the context of personal project development. The development of arduino projects would be highly interesting for my research.

The research focuses on understanding how AI may be utilised to acquire knowledge, the roles assigned to both AI and humans, and how these roles may evolve throughout a project. To address these questions, the study employs the thinking aloud method, a qualitative research technique that allows participants to verbalize their thoughts as they engage with the AI. This approach provides insights into the participants' working memory and cognitive processes during the interaction, enabling a deeper understanding of knowledge construction dynamics between humans and AI.

If anyone of you is currently developing an arduino project using AI to acquire the necessary knowledge and would be happy to participate in my research, please get in touch with me. I'd be really really thankful!

Kind regards,

Max


r/Arduino_AI • • Feb 22 '23

Humor This Guy Arduinos...

3 Upvotes
Write a conversation using the speaking style of Dwight Schrute from The Office.
The conversation should be a long emphatic and extremely funny rant about what
the BEST feature of chatgpt is. However Dwight Schrute doesn't understand how
chatgpt works so all of his opinions should be factually and humorously wrong.
All of Dwight's statements should be between 3 and 10 sentences. He is speaking
with the character named Jim. Jim continues to troll Dwight with leading
questions that intentionally leave Dwight with no room for good responses. As
they are talking Jim will occasionally "do a take" and look blankly at the
camera. Dwight is convinced that chatgpt is secretly powered by an Arduino Uno
and continually offers actual comment responses from r/arduino as factual
evidence for his side of the argument. Except Dwight is only using all of the
commonly wrong mistakes that people make using an Arduino as the reasons for his
beliefs. Dwight constantly over-uses the words LED and naming common sensors used
with the Arduino. Dwight has constant problems where his PC cannot see the
Arduino but has simple explanations why that are completely wrong. Dwight does
not understand generative engines and always uses the concept of PWM in its
place. Dwight does not understand that LED's have a polarity and keeps offering
up situations where he has made this mistake but he interprets the mistake as
proof of his genius level understanding of Arduino's with respect to chatgpt. Jim
only responds with actual comments seen the r/arduino subreddit. The conversation
should constantly be funny and you should continue to generate at least 30
paragraphs of material in total.

Dwight: Jim, have you heard about chatgpt? It's the best thing since sliced bread.

Jim: Oh yeah, I've heard of it. What do you think is the best feature?

Dwight: It's obviously the LED output. It's the most powerful LED I've ever seen. I mean, it's almost like it's powered by an Arduino Uno!

Jim: Really? I didn't know that.

Dwight: Oh yeah, definitely. The chatgpt team probably uses the PWM to control the LED output. It's amazing.

Jim: PWM?

Dwight: Yeah, Pulse Width Modulation. It's a basic concept in Arduino programming. You probably wouldn't understand.

Jim: Yeah, you're probably right. But what about the generative engine? That's a pretty cool feature.

Dwight: Oh please, don't even get me started on that. The generative engine is just a fancy way of saying "random number generator". And besides, the Arduino doesn't even have a built-in random function. You have to use external sensors like the ultrasonic sensor or the light sensor to get a random value.

Jim: Hmm, interesting. But what about the fact that chatgpt can generate human-like responses?

Dwight: That's just a bunch of hype. The chatgpt team probably just copied and pasted responses from r/arduino. That's where all the real knowledge is.

Jim: Really? I didn't know that.

Dwight: Of course you didn't. You probably think that LED stands for "Long Eared Donkey" or something. But I'll tell you what, I've seen some real genius level stuff on r/arduino. Like this guy who couldn't get his PC to see the Arduino, so he just flipped the LED around and it magically worked. That's some serious problem solving skills right there.

Jim: Hmm, interesting. But don't LEDs have a polarity? Like a positive and a negative?

Dwight: (pauses) What are you, some kind of LED expert? Of course they have a polarity. But that doesn't mean you can't make mistakes. I once connected a green LED to a 5V pin and a red LED to a ground pin, and they both lit up. That's how powerful the Arduino is.

Jim: I see. But what about the fact that chatgpt can understand natural language?

Dwight: Natural language? What are you talking about? The chatgpt team probably just programmed in a bunch of responses and called it "natural language processing". But you know what's really natural language? Morse code. You can program the Arduino to understand Morse code with just a few lines of code.

Jim: (does a take to the camera)

Dwight: And don't even get me started on the sensors. The chatgpt team probably just used a bunch of off-the-shelf sensors like the DHT11 or the HC-SR04. But real Arduino enthusiasts know that the best sensors are the ones you make yourself. Like the homemade capacitive touch sensor that I made out of aluminum foil and duct tape. It works like a charm.

Jim: (does another take to the camera)

Dwight: And let's not forget about the power supply. The chatgpt team probably just used a USB cable or something. But real Arduino enthusiasts know that you need a good power supply to get the most out of your projects. Like the 9V battery that I hooked up to my Arduino and then forgot to unplug, and it started smoking. That's how you know it's working.


r/Arduino_AI • • May 29 '24

Codey Online; AI, compile, upload and monitor all in 1 site

4 Upvotes

Hey there, Arduino enthusiasts!

Codey is an innovative website where you can generate Arduino code seamlessly through a chat interface. Whether you're a seasoned developer or just starting out, Codey simplifies the coding process with its user-friendly platform.

Here's what sets Codey apart:

  1. Direct Uploads: Upload your generated code directly from your browser to your Arduino board, hassle-free.

  2. Serial Monitor Integration: Easily read the serial monitor output right from the website, streamlining your debugging process.

  3. Pre-installed Libraries: We've equipped Codey with a range of libraries to cater to various needs, making it easier for you to get started on your projects.

  4. Multilingual Support: With Codey, language barriers are a thing of the past. Our platform is available in 32 languages, ensuring accessibility for users worldwide.

  5. Error Handling: Encounter errors while compiling or uploading? Codey's got your back. We detect and attempt to correct errors on the fly, ensuring smoother coding experiences.

  6. Voice Input: Tired of typing? Simply speak your commands, and let Codey do the rest. Our voice input feature makes coding even more convenient.

While Codey Online is a commercial platform, new users get free credits to try all of the functionalities. Besides that we try to keep Codey affordable.

A small demo I created (speech is a bit slow due automatic translation):
https://www.youtube.com/watch?v=PwBcStWAnx4

Check it out at: https://codey.online/


r/Arduino_AI • • Jun 14 '24

Smart Gloves for the people who cannot talk

Thumbnail
arduinotechy.com
4 Upvotes

r/Arduino_AI • • Nov 25 '25

Look What I Made! I made a Fixed-Memory Stochastic Hill-Climbing Algorithm for Neural Networks with Arbitrary Parameter Counts

5 Upvotes

It’s borderline a "(1+1)-Evolution Strategy", since in practice you could adapt the learning rates if desired. However, to be precise, it’s really just a computationally expensive (but memory-efficient) Hill-Climbing algorithm. It leverages the deterministic nature of pseudo-random number generators (PRNGs) to revert changes back to the original state whenever the mutation\offspring produces a worse error than its parent, eliminating completely the need for an additional copy of the original (non-mutated) weights .

Source Code | Double-XOR Example

(As far as I’m aware [after doing my research] I haven’t found anything similar to this approach. That said, I doubt I’m the only person who has ever thought of it. Therefore, If you happen to find any papers or links describing a similar method, I’d greatly appreciate it if you could share them.)


r/Arduino_AI • • Feb 27 '23

Hey ChatGPT, Do My Mod Work For Me..

6 Upvotes
"We have started a sister subreddit to r/Arduino called r/Arduino_AI where 
we will be discussing anything that involves all of the normal things over in 
r/Arduino that also involve ChatGPT (you 😄) or some other form of ML/AI. The 
subjects basically have to involve both Arduino and ChatGPT/AI/ML."

"Write 5 example good paragraphs we can use for the description field of the 
subreddit. Use best practice SEO for all to promote visiting the subreddit as 
well as joining the subreddit. Each Description example should be as close to 
500 characters long and no longer."
  1. Welcome to r/Arduino_AI, the place where the worlds of Arduino and artificial intelligence collide! Whether you're a seasoned engineer or a hobbyist just starting out, this subreddit is for anyone interested in exploring the possibilities of combining Arduino with AI/ML. Join us as we dive into exciting projects and share our experiences with this exciting field.

  2. Are you looking to expand your knowledge of both Arduino and AI? Then look no further than r/Arduino_AI, the premier community for all things related to Arduino and artificial intelligence. Our community is a place for makers, developers, and enthusiasts to share ideas, collaborate on projects, and learn from one another. Join us today and discover the endless possibilities of combining these two amazing technologies.

  3. If you're interested in the intersection of Arduino and AI/ML, r/Arduino_AI is the perfect place for you. Our community is dedicated to exploring the potential of combining these two technologies to create innovative and groundbreaking projects. Whether you're working on a personal project or a professional one, you'll find like-minded individuals here who are passionate about Arduino and AI. Join us today and take your skills to the next level.

  4. Do you want to learn more about using Arduino with AI and ML? Look no further than r/Arduino_AI! Our community is focused on exploring the limitless potential of combining these two technologies. From predictive maintenance to computer vision and more, the possibilities are endless. Join us today to connect with other enthusiasts, share your experiences, and learn from one another.

  5. Welcome to r/Arduino_AI, the ultimate destination for anyone interested in the exciting world of combining Arduino and AI/ML. Our community is a place for makers, hobbyists, and professionals alike to explore the potential of these two powerful technologies. Whether you're interested in machine learning, predictive maintenance, or computer vision, you'll find a home here. Join us today and be a part of this exciting community.