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
4
votes
1
answer
282
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
71
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
49
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
2
answers
137
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 ...
0
votes
0
answers
34
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
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
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 ...
104
votes
9
answers
272k
views
C++ vs. The Arduino Language?
What are the advantages of each language when using the Arduino?
I'm thinking this is a good general question, but I'll add a bit about why I'm asking if anyone wants to give me a tip.
I'm ...
0
votes
1
answer
542
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 ...
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
3
answers
499
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
82
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.
...
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
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
119
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 ...
1
vote
0
answers
714
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
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/...
2
votes
3
answers
891
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?
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 ...
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 ...
2
votes
2
answers
6k
views
How to use Interrupt in Arduino to receive the data from Serial Input
Currently i have a project that forced me to make a program that receives several data from Serial Input using Interrupt in Arduino. I use Arduino as the receiver and ESP32 as the sender through ...
5
votes
0
answers
960
views
Internet in ESP32 is not working with IPv6
I am using ESP-WROOM-32D in STA mode with Arduino IDE(2.0.5) ESP32 board(2.0.9).
I am trying to do http post request with ESP32. Router that provides internet supports only IPv6.
Here I am getting ...
0
votes
0
answers
97
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....
1
vote
0
answers
199
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
109
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 ...