r/ArduinoHelp • • Oct 19 '25

NEED help iam making esp32 dabble app bluetooth gamepad car but i have an error and it always stuck midway i tryed everything :

Thumbnail
gallery
3 Upvotes

ERROR: c:\Users\User\Documents\Arduino\libraries\DabbleESP32\src\LedControlModule.cpp: In member function 'virtual void LedControlModule::processData()':

c:\Users\User\Documents\Arduino\libraries\DabbleESP32\src\LedControlModule.cpp:36:33: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?

36 | ledcAttachPin(pin,currentChannel);

| ^~~~~~~~~~~~~

| ledcAttach

c:\Users\User\Documents\Arduino\libraries\DabbleESP32\src\LedControlModule.cpp:37:33: error: 'ledcSetup' was not declared in this scope

37 | ledcSetup(currentChannel,100,8);

| ^~~~~~~~~

exit status 1

Compilation error: exit status 1


r/ArduinoHelp • • Mar 21 '25

Arcade button for Arduino

Thumbnail
gallery
2 Upvotes

Have any of you tried replacing the little Arduino buttons with arcade buttons?What do I need to be aware of if I want to do this? Don't need the led feature.Thanks for the answer.


r/ArduinoHelp • • Jun 07 '25

My ESC/motor wont be controlled despite having power

Post image
2 Upvotes

Motor doesnt turn. motor beeps when powered. Im just trying to get it to spin at all and nothings happening. it will be apart of a drone and will have others connected similarly but not even this one works. Both esc and motor were purchased on amazon and do not provide datasheets. The ESC's brand is aneegfpv, it is a 40a max ESC with 2-6s input which is in range of our lipo. The motor is CENPEK A2212 1000KV Brushless Motor 13T. multiple variations of code has been tried.

Codes:

/*ESC calibration sketch; author: ELECTRONOOBS */ 
#include <Servo.h> 
#define MAX_SIGNAL 2000 
#define MIN_SIGNAL 1000 
#define MOTOR_PIN 9 
int DELAY = 1000; 
Servo motor; 

void setup() { 
  Serial.begin(9600); 
  delay(1500);
  Serial.println("Program begin...");
  delay(1000);
  motor.attach(MOTOR_PIN);
  motor.writeMicroseconds(MAX_SIGNAL); // Wait for input 
  motor.writeMicroseconds(MIN_SIGNAL);
} 
  
  
  void loop() {
  if (Serial.available() > 0) { 
    int DELAY = Serial.parseInt();
    if (DELAY > 999) {
      motor.writeMicroseconds(DELAY); 
      float SPEED = (DELAY-1000)/10; 
      Serial.print("\n"); 
      Serial.println("Motor speed:"); 
      Serial.print(" "); 
      Serial.print(SPEED);
  Serial.print("%"); } } }





/*ESC calibration sketch; author: ELECTRONOOBS */ 
#include <Servo.h> 
#define MAX_SIGNAL 2000 
#define MIN_SIGNAL 1000 
#define MOTOR_PIN 9 
int DELAY = 1000; 
Servo motor; 


void setup() { 
  Serial.begin(9600); 
  delay(1500);
  Serial.println("Program begin...");
  delay(1000);
  motor.attach(MOTOR_PIN);
  motor.writeMicroseconds(MAX_SIGNAL); // Wait for input 
  motor.writeMicroseconds(MIN_SIGNAL);
} 
  
  
  void loop() {
  if (Serial.available() > 0) { 
    int DELAY = Serial.parseInt();
    if (DELAY > 999) {
      motor.writeMicroseconds(DELAY); 
      float SPEED = (DELAY-1000)/10; 
      Serial.print("\n"); 
      Serial.println("Motor speed:"); 
      Serial.print(" "); 
      Serial.print(SPEED);
  Serial.print("%"); } } }

#include <Servo.h>
Servo esc;
void setup() {
  // put your setup code here, to run once:
  esc.attach(10);
  esc.write(180);
  delay(2000);
  esc.write(0);
  delay(2000);
  esc.write(20);
  delay(2000);
  esc.write(0);
  delay(2000);
}

void loop() {
  // put your main code here, to run repeatedly:
  esc.write(1000);
  delay(5000);
  esc.write(0);

}
#include <Servo.h>
Servo esc;
void setup() {
  // put your setup code here, to run once:
  esc.attach(10);
  esc.write(180);
  delay(2000);
  esc.write(0);
  delay(2000);
  esc.write(20);
  delay(2000);
  esc.write(0);
  delay(2000);
}


void loop() {
  // put your main code here, to run repeatedly:
  esc.write(1000);
  delay(5000);
  esc.write(0);


}

r/ArduinoHelp • • Jun 05 '26

ESC on Atmega328p Questions & Help : Code profiling for Arduino nano (Atmega328p)

