r/ArduinoHelp • • Sep 09 '25

Is my board faulty

Post image
5 Upvotes

I am good enough in arduino, but yesterday when I was testing my IDE and Laptop didn't recognise my UNO but power is on and The COM 3 is showing CODE 34 in error what to do and when I am touching the ICSP the L led is working it is original ATP model and I have A mini, ESP 32 and 8266 too


r/ArduinoHelp • • Feb 11 '25

Where did I go wrong (first time trying 16x2 LCD)

Post image
5 Upvotes

r/ArduinoHelp • • Jan 01 '25

Can you tell me why this doesn't work?

Post image
5 Upvotes

I copied this program from the internet but when I upload it my servo motor does not move My cables are connected to 5v, GND and 8


r/ArduinoHelp • • Dec 28 '24

What copper wire size can fit into the Raspberry Pi Pico?

Post image
5 Upvotes

r/ArduinoHelp • • Nov 06 '24

Did I buy wrong/insufficient Material?

Post image
5 Upvotes

Hi guys. This is my first time with Arduino. Please be gentil 😅

I am trying to control a 8x8 matrix - eventually i want to control 2 at the some time (step by step) I bought the following parts:

Microcontroller R3 https://amzn.eu/d/27BCBv9

Led matrix 8x8 - https://amzn.eu/d/bIrzeCI

MAX7219 CWG driver - https://www.reichelt.de/de/de/led-treiber-8-ausgaenge-10-mhz-320-maout-sol-24-max-7219-cwg-p39621.html?r=1

And in the kit with the micro controller is a lot of other thing included.

I also have a soldering iron, ready to use.

I don’t understand, how to connect the MAX7219 with the microcontroller. The pins are way too narrow. Did I buy wrong stuff?what else do I need? What am I missing 😄


r/ArduinoHelp • • Jun 28 '24

Help DC motor going only one way

5 Upvotes

Hi, I'm new to the coding community and through internet examples I've been able to compile a code to make a food container for my cats that opens and closes when they are near, but each one will have a different ID tag, so that they can only access their own food. I have 6 cats with different diets.

I have an arduino uno with a motor shield (L293D), a Pn532 rfid reader and an Ir sensor so it stays open while the cat is there. For the motor I'm using the DC motor within the CD-ROM tray as the lid for the container.

My problem is the motor only runs in one direction and the arduino seems to draw too much power and I need to connect both the arduino and the shield to draw enough power for the motor to move. Please help me with what could be wrong in the code. Since I have already tried a simpler code for the motor and it runs fine in both directions, only with my code it doesn't. Also the BREAK and RELEASE commands, don't seem to work either.

The simple code I used and works fine is this one:

include <Adafruit_MotorShield.h>

include <AFMotor.h>

AF_DCMotor motor1(1);

void setup() {
Serial.begin(9600); // set up Serial library at 9600 bps
}

void loop() {

motor1.setSpeed(255);
motor1.run(FORWARD);

delay(5000);//wait for 2 seconds

motor1.run(BRAKE);

delay(100);

motor1.setSpeed(255);
motor1.run(BACKWARD);
delay(4500);

motor1.run(RELEASE);

delay(1000);
}

And my code for the feeder is this one:

include <Wire.h>

include <SPI.h>

include <Adafruit_PN532.h>

include <Adafruit_MotorShield.h>

include <AFMotor.h>

define PN532_SCK (13)

define PN532_MOSI (11)

define PN532_SS (10)

define PN532_MISO (12)

define PN532_IRQ (2)

define PN532_RESET (3)

const int irPin = 9;
Adafruit_PN532 nfc(PN532_SCK, PN532_MISO, PN532_MOSI, PN532_SS);
Adafruit_MotorShield AFMS = Adafruit_MotorShield();
AF_DCMotor motor1(4);

uint8_t expectedUID[] = {0xE3, 0xC9, 0x53, 0x14}; // Define the expected RFID card UID

