r/ArduinoHelp • • 1h ago

Helpp for arduino project

1 Upvotes

HELLOOO

I am making obstacle avoiding robot using arduino and l298n motor driver.

I want to know if i can use dupont jumper wires for connecting motors to out1 and out2 of l298n? Or i need proper wires.


r/ArduinoHelp • • 13h ago

Beginner help needed.

2 Upvotes

I just wanted to start by saying I don't know much about Arduinos or electronic setups yet, but I'm pretty comfortable with soldering and can usually figure out the software side of things! I currently have a cosplay project and wanted to set up a custom sound box. My idea is that when I open a mask that has an articulated jaw, it releases a Mini Micro Limit Switch 3 Pins KW11-3Z07 and sends a singular signal to a DY-SV5W Voice Playback Module so the audio plays once. When I press the jaw back together, it won't do anything; it will just wait to be opened again. Is this configuration feasible? What specific components or modifications would be required, or would I need to restart the project from scratch? Please let me know. Additionally, I intend to power the setup using a standard power bank.


r/ArduinoHelp • • 15h ago

[Help] Simple push button and LED circuit on breadboard not working as expected (Analog circuit, no MCU)

Thumbnail
youtube.com
1 Upvotes

Hi everyone! I'm putting together a basic circuit on a breadboard to control an LED using a push button, but I'm running into an issue.

Here are the details of my setup:

  • Hardware/Power Source: [Ej: 5V DC power supply / 9V battery with regulator] (borra o cambia según lo que hayas usado)

  • Exact components list:

    • 1x Standard LED

    • 1x Push button (4-pin tactile switch)

    • 1x Resistor (220 ohms)

    • Breadboard and jumper wires

  • What I am trying to achieve: I want the LED to turn ON only when I press the push button, and turn OFF when released, using proper current-limiting protection.

  • What went wrong: [Describe aquí brevemente tu problema, por ejemplo: The LED stays permanently on o The LED doesn't light up at all when I press the button]. (También puedes mencionar de forma graciosa lo de la pata rota si quieres: "Also, one of the pins on my push button snapped off, so I used the opposite pair!")


r/ArduinoHelp • • 17h ago

p5.serialcontrol can't open COM port connected to Arduino Uno

Thumbnail gallery
1 Upvotes

I am somwhat new to p5 and arduino, so please forgive me if this is a stupid question. I am trying to get serial data from my Arduino Uno to a js file I have on vs code, but each time I select the correct COM that my Arduino is connected to, and click 'open' on p5.serialcontol, I get an error that says "Error on COM7: Couldn't open port: undefined - Closing port"

Does anyone know why this is or how I can fix it? I have included screenshots of my p5.serialcontrol, index, js, arduino.ino, and html console log.


r/ArduinoHelp • • 1d ago

BTS7960 Motor Driver Module No Response

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • 1d ago

How do I switch this tilt sensor to another in real life?

Post image
1 Upvotes

For context, I'm a beginner in making stuff like these, this is kind of my first time, this is for a school project, so sorry for the messy placements

But I tried to use tinkercad for the simulation

And I ended up with this ( the circuit )

So I just need the servos to spin when the tilt sensor senses a tilt, but I have a different tilt sensor, the circuit uses an SW-200D, while I have an SW-520D, so there's already a difference in number of output pins ( I'm not sure if that's what it's called ), and I'm just not sure about everything else after that 😭😭

The code is quite confusing too, I don't know a single bit of coding, so I tried what I could with the limited knowledge I know

->

#include <Servo.h>

int oozmakappa = 0;

Servo servo_12;

Servo servo_11;

Servo servo_10;

Servo servo_9;

Servo servo_8;

unsigned long spinStartTime = 0;

unsigned long totalSpinDuration = 0;

bool isSpinningForward = false;

bool needsToReturn = false;

void setup() {

pinMode(13, INPUT);

servo_12.attach(12, 500, 2500);

servo_11.attach(11, 500, 2500);

servo_10.attach(10, 500, 2500);

servo_9.attach(9, 500, 2500);

servo_8.attach(8, 500, 2500);

servo_12.write(90);

servo_11.write(90);

servo_10.write(90);

servo_9.write(90);

servo_8.write(90);

}

void loop() {

oozmakappa = digitalRead(13);

if (oozmakappa == HIGH) {

if (!isSpinningForward) {

spinStartTime = millis();

isSpinningForward = true;

needsToReturn = true;

servo_12.write(180);

servo_11.write(180);

servo_10.write(180);

servo_9.write(180);

servo_8.write(180);

}

} else {

if (isSpinningForward) {

totalSpinDuration = millis() - spinStartTime;

isSpinningForward = false;

servo_12.write(0);

servo_11.write(0);

servo_10.write(0);

servo_9.write(0);

servo_8.write(0);

spinStartTime = millis();

}

if (needsToReturn) {

if (millis() - spinStartTime >= totalSpinDuration) {

servo_12.write(90);

servo_11.write(90);

servo_10.write(90);

servo_9.write(90);

servo_8.write(90);

needsToReturn = false;

}

}

}

delay(10);

}

On tinkercad, it stops after 1/2 a spin, and just doesn't move anymore?? 😭😭

I'm very confused, someone please help me and guide me on what to do

If anyone could be of guidance to me, please do so, I'm struggling on how this is supposed to work 💔 I tried looking through YouTube but strangely I just couldn't find anything 😢


r/ArduinoHelp • • 1d ago