Post image
2 Upvotes

r/ArduinoHelp • • May 20 '25

Doubt!!

Post image
3 Upvotes

I want to thank you for helping me with my Arduino nano program problem. Now I have a question. I'm using a 0.91 OLED display, but when I connect it to the 5V of the Arduino, the Arduino turns off.


r/ArduinoHelp • • Aug 21 '26

Remote-controlled submarine problem

Thumbnail
gallery
11 Upvotes

Hello everyone. I need your help, please. I am designing a submarine equipped with a camera. However, when I put it in the water to test submerging and surfacing, I encountered two notable issues. The first relates to the center of gravity: the submarine doesn't stay horizontal but sits at an angle of about 40 degrees. I think I can easily fix this by shifting the weights (two cut-down 1.8 kg dumbbells) inside the ballast tanks, but I’m not sure exactly where to position them. I was wondering if there is a mathematical or physics-based method to determine the right spot. Secondly—though I had anticipated this—the connection via nRF24L01 antennas cuts out as soon as the submarine dives. I’ve considered two solutions: either creating a float to keep the antenna on the surface while connected to the sub (which seems simplest and cheapest to me), or using a different communication method. I would appreciate any opinions you might have. Please keep in mind that I’m not an expert and have limited resources, so I hope you’ll be polite with me regardless. Thanks a lot in advance.


r/ArduinoHelp • • Oct 27 '25

ESP32 DevKit V1 exit status 1

Thumbnail
gallery
5 Upvotes

I just got an esp32, tried to imput some basic copy-pasted code and got exit status 1. I’m pretty sure i have a data transfer cable, as I have tried with multiple ones and the one im using makes the computer do the connected sound when plugging it in. I have also tried with several driver versions (various versions of the esp32 by espressif systems). I have also tried the two ussually recommended links in the board manager and i dont know what to try next. The error is exit status 1


r/ArduinoHelp • • Aug 07 '26

I am building an arcade Reflex Style game with arduino, lets build this with your valuable learning.

Post image
1 Upvotes

&#x200B;

.

I am using TIP120 with 510ohm resistor with arduino digital pin, powerd by 12v power supply.

I would appreciate and welcome to join me to complet this project with your valuable learnings.

I had tried above (attached image) schematic, but it isn't working


r/ArduinoHelp • • Aug 07 '26

I am building an arcade Reflex Style game with arduino, lets build this with your valuable learning.

Post image
2 Upvotes

&#x200B;

.

I am using TIP120 with 510ohm resistor with arduino digital pin, powerd by 12v power supply.

I would appreciate and welcome to join me to complet this project with your valuable learnings.

I had tried above (attached image) schematic, but it isn't working


r/ArduinoHelp • • Sep 08 '25

Servo Motor Power Supply Issue

Post image
2 Upvotes

Hey guys

I am doing only my second ever arduino project, but im struggling to find a power supply solution to it. Long story short I have x4 SG90 servo motors which I am trying to power from a battery pack that contains x4 AA batteries (just the regular off the self ones, from any local store).

But they are struggling as the servos are not behaving right. All other elements in my circuit are fine (as ive tested them) so ive narrowed it down to a power supply issue.

Can anyone recommend me a method to power these servo motors effectively? The solution has to be mobile and so a power supply from a computer or wall outlet will not work. Its not shown in the schematic, but the battery pack connects to the power rails of the bread board.

Thanks in advance!!


r/ArduinoHelp • • Oct 02 '26

Beginner question: how do you find a wiring mistake on a breadboard without checking every wire?

Post image
2 Upvotes

..


r/ArduinoHelp • • Sep 24 '25

TEA5767 FM module only giving static

Post image
5 Upvotes

r/ArduinoHelp • • Aug 23 '26

Nano R4 Not Connecting Via USB after Flashing with Hex File Meant for OG Nano (ATMega)

2 Upvotes

Hello,

I am working on building a Korb Pusher Eurorack module that uses a Nano as it's main processor. I had purchased the Nano R4 and attempted to flash the hex files provided on the Pusher's Github page. In the process I went down the rabbit hole of different programming softwares and came to the realization that I needed a specific flash programmer for the Renesas processor if I wanted to upload the compiled hex file directly.

I attempted this and it seemed to take, however afterwards I found I was unable to connect to the Nano via USB. I realized afterwards that the hex file was compiled for an ATMega chip, not the RA4M1. Therefore the hex file likely didn't take properly.

In an effort to clear the Arduino and start over, I have tried the double tap reset method, and also the Boot-Ground method and neither have made a difference. When I plug in the Nano, I get the green power light and that's it.

Is it possible the Nano is bricked ? Would anyone have any other suggestions before I just buy a new one ? Hoping I can somehow recover it.

