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.

learn more… | top users | synonyms

-3
votes
2answers
71 views

Arduino IDE programming help [on hold]

I am trying to write a program to control a stepper, and incorporate a selector switch and a rheostat. The object is to make the stepper oscillate, and to be able to control the speed with the ...
0
votes
0answers
30 views

Wifi networking with ESP8266 (NODEMCU version)

I am doing some experiments with nodemcu 12 (which has built in esp8266). There most of the tutorials I found by internet describe how to connect to home wifi connection using it. But when I power ...
0
votes
0answers
20 views

How to create and write a file on SD card using arduino

I'm trying to write an arduino program which will write and read data from the SD card using different methods apart from Void setup() and void loop(), but the initialization of SD card I have done in ...
0
votes
1answer
21 views

Arduino Nano stuck on uploading

I recently bought an Arduino Nano ( a clone actually), I installed the CH340G drivers for it and got it working perfectly fine... Played around with it for a while and then kept it aside... Now after ...
-4
votes
0answers
26 views

Vehicle tracking system

I want to do a vehicle tracking system. I'm using an Arduino Uno, and a SIM900 and GPS module. I am using this code. Can anyone help me find what's wrong? Source code is: #include <TimerOne.h> ...
0
votes
0answers
21 views

How to randomise a string?

I have a String key = "JcIcLzjbT0". I want randomise and shuffle it. How to achieve that?
0
votes
1answer
51 views

How to split a string into substring Arduino

I'm about identify myself stupid, howcome I couldn' t figure out how to split a string into substring using arduino, even after 10 days of searching. The number is fact... So, As Mr.Arduino.cc says: ...
2
votes
0answers
35 views

Arduino zero Error: unable to find CMSIS-DAP device

I am uploading a test sketch(Blink) to my new Zero(with Wifi101 shield) and when I press Upload in the IDE, the Console says the following: Arduino: 1.6.10 (Linux), Board: "Arduino/Genuino Zero (...
0
votes
1answer
22 views

Is there any way to prevent Arduino CLI from closing each time?

I prefer writing code in Vim, so I'd like to get a workflow going with the Arduino CLI. I used to use ino, but I didn't like the restructuring of the project, which meant anyone who downloaded the ...
0
votes
0answers
29 views

Arduino error: Bad File Descriptor

So I just downloaded Arduino IDE on my Linux laptop. I also have an Arduino mega 2560. With nothing connected to it, I tried to upload the blink sketch to test if it is working. However, I get this ...
-1
votes
0answers
16 views

How to program with arduino ide in AVR development board?

I have a development board which is not a arduino board and it works on Atmega8.I use avr studio 4 to program it. But i want to use arduno ide to program it. IS it possible, if so then how. Quick ...
0
votes
0answers
5 views

Arduino 1.6.X on NetBSD/FreeBSD

I run arduino-mk 1.0.1 and would like to know if someone has had any luck getting 1.6.X working on NetBSD/FreeBSD. If I understand correctly, its core is java, and I can run most java programs. Are ...
0
votes
1answer
20 views

Powering Down Ardunio mkr1000

The mkr1000 is still pretty new and I'm having a hard time getting good information on it. I'm using the Arduino IDE but don't find any functions to sleep the mkr1000. Most libraries I encounter are ...
-1
votes
0answers
22 views

ESP12E using Arduino IDE

I am using ESP12E with Arduino IDE. I want to reduce the antenna power of the module. I am transmitting SSID but i want to restrict the range to say 2m. How to do this, is there an API or where to add ...
0
votes
3answers
50 views

why can't the atmel attiny family delay over a minute?

I have some really simple code and tested on an 8MHz ATTINY85 and ATTINY2313. It's basically a blocking blink: int relayPin = 7; long offPeriod = 1 * 60 * 1000; long onPeriod = 1 * 60 * 1000; void ...
0
votes
0answers
20 views

ATtiny85 / TLC5940 / leds not fading correctly

I have some simple code that should be working, but I can't quite see what is wrong with it. I have an ATtiny85 working with a tlc5940, and testing is fine, I can choose LED 1-16, and pick a ...
0
votes
1answer
54 views

How to configure 2nd Quadrature Decoder IO pins in Arduino IDE

