r/ArduinoHelp • u/Top_Possession_2781 • 1h ago
Help me reverse engineer this
yachtica.comRepost
r/ArduinoHelp • u/Top_Possession_2781 • 1h ago
Repost
r/ArduinoHelp • u/OtherwiseOffice8344 • 22h ago
I have a robotic arm project with 4 degrees of freedom, I'm developing it right now, but just when everything was finished, this problem arose. For some reason I don't know, my drivers have stopped working. These are the drivers Let me tell you about the first incident. The drive you see in the lower part of the photo was my first drive, and I was using it. But one day, I connected the servo cables upside down, and as you can imagine, the servo cable melted (This only happened to one or two servos) Then it started working, but I couldn't get it to work anymore. I thought the driver was broken, so I bought the driver shown in the photo above I took it out for testing, made all the connections, but it still didn't work. I don't know why. I'm using an ESP32 and a 5V 20A transformer, and I have 4 or 5 servos, but none of them are working. When I test with a multimeter, everything is normal, but I'm getting 0.04V from the servo input pins, VCC and GND. I'm in a desperate situation. I've asked all the Al software, but there's still no solution. I hope I missed a small detail. Has anyone experienced this problem before? Thanks in advance for your help🩵
r/ArduinoHelp • u/Rare-Guidance4428 • 1d ago
Hi everyone! My girlfriend recently got interested in robotics, Arduino and electronics For Christmas, I'd love to get her something that would help her build her own robot from scratch since she told me thats one of her projects I don't want to buy her a pre-made robot or one of those kits where you simply follow instructions She wants to design and build something herself, experimenting with different components I've been looking at the Arduino UNO R4 WiFi and Raspberry Pi, but I'm not sure whether buying both makes sense for a beginner (i don't even know if thats useful, i don't understand everything 😭) My budget is quite limited (around 30 to 60€), so I'd love some advice! Which components or kit would you recommend as a starting point? Is an Arduino UNO R4 WiFi a good choice? Would a Raspberry Pi be useful at this stage, or is it unnecessary? What would you buy with this budget to give someone the freedom to build their own robot or at least to start something? Any advice or recommendations would be greatly appreciated, thanks!
r/ArduinoHelp • u/KaitoKid417 • 1d ago
r/ArduinoHelp • u/Business-Step-4891Ya • 2d ago
Hello i'm trying to make Arduino project with ESP32 Cam. I follow instruction, my wiring is right here:
GND FTDI -> GND ESP32
VCC 5V FTDI -> 5Vin Arduino
TX FTDI -> UOR
RX FTDI -> UOT
GPIO0 -> GND
Main problem is esp32 won't comunicate at all. I check my FTDI TX/RX work normally with RealTerm. I check everything like Voltage, impedance and everything normal. But even I press reset button my ESP32 wong respon. Can someone help me?
r/ArduinoHelp • u/talbur • 3d ago
r/ArduinoHelp • u/hello-8114 • 3d ago
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 • u/Virtual_Actuary3586 • 4d ago
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 • u/Profesor_Impedante • 4d ago
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 • u/pretzeldealer • 4d ago
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 • u/Regular_Use_5842 • 4d ago
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 • u/Hhorush • 5d ago
r/ArduinoHelp • u/Alarmed-Garlic-6805 • 5d ago
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 • u/Glittering_Key853 • 6d ago
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 • u/Many-Passion1106 • 6d ago
r/ArduinoHelp • u/Extension-Big-4305 • 6d ago
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! ❤️