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
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 ...
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....
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 ...
1
vote
1
answer
415
views
How to find the time of any point on the graph on an Arduino serial plotter or Processing software?
I am plotting the graph of some sensor values on my Arduino serial plotter which looks something like this -
But what I want to do is hover over any point on the graph and display the time at that ...
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 ...
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 <...
2
votes
1
answer
169
views
Can I flash hoodloader2 or HEX files on Arduino Simulators?
I want to make a HID Keyboard out of Arduino UNO, in UNO board the script runs perfectly fine, but the UNO board requires me to flash it every-time I want to put in a new script in it, so can I do the ...
0
votes
2
answers
9k
views
The port is not recognized when working with esp32 in arduino ide 2.2.1 (windows 11 home edition)
I'm trying to program the ESP32 board with Arduino IDE.
But The port it's not recogniized when working with esp32 in arduino ide 2.2.1.
After some research I found that the port is not recognized by ...
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 ...
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 ...
-1
votes
1
answer
210
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 ...
3
votes
3
answers
3k
views
How to create a 1-hour timer with an ATtiny13A microcontroller?
I want to control an AC load such that it powers on for 1 minute, then turns off for 1 hour, then on again for 1 min, and so on, in a loop.
I just modified the blink sketch to do:
Turn A1 on
Then ...
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
3
answers
659
views
How to capture the compilaton output to a text file in Windows?
I am trying to capture the verbose output of the compilation to get it into a text file. I am using the IDE 1.8.12 running on Windows 10. I have tried looking for a right mouse button context menu, ...
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
0
answers
1k
views
ESP32 WROOM32E w/ Arduino IDE 2axis joystick - how do I get a good reading?
How do I get the full range of motion from an analog joystick and the ESP32 WROOM32E using the Arduino IDE with esp-idf installed?
Using a 2 axis analog joystick, the 5v/3.3v pin, ground pin and the ...
10
votes
1
answer
15k
views
How to simply close a tab?
How can one close a tab in the Arduino IDE? There is a Tab button (little triangle) with the Option "Delete"(kind of misleading term). There is no "Close" option. And 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>
...
2
votes
1
answer
1k
views
Is it possible to save and restore the Arduino IDE "Tools" settings somehow?
I'm using quite a few different types of microcontrollers with the Arduino IDE (v 1.8.19). Several AVR-based boards, but also ESP32 and Arduino Due. Particularly the newer boards have a quite long set ...
6
votes
2
answers
7k
views
Tone() conflicts with IRremote library (multiple definition of `__vector_7')
I have just started with Arduino and C++ so I apologise if my question is very basic.
I am trying to use tone() with a passive buzzer to create a sound while also using the IRremote library for a ...
3
votes
5
answers
26k
views
Digispark Serial Port Communication
I am using Digispark ATTiny85 and i need to send and receive data through the serial port of my computer.
Does anyone have an idea as to how do i proceed with sending STRINGS and NUMBERS through the ...
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
vote
2
answers
294
views
Two sensors using I2C
We have two sensor one of them(MPU6050-gyro) is communicating using I2C, the other is via SPI(SD card reader). Now, we need an additional component as a sensor that the barometer which communicates ...
0
votes
2
answers
1k
views
LoRa Ra-02 Module begin and beginPacket not working in Arduino Nano
Here there, recently I am testing Lora Ra-02 module I saw many videos and it is easy to set up, according to this schematic:
LoRa SX1278 Module-----Arduino Nano Board
3.3V-------
Gnd---------Gnd
En/...
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
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
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 ...
1
vote
2
answers
4k
views
ESP8266 - Error: unknown opcode or format name 'jmp'
I bought a nodeMCU 8266 and I'm hoping that it can replace my bulkier UNO+WiFi 101.
I'm getting an error when I compile:
Error: unknown opcode or format name 'jmp'
I'm using it in void SoftReset() ...
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.
...
-2
votes
1
answer
821
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 ...
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
3
answers
6k
views
Servos: attach() and write()
Arduino newbie here, so this question might sound too simple. I am trying to run a parallax continuous rotation servo using Arduino Uno. From the reference, I learned that the servo needs to be "...
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->...
-2
votes
3
answers
1k
views
To control the relay switching in nextion using esp32 Microcontroller
I have developed the code to control the relay switching on/off using nextion display and esp32. But whenever I press my dual state button in the nextion display there is some delay and I need to ...
0
votes
1
answer
1k
views
LED does not blink - Arduino UNO+WiFi R3 ATmega328P+ESP8266 board
As I am learning the Arduino coding, I want to see if my program can turn on the LED light. I have tried all the things, but the code does not start the LED light I have installed on the board.
The ...
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
1
answer
556
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 ...
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 '...
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&...
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 ...
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)....
2
votes
0
answers
216
views
Can't flash my nodemcu esp8266
I wanted to flash my Nodemcu esp8266 v3.4 with esp8266 deauther code: script-github.
I did everything said. First I plugged in my nodemcu. Windows detected it and drivers for ch340 where already ...
1
vote
1
answer
491
views
Sketch Upload to LinkIt ONE Timeout
I've just bought a new LinkIt ONE IoT prototyping board, and I'm having trouble getting started with it.
I'm working on a mac. I've installed the LinkIt ONE SDK onto my Arduino IDE as specified in ...
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....
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
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 ...