r/Arduino_AI • u/xanthium_in • Jun 12 '24
Tutorials Serial Port Communication between PC and Arduino using Python 3 and PySerial Tutorial
r/Arduino_AI • u/xanthium_in • Jun 12 '24
r/Arduino_AI • u/JXR83 • May 29 '24
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:
Direct Uploads: Upload your generated code directly from your browser to your Arduino board, hassle-free.
Serial Monitor Integration: Easily read the serial monitor output right from the website, streamlining your debugging process.
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.
Multilingual Support: With Codey, language barriers are a thing of the past. Our platform is available in 32 languages, ensuring accessibility for users worldwide.
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.
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 • u/Graphicsminer • Dec 19 '23
We need for suggestions in game mechanics for AR games with the D-I-Y cardboard toys The future of cardboard toys is here.
Previous post https://www.reddit.com/r/toys/comments/18hkko7/update_cardboard_quadrapod_robot_wireless_version/
Follow us more on Discord: https://discord.com/invite/2AYgjHKQH6 Follow us more on Website: https://scabotoy.com/
r/Arduino_AI • u/ripred3 • Jul 26 '23
Not sure if anyone has noticed but today we hit 500 members! Look out r/funny we're coming for ya lol.
Congrats to all our members here on the leading edge of curiosity!
r/Arduino_AI • u/arduinors • Apr 02 '23
Hello!
I hope I'm in a right place for this. I use Arduino IDE to write code for ESP32.
I'm a total beginner in SQL and not-so-total, but still beginner at coding.
Could anybody help me with following: I'm trying to connect to MySQL DB. I followed this page https://arduinogetstarted.com/tutorials/arduino-mysql up until step 6 and then I used ChatGPT to write me a code to connect to WIFI and Database:
#include <WiFi.h>
#include <MySQL_Connection.h>
#include <MySQL_Cursor.h>
IPAddress server_addr(127,0,0,1); // Replace xxx,xxx,xxx,xxx with your server IP address
char user[] = "root"; // Replace "username" with your username
char password[] = "your-root-password"; // Replace "password" with your password
char ssid[] = "ssid"; // Replace "wifi_ssid" with your Wi-Fi SSID
char pass[] = "pass"; // Replace "wifi_password" with your Wi-Fi password
WiFiClient client;
MySQL_Connection conn((Client *)&client);
void setup() {
Serial.begin(115200);
WiFi.begin(ssid, pass);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to Wi-Fi...");
}
Serial.println("Wi-Fi connected!");
Serial.println("Connecting to SQL server...");
if (conn.connect(server_addr, 3306, user, password)) { // Replace 1433 with your server port
Serial.println("SQL server connected!");
}
else {
Serial.println("Connection failed.");
}
}
void loop() {
// Your code here
}It connects to WIFI, but I get a message Connection failed for SQL.
Could anybody help me out with what I'm doing wrong?
r/Arduino_AI • u/ripred3 • Mar 12 '23
r/Arduino_AI • u/ripred3 • Mar 10 '23
r/Arduino_AI • u/ripred3 • Mar 01 '23
r/Arduino_AI • u/ripred3 • Feb 26 '23
edited: added haiku and senryu. recomposed the last verse of the limerick with u/Machiela's suggestion and fixed the cadence and grammar.
There once was a Redditor on r/arduino,
Whose code and schematics were a no-go,
Their post was a mess,
We could not even guess,
What went wrong with their project, oh no!
So if you post on our subreddit,
Remember, please don't make us guess it,
Code formatted in full,
A schematic in pull,
So we can help fix it, don't sweat it!
Code and schematic,
To help us understand your work,
Please share with the group.
Your project is grand,
But without code and diagram,
We're lost in the dark.
r/Arduino_AI • u/inteligenciamilgrau • Feb 24 '23
r/Arduino_AI • u/flash_speed3412 • Aug 20 '26
I’m more interested in the boring failures than the polished demos.
Wrong pin, wrong board variant, 5V assumption, library that never compiled, timing bug, whatever.
If you have one, drop:
- board + part
- what the AI suggested
- what happened on the hardware
- what fixed it
I started r/ChatGPTArduino for build logs like this, but I’m curious what people here have actually run into. What’s the worst one?
r/Arduino_AI • u/Miserable_Ice5305 • May 27 '26
r/Arduino_AI • u/Global-Owl-6335 • Apr 21 '26
Právě v Praze zakládáme robotický klub, po vzoru ETHRC. Chceme dát všem nadšencům do technologie i sami sobě možnost pracovat s nejnovějšími systémy, díky investorům zdarma, učit se prací na reálných projektech od firem, stavět zajímavé věci (AI Drony, humanoidy, roboty...) + propojit lidi, co mají nápady na startupy s mentory a investory. Už nyní mluvíme s pár lidmi, kteří by byli ochotni projekt zasponzorovat. Máme už vymyšlené první projekty, ale napadlo nás získat ještě další inspiraci. Pokud má někdo nápad na nějaký zajímavý projekt s technikou/automatizací, ale nikdy na to neměl čas nebo peníze, rádi bychom ho slyšeli. Nebo pokud by to někoho zajímalo, určitě rádi vezmeme další lidi do týmu. Pište. Nechcem žádné poplatky, jen nadšení a schopnost.
r/Arduino_AI • u/desmundo_codes • Jan 27 '26
Hi guys,im working on a school poject,which is an automated fire extinguisher bot.A bot that detects fire,move to the direction of the fire and extinguisher it.
The problem im currently facing is that my starter kit does not contain water pump
Is there any other replacement I could use
r/Arduino_AI • u/jrmilinovich • Dec 31 '25
r/Arduino_AI • u/Neil_Hester • Dec 15 '25
Does anyone have any good advice/prompts to get accurate and well laid out electronic circuit/wiring diagrams using an Ai agent?
I'm using windsurf (an AI Agent powered development environment) for some electronics projects that involve some programming of Arduino's and theirs a fair amount of "off board" electronics to integrate so I need to produce some circuit diagrams for the physical builds.
I'm trying to get some accurate standardised diagrams generated but they are mostly very poor quality with wiring paths crossing over each other, missing labeling of terminals and other details. its one of those dull manual tasks that i would really like to be automated based on the project design.
Any help would be very much appreciated.
Thanks!
r/Arduino_AI • u/_EHLO • Nov 20 '25
r/Arduino_AI • u/KotovMp3 • Nov 07 '25
r/Arduino_AI • u/trmsnd • Jun 27 '25
I’m currently working on my dissertation project. The goal of the product is to build an autonomous device that uses computer vision to track and identify microplastics out in open water.
I’m relatively new to arduino and so far have only successfully built a co2 sensor array so I’m very possibly in slightly over my depth, but that’s the fun part no?
My main issue / concerns are the training of my model. There is the more traditional route of using convolutional neural networks and training off of large libraries of data but I’m hoping to keep the project as open source and easy as possible so that, providing the device works, it can be produced by other makers and create a monitoring network. As alternative to the more classical approach, I’ve come across teachable machine. This seems an easier and more friendly software for a larger range of people. I wonder if anyone has experience with the software and would be able to advise if it’s suitable for my needs. Those needs being the identification of microplastics which of course are not as homologous in form compared to the examples given on the website like humans vs dogs.
I’ve also come across Huskylens. Which seems to be an ai module built into a camera that can be trained onboard, instead of writing the code. Has anyone worked with this in the past and know whether it would be able to be trained on microplastics?
Any help on this would be greatly appreciated, and if anyone has any further questions I’m more than happy to share :)
r/Arduino_AI • u/DeKlengeMax • May 14 '25
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 • u/ripred3 • Feb 26 '25
r/Arduino_AI • u/First-Opportunity150 • Jan 21 '25
The AI analysis outperformed my manual work.does this make me redundant?
r/Arduino_AI • u/Inside-Reference9884 • Oct 15 '24
How can I update firmware of Ai_thinker esp32 CAM using Arduino ide and how can I program integrated camera of esp32 for object detection?
r/Arduino_AI • u/TechInnovationsAkash • Sep 19 '24
Automatic bike indicator system
r/Arduino_AI • u/[deleted] • Jul 08 '24
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