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.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Cannot upload Arduino Sketch to Feather board [closed]

I have reinstalled the IDE v1.8.13 and have restarted computer several times. The code will compile, but will not upload. Here are the errors generated (both verbose compilation options have been ...
1
vote
0answers
34 views

Flash HEX onto an Arduino board

The scenario: I have built a device off an Adafruit nRF52840 and I need a way to deploy firmware updates. I have delivered the device to my end user and will need to periodically send him updates. I ...
0
votes
1answer
30 views

Mini Arducam module camera shield - 2MP ov2640 interface with Arduino Uno

MINI ARDUCAM MODULE CAMERA SHIELD - 2MP OV2640 Arducam Multi-camera adapter board for Arduino SPI Mini Camera I have the above two components with me along with ARDUINO UNO R3. I want to stream video ...
2
votes
0answers
38 views

Extract Static Acceleration from MPU6050 using Formula

I am trying to implement a research paper for my project and there is a formula which I am failing to interpret: According to the research paper, we extract the static acceleration component for each ...
1
vote
0answers
31 views

Obfuscate string with on SAMD21

I'am looking for a way to obfuscate string at compile time on my personal board build with an SAMD21, i'am using Arduino IDE to compile and upload code. All solution I've found like this one for ...
1
vote
0answers
42 views

Arduino IDE 1.8.15 won't open

I was using Arduino IDE 1.8.13 but didn't open for a few week and now I can't launch the IDE and any of the sketch. I uninstall it and downloaded the latest version 1.8.15 but it still poses the same ...
1
vote
0answers
49 views

ESP8266 MCU not clearing memory?

I am still new at this. Using Arduino IDE My MCU was working as a web server with HTML code on SD card using the Webserver sketch. After trying to include other inputs it stopped working with "...
2
votes
1answer
70 views

ArduinoJson library parsing error

I am trying to retrieve JSON mqtt message I received in ESP32. void mqttMsgCallback(char* topic, byte* payload, unsigned int length) { payload[length] = '\0'; String _message = String((char*)...
2
votes
1answer
72 views

Using MAX30100 SpO2 value to turn on LED

max30100 i2c sensor gives heartrate and spo2 reading in serial and also can show values in lcd display. I want to show it's indication via LED. If SpO2 value <94 , it will turn on Red led in ...
0
votes
1answer
58 views

Where is the Arduino IDE boards.txt file for Nano Every located?

My Arduino Nano Every runs at 16Mhz (but the 4809 can support internal 20Mhz). I know it may be possible to alter the boards.txt file and set it to build for 20Mhz. However, I can't find the boards....
1
vote
1answer
50 views

Program ATTiny85 running at 16 KILOhertz

I set the fuses of my attiny85 so it uses the internal 128khz clock, prescaled so it is 16kHz. I set the CKOUT fuse too so I can check the clock using an oscilloscope on pin 3 and yes it is 16kHz. Now ...
1
vote
0answers
16 views

ESP32 SerialBluetooth disconnects within a second after connecting but not BLEDevice/BLEServer

Code using BluetoothSerial api disconnects immediately after establishing connection with my laptop running Ubuntu 18.04. If instead of BluetoothSerial BLEDevice api is used, the connection stays ...
0
votes
0answers
118 views

Detecting short pulses at the analog input of arduino [closed]

I need to detect the recording using arduino. This is the signal from the remote control. I am receiving a signal from the WL101-341 radio module Such a signal is fed to the analog input of the ...
1
vote
3answers
85 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 ...
0
votes
0answers
77 views

Control relays with ESP8226 WIFI module and Arduino Uno [closed]

I am new with Arduino and I am using an Arduino Uno, could someone help me make this code work or tell me what's wrong with it? I am trying to control relays with ESP8226 WIFI module and Arduino This ...
7
votes
3answers
2k views

Arduino and fingerprint scanner - can I get the fingerprint scanner data?

I am currently planning a thesis that involve scanning fingerprints and storing the data in a database. The problem is that I do not know if it is possible for me/us to get the fingerprint data or ...
3
votes
0answers
35 views

SD Card Initialization Failed, cannot add inactive module

Just to preface I am not that great at coding or anything and I am currently building sensors off of Oregon State University's Smart Rock sensor code, so the code I am being used is not mine. I am ...
1
vote
0answers
30 views

Unable to import the libraries correctly [duplicate]

I am trying to use the Arduino IDE 1.8.15 to program my Arduino. When I download the following code along with the libraries from the same link: https://github.com/SolidGeek/VescUart and using the ...
1
vote
2answers
86 views

Error compiling ESP32 Wrover Module in Linux Virtual Machine

SO i have been getting this error window when i compile a simple code to run different LED lights on the ESP32-S2-SOLA (Wrovere) module Code: int LED_BUILTIN = 2; void setup() { pinMode (...
2
votes
1answer
246 views

ATMega4809 via Nano Every marked as 20Mhz, but does this confirm it is actually at 16Mhz?

If you go to the official Arduino Nano Every page and click the Tech Specs tab, you'll see that it lists it as running at 20Mhz. Turn On Verbose Compile However, if you go into the Arduino IDE and go ...
0
votes
2answers
92 views

Why float and not 16-bit Integer? Mpu6050 with atmega328P

I've been trying to follow this example code for interfacing my atmega328P with Mpu6050: https://www.instructables.com/Accelerometer-MPU-6050-Communication-With-AVR-MCU/ And was wondering a couple of ...
2
votes
0answers
20 views

Getting Arduino 1.0.x to run on Guix: error: expected initializer before ‘_GLIBCXX_NORETURN’, error: ‘std::abort’ has not been declared, etc

I'm looking to get arduino 1.0.x to work on my Mint/Guix hybrid box in order to hack around with 3D printer firmware. Unfortunately I can't get the stock void setup () {} void loop () {} to compile. I ...
1
vote
0answers
136 views

ESP32 doesn't connect to Arduino. | could not open port 'COM2': WindowsError(5, 'Access is denied.')

ERROR: serial.serialutil.SerialException: could not open port 'COM2': WindowsError(5, 'Access is denied.') I've tried literally everything. Drives checks out! | Silicon Labs CP210x USB to UART ...
2
votes
1answer
132 views

Is it possible to read multiple buttons with the CD74HC4067?

I am working on a project with a claw machine. I am working on this chip (CD4067BE which is equivalent to the CD74HC4067) and I was wondering: can I read more than one button with the CD4067? I tried ...
1
vote
1answer
165 views

invalid conversion from 'char' to 'const char*' [-fpermissive] on a string

I am compiling some code I didn't write, and it bombs out with the error message invalid conversion from 'char' to 'const char*' [-fpermissive] on the line if (loginPassword == '\0') loginPassword = &...
0
votes
1answer
152 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&...
1
vote
0answers
83 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&...
3
votes
1answer
56 views

Recover .ino file from tmp files?

Is it possible to recover an .ino file/sketch in/for Arduino? I really need my file back, but ones i uploaded it to my device it vanished from the sketch folder, nor can I find it in the build folder; ...
1
vote
1answer
69 views

I have a problem with this code where the buzzer won't work

const int buzzerPin = 7; const int flamePin = 10; int Flame = HIGH; int redled = 8; void setup() { pinMode(buzzerPin, OUTPUT); pinMode(redled, OUTPUT); pinMode(flamePin, INPUT); Serial.begin(...
1
vote
0answers
34 views

Has anyone had issues when trying to download the "CE_ARDUINO_LIB" from Github?

Hello all: I am very new to all of this and suspect that I am doing something wrong. I try to download the library using the IDE (Version 1.8.15) and get the error messageArduino: 1.8.15 (Windows ...
1
vote
1answer
74 views

How can I add an additional temperature sensor (EZO RTD of Atlas Scientific) to an Atlas Scientific bare-bones wifi pool kit?

Problem summary When I changed the I2C address of a sensor (EZO RTD) to another address (e.g., 50 or 100) from its default address (102), it didn't work on my Atlas Scientific bare-bones WiFi ...
0
votes
1answer
38 views

Where are the programatic definitions for different processors stored?

I need to modify an existing library that relies on being able to detrmine what board / processor the code is being run on. To do this, it uses definitions such as this for an Arduino Mega: // Arduino ...
0
votes
1answer
47 views

Send Request With NODEMCU When A Key Press

Hi there I want to send a request to the server with get method with URL parameters, when a key is pressed with nodemcu. But I Can't Do This Work, I Got the Below Error From Serial Monitor: I Get This ...
1
vote
0answers
23 views

Cannot instantiate SLIPSerial object used in OSC/SLIPSerial classes for Arduino

Hey I'm trying to test out the CMAT/OSC library for Arduino and just want to get up and running sending SLIP encoded OSC messages. I've been able to observe the typical Serial monitor when sending OSC ...
2
votes
1answer
44 views

Conditional compilation depending on sizeof(double)

Is there a macro (#define ...) somewhere in the bowels of Arduino IDE or core header files which tells me at compile time(!), if the double data type for a given platform/board is a true double ...
2
votes
1answer
153 views

Greyed out port for Raspberry pico in Arduino IDE - Ubuntu 20.04

I'm trying to figure out how to program my new Raspberry Pico with Arduino, but don't see a port to select so I can't upload the blink sketch. Here's what I've done: The Pico is working, I can ...
1
vote
4answers
846 views

Where is all of the Arduino Documentation?

Aside from the main website, I have noticed that it is hard to find documentation for specific Arduino add-ons, such as (This is just one example): https://www.amazon.com/gp/product/B00OGYXN8C/ref=...
1
vote
0answers
33 views

How to name the temperature sensors instead of printing address using ds2482-100 and ds18b20 sensor- Help

I am using 10 ds18b20 Temperature sensors using with "DS2482-100" I2C board and Arduino so when I am getting the output like this:- "ROM = 28 46 04 1F 0D 00 00 74 96014B467FFF0A100A 25....
3
votes
2answers
203 views

Code for ESP32 without Development Board

I'm very new to microcontrollers. I'd like to start developing for the esp32, as it has integrated wifi & bluetooth for quite cheap. This being said, i don't have a board yet. Is there a way i can ...
1
vote
0answers
52 views

ESP32-DEV is connected to Wifi but not working properly

Hardware: Board ESP32 Dev Module Version/Date today's master IDE name Arduino IDE Flash Frequency 80Mhz PSRAM enabled no Upload Speed 115200 Computer OS Windows 10 Description: I am doing a project ...
1
vote
0answers
32 views

Problem with ESP32 bluetooth

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
0answers
228 views

MacOS BigSur Arduino IDE No Ports Shown

I'm trying to get the Arduino IDE (1.8.13) installed on MacOS BigSur 11.0.1 and am unable to compile and run an Arduino sketch. There are no ports available in 'Tool' menu; the port item is grayed out....
1
vote
0answers
23 views

Arduino MKR GSM 1400 project - Establish call - Wait and hang call

I am implementing a GSM project using the Arduino MKR 1400 GSM board and I would like to achieve the following: Establish a call to a specific number, wait for a certain amount of seconds and then hag ...
1
vote
1answer
61 views

StoreProhibited error while trying to read file to PROGMEM

I'm trying to read a file from micro SD on an ESP32-cam board and upload to an FTP server, but when I try to read data from the opened file to an unsigned char, it gives me the following error: Guru ...
2
votes
0answers
30 views

Data output , ds18b20 , lcd1602 , yl-69, dht11

Good afternoon, I wonder if you could help me. I have the code but the data from the sensors is not correct. Perhaps there are some errors, could you fix them? I apologise for my inaccurate statement. ...
2
votes
0answers
26 views

What is wrong with my code? (HC-SR04 using 433 mhz module);

I asked a question about this last time but I still couldn't make it work but it somehow gave me an overview about my project. Now I've created an another project that is similar to the last one, the ...
2
votes
0answers
28 views

Accessing start up bits of SRAM from MicroBit for PUF

https://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.4.pdf The aim is to extract (output in serial monitor) the start up bits from the SRAM of this microbit which is located at memory address ...
2
votes
1answer
20 views

How do I get sensor values using transmitter and reciever

I used an HC-SR04 sensor and connected it to an arduino board (BOARD1) with a 433 mhz transmitter and the other board (BOARD2) is connected to the 433 mhz receiver but I don't know how to see the ...
2
votes
0answers
73 views

Servo motor won't work for a specific code

I have written a code with interrupts to control the servo but my servos are not working. One is meant to work with interrupt but the other one has to simply move but it is also not working. Even the ...
1
vote
0answers
43 views

Stm32 Blue Pill Internal reference voltage Arduino IDE

I want to use the internal reference voltage (1.2V) of stm32f103 blue pill using Arduino IDE. I searched the whole internet but couldn't find anything. I need help with this. Thanks.

1
2 3 4 5
29