r/ArduinoHelp • • Feb 17 '26

Can someone help me with code?

3 Upvotes

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.


r/ArduinoHelp • • Feb 05 '26

Help!!!

3 Upvotes

Hello, I'm trying to make this Robot, I finally have gotten somewhere, but now I pu the given code and when I try to move a part from the screen there is an orange blinking light on the Arduino, but nothing moves What should I do? Thank you very much!! Jay


r/ArduinoHelp • • Jan 14 '26

Arduino Schematic Help

Post image
3 Upvotes

Hello, I'm doing robotics for our project but we never had much of a guidance in terms of the final circuitry and how to make the robot itself. We did had a workshop but it was mostly basic.

Would just like to ask if what I made here has any mistakes or flaws?

The 12 volts would directly supply the motor driver for the DC motors

The battery is then connected to the buck converter to get a 5v source which will be connected to the breadboard rail (both + and -). Then from those, the following will draw power from it:

Servo Motor 5v
Proximity Sensor 5v

BME680 5v
IMU 5v

Atomizer 5v


r/ArduinoHelp • • Jan 02 '26

Tips for starting

3 Upvotes

I’m completely new to Arduinos and the world of robotics as a whole and was hoping for any tips or advice on where to start learning. I have a project in mind that I don’t believe is that complicated but I’d love input on how to start it or if it’s currently out of my depth. It’s a lockbox that operates with a clock, only being able to be opened by a latch with a servomotor after inputting a password that is generated weekly. Being locked again once closed.


r/ArduinoHelp • • Nov 04 '25

Help on Water Controller Project

3 Upvotes

Hi everyone, I really need help. I'm currently taking my feedback course right now and I've been assigned to created a feedback system. Sadly, I'm not the best at this kind of stuff.

The projects goal is to set a desired water level and the system should automatically pumps/removes water into/from the container.

How should I start this project requiring the use of LED indicators, pumps, buttons, etc.. Also with coding.

Thank you!


r/ArduinoHelp • • Oct 26 '25

cant seem to find this anywhere online? Has anyone ever seen anything like this?

Post image
3 Upvotes

r/ArduinoHelp • • Oct 23 '25

Best distance sensor

3 Upvotes

Anyone know a good distance sensor to recommend? (Any type, even ultrasonic) that's super precise and accurate, especially at short distances (under a meter)? Under 30 euros.


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 • • Oct 11 '25

Help needed

Thumbnail reddit.com
3 Upvotes

r/ArduinoHelp • • Sep 18 '25

Toy car wheel simulator

Post image
3 Upvotes

I am honestly having trouble with how the breadboard should look cause I have a 9V battery snap on connector so I was wondering how I can make that work


r/ArduinoHelp • • Sep 15 '25

My arduino uno's not connecting with my laptop. Pls help me out

3 Upvotes

so power LED turns on + another LED blinks.

Windows makes the connect sound, but no COM port shows in Device Manager.

Tried CH340 drivers, reinstalling, different ports and still no change.

Im Using the blue USB-B cable that came with it

Board’s ATmega chip seems fine (since blink sketch runs).

So is this more likely a bad cable or a dead USB-to-serial chip? And if the chip is dead, will a USB-to-TTL adapter to RX/TX definitely wok? Pls help me out cuz i js bought for first time and im afraid i bought the one which doesnt work atall. 🙏


r/ArduinoHelp • • Sep 04 '25

Cosplay Prop Project Not Working - Please Help a Newbie!

Thumbnail
gallery
3 Upvotes

I am a newbie with electronics.

I am working on a cosplay project and am having some issues.

To start off, I have emailed the person I purchased the plans from but they are in a foreign country and English is not their first language. I am hoping to hear from them as well, but thought I'd post here in case there is a language barrier. As well as get your opinions on efficiency, etc. Original Video where I purchased the plans.

I have attached the Diagram, Code, Specs list and images of the actual prop for reference as well as my board. Please excuse the messy board - I switched to using the Protoboard to make the wiring cleaner but wanted to make sure everything was working first and then I plan to go back and tidy it up.  I also have a video here showing the 9v draining when the button is pushed as well as the LED's flickering (excuse my background commentary).

The issues: When I have everything wired, as per the Circuit diagram, the 9v battery that's connected to the DC motor/smoke machine drains after one cycle of the button push. I connected it to the electrometer and watched the 9v go from full charge down to zero. After some googling, I found an equation (see below) to make sure that the amperage and volts are correct for my DC motor and shouldn't be draining the battery so quickly. Also, when it cycles, the LED's flicker multiple times. I do want to note that I have tested all components separately and all are working as expected.

