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, Mac OS X, and Linux.

241 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
582 views

Using CLion as Arduino IDE — Cannot find Libraries

I'm having a problem using CLion as Arduino IDE when integrating 3rd-party libraries: Here is the CMakeList.txt cmake_minimum_required(VERSION 2.8.4) set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/...
3
votes
1answer
12k views

Manual Arduino Due Installation

Not sure if this is the right place to post this. I have an Arduino Due I'd like to start using. I've been using Unos, Megas etc no problem. The newer IDEs have removed the Due support. I've been ...
2
votes
0answers
47 views

Why does Arduino IDE take so long to open?

I have Arduino IDE, version 1.8.10 (Windows 10 x64, 8GB RAM, i5-7200 @2.5GHz) on a network drive mapped to D:, on a 100Mbit wired network and fast file server. If I navigate to the network shared ...
2
votes
0answers
713 views

Unable to upload sketch using Platformio (but Arduino IDE works)

I am using an Arduino Nano (Clone) which I was programming with the Arduino IDE (Version 1.8.5 on Mac OS X 10.10.5). Using the Arduino IDE I need to re-plug the Nano before uploading, but after doing ...
2
votes
0answers
300 views

Prevent Arduino IDE from rebuilding the core library after every restart

I have an Arduino IDE 1.8.5 setup (installed from the ZIP file) which I use to work exclusively with a single board. Every time the IDE is restarted, the first compilation takes much longer than ...
2
votes
1answer
732 views

Making two Arduinos/MKR1000 communicate

