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
1answer
2k views

How to transfer data from arduino to android via bluetooth? [closed]

I am having arduino uno board connected with bluetooth HC-05 module. I needed to transfer the data from arduino to android mobile via bluetooth. Is it possible to transfer the data from arduino to ...
0
votes
1answer
223 views

What changes I have to take care while coding from Atmel Studio instead of Arduino IDE?

-Are there any changes in Bootloader? -Why is the coding different for same chip in different softwares? -How to upload the program from Atmel Studio?
1
vote
1answer
328 views

Arduino sketch behaves differently depending on version of Arduino IDE

I am assisting some friends on an Arduino Uno project, and we've noticed that when using some earlier versions of the Arduino IDE (In this case 1.0.5), the sketch behaves as desired. However, when ...
0
votes
1answer
3k views

Error in code saying “expected primary expression before ”<“ token” and other errors

I am Creating a laptop controlled robot using an arduino nano using the instructbles. I have tried running the code but it is throwing back lots off error and the main one is "expected primary ...
1
vote
1answer
23k views

Cannot convert 'String' to 'uint8_t {aka unsigned char}' in initialization

Hey all I am trying to convert a string into a uint8_t with the following code: String data = "#255101987"; String tmp1 = data.substring(1, 3); uint8_t first = (String)tmp1; I am getting the error ...
0
votes
1answer
412 views

Sketch Upload to LinkIt ONE Timeout

I've just bought a new LinkIt ONE IoT prototyping board, and I'm having trouble getting started with it. I'm working on a mac. I've installed the LinkIt ONE SDK onto my Arduino IDE as specified in ...
2
votes
1answer
6k views

ESP8266 wifi module sending data via jQuery

Hey all I have the ESP8266 module and I have already set it up and it's working good. However, when I run this HTML page code here: <html> <head> <title>ESP8266 LED ...
2
votes
2answers
98 views

I am running 1.6.5, but the folder says 1.6.3? [closed]

I just downloaded the latest version of the Arduino software (1.6.5). However, when I look into the Application Support folder under Library (I have a mac), I find that I have a folder named 1.6.3: ...
1
vote
0answers
54 views

Arduino IDE Board Manager: Unable to install Due on 1.6.5 [duplicate]

I have an Arduino Due I'd like to start using. I've been using Unos, Megas etc no problem. The newer IDEs have removed the Due support. I've been trying to install Due support through the Board ...
2
votes
1answer
13k views

Manual Arduino Due Installation

Not sure if this is the right place to post this. I have an Arduino Due I'd like to start using. I've been using Unos, Megas etc no problem. The newer IDEs have removed the Due support. I've been ...
1
vote
0answers
846 views

Linear equation solver Arduino Calculator, printing wrong answer [closed]

I wrote a code in C to solve equations, but I don't know why some equations that I input into this calculator, give me wrong values, the algorithm is correct because I execute it in C and give me the ...
1
vote
2answers
7k views

Problems uploading sketch to Arduino Due

Windows 7 here. I just bought an Arduino Due and downloaded the Arduino IDE. I wrote a simple "blink LED" program (see below) and am trying to flash it to the Due. When I connected the Due to my ...
0
votes
1answer
154 views

Arduino IDE / Teensy 3 on Ipad

Does anyone know a good IDE for Ipad to write Arduino code and compile it for teensy 3 ? Answers with different alternatives would be appreciated
1
vote
2answers
111 views

Is there such a thing as an “Always” loop?

I seem to remember somewhere somebody making an "Always" loop between Setup() and Loop(). But I can't find any documentation on it. Does such a thing exist, or am I imagining it?
0
votes
1answer
4k views

Serial.println Sensor Value and text in one line

How do I put the sensor value and text on the one line in the serial monitor. I just want Pot Value 30 to show in the serial console. What am I doing wrong? Serial.println("POT value ")(sensorValue);...
0
votes
1answer
112 views

IDE to program Arduino Uno especially internal interrupt vectors

