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
13 views

What would be the architecturally-right place to put custom -D defines?

What I am trying to accomplish is to include information about the state of my environment at build time in my code. For example, I may want the setup() code to print the git sha it was built against, ...
0
votes
0answers
4 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
2answers
62 views

Why is my pushbutton always reading LOW?

I know this is ridiculously simple task but I spent the last two hours trying to get this to work and it is not working. I don't have an Arduino but I have an ESP8266 Huzzah Feather which is ...
1
vote
1answer
30 views

How do I use an AtTiny85 (or other AtTiny) with Arduino?

Please mind that this is an "example" question. How to make a "tiny arduino"? I've ordered a bunch of ATtiny85's off E-bay, they're like tiny Arduino's. I've set up the latest Arduino IDE and would ...
0
votes
2answers
26 views

A library for manipulate Intel Hex data?

For a project i need to extract some data from an external eeprom and then store it somewhere. Suddenly after some manipulations (not necessarly with Arduino board) i need to put them in an external ...
1
vote
1answer
39 views

Can the Arduino Eclipse plugin use the Arduino IDE's libraries?

In Arduino Eclipse (v3, nightly build) I have not been able to load 'foreign' libraries, those written by me or someone else, so they are not among the available choices in the include-library ...
5
votes
2answers
42 views

Can I specify custom port names in the Arduino IDE on Linux?

On Linux, if you have more than one USB TTY device, the USB port name (/dev/ttyUSBx) changes every time one is plugged in, and there's no easy way to know the new name without going and looking ...
0
votes
1answer
20 views

Arduino UNO stuck in Setup function when interfacing UNO with ESP8266 module

Following is my code that i am trying to use it with Arduino Uno with ESP8266 module but my code stucked in setup function why is that. #include "ESP8266.h" #include <SoftwareSerial.h> ...
1
vote
0answers
57 views

Arduino NTP clock glitches every 7 seconds

Please ignore all of the comments, this is basically a Frankenstein program with several different programs combined together. Basically what happens is the time prints out in seconds like this: 00, ...
0
votes
3answers
46 views

Take the proagram from the arduino board [duplicate]

How to remove the program from arduino board which is already there in it.?And I need that program in my arduino IDE how to take it please help me?
0
votes
1answer
21 views

Arduino hourly sensor with motion sensor issue

I am trying to upload DHT11 & photocell data hourly. But I also want a motion sensor upload while the motion detected. What kind of function should I use for the PIR to work while DHT is on delay? ...
0
votes
1answer
30 views

Atmel studio 7 - my own libraries

I like to use AS7 to make my programs. I know c and some c++, but how things work from there I'm green. I would like to know if there is a folder where I can store my own homemade c and h library ...
0
votes
1answer
27 views

Running Steppers with servo

I'm doing a project which is automatic box carrier. It will hold a box from a location and move it next to it. Kind of cnc work. Locations are fixed it just has to run the orders. I want to send an ...
1
vote
0answers
24 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
1answer
36 views

Where are the chip configurations stored in IDE 1.6.x? How to modify them?

With the new 1.6.x version of the Arduino IDE, obscurity of adding new chips has gained new level. It now seems you have to add HTTP links to some JSON files in single-line edit field in settings. I ...
1
vote
1answer
42 views

Adding Attiny to Arduino IDE - attiny\variants\platform.txt file missing

I followed this guide to program AtTiny using Arduino as ISP. The problem is that it has some file missing: java.io.FileNotFoundException: C:\...\arduino-1.6.8\hardware\attiny\variants\platform.txt ...
5
votes
2answers
125 views

Arduino onboard LED pin number as a constant

To use the onboard LED on an Arduino one usually has to know the pin number (13 in most cases), but is there a constant in the Arduino IDE one can use as well? So is it possible to use something ...
1
vote
0answers
48 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 ...
1
vote
2answers
33 views

How to write modular code for arduino?

I would like to create a program with separated modules, is this this possible using Arduino IDE?
1
vote
1answer
25 views

How do I statements for the various conditions of this function?

I am still new to Aduino and I am trying to use a library's example sketch but I don't understand the following part of the code. I want to trigger an led when the "Pressed" condition is fulfilled. ...
1
vote
1answer
28 views

Arduino Timer Button

I am wandering how I would make it so the arduino uno will start a timer when button a is pressed and send "Start" or "Begin" or something like that to the console window. after the timer has started ...
1
vote
0answers
30 views

Unable to upload code on Arduino Nano

My Arduino Nano v3.0 (made by Gravitech US) is behaving in an unexpected manner. Whenever I try to upload a simple Blink program on the board it always give error which is shown below. avrdude: ...
0
votes
2answers
33 views

How to access Attiny84 port B in Arduino IDE code?

Referring to guide at High-low tech, I were able to flash ATTiny84 via UNO through Arduino IDE 1.6.7. I loaded a simple blink LED program on IDE pin 0 (physical Attiny84 pin 13, PA0) and everything ...
0
votes
1answer
43 views

How do I install the latest Arduino IDE on Ubuntu 14.04LTS? [duplicate]

What I've tried: I downloaded the package for 1.6.7 on Ubuntu 14.04 LTS but when I open it no matter what I try it will not start. I installed 1.0.5 from the Ubuntu Software Center. I tried to ...
0
votes
2answers
41 views