I am trying to create a project in my free time just for a bit of fun - it consists of two MKR1000 (one acting as a web server connected to one laptop, and the other acting as a web client connected ...
2
votes
0answers
1k views

Read string from DigiUSB

I wrote simple code for my Digispark (Attiny85 with Micronucleus bootloader) in Arduino IDE: #include <DigiUSB.h> String inst; void setup() { DigiUSB.begin(); pinMode(1, OUTPUT); } void ...
2
votes
0answers
2k views

How to save data to SD card using Memory Shield Module SPI

I am trying to save some data to the SD card using the memory shield module that I read from HC-SR04 Ultrasonic Module. The data that gets printed indicates error. This is how my SD card module is ...
2
votes
0answers
283 views

Arduino IDE programs Leonardo but cannot open serial terminal

I'm using Arduino: 1.6.7 (Mac OS X 10.11.3), Board: "Arduino Leonardo". When I try to program my code, it works without problems. When I want to open the built-in Serial Monitor or Serial Plotter, ...
2
votes
1answer
741 views

Unable to upload sketch after bootloader has been flashed on Arduino Micro

I have created my own custom Arduino Micro, but I am experiencing problems when I attempt to upload an sketch via USB in Arduino IDE. Here is how I program the Arduino Micro: avrdude -c ...
2
votes
1answer
3k views

Running two stepper motors with two rotary encoders

I'm really bad with this coding part of using two rotary encoders to control two stepper motors [using 28BYJ-48 stepper motor with the ULN2003 board]. This code works fine using one rotary encoder for ...
1
vote
0answers
36 views

Use Arduino Libraries in PlatformIO?

I'd like to use Arduino libraries installed in C:\Users\Username\Documents\Arduino\libraries in a PlatformIO project. Is it possible? if so, how?
1
vote
0answers
130 views

reference to 'File' is ambiguous. Why am I getting this error?

The program is supposed to take photo and store the picture into the SD card with the timestamp. My Program Code: #include <SdFat.h> #include <Adafruit_VC0706.h> #include <SPI.h> #...
1
vote
0answers
253 views

error compiling for board node MCU 1.0

Arduino: 1.8.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" In file included from C:\Users\Priyaranjan Tiwari\Documents\Arduino\007mcu_php\007mcu_php....
1
vote
0answers
41 views

Can't get MMC3416xPJ to work

I needed a magnetometer with a high Output Data Rate (ODR). This is because I wanted to measure AC magnetic fields of around 20-80 Hz. So I decided to go with the MMC3416xPJ prototyping board which ...
1
vote
0answers
36 views

How to do Led blink with each port, using stm32 boards and adruino

I am completely new to this and willing to do a simple task using stm32f103c8t6 board, which is "led blink". Using ArduinoIDE and a simple circuit as shown in the picture, everything goes fine on ...
1
vote
0answers
121 views

Arduino IDE - debugging Exception 29

I installed the ESP EXCEPTION DECODER along with my Arduino IDE. When my sketch crashes with Exception 29, I take the stack trace and input it, but I can't understand its line references (they dont ...
1
vote
0answers
300 views

Installing Arduino IDE in the new Ubuntu Disco Dingo

I tried installing the Arduino IDE in the newly released Ubuntu 19.04 Disco Dingo. I downloaded the file from the official downloads page. I chmod +x ed the file and ran the install script. Then, it ...
1
vote
0answers
383 views

Arduino HTTP post image to external server

I'm trying to send an image from SPIFFS to my external server. When pictures are taken, they are saved into "/pics/" directory within SPIFFS. Ultimately, I'd like to post all the images saved onto "/...
1
vote
0answers
85 views

Clock cycle count count for the same command is not equal in ESP32

I am using ESP32 Pico Kit with Arduino Ide. I want to measure operation cycle for a few commands. The code is so simple as below: void setup() { Serial.begin(9600); } void loop() { unsigned ...
1
vote
0answers
300 views

WindowsError(31, 'A device attached to the system is not functioning.') in arduino

Having board esp32 devkit v1, to get started with arduino ide (installed recommended boards for esp32) I marked board asDOIT ESP32 DEVKIT V1 (as no other options as like ESP32 DEVKIT V1 ) so upload ...
1
vote
0answers
581 views

String.format(“%i”,i) equivalent

How do I format an arduino String when I do not want to print it? I know that one can use printf() or other methods to print a formated string and unfortunately that's all I find with google. But that'...
1
vote
0answers
142 views

Integer corruption

I use a sensor to measure the temperature. This is returned as float. I feed this float using typecasting (int) to a blink function. This works fine. But the next is step is using this same unchanged ...
1
vote
0answers
458 views

HTTPS POST method fails in esp32

I was trying to connect with server but, I was unable to post the data. I have added the SSL key to connect with server that is happening but HTTPS POST is not. I tried the same method with http, I am ...
1
vote
0answers
120 views

Strange things happening with Arduino PROGMEM

I am currently working on a display library. The font should be stored in PROGMEM. The code looks something like this: unsigned int i = 0; Serial.println(pgm_read_byte(&font[1]),HEX); unsigned ...
1
vote
0answers
66 views

Configure Arduino IDE to not quit when the last sketch is closed

The Arduino app takes a long time to launch on MacOS. (The Initializing Packages... stage takes over a minute.) It's very frustrating when you accidentally close the last sketch window and the app ...
1
vote
1answer
345 views

DAC using Arduino Leonardo

I am as new to Arduino as it can get. To start off, I am trying to build a DAC using an Arduino Leonardo. I have a digital signal coming from my dual differential comparator. I want to convert this to ...
1
vote
0answers
269 views

Arduino hardwareSerial Bluetooth.println not sending string over 310 chars

Hey all I am wondering if my code below can be modified in order for the Arduino to send more than 300 chars to a HM-10 bluetooth 4.0 le module? #include <SoftwareSerial.h> #define ...
1
vote
0answers
1k views

Convert String data To char Array in Arduino

I'm able to get json data and storing in String object, now i want to convert string into Char Array for parsing json data I'm tried with this code, but it is not responding String data = http....
1
vote
2answers
883 views

Error using Adafruit Feather M0

I am trying to upload an empty program on the Adafruit feather to see if it connects to my PC. So far, it isn't. I'm running a Windows 10 and I followed this guide: https://learn.adafruit.com/...
1
vote
0answers
370 views

Save data from an LCD KeyPad Shield to an sd card

I'm developing a project that requires save data from a sensor that is connected in a LCD keypad shield, the information should be save in a file into SD card. My code #include <LiquidCrystal.h&...
1
vote
0answers
3k views

How to flash pre-compiled bin files into NodeMCU using Ardunio IDE

How to flash pre-compiled binary into NodeMCU using Ardunio IDE. Since every time it require to compile and flash it. Is there way to flash binary alone to nodeMCU via Arduino IDE ? One can export ...
1
vote
0answers
587 views

Set EEPROM to initial values when flashing ESP8266

I have a variable uint8_t a_ram which needs to be initialized from the EEPROM variable a_eeprom when the ESP boots up. Whenever a_ram changes, the new value has to be stored to the EEPROM (a_eeprom), ...
1
vote
1answer
448 views

Cannot get any readings from DHT22 Sensor connected to Arduino M0 Pro

I have directly connected a DHT22 to my Arduino M0 Pro. I have put a 10k Resistor across the Data & V+ of the sensor pinout. The data is connected to pin 5 and I have it connected to 3.3V output ...
1
vote
0answers
194 views

ESP8266-01 system param error

I'm using esp8266-01 connected to arduino nano. Every time I tried to upload code to the esp8266 chip I get this error in the serial monitor: system param error 56 45 52 31 00 00 00 00 ff ff ff ...
1
vote
0answers
390 views

Problem with Arduino line follower

I am making a line follower robot. My code is like this #define motI1 10 #define motI2 6 #define motI3 5 #define motI4 3 int left=9; // left sensor int right=1; // right sensor void setup() { ...
1
vote
0answers
52 views

Error “Documents/Arduino/libraries/.DS_Store/library.properties: permission denied”

I am trying to compile a sketch and my output is showing: Documents/Arduino/libraries/.DS_Store/library.properties: permission denied I don't know how to change permissions for that file on a Mac.
1
vote
1answer
164 views

Format error with ESP8266 compile

I get this error when I try to compile and upload the code for the ESP826612E fork/exec /home/c/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++: ...
1
vote
0answers
4k views

Can upload programs to ESP8266 with Arduino Nano but not run them

I am trying to use my Arduino Nano to program my Generic ESP-01 Module. I want to use the module to control an RGB LED Light Strip but am not having much success, only errors.... These are my ...
1
vote
0answers
403 views

Serial Monitor Stops Working

I am using a DIY colour sensor (RGB LED and LDR) and a servo to make a skittles sorter. I am testing out just the colour detection now and printing the RGB values to serial. It worked fine until I ...
1
vote
0answers
7k views

ESP32 in Arduino-IDE with FS.h and SPIFFS

I'm working on a webserver on ESP32 in Arduino IDE and would like to load an html-file. Tried to use SPIFFS.open from the library FS.h from github. Errormessage says SPIFFS was not declared in this ...
1
vote
0answers
2k views

Arduino RFID Mifare Classic dump info

I have my Arduino uno setup with RC522 reader. I am able to dump the data that is held on my test card supplied with the reader but I wish to read the data blocks held within another card I have. The ...
1
vote
0answers
104 views

How can I use delimiter/split serial input in a loop function?

How can I use delimiter/split serial input in a loop function? I want to use each word from the input and check a database, to check availability. #include SoftwareSerial.h> #define ...
1
vote
0answers
38 views

How do I update library h-file in arduino create online editor?

I'm working on a sketch that includes i2c with a SSD1306 OLED and need to update a constant in Adafruit's h-file in the library. How can I do this in the online editor? /Jonas
1
vote
1answer
399 views

Sublime as external editor, error on Arduino compile dropdown: “avr-g++ is not recognized…”, from Stino

The error message, generated from Sublime, in its entirety... Compiling KCT_Swimv4l... Creating C:\Users\ken\Documents\Arduino_Build\KCT_Swimv4l\KCT_Swimv4l.ino.cpp.o... '"avr-g++"' is not ...
1
vote
0answers
359 views

Why does my ESP8266 making an HTTP request to an MDNS responder keep getting redirected to my ISP's search engine?

I have two ESP8266's trying to talk to each other, a 'host' and a 'client', if you will. I have the ESP8266mDNS.h responder running on the host at esp8266wifi.local. On sending an http GET request to ...
1
vote
0answers
46 views

LCD Display Issue

Hi I am a newbie I am trying to test LCD but it always show me a fading boxes It was working before . connection LCD p1 - gnd Lcd p2 - VCC Lcd p3 - potentiometer middle (10k) lcd p4 - pin 7 ...
1
vote
0answers
826 views

Exception 29 ESP12E Arduino

I am getting exception 29 every time I make request to HTTP using GET function. I am requesting HTTP every 20-30ms but using millis I am only reading request at 100ms in order to avoid any overflow or ...
1
vote
0answers
780 views

Cannot access “tools>Serial port” on Kali Linux

I just got my Arduino UNO delivered and I wanted to see if it's working properly or not. I tried following this page to create a simple program and the program compiled successfully. But when I ...
1
vote
0answers
275 views

Connecting Pulse Sensor to RFDuino Simblee

I am trying to make a heart rate sensor watch. I am trying to do this using a Simblee (www.simblee.com) and a Pulse Sensor (www.pulsesensor.com) however they will not work! The original code from ...