r/ArduinoHelp • u/rDomm • Jun 19 '21
r/ArduinoHelp • u/DoctorSoulJacker • May 02 '20
Need help trying to construct a code that light up 100ml when selected and every 10 litre lights up if the litre exceeds 700L without reset fault will light up. LCD contains menu to select and also stores the current Litres poured and litres poured before reset.
r/ArduinoHelp • u/DoctorSoulJacker • 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
r/ArduinoHelp • u/[deleted] • Mar 27 '20
Hey all - new mod here
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 • u/Dizzy_Collection5277 • 8d ago
Hey I'm new CE student need help
galleryHey 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 • u/Frequent-Elk5164 • 12d ago
I don’t even know where to start.
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 • u/piemolteni • 25d ago
lidar con arduino
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:
Sensor Choice: Which LiDAR sensor is best recommended for underground environments, taking into account high humidity, total darkness, and required range?
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 • u/Idaho-Tom • 26d ago
I need a simple program to test an audio amplifier
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 • u/ExchangeConscious207 • 29d ago
aruino boards keep getting bricked!! urgent help needed!!
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 • u/avess_90 • Oct 29 '26
Buzzer coding
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 • u/Fearless-Match1204 • Oct 08 '26
ESP32 troubleshoot while uploading code
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 • u/Agreegmi02 • Oct 08 '26
Can I install Arduino AVR on IDE 2.x without board manager?
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 • u/True_Buffalo_1436 • Oct 08 '26
Trying to get a PIR sensor to turn lights on in sequence
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 • u/Savings_Anteater_840 • Oct 06 '26
Coding help
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 • u/DiegoMike1303 • Oct 05 '26
Arduino Uno + DFPlayer Pro Produces Only Very Faint Volume
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 • u/isubarna1 • Oct 03 '26
I've a problem with Raspberry Pi Pico W + 5v Relay Module
reddit.comr/ArduinoHelp • u/Impossible-Lie-6848 • 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 ?
r/ArduinoHelp • u/IM_futterby • Sep 11 '26
Help! Seeed Studio XIAO nrf52840 gyro build
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 • u/mbentuboa • Sep 07 '26
Help with nodemcu 8266
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.
r/ArduinoHelp • u/[deleted] • Sep 07 '26
Arduino UNO pins explained for complete beginners 🔰
If you're new to Arduino, the number of pins can be confusing at first.
So here's a simple breakdown of the most important ones:
🔹 Digital pins (0–13) → Read buttons/sensors or control LEDs, relays, etc.
🔹 Analog pins (A0–A5) → Read changing voltages from sensors/potentiometers
🔹 5V → 5V power output
🔹 3.3V → 3.3V power output
🔹 GND → Ground / 0V reference
🔹 VIN → External input voltage when powering through the board
🔹 USB → Upload code + power the Arduino from your computer
One thing that confused me when I started: A0–A5 can also be used as digital pins if needed.
I made this as a quick reference for anyone starting Arduino.
What Arduino concept confused you the most when you first started?
r/ArduinoHelp • u/mbentuboa • Sep 07 '26
Help with node mcu
Help with nodemcu 8266
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.
r/ArduinoHelp • u/Infamous_Text_5589 • Sep 05 '26
Arduino Cloud Agent issues?
This week I tried uploading new code to a project that uses Arduino’s cloud. In an effort to troubleshoot a bug I decided to try and recreate a device/Thing and discovered that Arduino’s Cloud agent had stopped working for me.
I have an open forum discussion on Arduino’s forum site as well, but I’m wondering if anyone else has ran into this issue.
Reinstalling the agent doesn’t seem to change anything. It worked briefly in an older Mac I have and rarely use, but there the agent eventually stopped likely because it received an update from their server side. Not exactly sure I’m not a computer engineer or CS specialist.
Link to forum: [Cloud Agent Degraded](https://forum.arduino.cc/t/arduino-cloud-degraded-and-agent-not-working-mac-osx/1458209/16)
r/ArduinoHelp • u/1998PontiacSunfire • Aug 31 '26
Button Game Project
Hello! I’m new to the arduino community. I have played around with them in the past with my highschool years ago. I recently came up with an idea of an interactive game and have some questions from those who have knowledge. How hard would it to be to program a game in which there are 30 buttons with 30 unique sounds. The goal of the game is to crack the code and figure out the 4 button/ noise combination. When this happens I need it to either show that you cracked the code or have to try again. I also want to be able to have a free play mode where people can come up and interact with the buttons without the game starting. I am overall curious how hard this project will be, I am an electrician and have knowledge of circuitry/ electronics and bread boards but very limited knowledge on coding. Any help with supply’s, brands, product which could help my project would be appreciated! Thank you arduino community!
r/ArduinoHelp • u/George_1099 • Aug 28 '26
Why did my Arduino Mega fry instantly when I fed 20V into my CNC Shield V3?
Hi everyone,
I recently fried my Arduino Mega 2560 and I'm trying to figure out the exact reason so I don't repeat the same mistake with a replacement board.
Here is my setup and what happened:
My Setup:
Board: Arduino Mega 2560
Shield: CNC Shield V3 stacked directly on top of the Mega
Drivers: DRV8825 stepper drivers + NEMA 17 motors
Power Supply: 20V DC connected directly to the screw terminals on the CNC Shield
Logic Power: Arduino Mega connected via USB to my PC
What Happened: As soon as I turned on the 20V power supply connected to the CNC Shield terminals, the main processor on the Arduino Mega fried instantly.
Assuming my stepper drivers were good and properly oriented:
Does the CNC Shield V3 pass the terminal voltage (20V) directly to the VIN pin of the Arduino Mega underneath?
Did 20V cause the Mega's onboard 5V linear regulator to instantly overheat and fail short, dumping 20V into the ATmega2560 logic line?
What is the proper way to prevent this on a new board? Should I clip/bend the VIN pin on the CNC Shield so 20V doesn't reach the Mega, and power the Mega separately via USB?
Would appreciate any insights from anyone who has run a CNC Shield with >12V on an Arduino Mega!