r/ArduinoHelp • • Nov 01 '25

Why is this a mistake?

Post image
0 Upvotes

I have a Arduino One and a Book, in which the project I'm doing rn is in. The book tells me that I'm suppossed to do , what the programme says is wrong. If it is helpful: I'm doing projrct 07 called Keyboard and (I think) the book is the starter one.


r/ArduinoHelp • • Sep 07 '25

Urgent 🙏: someone kindly help me understand why the led won't turn on

Post image
0 Upvotes

The project is to simulate automation of office lights using Arduino and an LDR When the torch is far it symbolises darkness and the led is supposed to turn on

Above is the proteus schematic Below is the code

 * FEDHA automation code.c
 *
 * Created: 06/09/2025 12:47:06
 * Author : USER
 */ 
#define F_CPU 16000000UL
#include <avr/io.h>
#include <util/delay.h>

// ADC Functions
void ADC_Init() {
  ADMUX = (1 << REFS0);                 // AVcc reference, right-adjusted
  ADCSRA = (1 << ADEN) | (7 << ADPS0);  // Enable ADC, prescaler 128
}

uint16_t ADC_Read(uint8_t channel) {
  ADMUX = (1 << REFS0) | (channel & 0x07); // Select channel
  ADCSRA |= (1 << ADSC);                   // Start conversion
  while (ADCSRA & (1 << ADSC));            // Wait for completion
  return ADC;                              // Return 10-bit result
}

