r/ArduinoHelp • • May 07 '22

Arduino random slow start when I power it from an induction coil

Thumbnail self.arduino
3 Upvotes

r/ArduinoHelp • • Dec 28 '21

Elegoo Smartcar V4, Uno and Smartshield v1.1, Doesn't work when switching to cam

3 Upvotes

First off this is my absolute first time with my hands on arduino.

I got as a present this neat little thing, just a kit you put together piece by piece and on and go. It has a camera you can connect to via Wifi and control the car remotely with their app.

I connected to it that and everything except the obstacle detection worked. No biggie.
I wanted to get into it and try out IDE and send it some instructions, troubleshoot the sonar and so forth. On the Smartcar Shield is a physical switch from 'cam' to 'upload'; it's supposed to be switched to 'upload' when you mess with your sketches and 'cam' when being controlled with the phone.
So I uploaded some sketches, sonar always read out 0 so that I'll have to take a look at.

When I'm done with fiddling I just want to play around more using the app and then problems.
I can connect my phone to the camera and see the picture, but not control the car in any way, or move the camera using the rotor.
The Uno LED flashes as it receives commands from my phone but doesn't perform them.
After testing I found out that the car now always performs the last sketch I loaded through IDE, then doesn't respond through the app, nor to the remote that came with it, though of course the light flashes that it received UV signal.

I did upload the program that I found here: https://www.elegoo.com/pages/arduino-kits-support-files that fits my model and parts, the car does a little click sound like it's ready for action but doesn't respond.
Then I tried pressing reset on both the shield and the Uno, uploading the program again but still nothing. Also tried reinstalling the app, and setting it up with the car fresh, still nothing.

Any help would be greatly appreciated, I would hate to waste such a nice feature with this stupidity, as I can still upload my own programs and such but could never rebuild this connection to my phone.


r/ArduinoHelp • • Jul 08 '21

2 things work but adding 3 doesn't

3 Upvotes

I'm using the MPU6050 (gyroscope) to measure angles, MLX90614 (thermometer) to measure temperature, and SSD1309 (OLED Screen)to display the results.

When I only use the gyroscope & thermometer, the numbers come out fine on the serial monitor.

When I add gyroscope, thermometer, + OLED Screen together, the temperature readings are correct, but the gyroscope's angles are off.

Is this due to the screen I bought, or can I just not daisy chain 3 things to SDA/SCL? I've gone through a lot of tutorials online and my gyroscope sensor is accurate, the combination of the three just isn't.

For example, it can measure 90 degrees (right angle) on its own, and with a thermometer's temperature reading. When I add them in series to a screen, the 90 degrees becomes 30, and if I remeasure it's 50, then again it's 70 etc. so that the angles move everytime.


r/ArduinoHelp • • Jun 10 '21

What Is This Error?

3 Upvotes

Okay so i posted something yesterday but a few hours later i got the code compiled but i'm not satisfide so i'm starting from scratch and learning by trial and error ( punn intented ).

But i can't find a clear awnser to what a few error messages mean ( i'll post the code and the errors in the comments ).

I want to make a motion sensor alarm that sounds the buzzer and lights up 1 LED for 5 seconds when detecting something.

Coding is not done but i know i've did something wrong already so i wanna learn from it and correct it before even more error are made.

Thanks in advance.


r/ArduinoHelp • • 3d ago

Arduino Uno cheap alternatives

2 Upvotes

I want to make a few little moving displays that can be activated with IR (pointing a remote at an IR receiver and a single servo motor moves, nothing crazy). When I look around online, it seems like everyone uses an Arduino Uno to do this. Ideally, I’d like to find a cheaper alternative since I plan setting a handful of these up and leaving them semi-permanently around my apartment as fun interactive decorations. Any recommendations for cheaper microcontrollers I should look at? Or is buying an Arduino Uno generally the only good option? (I also need any microcontroller alternatives to have wifi capabilities…). Any other cheap part recommendations and/or advice for the process is also helpful!


r/ArduinoHelp • • 9d ago

Trouble playing mp3 files on aDFPlayer - Mini MP3 Player

2 Upvotes

Below is a small part of an Arduino sketch to play 3 files through a DFPlayer. The files play so everything is hooked up correctly. The problem is the files play 2 then 3 then 1. Out of order. Any idea why?

  
  myDFPlayer.volume(5);  //Set volume value. From 0 to 30 
{

myDFPlayer.play(1);  //Play the first mp3

  delay(10000);

  myDFPlayer.play(2);  //Play the second mp3

  delay(10000);

  myDFPlayer.play(3);  //Play the third mp3

}