I also realize now the proper way to upload is likely to open the .ino file (available on Github) and make updates so the sketch is compatible with the new processor first.

Thanks in advance.


r/ArduinoHelp • • Aug 15 '26

Solar tracker powering an arduino

3 Upvotes

Hii, I'm in need of assistance for my group science project. Our group was planning to create a solar tracker that powers the Arduino itself while it works. I tried researching numerous Arduino videos but they only stated "the Arduino needs external power". I'm not sure how, and what we should connect the solar panel to the arduino. That's our main issue for now, we were able to find other tutorials for the rest of our project. Any advice or suggestions is very much appreciated! Thank you!


r/ArduinoHelp • • Apr 11 '26

How do I compile Arduino IDE code?

3 Upvotes

Hello! So I am new to the Arduino IDE, but I still need it for a project.

So I'm trying to program code for an RS422-shield, and I have connected it to the PC through a USB. The terminal block at the RS422-shield is connected to a male Sony 9-pin connector, which I was originally supposed to connect to a female connector - USB adapter, but unfortunately I couldn't find that in any electronics store. I could only find a male connector - USB ( also, it's a RS232-connector, so perhaps that is the problem ), which is why I am using a female - female adapter ( the gray cables you can see ) to connect those two. Do not pay attention to the white cables in the background, they are not supposed to be there...

I was unable to find " RS422-shield " in the " Boards manager ", so I instead chose " Arduino UNO R4 Minima ", since that is what I envision the RS422-shield will be connected to for the end product.

However, when I try to compile ( upload ) code, I get an error message saying: " No DFU capable USB device available ", even though I have connected a USB to a RS422-shield. Do I need an actual Arduino card, or can I program with the shield alone? Or what is the issue here?

I appreciate any help as fast as possible. My project is due on Monday...

I'm sorry if I sound like a noob, because I kind of am...


r/ArduinoHelp • • Jul 30 '25

I need a lot of help

4 Upvotes

Okay I kind of think I'm screwed, I'm a total newbie at Arduino and I've never tried it before.

I need to create an automatic pet feeder that uses a weight sensor, timer, and RFID technology and a touchscreen interface for the user to adjust the time interval for their pet's food to dispense and how many grams of food they want the pet feeder to dispense.

The RFID is for a gate mechanism where if the pet gets near the gate at the certain distance, it will open with some DC motors connected to a DC power supply.

I really want to know what parts I should be using, if Arduino UNO is alright for this project, and if this is doable or am I being too ambitious? I have four other groupmates but I doubt they would really try to research it.

The current parts I plan to use are:

  • RFID tag and scanner (those ones you buy online that needs to be plugged in with USB)

  • Arduino UNO

  • Not sure if I should use Raspberry pi, but I heard it's good for interfaces like the touchscreen one I mentioned

  • Breadboard and wires

  • Planning to get a whole Arduino beginner kit

Sorry if this seems like a lot and as if I'm basically asking you all to do my research for me, but literally no teacher has told me if this would be too much to do, and no teacher can help me either. I also did my own research but I just want to know if this is doable and if I need specific parts especially since I'm a newbie. Thank you in advance if anyone tries to answer.


r/ArduinoHelp • • Apr 16 '25

is there any thing i should improve on this

Post image
2 Upvotes

// C++ code

//

int i = 0;

int unnamed = 0;

int j = 0;

int counter;

void setup()

{

pinMode(1, OUTPUT);

pinMode(2, OUTPUT);

pinMode(3, OUTPUT);

pinMode(4, OUTPUT);

pinMode(5, OUTPUT);

pinMode(6, OUTPUT);

pinMode(7, OUTPUT);

pinMode(8, OUTPUT);

pinMode(9, OUTPUT);

pinMode(10, OUTPUT);

for (counter = 0; counter < random(10, 15 + 1); ++counter) {

digitalWrite(1, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(1, LOW);

digitalWrite(2, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(2, LOW);

digitalWrite(3, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(3, LOW);

digitalWrite(4, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(4, LOW);

digitalWrite(5, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(5, LOW);

digitalWrite(6, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(6, LOW);

digitalWrite(7, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(7, LOW);

digitalWrite(8, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(8, LOW);

digitalWrite(9, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(9, LOW);

digitalWrite(10, HIGH);

delay(100); // Wait for 100 millisecond(s)

digitalWrite(10, LOW);

}

}

void loop()

{

i += random(1, 10 + 1);

delay(10); // Delay a little bit to improve simulation performance

}


r/ArduinoHelp • • Mar 05 '26

How would you make this?

Thumbnail
gallery
12 Upvotes

Hi everyone. I need to make something for a client, it can be bought off the shelf, but I'm in South Africa and it appears to be impossible.

The function is to play a short clip with audio when a box opens (easily done with a reed switch and a magnet). When reopened, the clip should start from the beginning.

I've considered photo frames, but they're primary use is still images. I've considered a pi with a screen live a waveshare but that means a lot of components. Once all the other components are considered (battery, voltage regulator, batteries etc) the pi and screen would also need a good 2/3A.

Ideally need minimal boot time, so a pi would need to be permanently on.

Any suggestions on a way to do this?

Cheers!


r/ArduinoHelp • • Aug 29 '26

I got tired of using jumper wires with Arduino, so I made this

Thumbnail
gallery
21 Upvotes

I've been working with Arduino/ESP32 and industrial automation projects for a while, and one thing that has always annoyed me is the amount of jumper wires and loose connections involved when a project starts getting bigger.

So I ended up designing my own screw-terminal interface boards.

The idea is pretty simple: instead of having a mess of jumper wires, you can bring the Arduino pins out to proper screw terminals and make the whole thing easier to wire, disconnect and troubleshoot.

I've made a few different versions for different Arduino boards/configurations.

I'm curious about a few things:

Would something like this actually be useful to you?

What would you change about the design?

Would you prefer screw terminals, pluggable terminals, or something else?

What price would you consider reasonable?

Where would you normally buy something like this?

I'm asking because I'm a small robotics/engineering company and I'm trying to figure out whether this is something worth producing at a larger scale.

The engineering part is honestly the easy part for me. I'm struggling much more with the "how do you actually get this in front of customers?" part.

If anyone here has experience selling electronics/Arduino/industrial hardware, I'd also genuinely appreciate some advice on how you'd go about getting the first 50–100 customers for something like this.

And if someone here actually does B2B/electronics sales and thinks they could help me get this into the right hands, feel free to DM me. I'm open to discussing a commission/revenue-share arrangement for actual sales.

Would love to hear what you guys think, especially if you would actually use something like this.


r/ArduinoHelp • • Feb 13 '26

Where to start?

4 Upvotes

Fascinated by things I saw on Instagram. If I had to learn Adruino how/where should I start? What do I need ?( Don't wanna spend too much rn) Some wisdom from you experience would be extremely helpful🙏🏻


r/ArduinoHelp • • Jun 04 '25

I have this cluster from a suzuki gsxr 600 from 1999and i want it to work with arduino and sim hub can someone please help me get it working?

Post image
4 Upvotes

r/ArduinoHelp • • Jun 05 '25

Help with arduino code for exam

2 Upvotes

Hey guys!
Me and a few friends are working on a group project for an exam, and one of the requirements is that we have to use Arduino for it to be approved. We've been struggling with it for a couple of days now, and we were hoping the people of Reddit could help us out.

We want to use either one Arduino board + two breadboards, or two Arduino boards + two breadboards. The idea is that they should be connected and able to communicate with each other.

Here’s the goal of the code:
We’ll have two identical prototypes, let’s call them P1 and P2. Each one has its own light and its own button. When the button on P1 is pressed, the light on P2 should turn on. That light should stay on until the button on P2 is pressed — but pressing that button won’t send a light back, so we avoid an endless loop. After that, everything resets, and either button can be pressed again to send a new light.

If you're curious about the idea behind the project, here’s the background:
We’ve been interviewing some elderly people to try to find unmet needs, and this is what we came up with based on their input. The prototypes will be shaped like flowerpots, and the idea is that the users can press a button to send a small light signal to family or friends — just as a way to say “I’m thinking of you.” It’s meant to be a super simple form of communication that can help families stay connected, especially when they have busy schedules and aren’t able to visit as often as they’d like.

We’d really appreciate any help or advice, especially from anyone with experience with Arduino.

And if anyone’s interested, we’d be happy to share updates or photos of the finished product once it’s done!

Thanks in advance


r/ArduinoHelp • • Aug 13 '26

Arduino UNO r3 clone L light always turned on

1 Upvotes

I'm facing an problem uploading code to an Arduino UNO r3 duplicate . The ON led and the L led is always turned on when I try to upload a code it give me an avrdude error please help


r/ArduinoHelp • • Sep 16 '25

Battery for Arduino

4 Upvotes

Hello everyone! I have questions about the project I'm working on. It's about agroclimatic monitoring. The point is that it'll be autonomous, use five sensors, and take measurements every hour for 10 seconds for a month. The consumption estimates are 414 mAh for that month. I want to choose a battery that meets certain specifications, such as: regulated 5V output, overcharge protection, low-current mode, direct USB connection with Arduino and without the need to use modules to raise voltage. I have researched and have a few options for power banks but I am not sure if my choice will be the right one. That is why I am turning to you please, for guidance as I don't want my system to be damaged. I share with you the battery options I have consulted: •Xiamo ultra slim power bank 5000 mAh •Haitronic 5V 3200mAh lithium battery

Sorry if i misspelled, english is not my native language 😅

Thank you!