Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

Unable To Upload Source Code on Arduino UNO(Windows 11)

I was trying to upload the source code of a project to the Arduino UNO and this is the error that I keep on receiving. After I closed and reopened it again, the Port option is gray. I tried everything ...
user avatar
1 vote
0 answers
28 views

Motor rotates well in one direction but runs slower in other with L298N and L293d

I connected 2 motors with an L293Nn driver. When I control it with my joystick, one motor works fine (Out 1 and 2 of driver.) It rotates in one direction and the other very smoothly. The problem ...
user avatar
1 vote
0 answers
41 views

When i upload the code to nodeMCU this error comes I have checked libraries ,ports made enviroment for nodemcu but error always come to screen

Arduino: 1.8.7 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use ...
user avatar
1 vote
0 answers
38 views

Error compiling arduino sketch to seeduino xiao for RF24 Module

I am trying to get 2 rf24 modules talking to each other. This is my first real arduino project so bear with my ignorance please. I could get them to work with 2 arduino nano but, when trying to ...
user avatar
  • 11
0 votes
1 answer
171 views

LoRa recieves only 2-4 packets, then stops working

I'm working on LoRa project using [Ai-Thinker RA-01 SX1278 433MHz LoRa][1] with [sandeepmistry/arduino-LoRa][2] library. I modified LoRaReciever example so it looks like this #include <SPI.h> #...
user avatar
  • 305
1 vote
3 answers
233 views

What should I do with stackOverflow in compile error?

I don't have port, but when I want to compile my code (even empty files), I encounter this error: Sketch uses 444 bytes (1%) of program storage space. Maximum is 32256 bytes. Global variables use 9 ...
user avatar
  • 11
0 votes
0 answers
447 views

About Finxing ESP8266-01 ERROR UPLOAD ARDUINO IDE (esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header)

I have one ESP8266 01 and can not write blinking example on it, so I have made the below connection on it based on this video, but I get the below error: Global variables use 27980 bytes (34%) of ...
user avatar
0 votes
1 answer
142 views

What does avrdude: Device signature = 0x000000 mean? Faulty wiring? Software issue? Incorrect tutorial?

