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.

205 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
222 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
0answers
455 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}/...
2
votes
1answer
657 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
993 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
272 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
700 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
2k 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
16 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
25 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
33 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
36 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
149 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
133 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
56 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
137 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
246 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
133 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
288 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
457 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 ...
1
vote
0answers
106 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
1answer
314 views

Arduino MKR Zero problem with new UART comunication

I'm currently using an Arduino MKR Zero board and I need to add a new communication because the Serial1 on pins 13 and 14 is already used by another device. I've followed this tutorial from Arduino ...
1
vote
0answers
58 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
286 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
254 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
763 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
2answers
471 views

Serial monitor in Arduino IDE for RobotDyn ESP8266-Pro via CP2102

I bought a couple of "ESP8266-Pro" micro-controllers from a Chinese company named RobotDyn. There's no real documentation with them, but I've bought a lot of other stuff from them in the past that ...
1
vote
0answers
336 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
1answer
426 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
176 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
334 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
1answer
529 views

Avrdude Verification Error while flashing Arduino Mega code

I'm working with an Arduino Mega 2560 and am getting the following error at compile time: avrdude: verification error, first mismatch in byte 0x0000 0x14! = 0x25 avrdude: verification error; ...
1
vote
0answers
40 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
140 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
3k 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
371 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
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
84 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
358 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
344 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
802 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
1answer
604 views

ESP8266 stuck in flash mode?

I have the setup described here: https://learn.adafruit.com/esp8266-temperature-slash-humidity-webserver/wiring I currently have the reset pin set to float and the GPIO0 pin grounded, which should ...
1
vote
0answers
748 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
272 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 ...
1
vote
0answers
348 views

Multi-file arduino esp8266 sketch sharing a reference to server

Transferred from stackoverflow on the advice of @Gee_Bee: I can get Writing a Library for Arduino to work as well as Breaking a sketch into multiple files and Classes within Classes - ...