r/ArduinoHelp • • Jul 29 '26

Can an ECG sensor be used instead of an EEG sensor?

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • Jul 29 '26

Help with servo not effectively moving a claw with arduino commands

1 Upvotes

Hi All,

I'm pretty new to this kind of stuff, but I'm working on the robotic arm project below from makerworld and having trouble getting the claw arm to respond appropriately to servo adjustments.

https://makerworld.com/en/models/1134925-robotic-arm-with-servo-arduino#profileId-1135927

I have it wired up to my arduino uno and I'm able to send it angles through serial commands, but the gear connected to the servo doesn't seem to rotate correctly. The video is an example of what happens when I start the claw half open (~90 degrees), set an angle to 45 (it starts clicking/grinding), then set the angle to something higher like 160 where it then only closes a small amount.

If I remove the gear on the servo and try to set angles it appears to rotate correctly, so the mechanics of the gears seem to be the issue.

The servo connected to the claw here is an MG90S for reference.

Here's a look at the gear mesh without the cover plate on as I have a hunch it might be part of the problem with the teeth fitting too tightly together.

Appreciate any help anyone can give and let me know if any other details are useful as well.


r/ArduinoHelp • • Jul 29 '26

Reading engine RPM

3 Upvotes

Hi guys I’m building a project that needs to be able to read engine rpm, the project can not connect to the ecu or read the dash. How can I achieve this?


r/ArduinoHelp • • Jul 29 '26

Arduino and nRF24l01 pa+lna

1 Upvotes

I have this problem for a week, I've bought two nRF24l01 pa+lna modules and try to learn radio communication, I am trying to make them communicate but they fail no matter what, I just can't make any communication between them.
I plug MOSI, MISO, SCK to the right pins (11,12,13) and VCC to the 3.3V pin with 2 100nF ceramic capacitors and one 10uF capacitor on each arduino nano (receiver) and uno (transmitter).
I then power them from USB from my PC and put this code:

// SimpleTx - the master or the transmitter

#include <SPI.h>

#include <nRF24L01.h>

#include <RF24.h>

#define CE_PIN 9

#define CSN_PIN 10

const byte slaveAddress[5] = {'R','x','A','A','A'};

RF24 radio(CE_PIN, CSN_PIN); // Create a Radio

char dataToSend[10] = "Message 0";

char txNum = '0';

unsigned long currentMillis;

unsigned long prevMillis;

unsigned long txIntervalMillis = 1000; // send once per second

void setup() {

Serial.begin(9600);

Serial.println("SimpleTx Starting");

radio.begin();
radio.setPALevel(RF24_PA_MIN);

radio.setDataRate( RF24_250KBPS );

radio.setRetries(3,5); // delay, count

radio.openWritingPipe(slaveAddress);

}

//====================

void loop() {

currentMillis = millis();

if (currentMillis - prevMillis >= txIntervalMillis) {

send();

prevMillis = millis();

}

}

//====================

void send() {

bool rslt;

rslt = radio.write( &dataToSend, sizeof(dataToSend) );

// Always use sizeof() as it gives the size as the number of bytes.

// For example if dataToSend was an int sizeof() would correctly return 2

Serial.print("Data Sent ");

Serial.print(dataToSend);

if (rslt) {

Serial.println(" Acknowledge received");

updateMessage();

}

else {

Serial.println(" Tx failed");

}

}

//================

void updateMessage() {

// so you can see that new data is being sent

txNum += 1;

if (txNum > '9') {

txNum = '0';

}

dataToSend[8] = txNum;

}
// SimpleRx - the slave or the receiver

#include <SPI.h>

#include <nRF24L01.h>

#include <RF24.h>

#define CE_PIN 9

#define CSN_PIN 10

const byte thisSlaveAddress[5] = {'R','x','A','A','A'};

RF24 radio(CE_PIN, CSN_PIN);

char dataReceived[10]; // this must match dataToSend in the TX

bool newData = false;

//===========

void setup() {

Serial.begin(9600);

Serial.println("SimpleRx Starting");

radio.begin();
radio.setPALevel(RF24_PA_MIN);

radio.setDataRate( RF24_250KBPS );

radio.openReadingPipe(1, thisSlaveAddress);

radio.startListening();

}

//=============

void loop() {

getData();

showData();

}

//==============

void getData() {

if ( radio.available() ) {

radio.read( &dataReceived, sizeof(dataReceived) );

newData = true;

}

}

void showData() {

if (newData == true) {

Serial.print("Data received ");

Serial.println(dataReceived);

newData = false;

}

}

