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,580 questions
4
votes
1
answer
299
views
Arduino IDE formatting quirk with nested lists
For an Arduino LED animation project I have been working on an editor tool using HTML and javascript. After setting up various things, the tool enables generating C++ code to paste into an Arduino ...
0
votes
1
answer
44
views
Is there a c++ library for the GitHub API and Arduino compatible?
I'm logging some data using an ESP32 board, and I need the data logged to be uploaded from the ESP32 to one of my repositories on GitHub.
Are there any C++ libraries for the GitHub API compatible with ...
0
votes
2
answers
69
views
How to instantiate a 2nd serial port on STM32 Nucleo-C092RC
I am trying to use two serial ports on the STM32 Nucleo-C092RC, but the 2nd serial port (i.e. USART1) is completely silent (USART2 is the default serial port used by STLink/VCP/USB on the C092RC).
No ...
0
votes
1
answer
80
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
1
answer
52
views
Problems reading WNK811 i2c sensor on arduino using wire library without device library
I am trying to read a WNK811 pressure sensor connected by i2c to an STM32 Nucleo F401RE, programmed as arduino. The WNK811 is a Chinese device, the device datasheet is highly minimal (inadequate in my ...
0
votes
0
answers
35
views
Reassigning GPIOs 6-11 on a 30 pin ESP Wroom 32
I am trying to wire up the ESP 32 based Crunch-E keychain synth (gituhub repo with wiring diagram here).
In my case I am using a 30 pin ESP Wroom 32 board with pinout diagram here.
The Crunch-E wiring ...
-1
votes
1
answer
209
views
Error in Compiling for Seeed Xiao nRF52840 [closed]
I am using Arduino IDE 2.3.4 to program a XIAO nRF52840 Sense. I added the board using the instructions on the official getting started page.
After installing the board in Arduino IDE, I open up the ...
2
votes
0
answers
89
views
Arduino libraries in Atmel Studio, importing INO and building core for DUE
Is there a simple way to use the Arduino libraries in Atmel Studio 6 or 7? Already tried it with include path but thats a never-ending story. Looking for a precompiled .a file for the Arduino Due so I ...
0
votes
1
answer
111
views
New Freak UI @Arduino IDE v2.3.6 - 2025/05/21
This shXt stop after I turn off the power, and bring Notebook back to home. @@"?
No any configuratin changed, just power NB off and on.
How this shXt happened, and how it solved !? No idea...
...
0
votes
2
answers
138
views
LED Matrix for Arduino R4 Wi-Fi specific functions
I'm searching for the path and the source code for the builtin (I think) function, name is: renderBitmap().
This function appears as a member of the ArduinoLEDMatrix class but its name doesn't appear ...
1
vote
0
answers
76
views
Configuring the colors of the IDE
I do not like the dark theme at all and I set the Light theme, but the output background color is still black. I know that somewhere there is a file where it is possible to tweak the colors, but I ...
1
vote
1
answer
155
views
ESP32-S3 Does not read BME680 Data
I build a PCB using ESP32-S3-WROOM-1-N16R2 Controller. I programmed a BME680 sensor with this MCU. My pinouts are,
BME_SCK 38
BME_MISO 19
BME_MOSI 15
BME_CS 5
This is my Arduino code,
#include <...
0
votes
1
answer
86
views
ATTiny85 PWM on PB2 not working - only on/off, no fade
I have a custom ATTiny85 PCB with LEDs connected to GPIOs (PB0-4) through current-limiting resistors. All ports fade LEDs smoothly except PB2, which only switches on/off with no intermediate states.
...
1
vote
0
answers
76
views
SB Components Micro RP2040 and ST7789 2.4 TFT LCD SPI display not working together using any library
I have a Micro RP2040 board from SB Components. Link to this product
With this I also have a 2.4 inch SPI TFT LCD screen with an ST7789 controller Link to the screen, it's on that page just scroll ...
0
votes
1
answer
558
views
How Can I Get My ESP32 to Work with a 3.5-inch ILI9486-Based RPi Display Using SPI in Arduino IDE?
I'm working on a project where I need to connect my ESP32 (WROOM) to a 3.5-inch, 480x320 resolution LCD designed for the Raspberry Pi, which uses the ILI9486 driver (as suggested by the lcd wiki). I’m ...
-1
votes
1
answer
92
views
Can't connect to Arduino Nano 33 BLE while MicroPython file is running
I am using a Arduino Nano 33 BLE and I'm using MicroPython to write code for my board using Arduino Lab for MicroPython. I uploaded a file with the name main.py to my Arduino to test if it would work ...
-2
votes
1
answer
815
views
ESP32 TFT_eSPI 8-bit Parallel Compile Error
I am compiling TFT_eSPI library for Arduino ESP32 in 8 bit parallel mode, When I Compile it in SPI mode then no error occurs, but when I select 8-bit parallel mode in User Setup File, then it shows ...
0
votes
1
answer
347
views
Not able to control servo motor using ESP32 board when RGB LED is used
I'm new in using ESP32 boards. For some reasons, the servo motor is not working when RGB LED code is used. I have looked everywhere and I did not see any solution for this. Any help is appreciated.
...
0
votes
1
answer
215
views
Trouble Programming ATTINY1616 with Arduino Nano via UPDI: No Communication
I'm trying to program a board I designed with an ATTINY1616. The schematic is shown in the photo. I'm trying to connect an Arduino Nano. +5V and GND are shared, while the UPDI pin is connected to the ...
0
votes
3
answers
508
views
ESP32 Partition size and maximum program size #2
re. ESP32 Partition size and maximum program size
Further to the above issue:
The above is a neat little program. However, is there any way I can reference/extract the "app0” “partition->...
0
votes
1
answer
121
views
How do I install Firmata so I can access it through the IDE on a computer that doesn't have internet access?
I recently installed arduino 2.3.2 IDE on to a computer without internet access, however, the Firmata library I had been using on the original computer which was the one I transferred the arduino15 ...
0
votes
2
answers
777
views
Arduino IDE Failing to Compile Any Sketches
OS: Windows 11
Arduino IDE Version: 2.3.2
I recently opened up my Arduino IDE to find that nothing--absolutely nothing--would compile. Whenever I tried, I got the following error message:
Using board '...
0
votes
1
answer
1k
views
UNO R4, cannot open dfu device
New UNO R4 Minima, Aduino IDE 2.3.2 AppImage, Linux Fedora 40
Blink example compiles, but fails to upload. Tried swapping cables, ports, rebooted, reset twice fails to produce a dfu port.
Here are ...
1
vote
0
answers
120
views
ESP32-S3 Stuck at a Crash and Not Auto Resetting
Given below is a short version of the Arduino code I used to program ESP32-S3. On some occasions the program crashes and unlike normal crashes this one get stuck there without Auto-resetting
static ...
0
votes
1
answer
104
views
Where to find microcontroller settings in Arduino 2.x IDE
I'm using a wrapper (https://github.com/HenniePeters/ArduinoStarter) to start the Arduino 1.8.19 IDE.
Sometimes when I haven't worked on a project, I just forget the settings to make the compiler work....
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)....
0
votes
0
answers
98
views
Why can my computer not see my Arduino Uno?
I've plugged my ELEGOO Uno R3 into a USB port on my computer with a USB cable. However, neither Arduino IDE nor my computer can see the device. When the Uno is connected, it shows no connected devices....
0
votes
0
answers
59
views
Arduino fails to upload Elegoo Uno R3 (resp=0x73) [duplicate]
I have an issue uploading the program to Elegoo UNO R3. Here is what I have tried:
I tested 2 Elegoo UNO R3 boards, but both Elegoo Uno R3 do not work. Arduino IDE found the board and stated the ...
0
votes
1
answer
119
views
Error: void value not ignored as it ought to be done = radio.read(&Irms, sizeof(float));
Good morning everyone, I had this sketch that worked now when loading the program gives me an error:
#include <Wire.h>
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
...
0
votes
1
answer
123
views
Arduino Cloud Editor doesn't work on ChromeOS
https://www.arduino.cc updated their web-based IDE this week, and now the IDE does not recognize my Pitsco PRIZM Robotic controllers on ChromeOS. I cannot find a generic "Board" device to ...
0
votes
1
answer
197
views
deserializeJson() failed: NoMemory when sending Serial json using ArduinoJson
Hey all I have a sketch that takes up 99% of my storage space since I am using a Arduino Nano.
Although everything in my code fits as-is, there seems to be an issue with me sending a json string over ...
1
vote
0
answers
117
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\
...
3
votes
1
answer
2k
views
Chrome-sandbox error in Arduino IDE 2.3 in Ubuntu 24.04
I'm trying to setup an installation of the IDE 2.3 in a Ubuntu 24.04 LTS (beta) environment, and am facing an issue I'm unable to resolve. The IDE gets to the GUI for accepting terms and conditions, ...
1
vote
0
answers
722
views
Can't upload to nano esp32
Recently bought a nano esp32 to play around with the small size and wifi module. However I'm plagued by the No DFU capable USB device available message.
My efforts and deductions:
I can connect to ...
0
votes
1
answer
214
views
Arduino_DebugUtils.h: No such file or directory
How to get rid of this error?
/storage/emulated/0/ArduinoDroid/userlibraries/Arduino_ConnectionHandler/src/Arduino_ConnectionHandler.h:26:34: fatal error: Arduino_DebugUtils.h: No such file or ...
1
vote
0
answers
201
views
Issue with multiple RC522s connected to Arduino Uno
THIS IS NOT A DUPLICATE QUESTION. My main problem is that whenever I
attach the third RC522, the whole system becomes unstable. When I
attach the fourth, suddenly one or two of the modules stop ...
-1
votes
2
answers
110
views
Removing the L from F_CPU in assembly
I am developing a mixed c++ /asm project.
In the asm I am using F_CPU to do some busy waiting as follows. However, by default, the F_CPU is defined with a trailing L (for long). The asm is not able to ...
3
votes
0
answers
1k
views
How to use C++20 in Arduino IDE?
I'm writing a program for esp32 using the Arduino IDE that needs to count the number of '1' bits in a byte.
I found a post elsewhere that says there's a nice function in the standard library to do it: ...
0
votes
1
answer
546
views
Code for ST7789 NO CS pin - Using XIAO ESP32C3
I am trying to get anything out of this screen except for blackness. The CS pin is present based on the coupling or resistors and capacitors on the back of the display.
I have tried using the Arduino ...
-1
votes
2
answers
184
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 ...
2
votes
3
answers
897
views
Importing content of text file as string into Arduino code
Is there any macro for importing the content of a file (for example html code) located in the sketch folder as a string for the Arduino IDE during compilation time?
-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 ...
3
votes
0
answers
861
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 ...
2
votes
2
answers
2k
views
ESP32 SPI Mutual Communication
I have two ESP32 cards. I want to set one of these cards as Master and the other as Slave and communicate via SPI. I have done this before on Arduino Uno, but I cannot do this on ESP32.
Below are my ...
0
votes
1
answer
303
views
Feather M0 doesn't show up as a COM or Serial port
I am trying to upload a simple blink program on my Adafruit Feather M0 Radio with LoRa Radio Module to ensure that it connects to my PC. So far, I have:
Gone through 4 data cables
Tested for ...
0
votes
0
answers
136
views
Configure CA to connect to server with Ethernet
I'm using Ethernet module ENC28J60 with ESP32 on Arduino IDE.
I could establish a secure connection using WifiClientSecure.h
here code
#include <Arduino.h>
#include <WiFi.h>
#include <...
-1
votes
2
answers
77
views
Having an issue conveying array values properly
this is my first time asking a question here, sorry in advance if this is a poor way to ask this question.
I'm at an intermediary point in coding a program, and at this stage I'd like my byte ...
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
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
0
answers
2k
views
esptool.py error Cannot configure port, something went wrong. PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
When trying to upload my firmware to an ESP8266 board using Arduino IDE 2.2.1 I get
A fatal esptool.py error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13,...