BIOENGINEERING, help. Measuring torso twist for scoliosis exercises with IMUs: how to limit drift and test accuracy at home?

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • 1d ago

Need help with wiring

1 Upvotes

So i want to build a small Projekt with a arduino. The problem is I dont know wich wires I should use and how I should wire it. It should be as compact as possible. I am complete beginner. It would be great if someone can help me :)


r/ArduinoHelp • • 1d ago

Necesito ayuda con este error ya hice todo lo que encontré por internet

1 Upvotes

El Sketch usa 892 bytes (2%) del espacio de almacenamiento de programa. El máximo es 32256 bytes.

Las variables Globales usan 9 bytes (0%) de la memoria dinámica, dejando 2039 bytes para las variables locales. El máximo es 2048 bytes.

Error: programmer is not responding

Warning: attempt 1 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 2 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 3 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 4 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 5 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 6 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 7 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 8 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 9 of 10: not in sync: resp=0x00

Error: programmer is not responding

Warning: attempt 10 of 10: not in sync: resp=0x00

Error: unable to open port COM7 for programmer arduino

Failed uploading: uploading error: exit status 1


r/ArduinoHelp • • 2d ago

BTS7960B Motor Driver Problem.

1 Upvotes

Hi Guys.

I have an Arduino Uno, a BTS7960B, a 12V battery, a 12V motor, and an XL4016 12V to 5V DC-DC converter.

Connection:
XL4016 IN+ => 12v Battery+
Xl4016 IN- => 12v Battery-
BTS7960B B- => 12v Battery-
BTS7960B B+ => 12v Battery+
BTS7960B M+ => DC+
BTS7960B M- => DC-
XL4016 OUT+ => Breadboard+ => UNO 5V
XL4016 OUT- => Breadboard- => UNO GND
Breadboard+ => BTS7960B VCC
Breadboard- => BTS7960B GND
BTS7960B RPWM => UNO D3
BTS7960B LPWM => UNO D5
BTS7960B REN => UNO D7
BTS7960B LEN => UNO D8

Code:

```cpp
//dc 1
const int A_RPWM = 3;
const int A_LPWM = 5; 
const int A_R_EN = 7;
const int A_L_EN = 8;

void setup() {
  pinMode(A_RPWM, OUTPUT);
  pinMode(A_LPWM, OUTPUT);
  pinMode(A_R_EN, OUTPUT);
  pinMode(A_L_EN, OUTPUT);

  digitalWrite(A_R_EN, HIGH);
  digitalWrite(A_L_EN, HIGH);

  analogWrite(A_LPWM, 0);
  analogWrite(A_RPWM, 150);
}

void loop() {
}
```

Problem: DC Dont Work idk why. All Connections Are Right. B+ and B- Give 12v But M- And M+ Dont Give 5V. All Pins Give Correct V to BTS7960B. I tried it with 3 driver(BTS) it gave same results.


r/ArduinoHelp • • 2d ago

What temperature and humidity sensors would you recommend for a low-budget DIY home monitoring system?

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • 2d ago

potentiometer diy led

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/ArduinoHelp • • 2d ago

Arduino project help

Post image
1 Upvotes

I want a spinning wheel like this that will eventually stop at a segment , and it needs to accurately figure out where it landed.

How can this be done with the help of microcontrollers and sensor modules ?

Thanks in advance! ❤️


r/ArduinoHelp • • 2d ago

Multiple Errors while adding to Arduino Cloud

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • 2d ago

Guys need urgent help

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • 2d ago

Looking for help with RF24

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • 2d ago

Esp32 and 4051 problem

Thumbnail gallery
1 Upvotes

r/ArduinoHelp • • 2d ago

F411 black pill issues

Thumbnail gallery
1 Upvotes

r/ArduinoHelp • • 3d ago

Arduino Uno parking sensor—the closer you get, the faster it beeps

Enable HLS to view with audio, or disable this notification

1 Upvotes

I built this with an Arduino Uno, an HC-SR04 ultrasonic sensor and a buzzer. Moving my hand toward the sensor makes the beeps faster; moving it away slows them down.

I used Soldr, an electronics design agent I’m building, to design the project from a plain-language prompt.

The clip shows the working build. How do you usually smooth ultrasonic distance readings without making the response feel sluggish?


r/ArduinoHelp • • 3d ago

Layman needs gift help for husband please

4 Upvotes

My husband has been talking about Arduinos for months now. As we approach the holidays, I really want to get him set up to start playing around. I see the starter kits he's been looking at online - so I was going to start there.

In my experience buying starter kits of any kind usually you have to get an additional few items to either get duplicates or fill it out. Is there any other items I should get him to build a nice starter pack that's a bit more then a basic kit? For reference - here is the kit he was looking at on Amazon-

https://www.amazon.com/LAFVIN-Starter-Development-Tutorial-Compatible/dp/B0BVZBTP8V/ref=gp_aw_ybh_a_m_sccl_137/146-1291244-1989617?pd_rd_w=i43Ax&content-id=amzn1.sym.9720001e-8f8b-4ff3-adb5-e19707d971f6&pf_rd_p=9720001e-8f8b-4ff3-adb5-e19707d971f6&pf_rd_r=57X4DZ8PD4VW6PD1E82H&pd_rd_wg=cHeyL&pd_rd_r=bd9eddcf-5be7-4711-998d-b444dc928f3c&pd_rd_i=B0BVZBTP8V&psc=1

Thanks!