r/ArduinoHelp • • Sep 07 '26

Arduino UNO pins explained for complete beginners 🔰

Post image
3 Upvotes

If you're new to Arduino, the number of pins can be confusing at first.

So here's a simple breakdown of the most important ones:

🔹 Digital pins (0–13) → Read buttons/sensors or control LEDs, relays, etc.

🔹 Analog pins (A0–A5) → Read changing voltages from sensors/potentiometers

🔹 5V → 5V power output

🔹 3.3V → 3.3V power output

🔹 GND → Ground / 0V reference

🔹 VIN → External input voltage when powering through the board

🔹 USB → Upload code + power the Arduino from your computer

One thing that confused me when I started: A0–A5 can also be used as digital pins if needed.

I made this as a quick reference for anyone starting Arduino.

What Arduino concept confused you the most when you first started?


r/ArduinoHelp • • Sep 07 '26

Help with node mcu

3 Upvotes

Help with nodemcu 8266

I have an esp8266 that im using to control several servos. I have been having a tough time acquiring a legit Lipo on Amazon. Every single 2s reads 7.7v after charged, so im going to 3s.

Its going to a buck converter set for 5v and then to Vin and Grd. Well im reading 4.7v from the headers but the Nodemcu isn't powering up. It will blink for just a second then nothing. Im suspecting that 4.7v isn't enough. Ive connected just Vin and Grd and nothing. Blinks real quick then nothing. When the servos are attached they twitch when first plugged in. I get 1.5v from the top of the pin on the nodemcu.


r/ArduinoHelp • • Sep 05 '26

Arduino Cloud Agent issues?

3 Upvotes

This week I tried uploading new code to a project that uses Arduino’s cloud. In an effort to troubleshoot a bug I decided to try and recreate a device/Thing and discovered that Arduino’s Cloud agent had stopped working for me.

I have an open forum discussion on Arduino’s forum site as well, but I’m wondering if anyone else has ran into this issue.

Reinstalling the agent doesn’t seem to change anything. It worked briefly in an older Mac I have and rarely use, but there the agent eventually stopped likely because it received an update from their server side. Not exactly sure I’m not a computer engineer or CS specialist.

Link to forum: [Cloud Agent Degraded](https://forum.arduino.cc/t/arduino-cloud-degraded-and-agent-not-working-mac-osx/1458209/16)


r/ArduinoHelp • • Aug 31 '26

Button Game Project

3 Upvotes

Hello! I’m new to the arduino community. I have played around with them in the past with my highschool years ago. I recently came up with an idea of an interactive game and have some questions from those who have knowledge. How hard would it to be to program a game in which there are 30 buttons with 30 unique sounds. The goal of the game is to crack the code and figure out the 4 button/ noise combination. When this happens I need it to either show that you cracked the code or have to try again. I also want to be able to have a free play mode where people can come up and interact with the buttons without the game starting. I am overall curious how hard this project will be, I am an electrician and have knowledge of circuitry/ electronics and bread boards but very limited knowledge on coding. Any help with supply’s, brands, product which could help my project would be appreciated! Thank you arduino community!


r/ArduinoHelp • • Aug 28 '26

Why did my Arduino Mega fry instantly when I fed 20V into my CNC Shield V3?

3 Upvotes

Hi everyone,

I recently fried my Arduino Mega 2560 and I'm trying to figure out the exact reason so I don't repeat the same mistake with a replacement board.

Here is my setup and what happened:

My Setup:

  • Board: Arduino Mega 2560

  • Shield: CNC Shield V3 stacked directly on top of the Mega

  • Drivers: DRV8825 stepper drivers + NEMA 17 motors

  • Power Supply: 20V DC connected directly to the screw terminals on the CNC Shield

  • Logic Power: Arduino Mega connected via USB to my PC

What Happened: As soon as I turned on the 20V power supply connected to the CNC Shield terminals, the main processor on the Arduino Mega fried instantly.

Assuming my stepper drivers were good and properly oriented:

  1. Does the CNC Shield V3 pass the terminal voltage (20V) directly to the VIN pin of the Arduino Mega underneath?

  2. Did 20V cause the Mega's onboard 5V linear regulator to instantly overheat and fail short, dumping 20V into the ATmega2560 logic line?

  3. What is the proper way to prevent this on a new board? Should I clip/bend the VIN pin on the CNC Shield so 20V doesn't reach the Mega, and power the Mega separately via USB?

Would appreciate any insights from anyone who has run a CNC Shield with >12V on an Arduino Mega!


r/ArduinoHelp • • Aug 25 '26

Help getting my tft lcd to work

Thumbnail
gallery
3 Upvotes

I've tried two different screens and two different Uno's. This is my wiring:

Here are some pictures. Any help appreciated!

All I am getting is a white screen. Got a brand new usb cable as well.

Example sketch:

#include <SPI.h>

#include <Adafruit_GFX.h>

#include <Adafruit_ILI9341.h>

#define TFT_CS   10

#define TFT_RST   8

#define TFT_DC    9

Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);