I followed this tutorial a couple of times and when I clicked on bootloader I get this error: avrdude: Device signature = 0x000000 To see the configuration file click here. Why do I get this error (...
user avatar
1 vote
0 answers
24 views

avrdude: stk500_recv(): programmer is not responding Arduino LCD_I2C Upload problem ( port not found and ...) [duplicate]

i have problem to upload the LCD I2c Example program to Arduino UNo. the code are shown below: //YWROBOT //Compatible with the Arduino IDE 1.0 //Library version:1.1 #include <Wire.h> #include &...
user avatar
1 vote
0 answers
48 views

How to set maximal execution time of operation

I'm JSON deserializing output from ESP8266 in my Arduino UNO, but when it fails (for some reason every time after it deserializes successfully) the program lags for few seconds and I don't want that ...
user avatar
  • 305
1 vote
1 answer
42 views

error: expected primary-expression before ',' token edit status 1 [closed]

Im using tinkercad for my robotics class and I can't seem to figure out a solution for this problem. Heres my codes: #include <LiquidCrystal.h> //LCD library #define echo 2 #define trig 3 // ...
user avatar
0 votes
1 answer
78 views

Node MCU not functioning correctly

i have a node mcu and i uploaded one example code to test it for rf signal decoding it worked. so after that i have written a code based on that and when i uploaded the code my node MCU suddenly isn't ...
user avatar
1 vote
1 answer
325 views

Using functions in header files [closed]

I want to include a function in my sketch I moved to a .h file. I did it as follows: My code: #include "header.h" void setup() { fct(); } void loop() { } My header: #include "...
user avatar
1 vote
2 answers
344 views

Arduino IDE 2.0 Beta doesn't start

Yesterday i downloaded the new version of the IDE to take advantage of all the new features, but it just won't open. I tried installing it to different paths, different PC's, i deleted the ...
user avatar
  • 111
1 vote
0 answers
272 views

Using MPU6050 with ESP32 Cam- MPU Not Detected

Hi I'm trying to build a self balancing robot using my esp32 cam, but so far I haven't been able to setup my mpu6050 with it.I'm using the adafruit libraries with the given example sketches. The only ...
user avatar
  • 209
1 vote
1 answer
116 views

DFRobot GSM / GPS shield with UNO init error

Apologies, but I have little experience of Arduino etc. Has the "Sim808 init error" been resolved anywhere please? I have tried every example I can find including the ones on these ...
user avatar
  • 11
0 votes
0 answers
109 views

Help with ESP32-CAM "AI THINKER" module

I'm trying to make a RC car (with a surveillance camera if possible, using the web-cam code that comes with the ESP library) using a ESP-32 CAM as a wifi module to control the car using my computer. ...
user avatar
1 vote
2 answers
264 views

Arduino freezing frequently

I'm using an Arduino Nano for programing an automatic hand sanitizer that has a thermometer. But after running for some time the board freezes and only restarting can solve the issue. While checking ...
user avatar
1 vote
0 answers
477 views

Wemos d1 mini code not uploading

I have a wemos d1 mini. I uploaded a code in wemos d1 mini and after that my wemos mini not working. I tried to upload another code in it even the led blink sketch and even a blank sketch but whenever ...
user avatar
3 votes
2 answers
200 views

Can't sync with programmer Arduino Uno

I have a weird problem, and it's probably because I'm doing something wrong. I'm quite new to Arduino. My Uno R3 (Elegoo) has been working fine for a month. It has been sitting on a bench for the past ...
user avatar
-1 votes
1 answer
39 views

I get an error?

void setup() { Serial.begin(9600); pinMode(13,OUTPUT); } void loop() { if(Serial.available()>0) {s_num =Serial.read();} if(s_num=='0'){ digitalWrite(13,HIGH); delay(100); //the specified time for 0 ...
user avatar
2 votes
1 answer
39 views

Movement and storage of servo positions via bluetooth

I am trying to program a 4DOF robotic arm (using 4 servo motors). I would like to move the servos using an Android app, by means of bluetooth (HC-05). I developed the app, in whose interface there are ...
user avatar
-1 votes
2 answers
443 views

Arduino sketch uses too much memory storage space?

I've never used arduino before but am using one for a school project. I am using an arduino leonardo and I've uploaded the sample code below #include "Adafruit_CCS811.h" Adafruit_CCS811 ccs; ...
user avatar
1 vote
1 answer
79 views

Error message - Need help

I found this Haptic Headband project on YouTube (link below) and I am trying to verify the code that was given in the instructions with the Arduino IDE. However, I keep getting the message below and ...
user avatar
  • 11
0 votes
1 answer
1k views

I get an error saying, "exit status 1 expected initializer before 'void'." [closed]

I will be wiring a switch to the Arduino that controls the voltage. When the I turn the switch it can adjust the voltage from 0 to 5. The overall task is to print the output voltage. The print is to ...
user avatar
  • 9
1 vote
0 answers
39 views

Uploading doesn't work on MKR1000 [duplicate]

I received the error bellow when I tried to upload any sketch on my MKR100. I uninstall/reinstall de COM drivers and the arduino IDE and nothing solve the problem. I bought another MKR1000 thinking ...
user avatar
1 vote
1 answer
1k views

ESPTool 3-run stub fail error

I'm trying to program my NodeMCU ESP8266 ESP-12E module with AT commands. However, whenever I try and flash to my ESP8266 using ESPTool, I get a 3-run stub fail error. Can anyone tell me why I get ...
user avatar
1 vote
3 answers
2k views

Function declared in another file not recognized (undefined reference to)

I am making a multi-file arduino project, but the compiler can't recognize a function. I am using the arduino-cli version 0.10.0 This is the error I received undefined reference to pin_init() collect2....
user avatar
0 votes
2 answers
32 views

New to Arduino and I have a WIP code for a class. ERROR with LEDs working?

(EDIT) My goal with this code is to use two potentiometers, pot0 and pot1 respectively, to control 8 leds. Pot0 controls which sequence the leds are running (1, 2, or 3) and pot1 controls which LEDs ...
user avatar
1 vote
0 answers
236 views

Trouble Uploading Sketch - Issues with SPISettings

Full disclosure - I'm very new to Arduino. I am probably missing something simple. However, I've scoured the internet and can't seem to figure it out. I am trying to use an Arduino Duo Wifi rev2 to ...
user avatar
  • 11
0 votes
1 answer
380 views

Im having another problem with my code the error is "redefinition of 'AF_DCMotor motor'? [duplicate]

Heres the code #include <AFMotor.h> AF_DCMotor motor(1, MOTOR12_8KHZ); AF_DCMotor motor(2, MOTOR12_8KHZ); AF_DCMotor motor(3, MOTOR34_1KHZ); void setup() { Serial.begin(9600); Serial....
user avatar
  • 13
1 vote
1 answer
809 views

TX,RX,ON,l LEDs were red at all time

First of all Thank you for reading my broblem.Before coming this erro I did a project in my Uno board by using a Bluetooth module.after that; when I powered the board to uploade another programe ;4 ...
user avatar
  • 11
1 vote
1 answer
1k views

Arduino Firebase connection refused error

I am making a project for school where I have to send data from a sensor to a webpage. After doing some research I decided to use a Real-Time Firebase database. Security is not really important and I ...
user avatar
  • 21
0 votes
1 answer
2k views

How can I fix this error "invalid operands of types 'const char [17]' and 'float' to binary 'operator+'"?

#include <Wire.h> long aX,aY,aZ,gX,gY,gZ; float rtX,rtY,rtZ,gfX,gfY,gfZ; void setup() { Serial.begin(9600); Wire.begin(); setupMPU (); } void loop() { recordAccelregisters(); ...
user avatar
0 votes
1 answer
31 views

program evaluating if clause incorrectly [closed]

As the title says i'm having a problem with an if clause evaluating incorrectly in one particular function uint16_t getSleepTime() { volatile uint8_t flag = EEPROM.read(3); uint8_t high ...
user avatar
  • 111
2 votes
0 answers
175 views

Arduino uno wifi rev2 error compiling sketch to board [duplicate]

I'm having an irritating situation with my Arduino Uno wifi rev2 board. I made an installation with an LCD, keypad and little servo motor. I first wrote the code for my regular Arduino Uno and ...
user avatar
  • 161
-1 votes
1 answer
1k views

4:1: error: expected initializer before 'void' [closed]

int button void setup() { pinMode(13, OUTPUT); pinMode(12, OUTPUT); button 4; pinMode(4=INPUT); } void loop() { if(digitalRead(4)== LOW); { digitalWrite (13, HIGH); delay (250); ...
user avatar
  • 1
0 votes
1 answer
54 views

Serial.println Issue with Flame Sensor

I'm really new to coding and Arduino so I would be eternally grateful for the help. I'm trying to make a really basic flame sensor that beeps, lights up an LED and displays the distance from the ...
user avatar
1 vote
1 answer
1k views

Error when compiling code NODE MCU ESP8266-12E module in Arduino ide

Here is my sketch: #include<ESP8266WiFi.h> char* ssid = "xxxxxxxx"; char* pass = "xxxxxxx"; void setup() { WiFi.begin(ssid,pass); Serial.begin(9600); while(WiFi.status()!=WL_CONNECTED) { ...
user avatar
  • 11
1 vote
0 answers
158 views

Temperature varations using ADS1115 and voltage divider to read 12v

I have an issue with reading battery voltages of three 12 volt batteries using an ESP-01 and an ADS1115. I have been graphing the measurements and the all of the graphs have a temperature component ...
user avatar
0 votes
1 answer
4k views

Why is the IDE not able to find the board despite it being clearly seen and selected?

i'm having an odd problem where despite having the correct port selected 3 times i'm still getting an error as shown below: message: Arduino: 1.8.9 (Windows 10), Board: "Adafruit Feather M0, ...
user avatar
1 vote
0 answers
610 views

SN74HC595 Shift Register Issue

I'm trying to use the popular SN74HC595 Shift Register, but I think something isn't right because when the bits are submitted to the register it comes out with something similar but not the same. #...
user avatar
0 votes
1 answer
1k views

Sim800L Uploading issues, HTTPACTION returns 0, 302, 701

I'm using the Sim800L module and the NEO6M GPS Module in combination with an Arduino nano to create a simple tracking device. I get the data from the GPS and try to upload it to my site with some ...
user avatar
1 vote
0 answers
152 views

LCD on top of SD datalogger flickers help!

I have a problem with my 16,2 with buttons lcd shield.(LCD Keypad Shield). It is connected on top of an SD dataloger. I came to the conclusion that every time the sd shield logs data and completes the ...
user avatar
1 vote
0 answers
51 views

Error with AT+CIPSEND in ES8266 with arduino

I'm making simple web-server on esp8266 module connected to Arduino. And when +IPD,0,GET... I'm sending AT+CIPSEND=0,16. Then I write HELLOMYDEARFRIDE. It says : send 16 bytes recived. OK. But in ...
user avatar
1 vote
0 answers
211 views

Can´t load a program into my ESP01 using an ArduinoUno

This is my problem, I´ve been trying to load a program(any program) into mi ESP01 and because I do not have the usb adapter, I decided to use my Arduino Uno to do the work. This is my first time ...
user avatar
0 votes
1 answer
2k views

Restoring all fuse bits on AtMega328P-PU

I'm worked with Low Fuse bits in AVRDUDEPROG 3.3. Fuses was non-inverted. And by mistake I enabled SUT1 and SUT0, when SUT0 was enabled. And when I programmed avr, it shows me error that avrdude.exe: ...
user avatar
1 vote
0 answers
78 views

Serial monitor error message

I connected my ArduCam mini to es8266 board and opened serial monitor. Then this message appeared. It started to appear continuously. I used the code in examples "functions of ov2640". What does it ...
user avatar
0 votes
1 answer
90 views

Built-In Digital Map for Robot Driving

So, I'm creating this project for school. It's a simple robot with Arduino MEGA 2560 and basically, I create a digital map, feed it into the Arduino program and then the robot can drive. However, I've ...
user avatar
0 votes
1 answer
5k views

Arduino - "expected primary-expression before '.' token" Error

#include "Ultrasonic.h" #include <Wire.h> #include <LiquidCrystal_I2C.h> // Set the LCD address to 0x27 for a 16 chars and 2 line display LiquidCrystal_I2C lcd(0x27, 16, 2); void setup() ...
user avatar