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

0
votes
0answers
31 views

Software Serial library not working in arduino

In an arduino project iam not able compile codes using SoftwareSerial library to arduino. But iam getting a set of error in compiling. This is the Error am getting please help. C:\Program Files ...
0
votes
1answer
18 views

How can I make Arduino IDE use Atmel's provided toolchain? (Linux/Ubuntu)

I have an Arduino based board using atmega168pb, but so far only Atmel's provided toolchain supports this microcontroller. I can download the toolchain from Atmel's website, but I am not sure how to ...
0
votes
1answer
32 views

Arduino not working / not uploading

Could anybody please help me with my problem? My Arduino doesn't work correctly. I was between a project, and suddenly it started acting weird. First, it started taking about 4 minutes to compile and ...
0
votes
0answers
21 views

Issues controlling a servo robot arm with joysticks via nRF24L01 communication

I printed parts of the robotic arm, placed five properly working servos on it, and connected them with the Arduino. Also, I connected a nRF24L01 for radio communication between this Arduino and an ...
2
votes
1answer
41 views

Basic C++ programming, how to pass constructor argument into class?

I'm having some programming problems. So here's what's happening: in my .ino file, i have a "tft" variable which holds the connection to a lcd. I want to make a class which can either automatically ...
2
votes
1answer
10 views

Arduino Servo Free Rotation

I have a project where I use 22 servos. I attach all 22 of the servos in the setup and in the loop , I use myservo.write() command to make a particular servo move to a particular position. The ...
4
votes
0answers
72 views

ERROR: Timed out waiting for Arduino 101 - anything I can do?

I just received an Arduino 101 so I did the following in a wave of excitement... Connected the USB cable between it and my Macbook Pro Started the Arduino IDE version 1.6.7 Wrote a little bit of ...
0
votes
0answers
21 views

Having some issues when i'm try to burn a bootloader over ISP and then use the IDE to upload over serial/ftdi

I'm having some weird issues when i'm try to burn an Arduino bootloader over ISP and later use the Arduino IDE (v1.0.6/v1.6.+) to upload over serial (ftdi). At first i tried to burn the ...
0
votes
1answer
42 views

NTP Client Library. Set sync provider pointing to public class function. Possible?

I am trying to develop a NTP client library for ESP8266/Arduino to make adding NTP sync an easyer task. Basically, I've thought about a contructor as NTPClient(String host, int interval); and a ...
3
votes
1answer
40 views

Arduino IDE fails without sudo

I use Arduino IDE 1.6.6 on Ubuntu 15.10. Starting the Arduino IDE without using sudo fails for both: uploading the code to the Arduino Uno starting the serial monitor The group I need to add my ...
1
vote
1answer
39 views

Extra characters remain in Serial

I have spent the whole day trying to deal with this problem connecting Arduinos together using UART (Serial). But the problem is that it always behaves weirdly. For now the problem is that if previous ...
1
vote
1answer
50 views

Sublime Text Compilation Issue

I've tried searching for this issue but came up empty. Due to the desire to use a better IDE, I installed Sublime Text 3 and Stino. I have installed the Stino package and now have the Arduino menu ...
0
votes
1answer
32 views

Is Cloned Arduino with Ch340 driver will support Intel Atom Processor Laptops?

I am planning to buy a low cost and low weight laptop with Atom Processor. And i am having all cloned arduinos, is the arduino drivers and IDE will support with the laptops which comes with Atom ...
0
votes
1answer
45 views

Arduino Simple Task - sweeping a buzzer and led, not working as expected

Use of the tone() function will interfere with PWM output on pins 3 and 11 (on boards other than the Mega). UPDATE: IT seems that there is a problem using pin 11 and 13 together but if I use a ...
0
votes
1answer
14 views

Documentation for creating a Board Manager profile for the Arduino IDE

I'd like to write a Board Manager profile for some Arduino boards that I have. So far I've struck out on finding the documentation on the format and contents of the files. Does anybody know where I ...
2
votes
1answer
48 views

One workspace, two IDEs - Possible?

How can I create a workspace & projects so that either the Arduino IDE or the EclipseArduino IDE may be used to develop the project, interchangeably? I have both IDEs installed and working but in ...
1
vote
2answers
106 views