void loop()


r/ArduinoHelp • • 22d ago

I2c oled gliching

Post image
2 Upvotes

r/ArduinoHelp • • 25d ago

Beginner help needed.

2 Upvotes

I just wanted to start by saying I don't know much about Arduinos or electronic setups yet, but I'm pretty comfortable with soldering and can usually figure out the software side of things! I currently have a cosplay project and wanted to set up a custom sound box. My idea is that when I open a mask that has an articulated jaw, it releases a Mini Micro Limit Switch 3 Pins KW11-3Z07 and sends a singular signal to a DY-SV5W Voice Playback Module so the audio plays once. When I press the jaw back together, it won't do anything; it will just wait to be opened again. Is this configuration feasible? What specific components or modifications would be required, or would I need to restart the project from scratch? Please let me know. Additionally, I intend to power the setup using a standard power bank.


r/ArduinoHelp • • 25d ago

How do I switch this tilt sensor to another in real life?

Post image
2 Upvotes

For context, I'm a beginner in making stuff like these, this is kind of my first time, this is for a school project, so sorry for the messy placements

But I tried to use tinkercad for the simulation

And I ended up with this ( the circuit )

So I just need the servos to spin when the tilt sensor senses a tilt, but I have a different tilt sensor, the circuit uses an SW-200D, while I have an SW-520D, so there's already a difference in number of output pins ( I'm not sure if that's what it's called ), and I'm just not sure about everything else after that 😭😭

The code is quite confusing too, I don't know a single bit of coding, so I tried what I could with the limited knowledge I know

->

#include <Servo.h>

int oozmakappa = 0;

Servo servo_12;

Servo servo_11;

Servo servo_10;

Servo servo_9;

Servo servo_8;

unsigned long spinStartTime = 0;

unsigned long totalSpinDuration = 0;

bool isSpinningForward = false;

bool needsToReturn = false;

void setup() {

pinMode(13, INPUT);

servo_12.attach(12, 500, 2500);

servo_11.attach(11, 500, 2500);

servo_10.attach(10, 500, 2500);

servo_9.attach(9, 500, 2500);

servo_8.attach(8, 500, 2500);

servo_12.write(90);

servo_11.write(90);

servo_10.write(90);

servo_9.write(90);

servo_8.write(90);

}

void loop() {

oozmakappa = digitalRead(13);

if (oozmakappa == HIGH) {

if (!isSpinningForward) {

spinStartTime = millis();

isSpinningForward = true;

needsToReturn = true;

servo_12.write(180);

servo_11.write(180);

servo_10.write(180);

servo_9.write(180);

servo_8.write(180);

}

} else {

if (isSpinningForward) {

totalSpinDuration = millis() - spinStartTime;

isSpinningForward = false;

servo_12.write(0);

servo_11.write(0);

servo_10.write(0);

servo_9.write(0);

servo_8.write(0);

spinStartTime = millis();

}

if (needsToReturn) {

if (millis() - spinStartTime >= totalSpinDuration) {

servo_12.write(90);

servo_11.write(90);

servo_10.write(90);

servo_9.write(90);

servo_8.write(90);

needsToReturn = false;

}

}

}

delay(10);

}

On tinkercad, it stops after 1/2 a spin, and just doesn't move anymore?? 😭😭

I'm very confused, someone please help me and guide me on what to do

If anyone could be of guidance to me, please do so, I'm struggling on how this is supposed to work 💔 I tried looking through YouTube but strangely I just couldn't find anything 😢


r/ArduinoHelp • • Nov 05 '26

Title: Help! Arduino UNO keeps resetting randomly on my SCARA Robot (CNC Shield + ESP32) - Pulling my hair out!

Thumbnail drive.google.com
2 Upvotes

r/ArduinoHelp • • Nov 03 '26

Standalone server for IoT projects without any third-party websites or any middlemen. Is it possible?

Thumbnail reddit.com
2 Upvotes

r/ArduinoHelp • • Oct 25 '26

I'm an Intermediate CS student Interested in Arduino - Where to start? Language + Roadmap needed

2 Upvotes

I am an Intermediate student in Computer Science. And I am interested in Arduino. I want to ask some questions related to Arduino.

1: Which programming language do we have to learn in Arduino?

2 : Can anyone share Arduino's Basic to Advance Roadmap any text message or PDF with me?


r/ArduinoHelp • • Oct 20 '26

