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, macOS and Linux.

Filter by
Sorted by
Tagged with
0
votes
4answers
6k views

fatal error: ESP8266WiFi.h: No such file or directory

I used platformio IDE I did "platformio lib install 1101" (http://platformio.org/lib/show/1101/ESP8266wifi), I installed this: http://platformio.org/lib/show/549/WebSockets (follow ...
1
vote
0answers
488 views

How do I use the NRF24L01? [closed]

I am a high school student and I need to build a remote controlled car for a school project and I have to use arduino. I am fairly new to arduino, but I understand the basics. Also I'm kind of ...
1
vote
3answers
1k views

Unable to type in Arduino IDE running on OS X

I'm trying to use the Arduino IDE (1.6.8 downloaded from arduino.cc) on a MacBook running OS X (10.11.5 beta). The IDE seems to run and I can open and upload the examples and they run. But… I can't ...
7
votes
4answers
7k views

Can I use Visual Studio instead of Arduino IDE?

I think that Visual Studio is a great product! I find the Arduino IDE is limited in its features. For example the Arduino IDE does not have: Code prediction Error highlighting Previews of #define ...
0
votes
1answer
234 views

Connecting to WIFI using esp8266

This is my code. I am tring to make a connection to my wifi through esp8266. #define DST_IP "192.168.1.5" // my IP #include <SoftwareSerial.h> SoftwareSerial mySerial(0, 1); void setup() { ...
1
vote
2answers
784 views

Arduino IDE get stuck while uploading sketch

I was trying to use my L293D motor driver module. But when I upload the following sketch to try and run my motor, but it would get stuck on "Uploading". This happens with this sketch only, and happens ...
0
votes
1answer
993 views

Reset as I/O pin

I'm looking to minimise the parts count and the power consumption as much as possible and I was wondering if is it possible to store a variable or execute a method when the 'reset' button is pressed? ...
-3
votes
1answer
545 views

Oddness with #define and #ifdef in a sketch

I'm putting together a simple sketch to read a few sensors and have come across some odd behaviour associated with #define and #ifdef. Here are some snippets from my code: // Defines //#define DEBUG ...
0
votes
1answer
2k views

ESP8266 sending GET Request and getting 408 Timeout error

I am using esp8266 to send a GET Request but I am getting 408 Timeout error. Here is a screenshot of my output.
0
votes
4answers
634 views

Using ESP8266 core for Arduino

I am working on a wireless sensor network project, in which data is collected at a central node using nRF24 modules and the RFNetwork.h library. I want to post that to the internet using the famous ...
0
votes
1answer
73 views

Arduino IDE installation Problems

When installing the IDE there are many "Unable to open *.DLL", errors. I check "ignore errors" and the IDE installed. Now when selecting the correct port and board the blink sketch is uploaded and ...
0
votes
1answer
2k views

Arduino OOP and [this] keyword

Lets say I have a sketch called mysketch.ino with these contents: String globalString = "ThisisGlobal"; void setup(){} void loop(){} How can I pass THIS sketch mysketch.ino as an object or its ...
1
vote
1answer
789 views

Troubleshooting duplicate libaries (Arduino motor shield and stepper motor)

I have tried a software. It work flawless on the first laptop in a fresh install arduino IDE environment with the libraries I imported. However when I copy the exact same program over. I get lot of ...
0
votes
1answer
2k views

“missing filename” compilation Error

I've recently got back to my Uno. I tried compiling my program and got the following error: Arduino: 1.6.6 (Windows 8.1), Board: "Arduino/Genuino Uno" avr-g++: error: missing filename after '-o' ...
0
votes
2answers
5k views

Removing Element From Array While Keeping Order

I'm building a wireless mechanical keyboard. There is an array of 6 elements that stores the keys pressed by the user (since 6 is the max number of keys you can send at once over Bluetooth). An ...
3
votes
2answers
113 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, ...
2
votes
0answers
279 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
1k 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
2k 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
3answers
2k 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 ...
5
votes
2answers
10k views

Can the Arduino Eclipse plugin use the libraries installed by the Arduino IDE?

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 dialogs....
5
votes
2answers
1k 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
742 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
458 views

Arduino NTP clock glitches every 7 seconds [closed]

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

Take the program 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
7k 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
86 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
381 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 - ...
0
votes
2answers
140 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 ...
2
votes
2answers
3k 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
1k 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 ...
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 ...
4
votes
5answers
9k 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
853 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
705 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
1answer
1k 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: ...
2
votes
2answers
3k 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
5k 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 update ...
0
votes
1answer
480 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, ...
1
vote
0answers
722 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 >>>...
11
votes
1answer
364 views

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

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 ...
0
votes
1answer
970 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
623 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 ...
0
votes
1answer
299 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 ...
2
votes
0answers
300 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
336 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
1answer
101 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 https://raw....
2
votes
2answers
5k 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
144 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 ...
2
votes
2answers
14k 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
23 24
25
26 27
29