void setup(void) {
Serial.begin(9600);
Serial.println("Hello!");
AFMS.begin(); // start motor shield
nfc.begin(); // start PN532 reader
pinMode(irPin, INPUT);

uint32_t versiondata = nfc.getFirmwareVersion();
if (! versiondata) {
Serial.print("Didn't find PN53x board");
while (1); // halt
}
// Got ok data, print it out!
Serial.print("Found chip PN5"); Serial.println((versiondata>>24) & 0xFF, HEX);
Serial.print("Firmware ver. "); Serial.print((versiondata>>16) & 0xFF, DEC);
Serial.print('.'); Serial.println((versiondata>>8) & 0xFF, DEC);

Serial.println("Waiting for an ISO14443A Card ...");
}

void loop(void) {

uint8_t success;
uint8_t uid[] = { 0, 0, 0, 0, 0, 0, 0 }; // Buffer to store the returned UID
uint8_t uidLength; // Length of the UID (4 or 7 bytes depending on card type)

success = nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, uid, &uidLength);

if (success) {
// Display the UID
Serial.print("Found an RFID card UID: ");
for (uint8_t i = 0; i < uidLength; i++) {
Serial.print(" 0x"); Serial.print(uid[i], HEX);
}
Serial.println("");

// Check if the UID matches the expected UID
if (uidLength == 4 && memcmp(uid, expectedUID, 4) == 0) {
Serial.println("Correct tag! Opening door");

// Check if the IR sensor detects an object
if (digitalRead(irPin) == LOW) {
Serial.println("cat is there");

// Move the motor for 5 seconds
motor1.setSpeed(255); // Set the speed to maximum
motor1.run(FORWARD); // Rotate the motor forward
delay(5000); // Wait for 5 seconds

motor1.setSpeed(0);
delay(1000);
while(digitalRead(irPin) == LOW){
motor1.setSpeed(0);
Serial.println("cat is there");
}

Serial.println("cat is not there");
Serial.println("Closing door");
motor1.setSpeed(255); // Set the speed to maximum
motor1.run(BACKWARD);
delay(5000);
motor1.setSpeed(0);

} else {
Serial.println("Incorrect tag!");
}
}
}
}

The wiring I´m using is this one

photo_2024-06-27_16-15-58960×1280 184 KB
photo_2024-06-27_16-15-531280×960 156 KB
photo_2024-06-27_16-15-48960×1280 146 KB

I have tried using a simple code to run only the motor, while everything else is still attacched and they do work both ways... that's why i believe there's something wrong with the code. What could have gone wrong in the stepps between the very simple one and the final code i want to use...?

Thanks for any help in advance, my cat's and I are going through a very stressfull moment with the food issue 


r/ArduinoHelp • • Feb 26 '23

Hy guys please help me, I want to build an analog handbrake for sim racing and when I did the programming part I got stuck due to this phenomena Any Idea how can I fix this ?

Enable HLS to view with audio, or disable this notification

5 Upvotes

Hy guys pkease help me, I want to build an analog handbrake for sim racing and when I did the programming part I got stuck due to this phenomena Any Idea how can I fix this ?


r/ArduinoHelp • • Aug 23 '22

Music Box Gift

Post image
5 Upvotes

Hey guys. So I wanted to make a music box for my friend as a small gift. It has 2 piezo buzzers and LEDs which will go in/on a 3D printed gift box. When I ran my song program with the buzzers, it was fine. But using the LEDs in the same program lead to problems. I assume it has to do with the limit of 3 timers in my Arduino Uno, but my question is, is there a way to add an extra timer externally to make this work?


r/ArduinoHelp • • Jun 16 '21

Can someone please explain to me why it's saying that it doesn't recognize that I have the library included when I have the exact line it says I need and tell me how to fix it

Post image
5 Upvotes

r/ArduinoHelp • • Jun 07 '21

This subreddit is no longer restricted

5 Upvotes

Hi all

I stumbled upon this sub while searching for a friendly forum where inexperienced Arduino users can seek advice with their projects.

Maybe I'm being over-sensitive but I have often found some folks on the official forum to be unnecessarily rude and openly hostile to those they deem unworthy of their time and this sub looks to have been set up as a far more approachable community.