I am trying to program this Arduino Uno's Timer1 module to use its Input Capture pin to record the times of edges and store / transmit them during the Input Capture Interupt Service Routine, but I ...
1
vote
0answers
840 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 ...
7
votes
1answer
14k views

How shiftOut function works internally? (explanation on source code)

I were examining shiftOut() function code in wiring_shift.c and I didn't quite understand what is going in digitalWrite function. I see !!(val & (1 << i)) is taking the bit value from val ...
1
vote
1answer
2k views

Arduino 1.6.4 not showing any /tty/ options in Serial ports

hej guys, recently I upgraded to Arduino's 1.6.4 IDE just to find out, that I can't seem to upload anything to my board. More specifically: The 1.6.4 IDE is not giving me the option to select the /...
-2
votes
1answer
626 views

how to multi merge code [closed]

i do have sketch from various people out there who have build nice code to do what i need done BUT not for my application and well they grant us permission to use and or modify their code so this is ...
1
vote
1answer
1k views

Using Arduino command line on windows

I have an nmake file; srcpath = ..\pilot cmdline = "C:\Program Files (x86)\Arduino\arduino.exe" cmdflags = --verify --board arduino:avr:uno --port com4 -v --preserve-temp-files prefs = --...
6
votes
2answers
13k views

How to see log from Arduino IDE?

Where can I see outputs from such instruction in an ino file ? Serial.println("my message");
3
votes
1answer
822 views

how can I change the setting for number of upload retries in the IDE?

I run into this problem when I mess something up, and it's pretty annoying to wait for 10 not in sync timeouts before I can try some different method. ... avrdude: stk500_getsync() attempt 9 of 10: ...
-5
votes
1answer
647 views

nRF24L01+ Arduino mpu6050 [closed]

How do I ever understand what the Arduino IDE means when they advise you of any errors? The reason I ask is because I got several errors that don't make sense to me as I see what the error means and ...
12
votes
4answers
7k views

Writing C Program outside of Arduino IDE?

I like the idea of using the Arduino IDE for simple projects and for getting started with Arduino, but the consensus I've gotten so far is that it is for those who are new to Arduino and/or ...
1
vote
2answers
502 views

#ifdef / #include CPP issue

I'm developing a sketch which I need to run on an Uno (for debug) and a Gemma (as the target). Adafruit has their own Wire library (TinyWireM) which I was planning on using on the Gemma. Thus, I was ...
-1
votes
1answer
505 views

Clone pro micro serial port 'COM4' already in use

So I just got this board I ordered from ebay and tried to play with it for the first time. http://www.ebay.com/itm/Leonardo-Pro-Micro-ATmega32U4-Arduino-IDE-1-0-3-Bootloader-replace-Pro-Mini-/...
1
vote
1answer
1k views

How can I use a 'Global' class object?

I created a class inside the sketch file(not in another file) and init it as object before setup() and loop() as a global object, after I change some parameters inside the object in setup() , I found ...
3
votes
1answer
4k views

Arduino with WS2812 using Adafruit NeoPixel library fade in/out different patterns

Hey all I have been trying to figure out a way to random set patterns for my fade in/ out code below: int PIN = 3; int totalLEDs = 11; int ledFadeTime = 5; Adafruit_NeoPixel strip = ...
8
votes
4answers
59k views

Difference between print() and println()

What is the difference between print( ) and println( )? I see none when I run a code.
1
vote
3answers
863 views

Arduino uploading to the wrong port

I purchased a half dozen fake Arduinos hoping to build a bunch of projects without paying a fortune. I have all the drivers installed, and the port shows up in the Arduino IDE. The problem is when I ...
0
votes
2answers
1k views

Using Arduino to show images in Serial Monitor

Some time ago I came across a Vedic in which a person has hacked an optical mouse's camera and displayed the image in the Serial Monitors. My question: How to use Serial Monitor to display an image ...
1
vote
0answers
37 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 ...
0
votes
2answers
8k views

Serial structure data transfer between an Arduino and a Linux PC

