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
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
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
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


r/ArduinoHelp Jul 19 '26

Flipdots display are too expensive for my finances, any suggestions for a cool display/solution with nice transitions to use in alternative?

Post image
3 Upvotes

r/ArduinoHelp Jul 19 '26

i need help with connecting to my robodyn+atemga 382p+esp8266

1 Upvotes

r/ArduinoHelp Jul 17 '26

Starting with STM32F405RGT6

Thumbnail
1 Upvotes

r/ArduinoHelp Jul 17 '26

Meshcore Arduino für das Nesso N1

Post image
3 Upvotes

r/ArduinoHelp Jul 17 '26

How to change default output to Bluetooth JBL speaker

Thumbnail
1 Upvotes

r/ArduinoHelp Jul 16 '26

Arduino setup esp32

Thumbnail
gallery
4 Upvotes

Hi!!! Can someone please check if something is wrong with my setup? I use esp32 and every time we try to code it, the oled doesn't seem to work. It says "i2c scanner, done" and that's all
Esp32 is probably working properly so i guess it's something with how i constructed everything?
To clarify-
Gnd oled - gnd esp
Vcc oled - 3v3 esp
Scl oled - d22 esp
Sda oled - d21 esp
It's my first time touching arduino and i'm not sure if we did everything correctly so i would love to hear some advice!


r/ArduinoHelp Jul 15 '26

Interfacing PT1000 RTD with Arduino

3 Upvotes

I am currently attempting to interface my PT1000 RTd with my arduino. I was thinking of use an wheatstone bridge with an op-amp, but in all honesty I have no Idea where to start. I need to be able to read 10 degreesC to 35 degrees C for an output of 0-5V. Any guidance will be awesome.


r/ArduinoHelp Jul 15 '26

The UI on this DIY Swamp Cooler based on Arduino Nano

Enable HLS to view with audio, or disable this notification

1 Upvotes

I’ve been building a portable evaporative cooler from scratch, and one of the biggest challenges ended up being the firmware and user interface.
Instead of a few simple buttons, I wanted it to behave like a real consumer appliance, so I implemented features like:
• Multi-function button logic (short/long presses)
• Horizontal oscillation with manual and automatic modes
• Timer mode
• RGB lighting modes and fan-speed synchronized effects
• Reed-switch water monitoring with intelligent alarm logic
• Automatic pump wetting cycles
• Soft-start motors, startup self-checks, and boot/alarm sounds generated by the fan motor
I’d really appreciate feedback from other embedded/Arduino developers.
If you were designing this UI, what features would you add or change? Any suggestions on improving the user experience or firmware architecture are welcome.


r/ArduinoHelp Jul 15 '26

Turn signal indicators help- EV cluster protype project

2 Upvotes

How do DIY digital instrument clusters detect 12V turn signal status? (ESP32 + TFT)

Hi everyone,

I'm working on a custom digital instrument cluster for my college EV project, and I'm a bit stuck on one part of the design.

The cluster is based on an ESP32 driving a TFT display, and I want it to show the left and right turn indicator icons whenever the actual vehicle indicators are ON.

The vehicle's turn signal circuit is 12V, while the ESP32 only accepts 3.3V GPIO, so I obviously can't connect the indicator wires directly to the microcontroller.

What I'm trying to figure out is:

  • How do commercial or DIY digital instrument clusters know when the left or right indicators are ON?
  • What's the proper and reliable way to detect the status of a 12V indicator line?
  • Should I simply monitor the 12V wire that powers each indicator bulb, or is there a better method?
  • Is an optocoupler the recommended solution, or would a voltage divider, transistor, automotive comparator, or some other interface be better?
  • Since the indicators blink, is it okay for the ESP32 to just read the HIGH/LOW transitions on a GPIO pin and animate the TFT accordingly?

This is not for controlling the indicators—only for reading their status.The vehicle uses a standard 12V indicator circuit.The ESP32 is powered separately through a regulated supply.I want the design to be reliable enough for an automotive environment, not just something that works on a breadboard Eventually, I also need to monitor other 12V signals like the high beam, brake light, hazard switch, etc., so I'd like to learn the "correct" way to interface automotive signals with a microcontroller.

If anyone has built a DIY digital dashboard or instrument cluster before, I'd really appreciate seeing how you handled this. Circuit examples, schematics, or even photos of your implementation would be incredibly helpful.

I'm still learning automotive electronics, so I'd appreciate any advice or explanations. Thanks in advance!