Interrupt on Analog Port - ESP8266 w/ Arduino

I'm trying to implement interrupts in my program. It essentially is constantly reading a photo-resistor and if it exceeds a certain threshold, we should send an update to our database. I'm struggling ...
2
votes
1answer
329 views

ESP8266 & websockets

At the moment, I'm using various operating systems and devices like the Raspberry pi to control lights and other stuff over websockets. I use websockets since they added the support on Chrome. I write ...
1
vote
2answers
37 views

Is it possible to package a sketch with dependent libraries for cross-platform compatibility?

I have a complex sketch that I spent many weeks working on, which I am backing up frequently because I'm afraid of losing any of my progress. I'm wondering if it's common practice to make a ...
1
vote
1answer
22 views

Arduino IDE, Underlying Code and Libraries

I'm trying to better understand what is going on behind the Arduino IDE. First off I am no expert in C or writing firmware to boards but do have experience in real development. I see currently the ...
2
votes
1answer
30 views

Mac Arduino IDE Connection to Min Seg (Mega 2560). No tty

I own a Macbook running OS X 10.10.3 (Yosemite) I own a Min Seg. My Min Seg model is built on an Arduino Mega 2560. Problem When I connect the board to the Macbook, using either of the Macbook's ...
0
votes
2answers
70 views

avrdude: verification error, first mismatch at byte 0x0000 : 0x00 != 0x16 using USBasp

I'm having this strange error, which pops up around 90% of the time. I am trying to program my attiny25 using USBasp and the Arduino IDE / library. Sometimes it works, most times it doesn't.. This ...
1
vote
2answers
453 views

Arduino Nano v3.0 with ESP8266

I am attempting to connect and use an ESP8266 board with my Arduino nano v3.0 and I am not have much luck. I have read a bunch of tutorials and articles, the most recent is ...
0
votes
1answer
25 views

Arduino Orion Upload - Which Board When Compiling

I'm trying to compile and upload the example code for the arduino robotics starter kit (https://github.com/Makeblock-official/Makeblock-Library and ...
0
votes
1answer
110 views

Where do avrdude parameters get defined in the Arduino library/IDE?

I am interested in learning how the Arduino IDE handles parameters in order to correctly upload hex files with avrdude. I found this in boards.txt: uno.name=Arduino/Genuino Uno uno.vid.0=0x2341 ...
0
votes
1answer
123 views

Open the Uart0 Serial Port on Intel Edison

I'll preface this buy saying I am very new to working with Arduino boards or hardware in general. I am attempting to follow a tutorial on instructables ...
0
votes
1answer
54 views

Arduino IDE says fcould not convert 'pinMode(buttons[((inti)], 0u)' from 'void' to 'bool'. How do I fix

Alright, so this code is for a game that is a power source connected to 6 buttons at ports 1, 2, 9, 11, 12, and 13. These are consequently supposed to light up 6 LEDs, each connected to 1. If you ...
1
vote
0answers
30 views

Loop completion and resetting [duplicate]

Alright, so this code is for a game that is a power source connected to 6 buttons at ports 1, 2, 9, 11, 12, and 13. These are consequently supposed to light up 6 LEDs, each connected to 1. If you ...
1
vote
1answer
106 views

A whole basic game project Arduino

Firstly, I know that I have already posted this. I do not think anyone here is stupid so: The game is: a power source connected to 6 buttons connected to 6 LEDs. you press them all in the randomly ...
-1
votes
1answer
75 views

Advanced Line Follower robot

I know about line follower mainly the grid solving robots i know the basics actually. Actually they have to trace the path of the grid in an arena and then reach back to starting point in a shortest ...
0
votes
1answer
116 views

Esp8266 V12 Wiring

I have tried a Google search and cannot find any place that tells me exactly how to wire the version 12 esp8266 , How should it be wired for normal operation and for flashing ? I am designing a diy ...
0
votes
0answers
42 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 ...
0
votes
1answer
49 views

Arduino: Error: 'PubNub' was not declared in this scope

I'm new to Arduino. When Arduino verifies this sketch https://github.com/MediaTek-Labs/Real-Time-Bicycle-Tracking-Map-using-PubNub throws the following: Build options changed, rebuilding all ...
0
votes
2answers
35 views

