r/ArduinoHelp • • Apr 02 '20

State based program nothing working. Trying to get pin 4 to be active when switch 3,2 are high and in next state go low and pin 3 high when all 3 switches are high and if 1 is high for 30 seconds pin 2 will become high causing red led to light and system stop there

Post image
4 Upvotes

r/ArduinoHelp • • Mar 27 '20

Hey all - new mod here

4 Upvotes

Hi, I've just been given moderator access to this subreddit. I'm opening the submission list, don't know why it was closed to begin with. I'm hoping this can be a place for beginners and people new to arduino/embedded engineering to get some quick help! I'll be updating the rules in the sidebar and since coronavirus has me locked in my house hopefully I can get this place in order soon!

-timecop97


r/ArduinoHelp • • 2d ago

Help with servomotor

3 Upvotes

How can I fix this? And why does it rotate upwards with ease but not downward??? I’ve been testing out things, but I simply don’t know how to fix this 😓😓😓


r/ArduinoHelp • • 2d ago

Projetinho Fatec

Thumbnail gallery
3 Upvotes

r/ArduinoHelp • • 6d ago

Help me out

Thumbnail gallery
3 Upvotes

r/ArduinoHelp • • 11d ago

Hey I'm new CE student need help

Thumbnail gallery
3 Upvotes

Hey I'm creating a automatic solor tracking project with 2 servo and 4 phtoresisters and I printed them using a 3D printer and now everything is going good servo but when i plug the arduino to my laptop it work for a few second then stoped so it's might be the consistent power needed? I don't know I need help if you want the design or code feel free to ask


r/ArduinoHelp • • 16d ago

I don’t even know where to start.

3 Upvotes

Trying to make an NES controller work by connecting to a arduino micro pro.
I can’t even troubleshoot as I don’t know what I don’t know! Any suggestions with where to begin? Tried using other people’s examples, you tube, ai etc. just so specific I can’t find a place to start


r/ArduinoHelp • • 28d ago

lidar con arduino

3 Upvotes

I am currently working on an ambitious project: a portable LiDAR system based on Arduino to map the interior of caves and generate 3D point clouds.

So far, I have successfully developed software that imports the collected data points, generates the point cloud, and allows them to be connected to reconstruct the actual structure of the cave.

However, to move from a prototype to a fully working field device, I am facing two major technical challenges:

  1. Sensor Choice: Which LiDAR sensor is best recommended for underground environments, taking into account high humidity, total darkness, and required range?

  2. Path Tracking (Odometry/SLAM): How can I track my movements inside the cave? If I move around on foot, the LiDAR risks overlapping the data, thinking I am standing in the exact same spot. How can I tie the point cloud to my real position in space without any GPS signal?

Any advice, past experiences, or suggestions regarding sensors and positioning algorithms would be highly appreciated!


r/ArduinoHelp • • Nov 03 '26

I need a simple program to test an audio amplifier

3 Upvotes

This should be simple but I’m new to this and need a bit of help. I’d like a very simple program to test an 8002a audio amp with speaker on an Arduino UNO. I don’t want to complicate it with downloading a wav file from an SD card but something self contained and maybe using Talkie or similar. It doesn’t have to say much just enough to know I have things set up and working correctly.

Tom


r/ArduinoHelp • • Oct 31 '26

aruino boards keep getting bricked!! urgent help needed!!

3 Upvotes

hi!!! Im fairly new to arduino and I have the WEIRDEST problem: I have an android phone, a mac and a PC. I've bought 3 different boards at this point: nanos, nanos with ch340 and even an uno.

This is my situation: the boards connect fine to any of these three devices, i manage to upload blink or whatever example sketch onto them. I'm working on a proyect involving LEDS and ultrasonic sensor so I need a fairly complex sketch to be uploaded onto them, and once I do... THE BOARDS STOP COMMUNICATING WITH ANY DEVICES further. The sketch's uploaded and it's working, but theyre bricked. I've tried every fix under the sun and now have a bunch of brand new boards, all unresponsive. Has anyone ever encountered this???

If anyone could help me I'd owe them my LIFE


r/ArduinoHelp • • Oct 29 '26

Buzzer coding

3 Upvotes

I don’t have a picture of my Arduino because it is currently with my friends, but I’m writing the code for them since they don’t know how. I don’t have enough time to figure out the tones but does anyone know the tones I could set the buzzer to that would make the Scooby-Doo theme song. I know it’s an odd request but it’s for a project that’s being used at a trunk-or-treat. (Also maybe a car horn sound because that’s needed too although hard to do on a piezo buzzer, I know).