Equation for just the DC Motor battery draw:

  • Battery Capacity: 9v/1300 mAh (1.3 Ah)

  • Current draw: 17.7 Ah

  • Run time: 1.3 Ah / 17.7 A = .0734 hrs (4m, 24s) - ** THIS IS AN ISSUE - I FEEL LIKE THIS SHOULD BE LASTING LONGER **

I am so close to completing this very important step so I can finish my cosplay for competition season. Any assistance would be greatly appreciated. I do want to learn more about electronics and plan on taking more classes on it soon, but am in a time crunch for this project.

Thank you sincerely for any advice you can give on the issues I'm experiencing.


r/ArduinoHelp • • Sep 02 '25

Need help fixing step motor circuit

Post image
3 Upvotes

Hi all, I've been following online tutorials, but my circuit isn't working. I've attached an IR module and step motor, and am getting some lights on the driver but no movement. Any advice welcome.


r/ArduinoHelp • • Aug 28 '25

Help with a clap-activated E10 2.5 V bulb using DC

Thumbnail
gallery
3 Upvotes

Hi there, I’m a total noob with Arduino and electrical works but my daughter’s insistence on using one for her school project means I have to learn a bit as well.

As titled, I need help with a clap-activated bulb using DC power. There are plenty of similar projects online but all that I can find uses AC which I don’t want to introduce for my daughter due to the danger it might posed.

I started with many of the online ones but due to needing to use DC, I have turned to ChatGPT for input and help which I presume riddled with errors but I don’t have any other options for assistance and here I’m posting as my last resort.

Here are the parts I’m using based on ChatGPT recommendations:

  1. Arduino Uno

  2. IRF44ZN MOSFET n-channel

  3. LM393 sound sensor

  4. 2 x 18650 batteries to power up the Arduino

  5. 100 k Ohm resistor to pull down on MOSFET gate

  6. 100 Ohm resistor as gate current limiter

  7. 2 x AA NiMH batteries to power the E10 2.5 V bulb

  8. E10 2.5 V bulb

  9. 170-holes breadboard

I will post the setup and sketch as images.

Any help is much appreciated as it doesn’t seem to even powered up.

Thank you.


r/ArduinoHelp • • Aug 22 '25

Arduino and raspberry pie

3 Upvotes

I am currently using and old laptop for my Arduino, and it is really slow. I was thinking of using a raspberry pie display instead of the laptop. Using a pie display seems like the cheaper option, since I only need to run the ide and a web browser. the pie may open up more options too. What is the best way to run the Arduino ide with pie? Has anyone used it for that purpose, and how?


r/ArduinoHelp • • Aug 10 '25

TFT LCD 2.4INCH (ILI9341) only show blank white screen

Post image
3 Upvotes

((THE PICTURE IS NOT MINE BUT TOOK IT ONLINE AS ITS SAME ISSUE)). I tried almost everything. I made sure of pins but still nothing appear on it: . TFT - ESP32 VCC - 3.3V GND - GND CS - 17 RESET - 5 DC - 16 MOSI - 23 SCK - 18 LED - 3.3V T CLK - 18 T CS - 21 T DIN - 23 T DO - 19


r/ArduinoHelp • • Jul 29 '25

Battery Saver, a better way.

3 Upvotes

Hello, A while ago I posted a pic here wondering if it would help save battery life. Tried it, did not work. However, I found some code that does. If anyone is interested, here it is.

#include <LowPower.h> //Library

This line of code will work, turning most things off for 8 seconds, then back on.

     LowPower.idle(SLEEP_8S, ADC_OFF, TIMER2_OFF, TIMER1_OFF, TIMER0_OFF, SPI_OFF, USART0_OFF, TWI_OFF); 
_______________________________________________________________________________
For a longer period(about 30 seconds) do this:

for (int i = 0; i <= 4; i++) {

    LowPower.idle(SLEEP_8S, ADC_OFF, TIMER2_OFF, TIMER1_OFF, TIMER0_OFF, SPI_OFF, USART0_OFF, TWI_OFF); 
}

r/ArduinoHelp • • Jul 11 '25

Error Message

3 Upvotes

I’m trying to upload my first sketch but I’m getting the error message “Build folder disappeared or could not be written”.

Here are my questions:

What am I doing wrong?
Do I need to “burn the bootloader”?
How do I do this, I only have one Arduino Leonardo? I have the correct board selected, but which programmer do I select?


r/ArduinoHelp • • May 29 '25

I need to run 28 led lights for a 24+ hour period. I need some suggestions.

3 Upvotes

Hello.

I build 1/24 scale sci-fi model cars. I've been using led lights to give my models a little extra life. I only have a basic understanding of electrical circuitry. I need some help with finding a power source.