void setup() {

  tft.begin();

  tft.fillScreen(ILI9341_RED);

  delay(1000);

  tft.fillScreen(ILI9341_GREEN);

  delay(1000);

  tft.fillScreen(ILI9341_BLUE);

}

void loop() {}

I think it is a ROHS 2.4" TFT SPI v1.3 with XPT2046 touch controller 

this sketch:

#include <SPI.h>

#include <Adafruit_GFX.h>

#include <Adafruit_ILI9341.h>

#define TFT_CS   10

#define TFT_RST   8

#define TFT_DC    9

Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);

void setup() {

  Serial.begin(9600);

 

  // Hard reset before init

  pinMode(TFT_RST, OUTPUT);

  digitalWrite(TFT_RST, LOW);

  delay(100);

  digitalWrite(TFT_RST, HIGH);

  delay(100);

  tft.begin();

 

  // Read the display ID register

  uint8_t d1 = tft.readcommand8(0xD3, 0);

  uint8_t d2 = tft.readcommand8(0xD3, 1);

  uint8_t d3 = tft.readcommand8(0xD3, 2);

  uint8_t d4 = tft.readcommand8(0xD3, 3);

 

  Serial.print("ID bytes: 0x");

  Serial.print(d1, HEX);

  Serial.print(" 0x");

  Serial.print(d2, HEX);

  Serial.print(" 0x");

  Serial.print(d3, HEX);

  Serial.print(" 0x");

  Serial.println(d4, HEX);

  tft.fillScreen(ILI9341_RED);

  delay(500);

  tft.fillScreen(ILI9341_GREEN);

  delay(500);

  tft.fillScreen(ILI9341_BLUE);

}

void loop() {}

Returns

ID bytes: 0x41 0x0 0x93 0x41


r/ArduinoHelp • • Aug 21 '26

How can I power multiple step and servo motors which are connected to Arduino ?

3 Upvotes

I want to make a projekt where I need to connect 2 28BYJ-48 step motors with ULN2003 controllers and 2 SG90 servos , I also gonna connect some rotary encoders. I know that if I connect it to Arduino it will fry it , I also tried to connect it to breadboard power supply but after connecting only 1 step motor it was getting really hot , so it's also not a good idea.


r/ArduinoHelp • • Aug 20 '26

Another guy having problems with an LCD using I2C

Thumbnail
gallery
3 Upvotes

Hi everyone! It's been a long time since I've done an Arduino project, and this is my first time using an LCD screen.

However, and as is common, I came across the typical mistakes I've been seeing in forums and Reddit posts.

And no matter how much I try to fix my problem with the solutions they gave, I still have the same error; those white squares keep appearing.

As you can see, the first photo shows what it looks like when you upload the code, and the second photo shows what it looks like without any code uploaded.

I tried everything from the tutorials:

- Adjust the brightness with the potentiometer

- Verify the I2C address

- Test and verify the continuity of several cables

- I tested the example hd44780_I2Cexp by Bill Perry(what appears in photo 12)

- I tried many libraries and code from various tutorials

(The bookcase I have now is Frank de Brabender's)

It's important to clarify that I've only been trying to test that the LCD works, so all the tutorials I tried were for the basic "Hello world" code without delay. Just to verify that the screen is working properly.

- In the library, change "return:0" to "return:1"

Before using I2C, I used conventional pins (those in photo 4) to test the LCD, and I still got squares (even after adjusting the contrast). So after getting no results, I decided to remove the pins and install the I2C, thinking: "Oh, maybe that will be simpler" For a project I want to do. But as you can see, I can't get the screen to display text, and AI hasn't helped me.

I'm also not sure if the soldering is correct or if I've overheated the circuit, but I doubt it since the screen still turns on and seems to receive the code, but without displaying any text.

Honestly, I don't know what to do anymore, and I didn't want to post this because I noticed many others had the same problem, but even after trying the solutions they offered, I still can't get it to work.

The only thing I noticed today when testing the screen again is what's shown in the last photo: a faint line that flickers when restarting the Arduino.

I've attached one of the code snippets I used. I'm not including the one I used to test I2C because I tested many, and they were all basic. Just to clarify, they all compiled and uploaded successfully.

I hope you can help me, thank you! :)


r/ArduinoHelp • • Aug 15 '26

Solar tracker powering an arduino

3 Upvotes

Hii, I'm in need of assistance for my group science project. Our group was planning to create a solar tracker that powers the Arduino itself while it works. I tried researching numerous Arduino videos but they only stated "the Arduino needs external power". I'm not sure how, and what we should connect the solar panel to the arduino. That's our main issue for now, we were able to find other tutorials for the rest of our project. Any advice or suggestions is very much appreciated! Thank you!


r/ArduinoHelp • • Aug 08 '26

Help on linear actuator remote control

3 Upvotes

