Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
9 views

LSM6DSOX OSError: [Errno 5] EIO for RP2040 Micropython

I am trying to get the IMU unit to work on my Nano RP2040. I get these same results on multiple Arduino Nano RP2040s I installed the python library into the rp2040 using the command ./mpremote.exe ...
SomeoneElse's user avatar
0 votes
1 answer
129 views

Problem converting a sketch from SPIFFS to LittleFS - no matching function for call error

I'm playing with a tutorial from this DroneBot Workshop YouTube (excellent video presentation by the way on WiFi manager for newbies). I am working with a NodeMCU ESP8266. The example code was written ...
Dave J's user avatar
  • 1
-1 votes
1 answer
47 views

Arduino Uno error resp=0x27 [duplicate]

I use the Chinese copy of board. My code is right, but when i upload to board, it print me this: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in ...
DenisBaramygin's user avatar
0 votes
1 answer
155 views

The Arduino copy of example code for tone() function produces a compile error: 'tone' is not declared in this scope. How can I fix this?

It's 32-bit ARM core processor is SAM3X8E ARM Cortex-M3 CPU. Error: sketch_nov16b\sketch_nov16b.ino: In function 'void setup()': sketch_nov16b:49:43: error: 'tone' was not declared in this scope tone(...
JohnB's user avatar
  • 11
1 vote
2 answers
534 views

Communicating via Serial Monitor but not able to get comms via Terminal outside of Arduino IDE

I am using Arduino Nano 33 BLE. I am able to communicate via Serial Monitor within Arduino IDE, but not able to communicate via Terminal, outside of Arduino IDE. I am using Teraterm, do I need to do ...
Oscar's user avatar
  • 21
1 vote
0 answers
42 views

Arduino MEGA crashes with Ethernet shield to connect to two TCP servers

I have Arduino MEGA with Ethernet Shield and a SD card connected to a RUT950 GSM router. Then, I also have two sensors connected to the router and they run a TCP server that sends measurements ...
Marcus Barnet's user avatar
4 votes
2 answers
2k views

STM32 "black pill" won't enter DFU mode reliably

I'm following the standard process to put an STM32 "black pill" (STM32F401CC) into DFU mode so that I can upload from the Arduino IDE over USB: Hold down boot0. Press and release rst. ...
NeilenMarais's user avatar
3 votes
1 answer
9k views

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. [upload] Error 2

I have seen so many people complain about this same error and they were given a multitude of answers to help with this error, but nothing so far has worked for me. Everything was working fine until I ...
Bajer's user avatar
  • 31
2 votes
3 answers
2k views

WiFiClient.cpp:517 flush(): fail on fd 48, errno: 11, "No more processes" what it mean?

Hello i wrote this sketch that upload a temperature reading of a DHT22 sensor to a phpMyAdmin server in localHost, the sketch work fine, the data been upload every 5 min to the server than ESP go t ...
Damiano Miazzi's user avatar
-1 votes
1 answer
147 views

RGB LED randomized colors and LDR fading at the same time

Im trying too make an RGB LED that keeps changing color's randomly, and makes the brightness fade at the same time with an LDR, yet I keep getting an error that says too many arguments to functions. ...
Sudras Elagor's user avatar
1 vote
1 answer
231 views

Arduino Output Panel Font Color Change

I am using Arduino IDE 2.0.3. When compiling code if there is an error it shows on a black background with a red font, that is hard for me to read. Can I change either the background or the font? ...
user224844's user avatar
1 vote
0 answers
246 views

Getting “Open the GPS power failure” on module SIM808

I tried to get the gps coordinates with this program: #include <DFRobot_sim808.h> #include <SoftwareSerial.h> #define PIN_TX 8 #define PIN_RX 7 SoftwareSerial mySerial(PIN_RX,PIN_TX)...
Hans Ricardo Davila Acuña's user avatar
-1 votes
1 answer
355 views

ESP32 Rebooting while converting String to Hex Array

I wrote this code to convert String to Hex Array. const char* hexstring = "0x21 0x73 0x10 0xfa 0x7a 0x00 0xff .../*40995 character long string*/....0xaa" void setup() { char* temp; ...
Just doin Gods work's user avatar
0 votes
3 answers
8k views

text section exceeds available space in board

When I compile this code it gives the error mentioned above. I saw online a way to resolve this: Serial.println(F("...")); For fixed string literal I changed it but still didn't work. I'm ...
Just doin Gods work's user avatar
1 vote
0 answers
894 views

ESP32 WIFI error when trying to initialize WIFI after stopping and deinit WIFI driver

I have a firebeetle ESP32 board and I use VScode with platformIO. My platform is espressif32 v5.0.0 and the framework is arduino. I am currently implementing a WIFI connection as follows: bool ...
Slev1n's user avatar
  • 21
5 votes
2 answers
123 views

Not enough memory error using OneSheeld.h

I'm a dairy farmer and I'm new to playing around with Arduino's. I created a code to send me SMS's when my equipment stops working as it should, but I run into a "Not enough memory" error. ...
FarmerChuck's user avatar
2 votes
4 answers
27k views

esp32, platformio A fatal error occurred: Packet content transfer stopped (received 8 bytes) *** [upload] Error 2

When i try to upload code to the esp32 the following error shows up in the command line: A fatal error occurred: Packet content transfer stopped (received 8 bytes). I use platformio in VScode the ...
exo's user avatar
  • 57
1 vote
0 answers
395 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 ...
Shawn sony's user avatar
1 vote
0 answers
144 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 ...
HexaTech's user avatar
1 vote
0 answers
2k 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 ...
Syed Asaad's user avatar
1 vote
0 answers
116 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 ...
Luke's user avatar
  • 11
0 votes
1 answer
827 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> #...
krystof18's user avatar
  • 315
0 votes
4 answers
1k 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 ...
dorsa's user avatar
  • 9
1 vote
4 answers
3k 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 (...
manarinian's 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 &...
Soheil Paper's user avatar
1 vote
0 answers
61 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 ...
krystof18's user avatar
  • 315
1 vote
1 answer
355 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 // ...
user77041's user avatar
1 vote
1 answer
119 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 ...
rohithrathod banoth's user avatar
1 vote
1 answer
1k 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 "...
Spyro 999's user avatar
1 vote
0 answers
722 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 ...
AfiJaabb's user avatar
  • 219
1 vote
1 answer
263 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 ...
Bolin's user avatar
  • 11
0 votes
0 answers
323 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. ...
Krit Khad's user avatar
1 vote
2 answers
989 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 ...
Roshan Mathews's user avatar
1 vote
0 answers
1k 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 ...
Talal zahid's user avatar
3 votes
2 answers
595 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 ...
Software Engineer's user avatar
-1 votes
1 answer
40 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 ...
Abdulrahman's user avatar
2 votes
1 answer
59 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 ...
Giammarco's user avatar
-1 votes
2 answers
3k 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; ...
Screenwriter Marc's user avatar
1 vote
1 answer
108 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 ...
ynava's user avatar
  • 11
0 votes
1 answer
2k 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 ...
Justin's user avatar
  • 9
1 vote
0 answers
40 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 ...
Flying_Carlos's user avatar
1 vote
1 answer
2k 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 ...
jimmyfinestein's user avatar
1 vote
2 answers
4k 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....
Michele Cioccarelli's user avatar
0 votes
2 answers
35 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 ...
Jaiden Clark's user avatar
1 vote
0 answers
250 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 ...
Barks's user avatar
  • 11
0 votes
1 answer
816 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....
Tommy's user avatar
  • 13
-1 votes
1 answer
2k views

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

Before seeing this error I did a project with my Uno board using a Bluetooth module. After that, when I powered the board to upload another program, 4 LEDs (L, TX, RX, ON) went red without blinking. ...
Brown's user avatar
  • 7
2 votes
1 answer
2k 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 ...
Luukv19's user avatar
  • 21
0 votes
1 answer
3k 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(); ...
Geekaholic YR's 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 ...
diegogmx's user avatar
  • 111