r/ArduinoHelp • • Oct 12 '26

# Arduino UNO Q 4GB: USB Not Detected in Normal Mode After Flashing Debian OS — EDL Mode

3 Upvotes

Hello Arduino Community,

I am facing an issue with my Arduino UNO Q (4GB version) and would appreciate your help in identifying the cause and finding a solution.

Problem Description

I flashed my Arduino UNO Q with the latest Debian Linux OS image using the official Arduino flashing procedure. After flashing, I removed the jumpers from the EDL pins and connected the board to my Windows 11 laptop. However, the board was not detected by the computer in normal mode.

I reflashed the board multiple times, trying different OS versions, but the problem persisted.

The board is detected successfully in EDL mode, and flashing completes successfully. However, once I remove the EDL jumpers and reconnect the board in normal mode, it is not detected by the computer.

OS Versions Tested

I have tried flashing the following OS image versions:

\- \`20260528-558\` — Latest version

\- \`20260407-523\` — Second-latest version

\- \`20250807-136\` — First version

\- \`20251229-457\` — Third-latest version

The issue remains the same with all four versions.

Observations

1. Board powers on normally

\- The power LED turns green.

\- The usual animation appears on the onboard LED matrix.

\- The board appears to power on normally, but it is not detected over USB.

2. Board is detected in EDL mode

When I connect the board to my Windows 11 laptop in EDL mode, it appears in Device Manager under Universal Serial Bus devices as:

\`QUSB_BULK_CID:0420_SN:51008D40\`

I can successfully flash the OS in this mode.

3. Board is not detected in normal mode

After removing the EDL jumpers and connecting the board normally:

\- Nothing appears in Windows Device Manager, including the USB-related categories.

\- The board does not appear when I check \`lsusb\` or \`dmesg\` on a Linux computer.

\- Arduino App Lab cannot detect the board through the USB connection.

Troubleshooting Already Attempted

I have tried the following steps:

  1. Reflashed the board multiple times using the official flashing procedure.

  2. Tested four different Debian Linux OS image versions.

  3. Used multiple USB cables, including USB-A to USB-C and USB-C to USB-C cables.

  4. Tested different USB ports on my Windows 11 laptop.

  5. Tested the board with another computer running Linux.

  6. Verified that the board is detected in EDL mode using the same cables that fail to detect it in normal mode.

  7. Tested the Arduino UNO Q in Single Board Computer (SBC) mode using a USB hub. The hub works correctly with my laptop: when I connect a monitor to the hub and connect the hub to my laptop's USB-C port, the monitor works normally. However, when I use the same hub with the Arduino UNO Q in SBC mode, I am still unable to get a display output.

I have followed the official flashing procedure carefully and repeated it multiple times, but the issue remains unresolved.

Questions

I would appreciate guidance from the Arduino team on the following:

  1. What could cause the board to be detected in EDL mode but not in normal mode, even though the OS flashing completes successfully?

  2. Is there any additional recovery or diagnostic procedure I can try?

  3. Could this indicate an issue with the USB interface, boot process, firmware, or another component of the board?

  4. Is there a way to diagnose the issue further without requiring the board to be detected over USB in normal mode?

I would prefer to resolve this through software recovery or diagnostics if possible, before considering hardware repair or replacement.

Thank you for your time and assistance. Any suggestions from the Arduino team or other UNO Q users who have experienced a similar issue would be greatly appreciated.


r/ArduinoHelp • • Oct 09 '26

Do i buy the original kit or a knock off one?

3 Upvotes

The priginal kit is a bit expensive and offers less than the knockoff one but how do i know the knockoff is good or bad


r/ArduinoHelp • • Oct 08 '26

ESP32 troubleshoot while uploading code

Post image
3 Upvotes

I am facing this troubleshoot every time I tried uploading my code on the ESP32 WROOM , I tried everything: Booting , Unplugging the circuit and all . Also all the seeting are correct in my Arduino IDE ( on laptop ) . I have done everything : ESP Module, Device manager to port correction. Everything!!!! Still it is showing the same problem. I tried asking Claude , GPT , Gemini they all told the same thing i have been trying. Also I noticed the board geeting warmer and warmer when I plug it into the usb. Means it is not getting very much heated but gets warm like if we do extreme gaming on our phone and when it burns like that .

Please anyone if you guys can help 🙏🏻😭 . I have spent hours on this and this was for my Science exhibition . I don't have much time it is in 1 day and i need to fix it as soon as possible!!! 😭😭😭


r/ArduinoHelp • • Oct 08 '26

Can I install Arduino AVR on IDE 2.x without board manager?

3 Upvotes

I have installed Arduino IDE 2.3.10, but can not select an arduino board. And i can't install boards with the board manager without VPN. Where must me unpack the archive from Github or how else can I download boards?


r/ArduinoHelp • • Oct 08 '26

Trying to get a PIR sensor to turn lights on in sequence

3 Upvotes

So I'm trying to get a PIR sensor to turn on lights in sequence every time it gets triggered. I got it so the green led then the yellow led turn on, but it's not changing to the ORANGE state and I don't know why.

int ledGreen = 13;  
int ledYellow = 12;
int ledOrange = 11;     
int inputPin = 2;               // choose the input pin (for PIR sensor)
int pirState = LOW;            // start with no motion detected
int val = 0;                    
 

enum states {                         
  GREEN, 
  YELLOW, 
  ORANGE,
  RED
};

states state;       

void setup() {
  pinMode(ledGreen, OUTPUT);
  pinMode(ledYellow, OUTPUT);
  pinMode(ledOrange, OUTPUT);
  pinMode(inputPin, INPUT);     
 
  state = GREEN;
  
  Serial.begin(9600);
}
 
void loop(){
 val = digitalRead(inputPin);  
 switch (state) {
    case GREEN:
      if (digitalRead(inputPin) == HIGH && val == 0 ) {   
        digitalWrite(ledGreen, HIGH); 
        delay(2000);
        val++;  
        state = YELLOW; 
        
        
        Serial.println(val) ;
      
      break;
        
 
  case YELLOW:
      if (digitalRead(inputPin) == HIGH && val == 1) {   
        digitalWrite(ledYellow, HIGH); 
        delay(2000); 
        val++;  
        state = ORANGE;                  
       
         Serial.println(val) ;
      
      break;
  
   case ORANGE:
      if (digitalRead(inputPin) == HIGH && val == 2) {   
        digitalWrite(ledOrange, HIGH); 
        delay(2000); 
        val++;  
        state = RED;                  
       
         Serial.println(val) ;
      
      break;        
        
   case RED:
        if (digitalRead(inputPin) == HIGH && val == 3) {
        digitalWrite(ledOrange, LOW);
        digitalWrite(ledOrange, LOW); 
        digitalWrite(ledOrange, LOW);
        delay(2000); 
        val = 0;
        state = GREEN;
       
        break;
      
        }}}}}}

r/ArduinoHelp • • Oct 06 '26

Coding help

3 Upvotes

How do I learn Arduino coding language? I just started and I know a few things like LEDs and stuff, but I don’t want to be reliant on AI. How do I learn the language?


r/ArduinoHelp • • Oct 05 '26

Arduino Uno + DFPlayer Pro Produces Only Very Faint Volume

Post image
3 Upvotes

I am using a DFPlayer Pro sound module driven by an Arduino Uno R3 to play sounds for a Halloween project and I can get only a very faint sound (barely audible) from powered speakers.

I’ve tested with three different sound modules (all DFPlayer Pro originals from DF Robot, no clones).

I have used three different sets of powered speakers, which are plugged into the DAC connectors on the sound module. Same result for all three: very low volume.

Tried both gound connections coming off the Uno. No improvement.

Tried a different Arduino Uno board.

I can hear the music playing very faintly so I know the various .wav files are correct. Checked the sound files sample rates (1441). Tried the same sound files as mp3’s.

When I plug in a small unpowered speaker to the speaker outputs on the module (R+ and L+), I get the same thing: very faint sound.

I understand that the default volume setting on the module is 20 out of 30. I’ve tried unplugging power to everything (to reset them) but no improvement.

This is interesting: I have powered the setup two different ways: desktop USB to the Uno and then to the sound module; and powering the sound module externally with a 5 volt wall wart. I am carefully connecting all grounds. Using this external power arrangement (which I need to do in the final version), I get no sound at all.

By the way, I am not using any serial code or connections. I’m triggering play by simulating a button push using the following code (which seems to work fine):

  pinMode(7,INPUT);  

  delay(100);

  pinMode(7,OUTPUT);

  digitalWrite(7,LOW);

I am at a complete loss. Can anyone suggest why I can’t get this to play at a normal volume?


r/ArduinoHelp • • Oct 03 '26

I've a problem with Raspberry Pi Pico W + 5v Relay Module

Thumbnail reddit.com
3 Upvotes

r/ArduinoHelp • • Sep 20 '26

I'm beginner, i can't connect aht20+bmp280

Post image
3 Upvotes

Hi everyone, i practicing Arduino and after watching some guides i see that a have a correct connections but in my code the output tell's me that it could'nt connect

I was checking first if aht functions correctly


r/ArduinoHelp • • Sep 14 '26

Quelle est la meilleure façon pour un débutant d'apprendre la conception de circuits imprimés et les projets Arduino ? Pourriez-vous recommander de bons cours ou chaînes YouTube qui expliquent tout étape par étape ?

Post image
3 Upvotes

r/ArduinoHelp • • Sep 11 '26

Help! Seeed Studio XIAO nrf52840 gyro build

Post image
3 Upvotes

Hi, very new to all this.

Wanted to build my own head tracker and figured I'd give it a go.

My task.

Using the gyro and HeadTracker firmware, I want to transmit 2 crsf channels via RX and GND (for first test then I want to move over to Bluetooth once I've proven concept via wire and I know Bluetooth isn't going to cause interference with other raido gear)

I've got the rx and GND connected to a radiomaster ranger micro elrs unit which I plan to send over air signals to a pwn receiver that I'll then use to inject the crsf data in to a flight controller.

This should also allow me to use Sim controllers for fpv.

I've downloaded the HeadTracker gui and can see my gyro working after calibration, I've set output to crsf, enabled uart. Bluetooth is currently turned off.

Can't get tx to go green whilst usb is connected.

Physical connection between units is approx 7mtrs of red/black speaker wire (don't judge it's all I had to hand with length), I've fitted a jst sh 2.54 connector on radiomaster and gyro for the link cable.

I'm not using any pull up/down resistors

I've soldered a battery connector to the board

I've soldered a hard rst button to the board because it's mounted upside down.

I've got my soft rst button (gyro reset) wired to GND pin and D8 pin

My gyro rx is connected to D6 pin and same GND pin as my gyro reset button.

When connected to the radiomaster the gyro doesn't wake up when both units are powered up on separate batteries.

If I push the gyro reset button the gyro doesn't seem to respond (no led flashing)

Red led stops flashing after 10 seconds and then seems to stay asleep until I remove battery and reconnect.

I've done this without advice from internet pages, don't have friends in to this stuff.

I did some (not enough) reading and tried to work with help from ai.

Photo of head tracker


r/ArduinoHelp • • Sep 10 '26

How to connect WS2812B 5V to Arduino and external power source

Thumbnail
gallery
3 Upvotes

Hi, I'm making a desk lamp that should be nice and bright directed to the table (as opposed to ambient lighting). But the lamp head can also turn around to face the ceiling to become similar to a ceiling light (doesn't have to be as bright as a regular ceiling light) that is supposed to wake me up in the morning.

I have two problems,

  1. Is the LED strip bright enough?

  2. How do I connect it to the breadboard and also an external power source (apparently it's safer to connect it to external power source or it can fry the arduino?)

I'm planning to use 1m 60LED/m IP30 LED strip for the light source. I'm not sure if I need to power all 1m of the LED strip for it to be bright enough for a table (let alone a room around 4m x 4m x 3m). If anyone has experience with the brightness of these LED strips let me know.

The input end of the LED strip appears to be female and has 3 pins.

Is this adapter correct? It looks like it can adapt LED strip wires to USB. Which I can then plug into my power board which is rated for 2.1A.

The LED strip has 3 pins/wires but the adapter has 4. I couldn't find any adapters that had exactly 3 pins

I can send the Aliexpress link to the adapter if the photo doesn't have enough info.

Thanks in advance!


r/ArduinoHelp • • Sep 07 '26

Help with nodemcu 8266

3 Upvotes

I have an esp8266 that im using to control several servos. I have been having a tough time acquiring a legit Lipo on Amazon. Every single 2s reads 7.7v after charged, so im going to 3s

Its going to a buck converter set for 5v and then to Vin and Grd. Well im reading 4.7v from the headers but the Nodemcu isn't powering up. It will blink for just a second then nothing. Im suspecting that 4.7v isn't enough. Ive connected just Vin and Grd and nothing. Blinks real quick then nothing. When the servos are attached they twitch when first plugged in. I get 1.5v from the top of the pin on the nodemcu.