What should I do to communicate with GSM module?

Sorry, im a beginner, i tried to program an automatic doorlock using sms. But, I dont understand what happen with this error, what should I do? Add library? The error said that Pstring wasnt declared, ...
0
votes
0answers
44 views

Creating arduino compatible boards

I am currently building a small board with a SAMD21G17 micro-controller on board. This is exactly the same chip as in the Arduino Zero (SAMD21J18) only with fewer pins and lesser memory. I have been ...
1
vote
0answers
80 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 ...
3
votes
0answers
28 views

I can't seem to receive data to the ArduinoStudio serial monitor on ubuntu 14.04

I'm using the Arduino Starter Kit so I have a Uno R3 and going through the examples I'm trying to read temperature data from my controller in Arduino Studio. In essence my problem can be reduced down ...
-1
votes
1answer
41 views

compilation error in arduino

I'm new to arduino. I had found an interesting project to work on with, but unfortunately I'm held up at compilation error. I tried finding answers to this problem but not able to understand. Here is ...
0
votes
2answers
34 views

Using Arduino IDE as an API

I have a project where it would make a lot of sense to generate Arduino compatible source code, compile it and flash it based on some settings in the project software. Is there any way to do this ...
1
vote
0answers
37 views

Cannot receive data from GPS SD Shield V2-B

I am attempting to receive GPS data from a GPS SD Shield V2-B purchased from maplin. I have attempted the very simple sketch they provide on their website linksprite.com. I have also tried following a ...
1
vote
0answers
51 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
51 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 ...
0
votes
1answer
35 views

Raspberry Pi Arduino Installer broken

I am tring to use ShorTie8's new arduino ARM installer on my RPI B+ by copying this into my terminal: cd sudo apt-get update -y && sudo apt-get dist-upgrade -y wget ...
3
votes
2answers
72 views

Since double and float represent the same data type (usually), which is preferable?

It looks like on ATMega based boards, float and double are equivalent 32-bit (4-byte) data types. However, on the Arduino Due, doubles are 64-bit (8-byte) where floats are 32-bit (4-byte), same as ...
1
vote
0answers
22 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
2answers
88 views

How can I pass a char array as the parameter to a function?

I am creating a menu for adjusting system variables. The menu is made up of pointers like so: char* options4[] = {"hMin1", "hMax1", "refr1", "fSpeed1"}; I want to pass the selected string as the ...
-1
votes
1answer
68 views

Control brightness of 20 watt street LED light using Arduino

I have searched google and I now know that if we change the resistance, we can change the brightness of an LED, but I was wondering how to change resistance by using a micro controller.
1
vote
0answers
62 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
26 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 ...
3
votes
1answer
180 views

Clion + arduino

Please, help me to set up Clion + Arduino. Clion has an arduino plugin which I've installed. Here is some instruction on Github but I'm fully noob about cmake and other things which are talking ...
0
votes
1answer
23 views

Sublime Text 2 with stino, compilation gives “filename … is incorrect” arduino-ide 1.7.8

Can't compile simple blink-sketch. Error is: [Stino - Start building "t5"...] [ 3%] Creating C:\Users\lov\AppData\Local\Temp\Stino_build\t5\t5.ino.cpp.o... The filename, directory name, or volume ...
1
vote
0answers
39 views

LCD is not printing strings, only integers with Arduino

As mentioned in the title I'm facing a problem in printing strings in the LCD. It's printing actually weird characters. #include <LiquidCrystal.h> LiquidCrystal lcd(7, 8, 9, 10, 11, 12); void ...
0
votes
2answers
64 views

How to avoid delays in the loop() function?

vI have this functions in my loop() and it publishes temperature reading to Ubidots(an IoT cloud service) using the #include library but it seems it returns a boolean and so the loop is delayed until ...
0
votes
1answer
264 views

Esp8266, arduino IDE vs Lua script?

I'm planning to buy an Esp 8266. Do I really need to learn lua script to play with it ? I have seen some people using it with the standard arduino ide... Do you need a custom firmware to use arduino ...
1
vote
2answers
134 views

Arduino declaring class in h and cpp file Undefined Reference

I am trying to compile my project, but unfortunately get errors. I created class and separated implementation and declaration (cpp file and h file) Here they are sensor.h #ifndef SENSOR_H ...
0
votes
1answer
27 views

Irrecvdemo program in or remote library gives fatal error #include<WProgram.h>

Whenever I compile irrecvdemo of or remote library it gives error saying that fatal error saying no file or directory exists #include <WProgram.h> #include <IRremote.h> int ...
1
vote
0answers
39 views

Arduino Uno sometimes cannot connect to the computer

Last month, I bought an Arduino Uno R3 board (believed to be a clone). In the first few week, it seem to be working fine. However, in this week, it became very strange. What is basically does, it ...
0
votes
2answers
34 views

Porting my project to multiple Nanos

I'm still fairly new to the Arduino world. I got myself a kit with a clone board couple of months ago and have successfully prototyped the project and got it to the state I want it to be. I now want ...
1
vote
1answer
56 views

Use command line to upload program through hex file to Teensy-LC

I want to make a standalone programmer for Teensy-LC in windows 8.1. So basically I have provided the board to a client of mine and now I want to change the program loaded into the Teensy-LC board. ...