Edge AI

2 Upvotes

At what point can one actually be considered a "junior" developer? I’m starting to get into Edge AI; previously, I worked primarily with microcontrollers—specifically the ESP32—and I have a basic understanding of FreeRTOS. I’m planning a project based on supervised machine learning where a robot uses a webcam to detect me: it will "react with joy" if it sees me, and "look sad" if it doesn’t. For now, I’ve just begun learning about AI in general. Do I need to know things like linear algebra, or other topics along those lines?


r/ArduinoHelp • • Oct 20 '26

Arduino Hardware Questions

2 Upvotes

Hello, I am very new to coding and I thought I should start with an Arduino. I may or may not have thrown myself into the deep end with a project that I am working on and I was hoping I could get some guidance.

I am making a cosplay of a character called Serial Designation N from an indie show called Murder Drones and I wanted to use an OLED (not matrix or HD) about 10-12 inches in screen size on a visor for his eyes and some lights around the head and tail. Which Arduino board can handle simple animation loops and control about 10 LEDs with ease for a decent price? I am thinking an Arduino Mega but I am not too sure.

One other question that I have is how can I make the animations work? From my understanding, I need to have several frames and play them in a sequence giving the illusion of a blink animation. Am I on the right path or am I misreading things?

Thank you for reading my message.


r/ArduinoHelp • • Oct 16 '26

Tft display

2 Upvotes

Recently i bought a tft touch display. IlI9341 2.8" hiletgo v1.2 5v/3.3v SPI specifically. I have tried with different board inc esp 32 s3 arduino nano arduino uno etc. Only the backlight works. I did try shorting the j1 pins, no luck. I did install all the necessary libraries and drivers still doesn't work. Its not a connection issue, its not a conductivity issue, its not a spi communication issue because i have used spi communication with my esp and arduinos it was working perfectly fine. Is there anyting else i should try or should i return the display


r/ArduinoHelp • • Oct 10 '26

Need help choosing

2 Upvotes

Im looking to buy an arduino clone but i dont know which model and what type of kit i should buy. I have never owned an arduino and im 13 my friend owns one and it looks pretty fun im no stranger to coding and like electronics.


r/ArduinoHelp • • Oct 09 '26

ATmega32U4 is not recognized after soldering pins

2 Upvotes

This are my very first steps with electronics and soldering.
I tried soldering the pins to the ATmega32U4 while on a breadboard, it seems like i have good soldering, no bridges, stayed about 2-3 seconds on each pin.

I plugged the ATmega32U4 to the pc before soldering and it was recognized easily and after the soldering i got this error on device manger:
Windows has stopped this device because it has reported problems. (Code 43)A request for the USB device descriptor failed.

what am I doing wrong? and can i fix the damaged ATmega32U4?


r/ArduinoHelp • • Oct 04 '26

Arduino Core for STC Micro's STC8G Family

Post image
2 Upvotes

I’ve developed an unofficial Arduino Core for STC8G microcontrollers, bringing Arduino IDE support to these low-cost 8051-based chips.

The core uses SDCC as the compiler backend and stcgal for firmware flashing, allowing you to write Arduino-style code, compile it, and upload it directly from the Arduino IDE.

GitHub: https://github.com/chayanforyou/Arduino-STC8

Feedback and contributions are welcome!


r/ArduinoHelp • • Oct 02 '26

Beginner question: how do you find a wiring mistake on a breadboard without checking every wire?

Post image
2 Upvotes

..


r/ArduinoHelp • • Sep 16 '26

Can someone recommend simple Arduino code for blinking an LED?

2 Upvotes

Hi everyone!

I am a beginner learning Arduino programming. I want to make an LED blink using an Arduino Uno.

Could someone recommend a simple code example for this project? I would also like to understand how the code works, especially the delay() function.

Any tips for a beginner would be greatly appreciated.

Thank you!


r/ArduinoHelp • • Sep 16 '26

How do I connect an LED to an Arduino Uno?

2 Upvotes

Hello everyone!

I am working on a simple Arduino LED blinking project. I have an Arduino Uno, an LED, and a resistor.

I am not sure how to connect the components correctly. Could someone explain how to connect the LED to the Arduino Uno and where to connect the wires?

I would appreciate any advice or a simple circuit diagram for a beginner.

Thank you!


r/ArduinoHelp • • Sep 12 '26

Robotic arm project

2 Upvotes

I need a good motor driver for multiple closed loop Nema 17 and 23 stepper motors. Does anybody have any good ideas?