I am working to read two quadrature encoders using a single Arduino DUE, as part of my summer vacations project. According to the following link http://atmel.force.com/support/servlet/fileField?id=...
1
vote
1answer
36 views

IDE 1.6.10 on LinuxMint 17.3 Cinnamon

When compiling I get the error 'as: unknown option »-mmcu=avr5« exit status 1' I succeeded now using your piece of advise. Thank you so much.
3
votes
1answer
46 views

How does if(serial) work, a c++ question

The Arduino documentation says if(Serial) always returns 1, except for the case where Leonardo USB serial connection delays becoming ready. (Leonardo has two USB IDs, and switches between them for ...
0
votes
1answer
31 views

IDE will not open in Windows 10

I have loaded the Arduino IDE on Windows 10 32-bit on a 64-bit machine. This is my kids' laptop so they don't have admin privileges but, I installed it with admin privileges. I have restarted the ...
0
votes
1answer
35 views

Cannot upload sketch to Arduino Nano

I've been using Arduino UNO for quite sometime and brought a new Arduino Nano. When I connected it to my computer, the power usb lit up and the blink sketch started running ( as expected of course). ...
1
vote
1answer
83 views

Parse HTTP Request Arduino

I am sending a HTTP Request to my WiFi module http://192.168.4.1/STA/ID=HelloWorld/Pass=Testin123 How can I parse above string in Arduino. First I need to check for STA, if it exists, continue to ...
1
vote
0answers
37 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 ...
0
votes
0answers
14 views

Reconnect to Serial Monitor

I have a project for which I have to work with a Teensy 3.2. For the project I have to disconnect the Teensy from my pc running Arduino 1.6.7 (Win 10, 64 bit). Within its runtime, the Teensy ...
0
votes
0answers
25 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 ...
0
votes
1answer
32 views

Problem Atmel Studio 7 with uploading

I have a problem with the interworking between Atmel Studio 7 and Arduino IDE 1.6.10. I recently upgraded from IDE1.0 to 1.6.10 can no longer upload my code to the arduino. Everything works ...
0
votes
2answers
67 views

OTA Update Esp8266 without IDE

I was wondering if its possible to program the esp8266 to receive firmware updates without the use of an IDE to program. Use Case: This device should be setup to the WiFi network scan an IP for a ...
0
votes
1answer
21 views

How to use Aiduino module to connect to computer network?

I have 4 usb Hard Drives and I just want to connect them to computer network directly without a traditional computer. Is there an any module with 4 usb ports and one RJ45 port. The module should able ...
1
vote
1answer
103 views

WDT & Software RESET in ESP8266 + Arduino IDE

I am working on ESP8266 in Arduino IDE. I want to know how to Software RESET the ESP8266. Any sketch/example would be useful. Moreover, how to initialise WDT in ESP8266. Kindly help!
0
votes
0answers
36 views

HMC5883L - angle 0 to 90 only - NODEMCU ESP12E

Got this cheap chip and connected to SDL SCA on NodeMCU ESP12E Using the example sketch: HMC5883L_Example.pde - Example sketch for integration with an HMC5883L triple axis magnetomerwe. The ...
0
votes
1answer
49 views

Convert a Double to an UnSigned Char

So, I'm working on RedBear Blend Micro V 1.0, and I must use the function: ble_write(Serial.read()); To read some input from the serial monitor(Input being stuff I type in the Serial Monitor) and ...
0
votes
1answer
83 views

Burn arduino bootloader using ubuntu 16

I get the following error when I try to burn the arduino bootloader on an atmega328 mcu: avrdude: verification error, first mismatch at byte 0x0000 0xfd != 0x05 I am using an Arduino as ...
0
votes
1answer
76 views

Which Protocol to use to control WiFi (ESP8266) enabled Led Light

I am developing a Wifi based Led light (Got Inspired from Philips hue, Lifx). I have little knowledge about web server, clients, Web protocols. I will be using ESP8266 as Controller cum WiFi module. ...
0
votes
1answer
50 views

NodeMCU Arduino set PWM Frequency to specific frequency

I am using NodeMCU and I program it using Arduino IDE, I need to change the PWM frequency of a port, in Arduino I used to change the frequency using timers registers like that: TCCR1B = (TCCR1B & ...
-1
votes
1answer
52 views

Programming Arduino With Python [duplicate]

Im a beginner working with arduino. Im little familliar with java syn and its not hard for me to do the work with ide ;but i know python better....is there any Lib that let you program Arduino with ...
0
votes
1answer
123 views

ESP8266 Web Server Crash + Arduino IDE

I am working on HTTP GET Request. I have created ESP wifi as web server. It creates a access point with IP address : 192.168.4.1 When my android app is connected to web server, it sends values every ...
0
votes
0answers
96 views

How to Read and Write EEPROM in ESP8266 + ARDUINO IDE

I need to know how can I write the integer value in EEPROM and retain the value on Power ON.? char *Red = strstr(myTestUrl, "/R"); if (Red) { int RedValue = atoi(Red + 2); analogWrite(...
1
vote
3answers
76 views

How to include <SPI.h> outside the .ino file

As I understand, Arduino IDE considers two paths for the libraries: first, "C:\Program Files\Arduino\libraries" and second, the "libraries" folder next to the schetchbook. I have a ...
0
votes
1answer
30 views

Programming Problem with a hand gesture controlled robot; the analogwrite() function doesn't work

So I recently tried to make a hand gesture controlled robot but ran into some programming error. Here are the specs: For the transmitter module, I used the following: *Arduino Nano 3.0 as the ...
4
votes
2answers
117 views

Wire.h not found!

Here's the code that's making this error: #include "Wire.h" Here's the error: fatal error: Wire.h: No such file or directory #include "Wire.h" ^ compilation terminated. Error ...
0
votes
1answer
34 views

Saving library example sketch getting error “you cannot save a sketch into a folder inside itself..”

I'm writing a library, and that library .cpp/.h code is in devel/arduino/libraries/LightBrightLib/. I have test code that calls that library, and an example program using the library. Right now they'...
0
votes
1answer
36 views

Changing the tick time in FreeRTOS

I am trying to use FreeRTOS's vTaskDelay() function in order to periodically execute tasks. The latest version of FreeRTOS came with the "tick" time set to 15 ms. Therefore, the smallest resolution I ...
1
vote
1answer
85 views

How to simply close a tab?

How can one close a tab in the Arduino IDE? There is a Tab button (little triangle) with the Option "Delete"(kind of misleading term). There is no "Close" option. And the "Delete" option doesnt do the ...
0
votes
0answers
20 views

Hex file to ino file? [duplicate]

I need to convert a hex file back to an ino file, so I can edit my 3d printers settings in the arduino ide. How can this be done?
1
vote
2answers
34 views

Linker error when trying to use functions in separate header and source files

It is my first day of working with Arduino (it is a Due). I want to read from TMP102 through I2C. I wrote some code and it works just fine. But now I want to separate the TMP102 code from the main ...
0
votes
0answers
79 views

Can't select serial port on the IDE (Ubuntu)

I am aware that similar questions have been asked, however I haven't found an answer to my specific question. When I connect my Arduino (Uno) to my USB port, the on light on the board comes on (and ...
0
votes
0answers
63 views

Trouble with ESP8266 and DHT11

I'm using a setup described in this adafruit article for a humidity/temperature sensor-to-database module, and I'm consistently getting the same error messages: trying to connect flush start setting ...
0
votes
1answer
46 views

Significant drop in speed between Arduino IDE and Visual Studio?

So, I'm not sure what is causing this, but maybe I'm overlooking something simple. I have a simple program designed to read the analog input at 640 Hz, it looks like this: int Ch0 = 0; int count = 0; ...
1
vote
2answers
64 views

Unable to create a desired periodic signal with Arduino Mega 2560 and DAC0808

I wrote the code to produce the periodic signal by using arduino and DAC0808 where i turned on and off the respectively pins of PORTA by using a logic in iterative manner and created the periodic ...
1
vote
2answers
87 views

ESP8266 - Error: unknown opcode or format name 'jmp'

I bought a nodeMCU 8266 and I'm hoping that it can replace my bulkier UNO+WiFi 101. I'm getting an error when I compile: Error: unknown opcode or format name 'jmp' I'm using it in void SoftReset() ...