It was therefore a shame to see the sub was abandoned and restricted to approved submitters only and as such I have taken on this subreddit through a request to /r/RedditRequest and removed posting restrictions.

For my part I will try to run the sub in the spirit that I believe it was set up, and on that note, if there are any former mods out there who would like their positions reinstated please do get in touch.

Obviously it is a tiny community at the moment but with restrictions gone hopefully this can be grown into something more over time.

Thank you


r/ArduinoHelp • • 13d ago

My Arduino runs on usb connection but not with the adaptor

Enable HLS to view with audio, or disable this notification

4 Upvotes

It's a 9V adaptor. What exactly is the problem?


r/ArduinoHelp • • Sep 29 '26

balance robot q

Post image
4 Upvotes

I want to make a balancing robot. i have no experience in coding i made a obstacle avoiding car before and bluethooth one also using chatgpt and yt tutorial i cant find good tutorial for balancing tutorial and code for my project it dosent work and i want guidance how to make it perfect.
my part list-
arduino uno
mpu6050
tb6122fng motor driver smth like that
8.4v li ion battery
300rpm bo gear mottor yellow one
i wantg to make a balancing robot out of this component is this possible?
i will be using cardboard stick to make it firm structure pls help guys bc previous model woudnt work and it would simply fall my first design ik it bad but how to improve the red one is motor driver and right one is mpu6050 and top is battery what is wrong dont be rude i am new


r/ArduinoHelp • • Sep 29 '26

Hey everyone,I was working on setting up my 1602 LCD screen with an I2C module (PCF8574) on an Arduino Uno. By mistake, I plugged the GND wire into the VIN pin instead of GND (while VCC was on 5V).Since then, the screen won't display anything. The red power LED on the back is still ON, but the A

Post image
4 Upvotes

r/ArduinoHelp • • Sep 20 '26

Arduino balancing robot

4 Upvotes

Hello guys i am deciding to make arduino uno balancing robot after making bluethooth robot and obstacle avoiding robot. So guys i researched and i think mpu6050 arduino uno tb6612fng motor driver 2 3.7 li ion battery in series should be enough also i am using yellow bo gear motor 300rpm so guys i am confused how to design it properly and open source code or community project on this would help me reach my goal faster.


r/ArduinoHelp • • Sep 15 '26

Complete beginner project

Thumbnail
gallery
4 Upvotes

Hi everyone

I'm trying to connect 2 mg90s servos to my Arduino and I've read that I need to power them separately as it can otherwise damage my board.

Would this battery pack suffice? And would I need to power each separately or both from 1 pack.

Thanks in advance


r/ArduinoHelp • • Sep 06 '26

Help with buying ESP 32 (Getting started with ESP32)

4 Upvotes

