Questions tagged [arduino-ide]
This is for questions about the official IDE. The open-source IDE makes it easy to write code and upload it to any Arduino board. It runs on Windows, macOS and Linux.
1,581 questions
3
votes
0
answers
859
views
How can I connect my ESP32-WROOM-32 to Arduino IDE?
I'm using this 'ESP32-WROOM-32' but I can't find the correct board in the IDE. I see the esp32-wroom-DA (edit, i took it to the store where i bought it and it worked fine with theirs. they were on ...
0
votes
0
answers
52
views
Why are outputs (altitude and vertical velocity) still unstable (goes to negative infinity) after 2d Kalman filtering GY86 data?
I am using MS5611 in GY86 and ESP32 Dev kit to get the vertical velocity and altitude after running a 2d Kalman filter to it. (I modified the code from episode 19 of Carbon Aeronautics drone playlist)....
1
vote
0
answers
116
views
Linker missing using Arduino IDE
I use the Arduino IDE 1.8.5 and it seems the linker disappeared. The error messages are:
arm-none-eabi-g++: warning: {compiler.optimization_flags}: linker input file unused because linking not done\
...
0
votes
1
answer
1k
views
Can't connect esp8266 via USB to Linux Mint 21.1 [duplicate]
What was my problem
I had a big problem with my esp8266. I couldn't upload anything to it using the Arduino IDE 2.2.1, the ttyUSB port couldn't be found.
When I plug my esp8266 into the USB Port, it ...
0
votes
1
answer
771
views
IDE will not upload to ATTiny88
I was successfully compiling sketches and uploading to various MCUs, including the ATTiny88. Suddenly the IDE quit compiling and complained of various missing compilers. I found and corrected an ...
2
votes
1
answer
345
views
We have Arduino IDE code that needs to stop after a set number of "revolutions"
We have Arduino IDE code that oscillates a plate on a lead screw powered by stepper motor to move back and forth.
We have the lead screw move 8 mm in one direction, then 8 mm in the opposite direction,...
4
votes
0
answers
3k
views
Is there a way to use ESP8266 in promiscuous(monitor) mode and see the the wifi packets?
I didn't find much documentation about ESP promiscuous mode (just from the espressif sdk although I'm using ArduinoIDE https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/api-reference/wifi/...
2
votes
1
answer
312
views
Read values from a txt file on an SD card
I'm trying to read a text file (has numeric values) from SD card. The values in the file like this
87 512
255
I need to read 87 in ch1 and 512 in ch2 and 255 in ch3.
Why did I get on 'SKIP_NONE' '...
3
votes
2
answers
1k
views
Upload to ESP32-C3 fails [closed]
I have built a custom circuit board using the ESP32-C3-MINI-1-H4 module (datasheet).
Here is a schematic:
I have the GND, Tx, and Rx lines hooked up to an Arduino Uno without the ATmega. The 3.3 V ...
14
votes
5
answers
32k
views
ESP8266, Arduino IDE vs Lua?
I'm planning to buy an ESP8266. Do I really need to learn Lua to play with it? I have seen some people using it with the standard Arduino IDE.
Do you need a custom firmware to use the Arduino IDE ...
1
vote
1
answer
11k
views
How to install FTDI Serial Drivers on Mac?
I'm following this tutorial on how to install FTDI drivers on macOS, but am facing some issues. After downloading the USB Serial Driver version 2.4.4 (for OS X 10.14) from FTDI Chip's virtual COM port ...
-1
votes
2
answers
183
views
I cannot resolve the errors with attachInterrupt() (error: invalid use of non-static member function) [duplicate]
I have been trying for days to get this code to work, but I cannot find a solution. Can anyone please help me find what I am missing here?
My sketch:
#include <ControlInterrupt.h>
const int ...
-1
votes
1
answer
262
views
Converting raw data of IIS2MDC into angle
I do not know that this is a good place for asking question but I have a 3 axis magnetometer IIS2MDC. I used this with Arduino. I downloaded the library IIS2MDC.h in Arduino IDE. I used example code ...
2
votes
1
answer
747
views
Read binary file on SD card
Why I can't read the last byte in the file when I use the Arduino ide code?
The code in cpp is work without any mistakes.
This is my code on Arduino ide:
vector<unsigned char> text;
unsigned ...
2
votes
1
answer
3k
views
Why is Arduino not visible in MacOS USB port list? [duplicate]
When I connected my Arduino Nano 33 IoT to my 2017 iMac (Ventura OS), the USB port did not show in the Arduino IDE port list, even after double-clicking the Nano reset button to put it in the right ...
3
votes
1
answer
801
views
Errors when trying to connect esp8266 to firebase
hello guys i was trying to connect my project to firebase but got this erorrs:
d:\Kuliah\Mata Kuliah\Internet of Things\Arduino\libraries\FirebaseArduino\src\Firebase.cpp: In member function 'int ...
1
vote
0
answers
606
views
What can be the reason for a Stack canary watchpoint triggered (loopTask) on a https get() command?
I have a program that only do get and post to a controller via an ethernet port. My problem is that after a certain amount of loop in the program, i got this error:
Guru Meditation Error: Core 1 ...
2
votes
1
answer
521
views
ESP8266 seems to be killing a while loop
When i was testing out a program I found a strange behavior of esp8266
It seems to get out of a while loop even when there's no option of getting out on code
I don't know if these are related but here'...
1
vote
1
answer
3k
views
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied Upload error:
I am using arduino-ide2.0.0-beta.7(CLI Version:0.18.3 alpha) on Manjaro Linux and I get this error when uploading sketch to my Arduino Micro:
avrdude: ser_open(): can't open device "/dev/ttyACM0&...
0
votes
1
answer
470
views
LED doesn't completely turn off with digitalWrite(led, LOW);
When I was testing out a program I found a strange behavior of ESP8266.
LEDs don't turn off completely in the first digitalWrite(led, LOW), just the brightness of the LED goes down, but it does turn ...
-1
votes
1
answer
437
views
Problem with ESP32 bluetooth [closed]
I am trying to connect ESP32 via bluetooth classic to my PC to transfer some data from a sensor.
As a first step, I am simply trying to send some random data over bluetooth serial. The code is at ...
2
votes
1
answer
2k
views
Nema 17 stepper motor speed problem
This code is quoted from here. May I know how to increase the speed of the NEMA 17 stepper motor further? I tried to increase the step speed to 2000rpm but it does not even work. It only works for ...
0
votes
0
answers
321
views
Raspberry pi pico I2S work on byte by byte transfer but not on buffer read writes
I'm using a raspberry pi pico W and testing audio loopback (microphone to speaker in a loop) using INMP441 microphone and MAX98357 amp board.
Followed functions from this page https://arduino-pico....
4
votes
0
answers
157
views
Arduino IDE v 2.2.1 log file not limited in size (on Ubuntu 23.04)
I was learning/building with a new Arduino Nano ESP32 yesterday and left the Arduino IDE running overnight on Ubuntu 23.04 and it used all the space on my hard drive to write log files which broke my ...
1
vote
1
answer
2k
views
ESP32 Partition size and maximum program size
From an ESP32 example code, I extracted the following part, that just prints the flash partition list to the console.
#include <string.h>
#include <assert.h>
#include "esp_partition.h&...