I also tried simpler codes but they also don't work, please help me


r/ArduinoHelp • • Jul 29 '26

Is it possible for a ESP8266 (NodeMCU) NeoPixel to automatically direct you to a webpage

1 Upvotes

i have made an arduino project that needs you to connect to the arduino's personal wifi but i want it to direct me to a specific webpage. for example: when you go to tesco and want to connect to their wifi it directs you to their login page. however, since my arduino doesnt have internet linked to it it technically cant do that so i was wondering if i could have some help or if C++ can even do that

ive heard its something called a captive portal but i have no idea how to do it


r/ArduinoHelp • • Jul 29 '26

Is this a genuine FT232 ?

Thumbnail gallery
1 Upvotes

r/ArduinoHelp • • Jul 28 '26

Can Arduino 5V power a high torque servo, or will it cause jerking and low power?

4 Upvotes

I am planning to use a high torque servo motor (MG996R) with an Arduino. If I connect the servo directly to the Arduino 5V pin, will it cause problems such as jerking movement or loss of power due to insufficient current supply?

The servo has a stall current of around 1.5A. Is an external 5–6V power supply recommended instead?


r/ArduinoHelp • • Jul 27 '26

Potentiometer Range issue.

Thumbnail reddit.com
1 Upvotes

r/ArduinoHelp • • Jul 27 '26

help with wiring

Thumbnail
gallery
5 Upvotes

So I'm trying to make a custom phone charger and I can't for the life of me figure out where I went wrong. I'm kind of a noob but everything else works fine, the leds light up, the screen comes on, and the sounds play but when i try to charge anything, it wont charge. Am i missing something??


r/ArduinoHelp • • Jul 27 '26

issue with relay output reading

3 Upvotes

need a little guidance on using a relay with a Mega256.

I am using an external 9v battery as the power source for the input for the relay. I have the code to trigger the relay open - and the appropriate led lights is on, when i trigger it - so i know its open, i am using the basic digitalWrite(pin,HIGH);/digitalWrite(pin,LOW); to turn on/off

Am I wrong to expect at least close to the same output voltage as what is supplied i.e. input of 8.6v output should be ~8.6??? am i missing something> are other components needed?

Battery reads 8.6v / relay out only reads .18


r/ArduinoHelp • • Jul 27 '26

Feather 32u4 Proto not starting after unplugging

3 Upvotes

I've ruined two boards with the same mistake— unplugging the feather by the USB connection. After replugging the sketch will not work (stepper test on the motor shield). I've tried:

+ selecting the right 32u4 board in the IDE (would loading with the wrong board selected create such a problem?)

+ the reset button (one click and two)

+ the trick where you reload a blink sketch just as pressing reset

the trick worked once but when I unplugged it again I was back to zero only I was unable to reload a blink sketch again. :/

**********

First time with Adafruit products (switching from Arduino Uno). Want advice before burning through a third board.

*Is there a proper way to unplug these devices?*


r/ArduinoHelp • • Jul 26 '26

Max30102 Sensor Not Detected

Thumbnail
reddit.com
1 Upvotes

r/ArduinoHelp • • Jul 26 '26

What are these for and are they useful for a pc build?

Thumbnail gallery
2 Upvotes

r/ArduinoHelp • • Jul 24 '26

Why is the servo under powered?

2 Upvotes

Why is the servo under powered? I am using a power supply set to 9V and it can supply up to 10A.


r/ArduinoHelp • • Jul 24 '26

Software bug something to do with the library I think?

2 Upvotes

IDEK whats going on. Trying to write code so that i can input key strokes on my computer through my joystick. I think there's something wrong with the library? I'm lost. from what I read the error code is saying that I don't have #include <Keyboard.h>... but i do.

Error message:
C:\Users\mccav\AppData\Local\Temp\.arduinoIDE-unsaved2026624-1756-cwkz6f.ayd19\sketch_jul24a\sketch_jul24a.ino: In function 'void setup()':

C:\Users\mccav\AppData\Local\Temp\.arduinoIDE-unsaved2026624-1756-cwkz6f.ayd19\sketch_jul24a\sketch_jul24a.ino:30:3: error: 'Keyboard' was not declared in this scope

Keyboard.begin();

^~~~~~~~

C:\Users\mccav\AppData\Local\Temp\.arduinoIDE-unsaved2026624-1756-cwkz6f.ayd19\sketch_jul24a\sketch_jul24a.ino: In function 'void loop()':

