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
1
vote
0answers
13 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
29 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
76 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
51 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
48 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
0answers
14 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
47 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
62 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
33 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
32 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 ...
2
votes
0answers
49 views

Is this due to the hardware or my code? [closed]

Is this code not working because I have damaged my Arudino Micro Pro, or because the code I wrote is bad? I have only joined PIN 4 and 5 together, yet the circuit seems to think I have connected VCC ...
0
votes
1answer
36 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
42 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
21 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 ...
-1
votes
0answers
48 views

Arduino IDE only changes some fonts!

I am new to Arduino. I really like to customize IDEs ( like a font and a theme ). I normally use Consolas or Jetbrains Mono ( I have installed that ) in my IDEs ( like VS Code, PyCharm, IntelliJ etc. )...
2
votes
1answer
38 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 ...
1
vote
1answer
49 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
841 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
29 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
68 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
48 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
13 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
56 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
16 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
43 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 ...
1
vote
0answers
28 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. ...
1
vote
0answers
23 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 ...
1
vote
0answers
25 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 ...
1
vote
1answer
18 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 ...
1
vote
0answers
50 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
32 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
vote
0answers
26 views

How to export RSSI values from arduino ide to Excel (REAL TIME UPDATE)

i am using esp32 for getting the rssi values from esp 32 using Arduino IDE. MY CODE #include "WiFi.h" void setup() { Serial.begin(115200); // Set WiFi to station mode and disconnect ...
1
vote
0answers
43 views

How to use pins for I2C that is used from other hardware?

I am using ESP32 CAM for one project and I have a sensor that is I2C connected to pins 21 and 22 (default I2C). The sensor is working fine until I turn on the camera. The camera uses this pins (21,22) ...
1
vote
2answers
39 views

Setting float to two decimal places

I'm trying to set my temperature measurements to two decimal places. Currently what I get are six decimal places. Here is my code: #include "math.h" ... (in loop) temp1 = sensors....
1
vote
1answer
189 views

Is it possible to compile and upload code witout the IDE?

I just got started with Arduino, and found out that I need the IDE to compile and upload codes, which works perfectly fine. This is my code: # pragma GCC optimize ("Ofast") char i = 0 ; ...
1
vote
0answers
62 views

Expected initializer before 'myservo' [closed]

Hello i am getting into Arduino and want to get my code tidy. I dont know how but thought by #include "Stepper.h" and "Servo.h" would work. The programm shows it works. But now it ...
1
vote
0answers
20 views

Unable to load the arduino sketch through ISCP/serial interface [closed]

I am unable to load the customized Arduino sketch from one board to another through Arduino ISP or bootloader. I am able to replicate the same through ISCP pins only if the slave board is connected to ...
0
votes
1answer
46 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 ...
1
vote
1answer
74 views

Programming ATtiny85 with Arduino-IDE and an 8MHz external oscillator

I have a digispark ATtiny85 development board and I am using the Arduino IDE to program it along with the Arduino UNO as my hardware programmer. I have successfully burned the fuses for both the ...
0
votes
0answers
14 views

Does the Sparkfun ESP32 Thing is compatible with generic modules like DHT11 sensor?

First of all I am kind of a noob working with microcontrollers, by the way I am using Arduino IDE 1.8.13 I fallowed the hookup guide to set up Arduino IDE to work with Sparkfun ESP 32 Thing board, and ...
0
votes
1answer
100 views

ESP32 millis not working properly

I have a program which measures temperatures every 30 minutes and sends them to a database. Immediately after running the program the first measurement is sent, however, the second (which should be ...
1
vote
0answers
32 views

How to program the joystick button to reset everything?

In this project, I'm making a stickman rush game with a joystick. Where when the joystick moves up and down, the stickman also moves up and down. And there are obstacles, that when the stickman ...
1
vote
1answer
45 views

Are there any Arduino libraries that allow you to upload data directly to PostgreSQL?

Are there any Arduino libraries that allow you to upload data directly to PostgreSQL? I have been turning the internet upside down to answer this question but most of the information is several years ...
1
vote
1answer
85 views

Arduino IDE 1.8.13 won't launch properly

Recently I have been trying to install Arduino IDE 1.8.13, and I have ran into according problem. When trying to launch Arduino IDE with ./arduino command it shows according error: ./arduino: line 35: ...
0
votes
2answers
48 views

Read sd card content(text files) and display it on lcdi2c

i am working for a project based on lifi using arduino and i need to diplay content of sd card to lcd i tried a lot some online programs also i tried but there is a simple blank screen. one of the ...
1
vote
1answer
35 views

int array passed through function has wrong values only after multiple passes

I have this code: for(int i = 0; i < its; i++) { x1 = random(0,4); y1 = random(0,4); multiLamp(new int[2] {3,1}, new int[2] {x1,x2}, new int[2] {y1,y2}, wait, 2); multiLamp(new int[...
1
vote
0answers
48 views

How to completely clear everything from an arduino and print something new?

I'm in progress of making a stickman rush game, Until I hit a bug that I have been stuck on. I want to make a if statement that states "If the stickman and the object are in the same place, clear ...
2
votes
0answers
64 views

How to adjust Partition Scheme Wemos D1 mini pro?

I bought myself a WEMOS D1 mini PRO (16MB) for creating a quite large project. As I'm writing code, my memory is starting to grow. When I looked at the Flash size in Arduino IDE, the only options I ...
1
vote
1answer
37 views

How to print something when a character touches a character

I am making a stickman rush game, where it goes up and down and then there is a object that scrolls to the left. Whenever that stickman touches the object, it prints game over. However when the object ...
0
votes
0answers
39 views

Adding new programmer to Arduino IDE

I want to use the Arduino IDE using a raspberry pi with raspbian OS because it's the only way I can read a Digispark usb (I don't have 2.0 usb ports in my laptop so I can't read the usb with it). I ...

1
2 3 4 5
29