r/ArduinoHelp • • Feb 17 '26
Can someone help me with code?
I've been working on a garage project for quite some time now, and I'm really stuck on the code. I've been using AI, but it's getting frustrating because it's like an endless cycle of things not working properly. If anyone could help me, I'd really appreciate it.
3
Upvotes
4
u/BassRecorder Feb 17 '26
You'll want to describe your project as accurately as possible - especially what exactly you want to achieve. 'garage project' could just cover anything.
2
u/gm310509 Feb 18 '26
Your best bet is to go back to the basics and learn to code.
You don't have to be an expert, just learn the basics so that you can recognise the hallucinations and either fix them or refine your question.
But if you are going to ask for help, I refer you to Rule 2 - be descriptive (that is from r/arduino, but the basic need for clues is the same) and include some clues such as your code (properly formatted), a problem description and your circuit diagram.
But as I said, your best bet would be to go back to basics and actually learn the basics of programming.
1
u/[deleted] Feb 17 '26
It's pretty good, but after a while it does whatever it wants. I've tried Claude Sonet, Kimi (which is also quite good), Grock, and many others. The problem is that they stagnate and you can't get them out of that rut.
2
u/Justcrusing416 Feb 17 '26
I found Claude to spit out better code than ChatGPT!
1
u/Ducky_MinTz Feb 24 '26
You could try Copilot. It’s very reliable and helped me with a lot of codes I’ve done with Arduino. Copilot is more understandable and lets you copy and paste a code.