I would like to bring a few of my models to the Kansas City model show next month. I will have no access to electrical power to plug in my power cord that supplies 12v DC.

I am currently running 28 leds on two of my vehicles. The leds are 5-12 volt. They are wired in parallel. Any suggestions on a battery or circuitry to get me through a weekend?

Any help is appreciated!

Thanks! Dax


r/ArduinoHelp • • May 25 '25

Big Mouth Billy bass Custom help

3 Upvotes

Hi! I'm new to electronics and stuff, but I have a project I want to use Arduino with. I have a big mouth Billy bass that I'd like to customise to play just one song. all the tutorials I am finding are not helpful because they are all for Bluetooth or Amazon alexa, and I don't need all that. But I can't find anything that will help me play just one song. So I was wondering if anyone out there can help me figure out this project?


r/ArduinoHelp • • May 21 '25

Need help with following Arduino RC car using NRF24L01+ module with joystick video

Thumbnail
youtu.be
3 Upvotes

Is it possible to connect this without the nrf adapters? If they're not available where 1 live (shipping online too expensive as well) are there alternatives? Also, are there alternatives to batteries, can this, for example, be done with 9V alkaline batteries (or any other globally-available batteries) and battery connectors? If so, could you guys elaborate a little bit on that. I would appreciate it SO MUCH! Thank you, in advance.


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 • • May 14 '25

I need help

Post image
3 Upvotes

When I enter the code into the Arduino I get this error


r/ArduinoHelp • • Apr 22 '25

I Need Help Turning Motor With A Button

Thumbnail
gallery
3 Upvotes

I need help making a motor turn on and off with a button. When a button is pressed, the LEDs and the motors should concurrently turn on (we isolated it to just one LED, button and motor). The motor slowly builds up speed when the button is pressed, and caps at the maximum rpm set by the potentiometer. The battery gives power to the motor. After two minutes the motor should stop. The circuit works perfectly on TinkerCAD, but when we test it in real life only the LED turns on. Please tell me what I can do to fix this.

Here is the code: const int motorPins[3] = {9, 10, 11}; // Motor PWM pins const int buttonPins[3] = {2, 3, 4}; // Button pins const int ledPins[3] = {5, 6, 7}; // LED pins const int potPin = A0; // Potentiometer pin

bool motorStates[3] = {false, false, false}; unsigned long motorStartTimes[3] = {0, 0, 0}; bool lastButtonStates[3] = {HIGH, HIGH, HIGH}; int currentSpeeds[3] = {0, 0, 0}; // Track current speeds for easing

const unsigned long MOTOR_RUNTIME = 120000UL; // 2 minutes in ms const int SPEED_STEP = 2; // Decrease value to increase time to speed const int EASE_DELAY = 30; // Delay between speed steps (ms)

void setup() { for (int i = 0; i < 3; i++) { pinMode(motorPins[i], OUTPUT); pinMode(buttonPins[i], INPUT_PULLUP); pinMode(ledPins[i], OUTPUT); } Serial.begin(9600); }

void loop() { int potValue = analogRead(potPin); int targetSpeed = map(potValue, 0, 1023, 0, 255); unsigned long currentTime = millis();

for (int i = 0; i < 3; i++) { bool buttonState = digitalRead(buttonPins[i]);

// Detect falling edge (button press)
if (lastButtonStates[i] == HIGH && buttonState == LOW) {
  motorStates[i] = !motorStates[i];  // Toggle motor state
  if (motorStates[i]) {
    motorStartTimes[i] = currentTime;
  }
  delay(200);  // Debounce
}
lastButtonStates[i] = buttonState;

// Check for 2-minute timeout
if (motorStates[i] && currentTime - motorStartTimes[i] >= MOTOR_RUNTIME) {
  motorStates[i] = false;
}

// Gradually ease motor speed up or down
int desiredSpeed = motorStates[i] ? targetSpeed : 0;

if (currentSpeeds[i] < desiredSpeed) {
  currentSpeeds[i] += SPEED_STEP;
  if (currentSpeeds[i] > desiredSpeed) currentSpeeds[i] = desiredSpeed;
} else if (currentSpeeds[i] > desiredSpeed) {
  currentSpeeds[i] -= SPEED_STEP;
  if (currentSpeeds[i] < desiredSpeed) currentSpeeds[i] = desiredSpeed;
}

analogWrite(motorPins[i], currentSpeeds[i]);
digitalWrite(ledPins[i], motorStates[i] ? HIGH : LOW);

}

delay(EASE_DELAY); // Helps smooth out the ramping effect }