r/ArduinoHelp • • Mar 15 '26

How do I solder the DROK DC-DC Boost Converter, used to increase voltage?

Post image
3 Upvotes

Doe it matter? Or should I just connect the wires directly to the board?


r/ArduinoHelp • • Feb 20 '26

ESP32 + WLED works perfectly on USB but flickers / glitches on battery power (LEDs changing colors randomly)

3 Upvotes

Hey guys, I’m stuck with a weird power issue and would really appreciate some help. My Setup: ESP32 Dev Module (running WLED) 56 WS2812B LEDs 18650 Li-ion battery TP4056 charging module (with protection) DC-DC step-up converter (boost converter set to 5V) 1000µF 25V capacitor across 5V and GND Common ground between everything The Problem: When I power the ESP32 using a USB cable directly into the board, everything works perfectly: LEDs respond instantly in WLED No flickering Colors are stable No random behavior But when I power the whole setup using the battery (18650 → TP4056 → boost converter → ESP32 + LED strip): LEDs flicker Random color changes Doesn’t respond properly to WLED app Feels unstable overall This happens even though: The battery is fully charged The boost converter is set to 5V Grounds are connected together I added a 1000µF capacitor between 5V and GND.

Any help or guidance would be really appreciated. I’ve been troubleshooting this for hours and can’t figure out what I’m missing. Thanks in advance 🙏


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

Help needed

Thumbnail reddit.com
3 Upvotes

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 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 }


r/ArduinoHelp • • Mar 22 '25

Need help with selecting and playing mp3 files with df player and 4x4 keypad.

3 Upvotes

Hello, I am quite new to arduino and I am working on a birthday present for a good friend of mine and I am getting quite desperate because I just can't figure out how to play more than 9 different sound files with the keypad and the dfplayer module.