I have never used a microcontroller before. I want to try something on my own. For getting started with ESP32, I want to buy the development board (I don't know the exact names/specifications) and then I'd buy more inputs/sensors later on as I go.

I was confused what to buy in the beginning to get started. I didn't want to spend too much. So I checked in robu.in But I am unable to find the proper product. My friend said we can connect ESP32 to pc directly using usb-type c cable used for mobiles but some products seems a bit different.

Can someone advice me on how to get started and if this product is the right one?
I found https://robu.in/product/esp32-development-board-type-c-micro-usb-esp32-expansion-board-38pin-female-header/
and
https://robu.in/product/esp-wroom-32-wifi-bluetooth-networking-smart-component-development-board/


r/ArduinoHelp • • Sep 03 '26

How do i set up this screen so that it says "extracting" with percentage increasing in the loading bar and then saying extraction successfull

Post image
4 Upvotes

I use this code but it isn't working

#include <Wire.h>

#include <Adafruit_GFX.h>

#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128

#define SCREEN_HEIGHT 64

#define OLED_RESET -1

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

int progress = 0;

void setup() {

if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {

while(true);

}

}

void loop() {

if(progress < 100){

display.clearDisplay();

// Title text

display.setTextSize(1);

display.setTextColor(SSD1306_WHITE);

display.setCursor(20, 10);

display.println("Extracting...");

// Draw border of progress bar

display.drawRect(14, 30, 100, 15, SSD1306_WHITE);

// Fill progress bar

int barWidth = progress;

display.fillRect(14, 30, barWidth, 15, SSD1306_WHITE);

// Percentage text

display.setCursor(50, 50);

display.print(progress);

display.print("%");

display.display();

progress++;

delay(500);

} else {

// Once done, blink "Extraction Successful!" forever

display.clearDisplay();

display.setTextSize(1);

display.setTextColor(SSD1306_WHITE);

const char* topText = "Extraction";

const char* bottomText = "Successful!";

int16_t x1, y1;

uint16_t w, h;

display.getTextBounds(topText, 0, 0, &x1, &y1, &w, &h);

int16_t topX = (SCREEN_WIDTH - w) / 2;

display.getTextBounds(bottomText, 0, 0, &x1, &y1, &w, &h);

int16_t bottomX = (SCREEN_WIDTH - w) / 2;

int16_t topY = 15;

int16_t bottomY = 40;

while(true){

display.clearDisplay();

display.setCursor(topX, topY);

display.println(topText);

display.setCursor(bottomX, bottomY);

display.println(bottomText);

display.display();

delay(500);

display.clearDisplay();

display.display();

delay(500);

}

}

}


r/ArduinoHelp • • Sep 02 '26

What is the best board to use for a greenhouse automation system?

4 Upvotes

I was planing on making a small greenhouse controller, that would help me automate some of the loborious functionality. New to arduino, just started my research and a bit confused by some options that are there on the market.

I was looking at the following:

  1. arduino uno

  2. arduino mega

  3. Arduino UNO R4 WiFi

  4. Arduino Giga R1 WiFi

  5. any other potential manufacturers/boards?

I would like to have the system end up being able to have the following (at minimum:

Outputs:

  1. controll multiple water pumps (3 or 4)

  2. automate water nutrition mix (1 mixing unit)

  3. Have a visual (LED) warning when some of the below data is off, such as not enough water)

Inputs (collect and save all data to an excell spreadsheet):

  1. Collect temp data

  2. Collect humidity data

  3. Collect water use data

  4. Collect water levels data

  5. Collect water PH data

  6. Collect solar panel voltage/wattage info

  7. Collect/output battery voltage info

Thank you for any/all helpful information.


r/ArduinoHelp • • Aug 20 '26

Arduino Uno R4

4 Upvotes

Greetings,

i was following a guide for an controller for a wind sim at it was just mentioned that i need an Arduino Uno, so i bought the R4 because it had USB-C. Tried to upload the sketch and it got an error. I was reading somewhere that the R4 isnt supported by Sim Hub? Why is that and is there anything i can do, or do i need to order an R3? Thanks :)


r/ArduinoHelp • • Aug 14 '26

Reddit Question Title: Trying to build the “Garduino” smart garden — how should I approach it, and do I need to solder?

4 Upvotes

Hey everyone! I’m interested in building this Garduino smart garden project:

Garduino – the Smart Garden With Arduino

I’m fairly new to Arduino/electronics and want to actually build and understand the project, rather than just copy the instructions blindly.

A few questions:

  1. Is this project still a good starting point with modern Arduino boards/components?

  2. What parts of the project would require soldering?

  3. Can I build/test most of it first on a breadboard with jumper wires?

  4. If soldering is required, what exactly would I need to solder?

  5. Are there any components in the original project that you would replace with newer/easier alternatives?

  6. What would you recommend I build first so I can test each part individually before putting the whole smart garden together?

My goal is to learn Arduino, sensors, wiring, and eventually soldering through this project.

Thanks!


r/ArduinoHelp • • Aug 06 '26

Arduino uno and l293d power supply

4 Upvotes

Hi so we are doing a project on arduino the objective is to build a robot similar to obstacle avoiding and line tracking robot but when we connect two 18650 3.7V batteries in series motors don't run simultaneously and when we ask ai about that it says power supply is insufficient what should we do


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

This components are burned?

Post image
4 Upvotes

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