Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
0answers
205 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
437 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
0answers
962 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
269 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, ...
1
vote
0answers
23 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
29 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
103 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
110 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
52 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
97 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
168 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
131 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
260 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
407 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
102 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
56 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
0answers
244 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
0answers
318 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
171 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
322 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
38 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
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
361 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
82 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
0answers
340 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
45 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
792 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
733 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
270 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
343 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 - ...
1
vote
0answers
638 views

Is replacing USB serial WITH ESP8266+ESP link feasible?

ESP8266 (01-512k,) Arduino Uno (clone), Arduino IDE, Python 2.7.6 on Macbook pro running OSX 10.10.4 64-bit. Hello! I'm using a motion sensor with the following setup: Arduino Uno+motion sensor >>>...
1
vote
0answers
310 views

error parsing data from server using arduino uno and cc3000 shield

I'm using arduino uno with cc3000 shield and I'm trying to get some sort of data from my server but I only get some of it and the remaining part is delivered after so long, when I send the request I ...
1
vote
0answers
130 views

Reprogramming a specific slave from the master ATTiny 85 (connected to IDE)?

Given that every ATTiny connected already has a bootloader (micronucleus) installed, here's my theoretical chain: Computer > Master ATTiny (Connected via USB) > ATTiny Slave A > ATTiny Slave B Is it ...
1
vote
0answers
421 views

Arduino programming attiny13a

Hello I want to program an Attiny13a with Arduino code. I always have this error when I add repository "no file board.txt" in path. How to successfully configure IDE to able burn on it? I use : Link ...
1
vote
0answers
219 views

Arduino ethernet shield error

As I mention in the title, that when I am trying to upload the code of WebServer to the Ethernet Shield it shows me an error messages. Please if any one can help me to fix it, and here is the ...
1
vote
0answers
257 views

Is my leonardo broken? Is there a way to make it work?

backgrounds I bought arduino leonardo and connect it to Ubuntu 15.04. With arduino IDE 1.0.5(from Ubuntu official repo) running in sudo, the arduino was recognized as /dev/ttyACM0. So I tried to ...
1
vote
0answers
98 views

Can't program Atmega644p over ISP

I am using the Arbotix-M (Atmega644p). I am trying to program it using an ISP from Pololu. Until yesterday, everything seemed to be working okay and we were able to upload to it without problems. ...
1
vote
0answers
748 views

Arduino Uno R3 L(yellow) led stays on and error on upload

So I recently got an Arduino Uno R3. Installed the IDE and drivers under Windows 8.1 and everything seemed to work fine and received the 'Done uploading' message when goofing around with the Blink ...
1
vote
0answers
392 views

Stuck uploading a program to Arduino BLE nano with Arduino IDE

The first time I upload a program to the BLE nano, the program is uploaded correctly, but the Arduino IDE never stops saying it's uploading something. And when I try uploading a second program I get ...
1
vote
0answers
35 views

Having trouble bootloading my Two-Up printer

I am following these instructions to set up my Two-Up 3D printer, and I have no problems all the way up until step 18. The board uses the arduino IDE to burn the bootloader, which is why I am posting ...
1
vote
0answers
188 views

Pixy Pet Robot stuck on uploading code

when I upload the code to my leonardo board it just stuck on uploading, like this: could someone help me with this?
1
vote
0answers
462 views

How to run Arduino 1.0.6 on OS X 10.10 with Java 7 or 8 already installed

On a new Mac (running OS X 10.10) with Java 7 or 8 already installed (for other development), how can I run the Arduino 1.0.6 IDE (which seems to be required for the LightBlue Bean BLE Arduino device),...
1
vote
0answers
595 views

Cannot upload sketch to Arduino Micro with Arduino IDE on OSX

I have been programming a Arduino Micro for weeks now, but suddenly it is not able to upload a sketch. I am using OSX Mavericks on a Macbook Pro which has USB 3.0 ports. It has never been a problem ...
1
vote
0answers
166 views

Use Arduino IDE to program Bluetooth Bee standalone

Using Arduino IDE, how do I program the Bluetooth Bee Standalone? I can't select that particular board from the list under Tools -> Board. The closest I see is Arduino Fio.