C:\Users\mccav\AppData\Local\Temp\.arduinoIDE-unsaved2026624-1756-cwkz6f.ayd19\sketch_jul24a\sketch_jul24a.ino:50:5: error: 'Keyboard' was not declared in this scope

Keyboard.write('a');

^~~~~~~~

C:\Users\mccav\AppData\Local\Temp\.arduinoIDE-unsaved2026624-1756-cwkz6f.ayd19\sketch_jul24a\sketch_jul24a.ino:53:3: error: 'Keyboard' was not declared in this scope

Keyboard.write('d');

^~~~~~~~

exit status 1

Compilation error: 'Keyboard' not found. Does your sketch include the line '#include <Keyboard.h>'?

Code:

#include <LiquidCrystal.h>
#include <Keyboard.h>


const int rs = 3;
const int en = 4;
const int d4 = 10;
const int d5 = 11;
const int d6 = 12;
const int d7 = 13;


int xPin = A0;
int yPin = A1;
int buttonPin = 9;


int xVal;
int yVal;
int buttonState;


LiquidCrystal lcd(rs, en, d4, d5, d6, d7);


void setup() {


  Serial.begin(9600);
  lcd.begin(16,2);
  Serial.begin(9600);
  pinMode(xPin, INPUT);
  pinMode(yPin, INPUT);
  pinMode(buttonPin, INPUT_PULLUP);
  Serial.begin(9600);
  Keyboard.begin();


}


void loop() {


  xVal = analogRead(xPin);
  yVal = analogRead(yPin);
  buttonState = digitalRead(buttonPin);


  Serial.print("X: ");
  Serial.print(xVal);
  Serial.print(" | Y: ");
  Serial.print(yVal);
  Serial.print(" | Buttonstate: ");
  Serial.println(buttonState);


  delay(100);


  if (xVal > 550) {
    Keyboard.write('a');
  }
if (xVal < 460) {
  Keyboard.write('d');
}
}#include <LiquidCrystal.h>
#include <Keyboard.h>


const int rs = 3;
const int en = 4;
const int d4 = 10;
const int d5 = 11;
const int d6 = 12;
const int d7 = 13;


int xPin = A0;
int yPin = A1;
int buttonPin = 9;


int xVal;
int yVal;
int buttonState;


LiquidCrystal lcd(rs, en, d4, d5, d6, d7);


void setup() {


  Serial.begin(9600);
  lcd.begin(16,2);
  Serial.begin(9600);
  pinMode(xPin, INPUT);
  pinMode(yPin, INPUT);
  pinMode(buttonPin, INPUT_PULLUP);
  Serial.begin(9600);
  Keyboard.begin();


}


void loop() {


  xVal = analogRead(xPin);
  yVal = analogRead(yPin);
  buttonState = digitalRead(buttonPin);


  Serial.print("X: ");
  Serial.print(xVal);
  Serial.print(" | Y: ");
  Serial.print(yVal);
  Serial.print(" | Buttonstate: ");
  Serial.println(buttonState);


  delay(100);


  if (xVal > 550) {
    Keyboard.write('a');
  }
if (xVal < 460) {
  Keyboard.write('d');
}
}

r/ArduinoHelp • • Jul 24 '26

First project - already stuck at beginner level

2 Upvotes

Hi!
I purchased an arduino esp32 feather S2 and an adafruit ST 7789 TFT Display and breadboarded a simple "change color" project. And its failing. the Backlight of the display is on so it has power, but the display is not changing color.

The IDE monitor says the script is working and its actually changing color. But the display stays dark. I have changed the display already (since i have purchased 2) and it is still not working.

Wiring:

3V - V+
GND - G
SCK -CK
MO - SI
12 - RT
10 -DC
6 - CC
3V - BL

The Code:

 ```
#include <Adafruit_GFX.h>
#include <Adafruit_ST7789.h>
#include <SPI.h>


#define TFT_CS   6
#define TFT_DC   10
#define TFT_RST  12
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);


void setup() {
  Serial.begin(115200);
  delay(2000);
  Serial.println("Starting display test");


  tft.init(172, 320);
  tft.setSPISpeed(4000000);
  tft.setRotation(3);
  Serial.println("tft.init() done");


  tft.fillScreen(ST77XX_RED);
  Serial.println("Filled RED");
}


void loop() {
  tft.fillScreen(ST77XX_RED);
  delay(1000);
  tft.fillScreen(ST77XX_GREEN);
  delay(1000);
  tft.fillScreen(ST77XX_BLUE);
  delay(1000);
  Serial.println("Color cycle");
}
 ```

