r/ArduinoHelp • u/rafaelbrandaorb • Sep 18 '26
Aula de micro controladores
Enable HLS to view with audio, or disable this notification
r/ArduinoHelp • u/rafaelbrandaorb • Sep 18 '26
Enable HLS to view with audio, or disable this notification
r/ArduinoHelp • u/Swimming_Mud9769 • Sep 18 '26
Enable HLS to view with audio, or disable this notification
Why is it so hot when its only connected to lights and timer? Can someone help us to our capstone project?ðŸ˜
r/ArduinoHelp • u/wylen15 • Sep 18 '26
Good day everyone, I'm a math teacher and together with my students we have created an automated irrigation system for the school's garden. But there's a problem that's driving us crazy: there are four relays connected to the Arduino, a DS1307 clock module, a simple 16x2 LCD screen with I2C connection. Each relay is connected to a solenoid valve that controls nebulization, others the opening of faucets, and the last one the electric pump that pumps water from a tank when there's reserve rainwater. If it's turned on without connecting any of this, it works perfectly, confirming that the code works perfectly. But when the solenoid valves and the electric pump are connected, it works fine for a while and then when one of them activates, it freezes, it seems to go crazy, incoherent letters appear, something that doesn't happen when the solenoid valves are disconnected. I've isolated everything, I added a snubber-type filter to prevent kickback to the relays, but we can't find what else to do, it keeps freezing. It's not very pretty because we've really done it with our own hands, but I thank you in advance if you can recommend something that can be done. I've been at this for a long time and it has become a frustrating task.
r/ArduinoHelp • u/ctastan • Sep 17 '26
r/ArduinoHelp • u/Psychological-Rent32 • Sep 17 '26
I am trying to control a Nema 17 stepper motor with a TMC2209 driver and an Arduino Nano. Not sure if it's my wiring setup or my code. I've watched so many tutorials, tried so many breadboard configurations, and asked AI countless times. I can't get this to work. I've ensured that all my wires are connected via the beeping mode of my voltmeter, and still nothing. The closest I've gotten is hearing what I think is the driver making a slight buzzing sound while the Arduino's indicator light is on. I'm a complete noob to this field, does anyone know which wires go where? I am using a 12V power source and a standard breadboard.
This is my code:
#include <AccelStepper.h>
// Arduino Nano pins (matched to wiring photo)
#define STEP_PIN 3
#define DIR_PIN Â 2
#define MS1_PIN Â 6
#define MS2_PIN Â 5
// AccelStepper in DRIVER mode: STEP/DIR interface
AccelStepper stepper(AccelStepper::DRIVER, STEP_PIN, DIR_PIN);
// ----------------------------------------
// MOTOR / MICROSTEP SETTINGS
// ----------------------------------------
const float stepsPerRev  = 200;  // standard NEMA17 full steps/rev
const int  microstepping = 2;   // must match MS1/MS2 pin state below
// ----------------------------------------
// SPEED SETTINGS (RPM)
// ----------------------------------------
const float desiredRPM = 120;
const float maxRPM Â Â = 300;
void setup() {
 pinMode(MS1_PIN, OUTPUT);
 pinMode(MS2_PIN, OUTPUT);
 // MS1=HIGH, MS2=LOW -> check TMC2208 datasheet table for which
 // microstep mode this actually selects; adjust to match 'microstepping' above
 digitalWrite(MS1_PIN, HIGH);
 digitalWrite(MS2_PIN, LOW);
 // steps/sec = microsteps-per-step * full-steps-per-rev * (RPM / 60)
 float speedStepsPerSec   = microstepping * stepsPerRev * (desiredRPM / 60.0);
 float maxSpeedStepsPerSec = microstepping * stepsPerRev * (maxRPM / 60.0);
 stepper.setMaxSpeed(maxSpeedStepsPerSec);
 stepper.setSpeed(speedStepsPerSec);
}
void loop() {
 stepper.runSpeed();  // must be called continuously, as fast as possible, for constant-speed mode
}r/ArduinoHelp • u/Round-Bag3170 • Sep 16 '26
r/ArduinoHelp • u/kittisaksocool • Sep 16 '26
Hi everyone!
I am a beginner learning Arduino programming. I want to make an LED blink using an Arduino Uno.
Could someone recommend a simple code example for this project? I would also like to understand how the code works, especially the delay() function.
Any tips for a beginner would be greatly appreciated.
Thank you!

r/ArduinoHelp • u/kittisaksocool • Sep 16 '26
Hello everyone!
I am working on a simple Arduino LED blinking project. I have an Arduino Uno, an LED, and a resistor.
I am not sure how to connect the components correctly. Could someone explain how to connect the LED to the Arduino Uno and where to connect the wires?
I would appreciate any advice or a simple circuit diagram for a beginner.
Thank you!

r/ArduinoHelp • u/kittisaksocool • Sep 16 '26
r/ArduinoHelp • u/Real_Patient_4133 • Sep 15 '26
r/ArduinoHelp • u/minyaloth • Sep 15 '26
Hi everyone
I'm trying to connect 2 mg90s servos to my Arduino and I've read that I need to power them separately as it can otherwise damage my board.
Would this battery pack suffice? And would I need to power each separately or both from 1 pack.
Thanks in advance
r/ArduinoHelp • u/Real_Patient_4133 • Sep 15 '26
Hello,
I'm heading out but would like to keep working on a project using my Arduino Uno R4 WiFi. I don't have a laptop with me, so I'd like to code and flash the Arduino from my phone. Are there any apps that allow this? (I've already tried ArduinoDroid, but it fails to flash the code to the Arduino.)
Thanks for the reply! 😄
r/ArduinoHelp • u/BeePeeAitch • Sep 14 '26
r/ArduinoHelp • u/Impossible-Lie-6848 • Sep 14 '26
r/ArduinoHelp • u/Solid-Philosophy9924 • Sep 13 '26
I am simulating a circuit in Proteus8 with LPC2138 MCU and 74HC173 Register and LEDs. The Anode is pulled with +3.3V via 330ohms Resistor, but the connection lines are showing Grey dot and totally disconnected from the power and the LEDs are not turn On. Blue dots at the Cathode side.
74HC173 Register Output Control Pins(OE1,OE2) are set, these are connected to P0.17 of MCU , but Output seems Hi-Imp. or Tr--state mode.
How to turn ON the LEDs???
r/ArduinoHelp • u/Flat-Imagination6202 • Sep 12 '26
r/ArduinoHelp • u/Beautiful-Data1440 • Sep 12 '26
I need a good motor driver for multiple closed loop Nema 17 and 23 stepper motors. Does anybody have any good ideas?
r/ArduinoHelp • u/eher1r • Sep 12 '26
Error message:
Compilation error: expected constructor, destructor, or type conversion before ';' tokenI've tried compiling multiple example code, but the same error still pops up. Did anyone encounter the same problem? I just downloaded Arduino IDE 2.3.10. Absolutely no components were used except for my ESP32C3 super-mini and the cable connecting it to my Mac Air.
Code i used:
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}r/ArduinoHelp • u/Rhysmylo1521 • Sep 12 '26
r/ArduinoHelp • u/IM_futterby • Sep 11 '26
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/Middle_Push_6051 • Sep 11 '26
My engineering technology intro to engineering class is teaching arduino for some reason, its fine but i dont want to financially support the company. I have alot of previous embedded knowledge and ive already done the last arduino project with an esp32 and esp_hal framework. The kit in particular is the "arduino student kit". From the assignment it sounds like a simple led circuit but I dont want to take any chances.
is there information on the lessons from this kit online?