I use the Arduino compatible chipKIT WF32 board. I want to transfer structure data between my board and a Linux PC. Can I do it like the following? struct data d; char *tx = (char*)d; Serial.print(tx)...
0
votes
2answers
2k views

Convert string plus hexadecimals to array of hex:

I have a string which I send to the arduino using serial monitor. Something like that: my specific string 0x0F 0x2C 0x98 0xBC How can I parse this string in the arduino to get an array of hex values:...
0
votes
1answer
293 views

How to compile and upload the specific (.cpp + .h) code?

I have a specific arduino code (no .ino files) https://github.com/justintconroy/MdbBillValidator , which can't be opened by arduino IDE. How can I make & upload this code? I have an arduino 2560 ...
9
votes
2answers
3k views

Remove unused boards from Arduino IDE

In the current project I'm programming simultaneously an UNO board and a Leonardo one. Switching back and forth between the two boards in the Tools menu takes too much time because of the other 18 ...
1
vote
0answers
205 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?
0
votes
2answers
258 views

Not able to receive the operation results from the slave after the command being sent by Master - SPI

Brief - I am using two arduino Uno's. One acts as a master and the other as slave using Arduino IDE. Below is the Master Code: // Taken from Nick Gammon's Forum// #include "SPI.h" #include"...
1
vote
0answers
471 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),...
2
votes
1answer
2k views

What are the differences between the 1.0.x and 1.6.x IDEs?

What is a summary the main differences between the Arduino 1.0.x and 1.6.x IDEs? Why do some Arduino products, such as the LightBlue Bean, still require use of the 1.0.6 IDE?
5
votes
2answers
25k views

How do I change the Console colour of Arduino IDE?

Leading on from the question Can I change font Color and/or Type for IDE 1.5.6r2?, in 1.6.0, or 1.6.11 it does not seem to be possible to change console.color or console.error.color. To be precise, ...
1
vote
1answer
646 views

How to add Ultrasonic Sensor to the board?

I am making an RC car , have combined the Arduino UNO R3 with the AR 293d, and pluged in the HC-SR04 sensor to the SRO4 hole at the left top corner in the below graph. However, besides one sensor I ...
2
votes
1answer
4k views

Build arduino with windows command line

Can someone explain, step by step, along with all software I must use for using Windows command prompt to build an Arduino sketch (.ino file )? I've followed these steps but I can't.
3
votes
2answers
836 views

Arduino Upgrading from 1.0.6 to 1.6, code doesn't work anymore

I'm using Arduino UNO, and today I upgraded my IDE from 1.0.6 to 1.6, just to upgrade, nothing special. I got my libraries again but I got an error with a code that was working OK. The error was: ...
2
votes
8answers
21k views

Getting “avrdude:stk500_recv(): programmer is not responding” while uploading sketch to Arduino Pro Mini

I recently bought an Arduino Pro Mini(3.3V 328p, 8MHz) along with a CP2102 USB to TTL UART convertor. When I try to upload a sketch to the Pro Mini using it, I get a avrdude:stk500_recv(): programmer ...
1
vote
1answer
899 views

Unable to upload sketch after bootloader has been flashed on Arduino Micro

I have created my own custom Arduino Micro, but I am experiencing problems when I attempt to upload an sketch via USB in Arduino IDE. Here is how I program the Arduino Micro: avrdude -c ...
5
votes
2answers
16k views

Location of examples folder in Ubuntu

I'm trying to add some additional example files to the Arduino IDE in Ubuntu 14.04. However, I can't for the life of me find where the examples are stored in my system. I checked the Arduino website, ...
0
votes
4answers
6k views

Error code 10 for arduino device driver

How can I fix error code 10 while installing the device driver for Arduino in Windows 8.1? The LED on the board is blinking after connecting it to the laptop, so I don't think so that the board is ...
2
votes
1answer
158 views

Unable to alter SPI speed on Arduino Micro

I am using SPI to communicate with a IMU device which is working perfectly, except the SPISpeed which is not being altered as it should: unsigned int m_SPISpeed = 400000; SPI.begin(); pinMode(...