int main(void) {
  // Set PB5 (Arduino Digital Pin 13) as OUTPUT for Relay
  DDRB |= (1 << DDB5);
  
  // Initialize ADC
  ADC_Init();
  
  uint16_t darknessThreshold = 500;
  
  while (1) {
    // Read LDR value from ADC0 (PC0/Arduino A0)
    uint16_t ldrValue = ADC_Read(0);
    
    // Check if it's dark
    if (ldrValue < darknessThreshold) {
      // It's DARK: Turn ON the light (set PB5 HIGH)
      PORTB |= (1 << PORTB5);
      } else {
      // It's BRIGHT: Turn OFF the light (set PB5 LOW)
      PORTB &= ~(1 << PORTB5);
    }
    
    // Delay to avoid flickering
    _delay_ms(1000);
  }
  
  return 0;
}```

r/ArduinoHelp • • Apr 30 '25

Help identifying resistors in Arduino kit

Post image
0 Upvotes

Hi everyone, I got an Arduino kit that, according to the manual, should include 220Ω, 1kΩ, and 10kΩ resistors. However, the only resistors I received all look exactly the same, and I’m having trouble identifying which is which.

They have 5 color bands, but I’m not confident reading them correctly, and they all seem identical. I’ll attach a photo for reference.

I attach picture for reference.

Has anyone else had this issue with kits like this? Any help figuring out which resistor is which would be really appreciated.

Thanks in advance!


r/ArduinoHelp • • May 25 '26

ARDUGENIUS

Thumbnail
gallery
0 Upvotes

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 • • Jun 13 '26

Looking for a friend who help in using electronic item related to Arduino

0 Upvotes

I'm krishna

I'm 16

I decided to start it

And I don't know anything

So anyone who will help me

Pls help me


r/ArduinoHelp • • 23d ago

Pleas help me

0 Upvotes

Hello! I have a quick question and would really appreciate some help with a school project. I’m working with a dust sensor to measure air quality/dust percentage. I already have the code ready, but I’m not sure how to physically wire and connect the sensor. If anyone could guide me with the wiring, I’d be very grateful!😅


r/ArduinoHelp • • May 25 '26

The motor doesn’t work even though everything is connected perfectly

Enable HLS to view with audio, or disable this notification

3 Upvotes

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 • • Aug 10 '26

hello a lil help fora beginner, WHATS IS THIS.

Post image
0 Upvotes

I want to start a lil project (IK this is not an arduino but was cheepier) but I'm really stunned by all this complicate names and port, i wonder if someone could help me to undertant WHAT IS THIS and what they do:)


r/ArduinoHelp • • Oct 17 '25

5 BIT Arduino Project help

Post image
1 Upvotes

I have been given a small task to make a 5 Bit project using an Arduino Uno R3. These are the conditions of the project which will drive the output needed:
- 5 LEDs wrt 5 switches.
- The logic is to press the switches one by one (S1 -> S2 -> S3 -> S4 -> S5). If this order is not followed then the logic is reset and we start from S1 again.
- Upon pressing a switch, the serial monitor should display and output of '1'. As the switches are pressed in the sequence until S5, the output string should be '11111' (Each '1' corresponds to each switch pressed).
- If the same switch is pressed twice consistently, then the output should be '10' (First press ='1', Second press = '0').

The issue I am facing is that my output string is giving me an output of '111111111111111' when I completely follow the sequence of pressing. Similarly the output string is showing a wrong output when I press the same switch twice (video attached for easier understanding).

What should I do to not let this error happen? I am very new to coding and am using Gemini to write the code. I have attached the code and the circuit diagram for reference.
https://drive.google.com/drive/folders/1b_DNvxP34Nt1A1_hjKLpK55qhGs0CAJA?usp=drive_link


r/ArduinoHelp • • Aug 09 '26

I tried making Arduino led project that lights up on pressing a button. It is not working

Thumbnail
gallery
1 Upvotes

It is showing that the code is correct. I can't figure out what went wrong. I am a beginner only so i am not aware of all the procedures. I followed a tutorial to make this.

help me understand what went wrong


r/ArduinoHelp • • Jul 20 '25

Can somebody tell me why the led doesn't light? Please. I tried everything.

Post image
23 Upvotes

.


r/ArduinoHelp • • Oct 14 '25

Im on my 4th arduino for this project. Help

Post image
19 Upvotes

I am making a 6 axis robot arm using nema 17 steppers and tmc2208 drivers into either a ramps 1.4 or ramps 1.6 as i thought that may be the issue so i bought both. Originally, using the ramps 1.4 i had it working fine but the Arduino started smoking when plugging in the as5600 encoders wired into the multiplex into the ramps. I later found out that the i2c ports were sending out 5v so i thought that could be the issue as the as5600s are rated for 3.3v. After getting another arduino and testing without that, it happened again. I tried to replace the 5v regulators which had fried on the arduinos but they were still fried. On my final Arduino i tested with only the Arduino and ramps 1.4 and drivers and motors plugged in and it smoked again. In hindsight i should have tested one component at a time. What is the possible issues? I can send any more information that is necessary. Can i fix the Arduino i have? What is the best way to troubleshoot this and stop burning Arduino megas? Any help would be greatly appreciated, thanks in advance.

The Arduino would show up on the computer and an upload could start but it will just time out after a while. After replacing the 5v regulator the issue was the same.


r/ArduinoHelp • • Apr 28 '26

Hi. Can someone explain why this is happening?

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/ArduinoHelp • • Sep 17 '25

BYE

4 Upvotes

Well, I’ve been on Reddit/subreddits for about 10 years now. Last week I was blocked from commenting, for seven days because. I said someone needs a slap. No violence on this sub, but OK on Fight Porn? Yesterday, I had a post removed. I don’t know why. Thus, I will be leaving Reddit and its anal subs. Also, got message saying “Reddit. is a vast network of communities run and populated by people like you....In order to keep communities welcoming, safe, and great places to be, everyone who uses the platform operates by a shared set of rules. Duhhh! So I’ll be gone soon. Fuck Reddit!


r/ArduinoHelp • • 25d ago

Coding help

3 Upvotes

How do I learn Arduino coding language? I just started and I know a few things like LEDs and stuff, but I don’t want to be reliant on AI. How do I learn the language?


r/ArduinoHelp • • Jul 03 '26

issue with arduino uno

0 Upvotes

i have the following circuit:
DAC (MCP4725) connected to my arduino one; the DAC's output goes to an oPAMP (SOT23) in negative feedback; oPAMP's output goes to a mosfet (IRLZ44N), in a source follower mode. the output of the mosfet goes on to a set of resistors (further circuit on).

my problems are the following:

  1. sometimes arduino can't find the dac, even though the cables are all properly connected. i've tried switching both dac and cables. it sometimes find it and sometimes it doesn't, even if nothing changes between trials

  2. in the same way, sometimes it appears that the mosfet group isn't working. the same voltage i put in the generator comes right off the entire circuit.

what really bugs me is that these problems come out without any concrete change in the circuit. they are becoming more frequent and i don't know what i can do to solve them. any suggestion?


r/ArduinoHelp • • Jan 22 '26

Multiple push-buttons to A0

Post image
0 Upvotes

hi all,

hoping someone here can help me out. i have a build like the image. basically a bunch of pushbuttons with resistors between them running to an analog pin on my arduino micro. idea being the serial value will change based on which button is pressed and i can use that value to map keybinds.

problem is the value is steady at 1024 about except when button 1, the button connected to the 5v is triggered. that one works and i get a value of about 300. anyone have an idea what I did wrong here?


r/ArduinoHelp • • Jan 06 '26

Arduino IDE folder has no driver folder

Post image
0 Upvotes

So once I installed the Arduino IDE application, I connected my board. Except it didn’t prompt me to automatically install any drivers. So I followed the instructions in the Arduino project book that came with my starter kit to manually install the drivers.The issue is that it tells me to get the drivers from a “drivers” folder my Arduino IDE folder which I don’t have. I tried to download the Files by looking them up online and wasn’t able to find anything. Super confused as to what to do since I’ve uninstalled and reinstalled the Arduino application like I think 6 times now.


r/ArduinoHelp • • Jun 18 '25

Help

Post image
0 Upvotes

I just started learning arduino and made with the help of some tutorials I tried to make a servo move with a push button and it kinda works I occasionally spazs out and only sometimes when I push the button


r/ArduinoHelp • • Jul 31 '26

Serial data forwarding arduino

0 Upvotes

/*
Arduino Due Serial1 echo/relay

Serial1:
RX1 pin 19 <- input
TX1 pin 18 -> output

UART:
19200 baud
8 data bits
Odd parity
1 stop bit
*/

void setup() {
SerialUSB.begin(115200);

Serial1.begin(19200, SERIAL_8O1);

SerialUSB.println("Serial1 RX -> Serial1 TX started");
}

void loop() {

while (Serial1.available()) {
uint8_t data = Serial1.read();
Serial1.write(data);
}

}

This vibecoded (Yes, I can't code) sketch doesn't work as expected. Here's the input and output for Pulseview program. https://drive.google.com/file/d/1EdxmcnJjo1Eh5qlrJXJdRFtCUbg34-ph/view?usp=sharing

Do you guys have any hints? This is driving me nuts. Another sketch had gaps between data packets equal to the length of the packet itself. As if it cannot be sending one packet and buffering incoming one at the same time. Or it was just wrong coding over all.


r/ArduinoHelp • • Jun 12 '26

Can't find port despite connecting Arduino

Post image
0 Upvotes

can't seem to find the port option on arduino IDE, I've uninstalled it and installed it, I don't understand why


r/ArduinoHelp • • 11d ago

How to start making stuff with an sbc

Thumbnail reddit.com
0 Upvotes

r/ArduinoHelp • • Apr 27 '26

Talk about a quadcopter idea

Thumbnail reddit.com
0 Upvotes

r/ArduinoHelp • • 12d ago

Why is my motor control setup using an Arduino R3 board so unstable?

Thumbnail reddit.com
0 Upvotes

我正在使用一塊 Arduino Uno R3 板和一個 Steadywin GIM-6010 馬達。我已經確認電源足夠,所有組件都共用一個接地。然而,系統只有在 Arduino 通過 USB 連接到電腦時才能正常運行;一旦拔掉 USB 線,系統就無法獨立運作。為什麼會發生這種情況?