How come the console prints error `avrdude: usbdev_open(): did not find any USB device “usb”`?

How come when I try to push a sketch to my Arduino I see this error on the console? The subsequent sketch does not work. avrdude: usbdev_open(): did not find any USB device "usb" I've already ...
3
votes
3answers
204 views

Program an ATMega328P and use it without Arduino board

I'd like to use an ATMega328P for my project, I hope to do it without the arduino board. I know with the Arduino IDE and an Arduino board I can program the microcontroller. However, would it be ...
1
vote
2answers
51 views

using more than 8 temperature probe of DS18B20 on Arduino

I am trying to use more than 8 temperature DS18b20 on one bus. Is there any problem to make it work?
0
votes
0answers
17 views

ADK USB Programming

I have an Arduino Mega ADK. I want to send data[the state of LED in Blink Sketch] using the in-built USB port. What should be my code to access the USB port for data transfer???
0
votes
1answer
72 views

error: expected primary-expression before ',' token

I'm gettng an error "error: expected primary-expression before ',' token" in the following line of code - I have initialized an array with 220 ints. What am I doing wrong here? const PROGMEM int ...
0
votes
1answer
31 views

A question about including libraries

I'm a beginner in creating my own libraries so the following might contain some stupid stuff. Anyways, I'm using NRF24L01+ modules for wireless communication and I've been utilizing the magnificent ...
1
vote
2answers
50 views

Why PJ0 and PJ1 are not reporting as PCINT pins

When the sketch shown at end-of-question is compiled and uploaded to an Arduino board, it is supposed to Serial-print a list of available digital pins, showing for each pin whether it supports PWM or ...
2
votes
1answer
48 views

My mega only works on 1.0.1 IDE

My mega usb/serial adapter died some time ago, so I bought an external FTDI programer wich I got working on 1.0.1 IDE. I can load any program to the mega, even complex led matrix driver I wrote myself ...
0
votes
1answer
18 views

how to create a specific buffer when there is no buffer message in the data packet?

So I'm trying to understand a read method. In this method, // Read data from buffer int SoftwareSerial::read() { if (!isListening()) return -1; // Empty buffer? if (_receive_buffer_head == ...
0
votes
2answers
39 views

How to find the deferenced value of a transmit Port Register?

So I am working with the SoftwareSerial library. I'm looking at the write function and I see a *reg value being manipulate. I want to find the value of *reg so I traced the value by stepping into each ...
0
votes
1answer
239 views

Can a ESP8266 and a HC-SR04 be friends?

I have some existing code that I've been using with an Uno and a HC-SR04. In order to make my project less expensive, I'm trying to port everything over to a ESP8266-01. The last hang up I've been ...
0
votes
1answer
47 views

Arduino Pro Micro Analog Pinouts

I have the Arduino Pro Micro and I would like to use all the analog pins that I can on it. It currently looks like it has a total of 9 Analog pins that can be used. A0, A1, A2, A3, A6, A7, A8, A9 ...
0
votes
2answers
62 views

Standalone Arduino

I have an Arduino Uno and I am using arduino 1.0.5 IDE. I followed he procedures for bootloading an atmega328P-PU on a breadboard using an Arduino Uno from the link: ...
0
votes
1answer
220 views

How to connect arduino directly to mysql server using the url?

I started a project with my arduino MEGA2560 that get some values from sensors. I'm using Mysql Connector, https://launchpad.net/mysql-arduino , and this lib allow me to connect to a server using the ...
0
votes
1answer
90 views

Integrating two Arduino Ethernet libraries in one sketch

I am trying to integrate two different Arduino Ethernet libraries, EtherShield and UIPEthernet in one sketch. EtherShield library is used to control LEDs via Android mobile application. While ...
0
votes
1answer
57 views

Why did my program stop working when I eject the serial cable like it did an auto reset?

Arduino Uno based on 328p micro-controller board only works while I am inserting the serial cable between the board and the computer and I can control the speed of my two motors and every thing is ...
0
votes
2answers
33 views

Consulting and inserting a string into an array if it doesn't exist (Arduino IDE) 1

Sorry that I repeat my question, I can't enter to my user... In the project I'm doing, I connect an arduino mega with ethernet and Post some Strings to the server. The arduino mega has a ...