I’m a complete beginner and I need to make this mechanism think of a dump truck you know how it’s back gets raised and it causes the load to get dumped out I need to make this but on a smaller scale and I have NO IDEA how to do it I have a 3d printer and printed a linear actuator the link to the file is here [https://makerworld.com/models/2179822?appSharePlatform=copy](https://makerworld.com/models/2179822?appSharePlatform=copy) I have a sg90 continuous rotation servo and that’s about as far as my knowledge goes what I need is a way to make the servo make the linear actuator go all the way up with a click of a button and all the way down with a click of a button I need it to be like wireless it can’t be connected so I think I need a transmitter or something like I said I have no idea also I’m sorry if it’s a dumb question (it probably is) but I’m completely new and completely confused so thank you!


r/ArduinoHelp • • Jul 30 '26

M5Unit-HUB unified library

3 Upvotes

I can’t figure out how to read ADC values from a PbHub using the M5Unit-HUB unified library in Arduino IDE. I’ve tried various iterations of analogRead() and none of them seem to be the right function. Has anyone else had this problem/knows what to use?


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 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 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 17 '26

Meshcore Arduino für das Nesso N1

Post image
3 Upvotes

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 14 '26

Grove lcd not lighting up

Post image
3 Upvotes

Hello! I have a Arduino uno with a bass shield on top. The lcd is plugged into port I2C and the switch is on 5V but it still won’t light up, any idea why?


r/ArduinoHelp • • Jul 08 '26

Consiglio progetto arduino + Agent AI

3 Upvotes

Ciao a tutti!

Sto lavorando a un progetto un po’ folle e vorrei qualche consiglio da chi ha più esperienza di me.

L’idea è creare una macchina fisica per studiare la Congettura di Collatz, usando:

Arduino UNO per generare numeri casuali tramite rumore analogico

Arduino per calcolare i primi passi della sequenza

Un programma Python che riceve i numeri e calcola la sequenza completa

Un’AI (LLM o modello ML) addestrata su un dataset di sequenze Collatz

Grafici (heatmap, stopping time, massimi, pattern di parità, cluster)

Arduino che visualizza i risultati con LED, LCD e servo

Il mio obiettivo NON è solo testare numeri, ma addestrare un’AI a riconoscere pattern, cluster, anomalie e strutture matematiche nelle sequenze Collatz, per vedere se emergono comportamenti interessanti.

Il problema è che non ho mai addestrato un’AI e non so da dove partire.

Ho già chiaro come generare il dataset (Arduino → Python → CSV), ma non so:

quale modello usare per il fine‑tuning

come strutturare il dataset in modo utile

come far sì che l’AI impari davvero qualcosa (pattern, cluster, ecc.)

come integrare l’AI con Arduino in modo efficiente

se qualcuno ha già provato qualcosa di simile

Qualcuno può darmi una direzione?

Qualsiasi consiglio su ML, dataset, modelli, pipeline o visualizzazioni è super ben accetto.

Quanto è fattibile?

Grazie mille!


r/ArduinoHelp • • Jul 04 '26

Any project ideas?

Post image
3 Upvotes

This kit was originally made for an obstacle avoiding car,but the sensors got lost in the shipping . I'm a total beginner


r/ArduinoHelp • • Jun 28 '26

i tried to build a clock with 4 digit 7 segment display it isnt working i dont understand why

Thumbnail
gallery
3 Upvotes

I'm new to learning arduino. I tried to make a clock. I looked up videos on yt to wire it they used resistors to wire the segment pins instead of the digital ones when i later searched it up others were putting the resistors on the digital pins. So now I'm thinking that's what caused issues with the screen, different segments are giving different amounts of light. but when im trying to simulate it with cirkit it still isnt working properly. THEN i tried to just make a normal timer following a different YouTube video exactly and it still isnt working like normal AND NEITHER IS THE CIRKIT SIMULATION. i feel like im going crazy

here is the code and diagram


r/ArduinoHelp • • Jun 23 '26

Help me make a arduino based smart toothbrush

3 Upvotes

Guys I have a assignment to make this simple arduino based smart toothbrush.. Can anyone help this poor kid out by sharing simple circuit and code in tinkercad


r/ArduinoHelp • • Jun 20 '26

Board and camera dilemma

3 Upvotes

Good day.

Just a newbie here.

I am trying to build a prototype that live translate hand signals (ASL) into words. Can you suggest a suitable board and camera for this project? The output should be a wearable device trained through IOT or Machine Learning.

I am considering Arduino Nano Esp 32, but I am not sure if it is suited.

Thanks in advance.


r/ArduinoHelp • • Jun 07 '26

Toggle switch does not switch from 1 to 0 when switching

Thumbnail
gallery
3 Upvotes

Hi! I started my first Arduino project a couple of days ago. My goal is to create a sort of volume controller where I have 2 potentiometer for master volume and discord volume. I also have a ON/ON switch so I can mute/unmute my microphone.

With some trial and error, I have reached the point where the potentiometers work as intended and works with my code. My issue is that the switch seems to work with my LEDs when switching but the Serial monitoring tool does not show that it has been switched. It does only show a "1" (If that makes sense...).

Does anyone of you know what the issue might be? I've tried to google and triple checked my code.

Also, let me know if I need to paste the code aswell.

Here is my schematics for the project: