Questions tagged [error]
The error tag has no summary.
78 questions
0
votes
1
answer
97
views
When I try to debug using Arduino IDE for stm32 using stm32duino nucleo F767ZI throws error
I am trying to debug using Arduino IDE through STM32Duino for my STM32 Nucleo-144 F767ZI. The code is uploaded successfully, but upon pressing debug, I get this error.
Waiting for gdb server to start....
0
votes
0
answers
78
views
Gross timing error between crystals
Got two boards, getting a stable counter error ratio between the two of ~0.9895 (counted ticks divided by calculated ticks). Is this not a bit too low ? With +/- 50 ppm between the two crystals I was ...
1
vote
1
answer
2k
views
When using LiquidCrystal_I2C.h library, why am I getting "invalid header file" in TinkerCad?
This is a link to the guy that made the project work, it seems that I'm unable to make it work by myself: the project.
What am I doing wrong?
/* DICTIONARY - CC = ConClusion ; */
/* LEGEND - ...
0
votes
1
answer
506
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 ...
-1
votes
1
answer
108
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 ...
0
votes
1
answer
419
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(...
1
vote
2
answers
1k
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 ...
1
vote
0
answers
86
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 ...
4
votes
2
answers
4k
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.
...
3
votes
1
answer
18k
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 ...
2
votes
3
answers
3k
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 ...
-1
votes
1
answer
241
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.
...
1
vote
1
answer
381
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? ...
1
vote
0
answers
302
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)...
-1
votes
1
answer
537
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;
...
1
vote
3
answers
13k
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 ...
1
vote
0
answers
1k
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 ...
5
votes
2
answers
148
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. ...
3
votes
4
answers
39k
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 ...
1
vote
0
answers
467
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 ...
1
vote
0
answers
187
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 ...
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 ...
1
vote
0
answers
154
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 ...
0
votes
1
answer
1k
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>
#...
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 ...
1
vote
4
answers
6k
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 (...
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 &...
1
vote
0
answers
75
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 ...
1
vote
1
answer
447
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
// ...
1
vote
1
answer
168
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 ...
1
vote
1
answer
2k
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 "...
1
vote
0
answers
940
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 ...
1
vote
1
answer
319
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 ...
0
votes
0
answers
375
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. ...
1
vote
2
answers
1k
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 ...
1
vote
0
answers
2k
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 ...
3
votes
2
answers
962
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 ...
-1
votes
1
answer
64
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
...
2
votes
1
answer
114
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 ...
-1
votes
2
answers
7k
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;
...
1
vote
1
answer
149
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 ...
1
vote
1
answer
3k
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 ...
1
vote
0
answers
46
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 ...
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 ...
2
votes
2
answers
5k
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....
0
votes
2
answers
64
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 ...
1
vote
0
answers
272
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 ...
0
votes
1
answer
1k
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....
-1
votes
1
answer
3k
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.
...
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 ...