For reference my keypad is 4x4 rows (row 1: 123A, row 2: 456B, row 3: 789C, row 4: \\\*0#D).

What I would like to do is quite simple I want to type in a number between 1-999 (there's actually only 200 different files but you get the idea), confirm with the "#" key and then just play the corresponding mp3.

Preferable, I would like it to just play, for example, the 68th file that was added to the SD card when I type in 68# and play the file that was added to the SD 174th when I type in 147# because that's how I have been doing it with my 1-9 numbers set-up and I like it because it saves me from having to specifically name the files and reference them in the code.

I have been trying to get it to work for hours now and I am quite exasperated, so I would really appreciate it if somebody could help me out with a working code so I can finish up this birthday present without having to pull an all-nighter trying to figure it out myself.

This is the code I am working with

`1 #include "Keypad.h"`

`2`

`3 #include "Arduino.h"`

`4`

`5 #include "SoftwareSerial.h"`

`6`

`7 #include "DFRobotDFPlayerMini.h"`

`8`

`9`

`10`

`11 SoftwareSerial mySoftwareSerial(10, 11); // RX, TX`

`12`

`13 DFRobotDFPlayerMini myDFPlayer;`

`14`

`15`

`16`

`17`

`18 const byte ROWS = 4; //four rows`

`19`

`20 const byte COLS = 4; //four columns`

`21`

`22`

`23`

`24 char keys[ROWS][COLS] = {`

`25`

`26 { '1', '2', '3', 'A' },`

`27`

`28 { '4', '5', '6', 'B' },`

`29`

`30 { '7', '8', '9', 'C' },`

`31`

`32 { '*', '0', '#', 'D' }`

`33`

`34 };`

`35`

`36`

`37`

`38 byte rowPins[ROWS] = { 9, 8, 7, 6 }; //connect to the row pinouts of the keypad`

`39`

`40 byte colPins[COLS] = { 5, 4, 3, 2 }; //connect to the column pinouts of the keypad`

`41`

`42`

`43`

`44 Keypad keypad = Keypad(makeKeymap(keys), rowPins, colPins, ROWS, COLS);`

`45`

`46`

`47`

`48 String keypadKeys = "1234567890*#ABCD";`

`49`

`50`

`51`

`52 void setup() {`

`53`

`54`

`55`

`56 mySoftwareSerial.begin(9600);`

`57`

`58 Serial.begin(9600);`

`59`

`60`

`61`

`62 if (!myDFPlayer.begin(mySoftwareSerial)) { //Use softwareSerial to communicate with mp3.`

`63`

`64 Serial.println(F("Unable to begin:"));`

`65`

`66 Serial.println(F("1.Please recheck the connection!"));`

`67`

`68 Serial.println(F("2.Please insert the SD card!"));`

`69`

`70 while (true)`

`71`

`72 ;`

`73`

`74 }`

`75`

`76`

`77`

`78 myDFPlayer.volume(10); //Set volume value. From 0 to 30`

`79`

`80 }`

`81`

`82`

`83`

`84 void loop() {`

`85`

`86`

`87`

`88 char keyPressed = keypad.getKey();`

`89`

`90`

`91`

`92 if (keyPressed) {`

`93`

`94 Serial.println(keyPressed);`

`95`

`96 int sampleIndex = 1 + keypadKeys.indexOf(keyPressed); //Convert pressed key (1234567890*#ABCD) to sample index (1-16)`

`97`

`98 Serial.println(sampleIndex);`

`99`

`100 myDFPlayer.play(sampleIndex);`

`101`

`102 } //Play the chosen mp3`

`103`

`104 }`

I have never drawn a diagram (I am really quite new to this), but the 4x4 Keypad is connected on pins 2, 3, 4, 5, 6, 7, 8 and 9 on the Arduino Uno and the dfplay and the speaker are connected exactly like in [this picture](https://europe1.discourse-cdn.com/arduino/original/4X/d/d/c/ddc25cafbd4715b79b1eeb884a243768d2224d26.jpeg) (both the sound and the keypad work just fine, it's only that I cannot figure out how to make 3 digits work).


r/ArduinoHelp • • Mar 17 '25

Needing help with my auto-watering system :)

3 Upvotes

Hello, I am building an auto watering system using Arduino UNO and Adafruit components. I have a capacitative soil sensor that powers an underwater motor but the but doesn't reliably stay powered, even though the power still runs through it sometimes?

Here are the parts I am using:

Arduino UNO

Submersible Water Pump: https://www.adafruit.com/product/4546

Soil Sensor: https://www.adafruit.com/product/4026

I've had the Arduino for about a year and just purchased the other parts. The system works by checking if the capacitance amount of the dirt is lower than the 'dry' capacitance (500). When it is dry, it outputs high voltage through digital pins 2 and 5, turning on the blue led and the submersible motor at the same time.

When I power the Arduino, it turns on the blue light indicating the soil is dry, however, the motor does not function unless I switch the wire powering it from digital pin 5 to the 5 volt and back, which somehow makes it work. When it is working, it seems to randomly disconnect after a couple times the capacitance goes below and above 500.

I've tried replacing the wires that power the motor to no luck. I also stripped the wire to hopefully give it better access to power. When I replace the motor with a light, it powers the light without issue. I've also switched out which pin powers the motor, trying both digital pins 4 and 5. I've come down to two possible solutions I can think of:

  1. Order another (different) submersible water pump and hope that the same issue does not occur or

  2. solder the water pump wiring to another wire to give it better conductivity with the breadboard

I'm just a beginner to arduino, this is my first big project, so any and all advice and information I can get regarding this would be wonderful. Thank you for your time and helping me make this project come to life :)

Also, here is my code that runs on the Arduino:

#include "Adafruit_seesaw.h"

Adafruit_seesaw ss;

// temperature stats
const int tempMedian = 21; // ideal range for greek oregano : 15 - 27
const int tempDiff = 6; 
const int tempCritDiff = tempDiff * 2.5; // plant cannot survive in this temp
// moisture stats
const int dry = 400; // when the cap is < dry , the dirt is DRY!

#define REDLIGHT 3
#define BLUELIGHT 2
#define MOTOR 4

void setup() {
  Serial.begin(115200);

  Serial.println("seesaw Soil Sensor example!");
  
  if (!ss.begin(0x36)) {
    Serial.println("ERROR! seesaw not found");
    while(1) delay(1);
  } else {
    Serial.print("seesaw started! version: ");
    Serial.println(ss.getVersion(), HEX);
  }

  pinMode(REDLIGHT,OUTPUT);
  pinMode(BLUELIGHT,OUTPUT);
  pinMode(MOTOR,OUTPUT);

}

void loop() {
  float tempC = ss.getTemp();
  uint16_t capread = ss.touchRead(0);
  
  // report temp 
  int diff = abs(tempC - tempMedian);
  Serial.print("Distance from comfortable temperature: ");
  Serial.print(diff); Serial.println("*C");

  // report base temperature & capacitative
  Serial.print("Temperature: "); Serial.print(tempC); Serial.println("*C");
  Serial.print("Capacitive: "); Serial.println(capread);
  
  // critical temperatures reached - is it too hot or too cold ?
  if (diff > tempCritDiff) {
    // Redlight never turns off once on unless manually reset !
    digitalWrite(REDLIGHT,HIGH); 
  }

  // is the dirt dry? 
  if (capread < dry) {
    digitalWrite(BLUELIGHT,HIGH); // blue is on when the plant needs watering
    digitalWrite(MOTOR,HIGH);
  } else {
    digitalWrite(BLUELIGHT,LOW);
    digitalWrite(MOTOR,LOW)
  }
  // wait to run again
  delay(500);
}


#include "Adafruit_seesaw.h"


Adafruit_seesaw ss;


// temperature stats
const int tempMedian = 21; // ideal range for greek oregano : 15 - 27
const int tempDiff = 6; 
const int tempCritDiff = tempDiff * 2.5; // plant cannot survive in this temp
// moisture stats
const int dry = 400; // when the cap is < dry , the dirt is DRY!


#define REDLIGHT 3
#define BLUELIGHT 2
#define MOTOR 4


void setup() {
  Serial.begin(115200);


  Serial.println("seesaw Soil Sensor example!");
  
  if (!ss.begin(0x36)) {
    Serial.println("ERROR! seesaw not found");
    while(1) delay(1);
  } else {
    Serial.print("seesaw started! version: ");
    Serial.println(ss.getVersion(), HEX);
  }


  pinMode(REDLIGHT,OUTPUT);
  pinMode(BLUELIGHT,OUTPUT);
  pinMode(MOTOR,OUTPUT);


}


void loop() {
  float tempC = ss.getTemp();
  uint16_t capread = ss.touchRead(0);
  
  // report temp 
  int diff = abs(tempC - tempMedian);
  Serial.print("Distance from comfortable temperature: ");
  Serial.print(diff); Serial.println("*C");


  // report base temperature & capacitative
  Serial.print("Temperature: "); Serial.print(tempC); Serial.println("*C");
  Serial.print("Capacitive: "); Serial.println(capread);
  
  // critical temperatures reached - is it too hot or too cold ?
  if (diff > tempCritDiff) {
    // Redlight never turns off once on unless manually reset !
    digitalWrite(REDLIGHT,HIGH); 
  }


  // is the dirt dry? 
  if (capread < dry) {
    digitalWrite(BLUELIGHT,HIGH); // blue is on when the plant needs watering
    digitalWrite(MOTOR,HIGH);
  } else {
    digitalWrite(BLUELIGHT,LOW);
    digitalWrite(MOTOR,LOW)
  }
  // wait to run again
  delay(500);
}

Here are some pictures of my setup


r/ArduinoHelp • • Mar 06 '25

Neopixels

Post image
3 Upvotes

I saw someone wire their LEDs like this so I did as well. I didn’t connect it to an external battery source, but it connected the arduino to a battery pack. Only the first LED lit up. Any help?


r/ArduinoHelp • • Feb 15 '25

Can I use this power supply for my 12v gearbox motor?

Post image
3 Upvotes

What confuses me is that there is no 12v pin, but it does say 12v on the board meaning it’s a 12v power supply, no?


r/ArduinoHelp • • Feb 04 '25

Help replicating this design with a different board! Look

Thumbnail
gallery
3 Upvotes

Hello I have a board that I want to be able to “push” its buttons remotely and I’ve been following this as my guide to doing so but I’m using a new board that I’ve never used before it’s a [NodeMCU 1.0 (ESP-12E Module)] and I don’t know if I’m just reading its example code wrong or if I also set up my board wrong in correlation to the code but could anyone help me figure this out? Thank you!