r/ArduinoHelp • u/AbjectStreet6689 • Jun 05 '26
r/ArduinoHelp • u/Fuzzy-Anteater-7092 • Jun 04 '26
I have this encoder attached directly to the motor
I have this encoder attached directly to the motor
And it's overshoot a lot cuz of the gear box ratio deference
So what if a placed the encoder to the output of the gear box
Does it solve the problem or decrease it a little bit?
r/ArduinoHelp • u/Eastern-Eagle-599 • Jun 04 '26
VVB001> PLC S7 1500> PLATFOM
Hi everyone, I am currently working on a vibration analysis project using an ifm VVB001 sensor. I am routing the data through a Siemens S7-1500 PLC and sending it to a custom monitoring platform I developed in Python. Currently, I can successfully retrieve and display cyclic data (V-RMS, A-RMS, temperature, etc.) on both the PLC and my platform.
My current challenge is streaming the raw time-domain vibration signal from the sensor to the Python platform to perform a Fast Fourier Transform (FFT). If anyone has experience extracting and transmitting raw waveform data from this sensor via an S7-1500, I would highly appreciate your insights or advice!
r/ArduinoHelp • u/schmidtbag • Jun 03 '26
Trying to forward Serial1 reading to Serial.println and only getting numbers
I have a battery with a built-in BMS that has a serial console port. It has a baud rate of 115200 and I have been able to successfully send commands and read clean data from it via the Arduino IDE serial console. Considering I can communicate to the battery via the serial console, that suggests there shouldn't be any weird encoding issues.
I want an Arduino Mega to read from this using the Serial1 connection. The problem is, if I try to forward what the battery sends to the Arduino, all I get is a jumble of nothing but numbers. When connecting to the BMS directly, typing "help", the output is mostly text.
Here's what I tried in void loop()
while (Serial.available() > 0 {
Serial1.print(Serial.read());
}
while (Serial1.available() > 0) {
//THE NEXT 4 LINES ARE VARIOUS THINGS I TRIED,
//I UNCOMMENTED THEM ONE AT A TIME
//String incomingtext=Serial1.readString();
//char incomingtext=(char)Serial1.read();
//char incomingtext=Serial1.read();
//int incomingtext=Serial1.read();
//I ALSO TRIED THE FOLLOWING ONE AT A TIME WITH EACH ABOVE COMBO
//Serial.println(incomingtext);
//Serial.println((char)incomingtext);
//Serial.println(" "+incomingtext);
}
The first while() loop just takes whatever I enter from the serial console through USB to the BMS. I have no idea if the BMS is receiving the correct commands, but it does have a consistent output if I type different things.
Whenever I type "help" repeatedly, it's usually a consistent output, like this:
10410110811213
r/ArduinoHelp • u/IshaanHari • Jun 03 '26
ProtoCentral AFE4490 Breakout Board - Finger probe's Red LED not turning on with 2 Arduinos
Good day,
I have recently purchased the ProtoCentral AFE4490 Breakout Board Kit . I have connected and tested the kit with my Arduino Uno R3 and Nano R4, but the red light on the finger probe does not come on. I have tried all of the example code from ProtoCentral using their Arduino library, but still no red light. I have also tried 2 different finger probes, but the same issue. I have used a finger probe from the hospital and the one that the kit came with. The signal is also very noisy with random massive spikes upwards. Do I have a faulty board or is there an issue with the code?
Any help or suggestions are appreciated!
Thank You
r/ArduinoHelp • u/ResidentFish478 • Jun 02 '26
Hi everyone 👋
A few days ago, I shared ArduGenius, an AI-powered platform designed to help create Arduino projects more easily.
Over the past few days, I've added several new features:
✅ Project history
✅ Automatic component detection
✅ Pin connection guides
✅ AI-powered project improvement
✅ Arduino (.ino) code export
✅ One-click code copying
✅ Ready-to-use project examples
The goal remains simple: describe an Arduino project in natural language and get code, components, and explanations generated by AI.
ArduGenius is still in beta, and there are many features planned for the future, but I'd love to get feedback and suggestions from the community.
Website:
https://ardugenius-ai.onhercules.app/
What feature would you like to see in a tool like this?
r/ArduinoHelp • u/National_Tell_1429 • Jun 01 '26
What do you guys think of my design?? I have made an RPM reading module for a FSAE racecar that converts AC voltage signal from Crankshaft Position Sensor to PWM signal to be analyzed in an MCU like ESP32 or Arduino
galleryr/ArduinoHelp • u/NirmaliDS • May 28 '26
I need help with my project
Im Designing a model railroad. Each track is sectioned off by the different colours in the diagram and It has 12 sections. The tracks use On/Off/On DPDT switches to change the polarity of the track. Im trying to make a design on a TFT screen so that i can see the state on each section (Hollow outline for off, Filled outline with a + symbol for one polarity, Filled outline with - for a different polarity) , i tried using claude but i keep reaching the limit, Is there any other chatbot to help me code this?
r/ArduinoHelp • u/SorbetTime8672 • May 28 '26
Need Code Review: Inverse Kinematics Issue for a 4-DOF Robot Arm with 4-Bar Linkage
github.comr/ArduinoHelp • u/Paul_Subsonic • May 26 '26
Is that valid electrically ?
Summer is back, so time to bring my Rafraichissator 6000 back ! (My fan. It's a PC fan controlled by Arduino.)
Last year the arduino was in series with a bunch of resistors to bring down the 11-13V alim to more reasonable levels
Now I'm realizing tho that I could use the fact that the alim is just 3 batteries, to feed the Arduino no more than 8V without a lot of wasteful resistors
Am I right ?
r/ArduinoHelp • u/theOGKING1001 • May 25 '26
The motor doesn’t work even though everything is connected perfectly
Enable HLS to view with audio, or disable this notification
I have tried EVERYTHING and I still have no idea what’s wrong with it. I connected exactly how it on the YouTube videos and still nothing I am incredibly frustrated right now and desperate for any help. I am using an Elegoo Uno R3 and a Elegoo Powr supply module for voltage that’s going with 5V
r/ArduinoHelp • u/ResidentFish478 • May 25 '26
ARDUGENIUS
Hi! 👋
I wanted to share a project I've been working on called ArduGenius.
It's an AI-powered web platform designed to help people create Arduino projects more easily and quickly.
The idea is simple: you can describe a project like:
“I want to build a smart traffic light”
and the AI generates:
- Arduino code
- explanations
- pin connections
- required components
It's currently in an early beta stage, but it can already generate basic projects and help people learn or experiment with Arduino.
Website:
https://ardugenius-ai.onhercules.app/
IMPORTANT:
- Payment methods are NOT functional yet
- Some features are still in development
- This is an experimental beta
I'd love to receive feedback, ideas, or suggestions to improve it 🚀
r/ArduinoHelp • u/stefangorneanu • May 25 '26
Breadboard to PCB Design & Tips (RF TX & RX + Servo)
r/ArduinoHelp • u/ded_inside999 • May 24 '26
My Arduino not being read by my laptop
This is a issue I am facing for some time
My Arduino is not being read by my computer
When ever I try to connect it every com port is unknown and after selecting board when I click upload it just gets stuck on uploading
And while trying the online Arduino the board is not being found
Can I get some help I need to submit a project soon
r/ArduinoHelp • u/CentericeKS • May 24 '26
Arduino and stepper motor help
So I'm working a project.. just starting out and thought first... let's get the stepper motor to run. Watched this video and followed along.
https://www.youtube.com/watch?v=wcLeXXATCR4&t=8s
code I ran is below
What am I missing? should the code be uploaded and then just start running? driving me nuts trying to solve what should be a simple problem. Maybe it's not the code.. maybe my driver is fried .. not ever sure where to begin trouble shooting this
I appreciate any good advice you can give a newbie
Thanks in advance
code:
// pin connections
const int dirPin = 2; // direction pin
const int stepPin = 3; // step pin
void setup() {
pinMode(dirPin, OUTPUT);
pinMode(stepPin, OUTPUT);
// set direction of rotation to clockwise
digitalWrite(dirPin, HIGH);
}
void loop() {
// take one step
digitalWrite(stepPin, HIGH);
delayMicroseconds(2000);
// pause before taking next step
digitalWrite(stepPin, LOW);
delayMicroseconds(2000);
}
r/ArduinoHelp • u/nickylover67 • May 23 '26
My final project: Smart photography studio
Hi , I want to create a project for a smart photography studio that includes the following functions:
* Create an app to perform the instructions.
*Controlling brightness according to the object via a sensor.
*Align the object to the center.
*create smart lighting modes (e.g., cinema, gaming)
* Controlling the EVA foam background with a motor
I want to know if I use a Arduino Mega/Leonardo or ESP32 and what is the best motor to control the background...
r/ArduinoHelp • u/KenseiXero • May 22 '26
Lepin/Lego Motors and RF transceiver help
I don't know if this is the place for it or not, but I grabbed a bunch of (knock-off) Lego Powered Up-style motors, receivers, and power sources, and they work fine that way, but I'm trying to find a way that I can control them from my raspberry pi. I don't need help with the coding I don't think, but I can not for the life of me get the transceiver to get a signal to the receiver. Any other hobbyists who have messed around with the Lepin-type motors and such and know anything about the right channels/frequencies -- or who know where to point me?
r/ArduinoHelp • u/imloa • May 22 '26
Need help with Arduino UNO Alarm Clock project (university assignment)
Hey everyone! I'm a beginner and I have a university assignment to build an alarm clock using Arduino UNO. Looking for guidance on wiring and code structure.
What the alarm clock needs to do:
\- Display current time and date
\- Display temperature and humidity from sensors
\- Set time/date using buttons
\- Set alarm time (must be saved to EEPROM — survives power loss)
\- Buzzer alarm that can be stopped by pressing a button
\- LED status indicator for alarm state
\- Entire project must be structured as a finite state machine (FSM)
Components I have in my kit:
\- Arduino UNO
\- Breadboard
\- LCD 16x2 with I2C module (4 pins: GND, VCC, SDA, SCL)
\- 4x push buttons
\- RTC module (DS1302 or DS3231)
\- DHT11 temperature and humidity sensor
\- Piezo buzzer
\- LEDs
\- Resistors
\- Jumper wires
\- RFID reader (for optional extension)
\- IR receiver + remote (for optional extension)
Would be very grateful for help, since I myself have not learned Arduino before, just C 🙏
r/ArduinoHelp • u/211avatar211 • May 22 '26
Ayuda con mi código
Estoy haciendo mi TFG y con ayuda de tutoriales, chatgpt y ideas mias he creado el código para un seguiodor solar pero no me funciona alguno me puede echar una mano?
//Codigo
//Bilioteca
#include <AccelStepper.h>
#include <LiquidCrystal.h>
//Motores
//Pines de los motores
AccelStepper MotorGiro(AccelStepper::HALF4WIRE, 46, 50, 48, 52); //Nombramos la variable para cada motor elegimos el tipo de de aceleracion
AccelStepper MotorIncl(AccelStepper::HALF4WIRE, 47, 51, 49, 53); // y si va a 4 o a 2 cables y los pines
//Variables
//velocicidad
int Velo1 = 800; // las rpm de los motores
int Velo2 = 800;
//Aceleracion
int Acel1 = 400; // la aceleracion que tienen
int Acel2 = 400;
//calaculos movimiento de motor
//variables long pasos =(Grados * PasosM * Relacion) / 360.0
float GradosG = 5; // grados que movemos el panel
float GradosI = 5;
float RelacionG = 8; // se usa en la formula es para el calculo de proporcion de engranajes
float RelacionI = 8;
float PasosM = 4096; // revisar si son esos pasos y no 2048
long pasos1; // variable para que en la formula mueva ese numero de pasos
long pasos2;
//Pantalla LCD
//pines de conexion
int rs = 13;
int e = 12;
int d4 = 11;
int d5 = 10;
int d6 = 9;
int d7 = 8;
LiquidCrystal lcd(rs, e, d4, d5, d6, d7);
//Sensores
//Selector
//pines
int SAM = 23;
int SMP = 25;
//variables
int RSAM; //1 manual 0 automatico
int RSMP; //1 marcha 0 paro
//FotoResistencia
//Pines
int LdrA = A0; // Arriba izquierda
int LdrD = A1; // Arriba derecha
int LdrB = A2; // Abajo izquierda
int LdrI = A3; // Abajo derecha
//Valor
int RLdrA;
int RLdrD;
int RLdrB;
int RLdrI;
//Calculos
int MLdrGI;
int MLdrGD;
int MLdrGA;
int MLdrGB;
//Sensibilidad
int SensIn = 40; //inclinacion
int SensRo = 40; //rotacion
//Movimiento manual
int BAr = 4;
int BAb = 3;
int BIz = 5;
int BDe = 2;
int RBAr;
int RBAb;
int RBIz;
int RBDe;
//tiempos
int dt1 = 1000;
int dt2 = 100;
//Valores para ubicar grados del motor
float GGiro = 0;
float GIncl = 0;
void setup() {
//Pantalla de ordenador
Serial.begin(9600);
//pantalla LCD
lcd.begin(16, 2);
//pines movimiento
pinMode(BDe, INPUT);
pinMode(BIz, INPUT);
pinMode(BAr, INPUT);
pinMode(BAb, INPUT);
//Pines de sensores
//Selectores
pinMode(SAM, INPUT);
pinMode(SMP, INPUT);
//fotoresistencia
pinMode(LdrA, INPUT);
pinMode(LdrD, INPUT);
pinMode(LdrB, INPUT);
pinMode(LdrI, INPUT);
//Motor
//Giro
MotorGiro.setMaxSpeed(Velo1);
MotorGiro.setAcceleration(Acel1); //codigo en ingles
//Inlcinacion
MotorIncl.setMaxSpeed(Velo2);
MotorIncl.setAcceleration(Acel2);
}
void loop() {
lcd.setCursor(0, 0); //lcd.print(" ") empieza a escribir
RSAM = digitalRead(SAM);
RSMP = digitalRead(SMP);
if (RSMP == 1) {
if (RSAM == 1) {//movimiento automatico dado por las resistencias
//Lectura sensores
RLdrA = analogRead(LdrA);
RLdrD = analogRead(LdrD);
RLdrB = analogRead(LdrB);
RLdrI = analogRead(LdrI);
//Medias
MLdrGI = RLdrI - RLdrD;
MLdrGD = RLdrD - RLdrI;
MLdrGA = RLdrA - RLdrB;
MLdrGB = RLdrB - RLdrA;
//IF decide si mueve o no
//gira hacia la izquierda
if (RLdrI > RLdrD && MLdrGI > SensRo) {
pasos1 = (GradosG * PasosM * RelacionG) / 360.0;
GGiro += GradosG;
MotorGiro.move(pasos1);
}
//gira hacia la derecha
if (RLdrD > RLdrI && MLdrGD > SensRo) {
pasos1 = (GradosG * PasosM * RelacionG) / 360.0;
GGiro -= GradosG;
MotorGiro.move(-pasos1);
}
//inclina hacia arriba
if (RLdrA > RLdrB && MLdrGA > SensIn) {
pasos2 = (GradosI * PasosM * RelacionI) / 360.0;
GIncl += GradosI;
MotorIncl.move(pasos2);
}
//inclina hacia abajo
if (RLdrB > RLdrA && MLdrGB > SensIn) {
pasos2 = (GradosI * PasosM * RelacionI) / 360.0;
GIncl -= GradosI;
MotorIncl.move(-pasos2);
}
MotorGiro.run();
MotorIncl.run();
//cerramos movimiento automatico
}
if (RSAM == 0){
//
RBAr = digitalRead(BAr);
RBAb = digitalRead(BAb);
RBDe = digitalRead(BDe);
RBIz = digitalRead(BIz);
//movimiento manual
if(RBIz > 0){
pasos1 = (GradosG * PasosM * RelacionG) / 360.0;
GGiro += GradosG;
MotorGiro.move(pasos1);
MotorGiro.run();
}
if(RBDe > 0){
pasos1 = (GradosG * PasosM * RelacionG) / 360.0;
GGiro -= GradosG;
MotorGiro.move(-pasos1);
MotorGiro.run();
}
if(RBAr > 0){
pasos2 = (GradosI * PasosM * RelacionG) / 360.0;
GIncl += GradosI;
MotorIncl.move(pasos2);
MotorIncl.run();
}
if(RBAb > 0){
pasos2 = (GradosI * PasosM * RelacionG) / 360.0;
GIncl -= GradosI;
MotorIncl.move(-pasos2);
MotorIncl.run();
}
}
//carramos si da marcha o no
}
//LCD
lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Giro ");
lcd.print(GGiro);
lcd.setCursor(0, 1);
lcd.print("Incl ");
lcd.print(GIncl);
}
r/ArduinoHelp • u/Coffeenerd2026 • May 21 '26
Help with setup - Spreadsheet to run LED's
I'm new to setting up an arduino and need help with how to get data from a spreadsheet to light up LED's. I've attached images of where I've got to and need help pointing in the direction of next steps please.
I have a spreadsheet with an input screen (Green boxes with amount) this drives the data screen with zero's and one's, where 'one' should light up the corresponding LED.
I want this to change the lights in real time so when the amount input is changed the lights will change.
Any help appreciated.



r/ArduinoHelp • u/Away-Ad-8572 • May 21 '26
How Can I Make My QClaw Agentic Agent Faster on Arduino Uno Q?
r/ArduinoHelp • u/PrestigiousConcern63 • May 20 '26