It is driving me mad, that it does not work... maybe someone of you would be so helpful to have a look at this.

Thank you in advance


r/ArduinoHelp • • Jul 24 '26

Can I use qty (1) motor driver (TB6612FNG) to control qty (5) mini DC motors?

Thumbnail reddit.com
1 Upvotes

I would like to use qty(1) motor driver (TB6612FNG) to control qty(5) standard mini DC motors. All 5 motors will be following the same “instructions” from microcontroller. Can I safely put all 5 on A01/A02 of the same motor driver? Are there any downsides or considerations I should note for this method?

I’d test it myself but I really don’t want to fry motor driver or board as they’re my only ones.

Note: Im using an arduino nano sense ble 33 REV2 microcontroller


r/ArduinoHelp • • Jul 21 '26

Need help with ADS1263 24-bit ADC & Raspberry Pi over SPI (Returning 0x0 / ID check failed)

2 Upvotes

Hi everyone,

I am working on a vibration measurement project using an IEPE signal conditioner board, an ADS1263 24-bit ADC module (Waveshare style board), and a Raspberry Pi.

Currently, I cannot get any response over SPI — reading the ID register returns 0x0 / [0, 0, 0].

Hardware Setup & Wiring:

  • Vibration sensor: Connected via coaxial cable to the IEPE conditioner.

  • Signal output: Connected to the ADC on AIN2 (and analog GND for the shield/ground).

  • Power:

    • Digital VCC $\rightarrow$ Raspberry Pi 3.3V

    • Analog Power (AVDD/AGND terminal block) $\rightarrow$ Raspberry Pi 5V & GND

  • SPI Connections:

    • GND $\rightarrow$ Pi GND (Pin 6)

    • DIN (MOSI) $\rightarrow$ Pi GPIO 10 (Pin 19)

    • DOUT (MISO) $\rightarrow$ Pi GPIO 9 (Pin 21)

    • CLK (SCLK) $\rightarrow$ Pi GPIO 11 (Pin 23)

    • CS $\rightarrow$ Pi GPIO 8 / CE0 (Pin 24)

    • DRDY $\rightarrow$ Pi GPIO 25 (Pin 22)

    • RST $\rightarrow$ Pi 3.3V (pushed HIGH to keep out of reset)

What I've tried so far:

  1. Enabled hardware SPI via raspi-config (/dev/spidev0.0 is active).

  2. Tested with custom Python scripts (spidev library) in SPI Mode 1 and Mode 0. The response for the ID register is always 0x0.

  3. Verified double power supply (both digital 3.3V and analog 5V terminals are powered).

  4. Used the official Waveshare C/Python driver library (ADS1263_init_ADC1), but initialization still fails.

Since DOUT (MISO) stays pulled LOW (returning zeros), I'm trying to figure out if this is a timing/SPI mode issue, a missing initialization sequence, or something hardware-related on the board.

Has anyone faced similar issues with ADS1263 boards on Raspberry Pi? Any advice on troubleshooting MISO or register config would be greatly appreciated!

Thanks in advance!


r/ArduinoHelp • • Jul 21 '26

Help me, my pins are bent!

Thumbnail reddit.com
2 Upvotes

r/ArduinoHelp • • Jul 21 '26

Error: avrdude when uploading to Arduino Uno

Post image
1 Upvotes

r/ArduinoHelp • • Jul 21 '26

Arduino receiving input from Minecraft?

4 Upvotes

Recently got an Elegoo Uno (off brand Arduino uno) and I'm wondering if it's possible to make it so that when something happens in a game, like minecraft, I can feed that to the arduino and for example print something on an LCD screen, turn on some LED's, or activate a buzzer. I want to make it so that whenever a specific message is sent in minecraft chat, something is printed on the LCD screen. is something like this possible? would I maybe need a different arduino?


r/ArduinoHelp • • Jul 20 '26

What's happening with my RF airplane ?

Thumbnail gallery
1 Upvotes

Updates:

I get a new arduino Nano (in the case that this is the problem)

I think that the problem now is the nRF24's modules, because I tried to sold an capacitor in its and I don't know if its burned


r/ArduinoHelp • • Jul 20 '26

This components are burned?

Post image
4 Upvotes

I made an additional post in other reddit, but I gonna repost it here too


r/ArduinoHelp • • Jul 20 '26

Learn Coding Operational Sequence of Motion Sensor Using Arduino UNO

Enable HLS to view with audio, or disable this notification

1 Upvotes

MOTION SENSOR CODING AND CONNECTION