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

2
votes
1answer
57 views

Difference between print() and println()

What is the difference between print( ) and println( )? I see none when I run a code.
0
votes
2answers
13 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
39 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 ...
0
votes
0answers
8 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
1answer
25 views

How do I add extra components like sensors, camera to Pi-bot? [on hold]

Newbie to Arduino here. I am talking about this Pi-bot. The main board is called Stem Board and they mention that it is Arduino compatible (if I understand correctly, it means I can use Arduino IDE, ...
0
votes
2answers
54 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; ...
0
votes
1answer
23 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 ...
-1
votes
0answers
30 views

Arduino Due RTC

I have downloaded the Arduino RTC library by Markus from Github and uploaded the example unixtime on my board. But when i open the serial monitor there is no output. It is blank. The baudrate is 9600 ...
0
votes
1answer
61 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 ...
2
votes
1answer
101 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 ...
0
votes
0answers
22 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
1answer
23 views

Not able to receive the operation results from the slave after the cammand 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" ...
0
votes
0answers
30 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 ...
0
votes
1answer
67 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?
1
vote
1answer
123 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
71 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 ...
0
votes
0answers
23 views

How to use “enum” within Arduino IDE? [duplicate]

When I try to write a enum function it looks like arduino IDE does not recognise it. Any suggestion on how this works?
0
votes
0answers
42 views

Cannot upload sketch to Arduino Micro with Arduino IDE on OSX

I have been programming a Arduino Micro for weeks now, but suddenly it is not able to upload a sketch. I am using OSX Mavericks on a Macbook Pro which has USB 3.0 ports. It has never been a problem ...
1
vote
1answer
91 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.
0
votes
0answers
216 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: ...
1
vote
2answers
126 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 tries to upload sketch to the Pro Mini using it, I am getting avrdude:stk500_recv(): ...
-1
votes
1answer
69 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 ...
1
vote
1answer
15 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
1answer
141 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
0answers
45 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(); ...
0
votes
1answer
127 views

Pulse measurement

I am currently doing the project in pulse measurement using arduino yun. I am using pulse sensor is SEN-11574 . When I verify the code I get this error: Arduino: 1.5.8 (Linux), Board: "Arduino Yún" ...
1
vote
3answers
118 views

Can i use arduino code, without using arduino board but just using MCU included

I am developing a product, and to ease my job i am planning to use MCU inside the arduino with the library of Arduino. Since all the registers are already defined inside the library, and all required ...
0
votes
1answer
99 views

Cannot program Arduino Micro in OSX without hard resetting the board every time

I am experiencing a problem when programming Arduino Micro in OSX Mavericks. I have tried to reproduce this problem in XCode and Arduino IDE and it is persistent. I need to make a hard-reset at the ...
0
votes
2answers
114 views

How to prevent the Serial Monitor from closing upon re-uploading sketch?

I'll be teaching a year 10 class on the Intel Galileo gen2 and there'll be a wide (but high-level) programming curriculum, which includes introduction to console printing, using Serial. I'd like the ...
0
votes
0answers
24 views

Use Arduino IDE to program Bluetooth Bee standalone

Using Arduino IDE, how do I program the Bluetooth Bee Standalone? I can't select that particular board from the list under Tools -> Board. The closest I see is Arduino Fio.
0
votes
1answer
60 views

Good way to get automatically generated code into a sketch

Situation: Mac OS, Arduino IDE 1.5.6r2 I've got a sketch with several files, all classic .cpp and .h source and header files except the main sketch file. As the project goes more complex I started ...
1
vote
2answers
111 views

Is Arduino IDE enough to program with C or C++?

I am using Arduino IDE to program my ATmegas with bootloaders. I can directly manipulate ports, use timers, interrupts, PWM pins and timers, etc. Everything is working. But this question arises: Does ...
0
votes
1answer
44 views

Freeduino avrdude stk500_getsync() not in sync [duplicate]

I have a Freeduino USB 1.1 board with atmega 8l-8pu microcontroller on it. When I try to upload program, it shows error: avrdude stk500_getsync() not in sync: resp 0x00 I have tried reset and the ...
0
votes
3answers
245 views

Can I program Arduino with Python? [closed]

I know that I can program Arduino with python but is it possible to make every project, which can be completed by normal IDE?
0
votes
0answers
284 views

Arduino Pro Mini gives error when uploading- “stk500_recv(): programmer is not responding” & “stk500_getsync() : not in sync: resp=0x00”

I have a Arduino Pro Mini clone to which I am trying to upload the Blink sketch. I am on Ubuntu 14.04. USB to UART CP2102 (arduino programmer I am using) drivers are available by default with this ...
0
votes
0answers
22 views

How to split serial detector data special format?

I receive serial data via zigbee on a Arduino Fio on a 16,2 LCD. The Data comes in following format with a newline on the end: 0001 0.102 uSvievert/h First row are the seconds moving up to 9999 and ...
0
votes
1answer
661 views

Arduino software won't open in Mac OSX 10.10.1

I am having trouble opening the Arduino software on my mac, since I have updated Java to version 8 the Arduino software won't open. It does not give an error just closes instantly. I have tried ...
3
votes
1answer
34 views

Different Arduino packages on Raspbian

I'm working on using my Raspberry Pi (Raspbian) to upload sketches. However, I'm not sure which package is appropriate for command line usage (like described here on Github). It seems like sudo ...
0
votes
2answers
125 views

Arduino UNO and bootloader-i am really lost

I am really despaired .i have spent a full day to understand that, and it seems that i still dont . I have arduino UNO,with atmega328, in which i wrote a great piece of code to it. Later,i have ...
0
votes
2answers
79 views

How to prepare data structures and classes?

How can I port these structures to arduino ide, I also get error when I define pointers // pointer to classes example #include <iostream> using namespace std; class Rectangle { int width, ...
0
votes
1answer
40 views

How to Segment Accelerometer Signal at idle points

I'm using an 3 axis Accelerometer(GY-521) to get the acceleration data and also the gyroscope to get the gyro data. I want to segment the signals at the idle points so that i can get the segmented ...
0
votes
0answers
191 views

0.96" OLED and Arduino UNO usage error

I have Arduino UNO with 0.96" OLED display with 128(width)*32(height). It is said that I have to edit Adafruit_SSD1306.h for my 128*32 OLED, okey I did it from 128*64 to 128*32 but I still get the ...
1
vote
2answers
104 views

ATmega168a Breadboard - can't load via Arduino IDE

I have ATmega168a on a breadboard. I am programming it via the Arduino IDE and a FT232RL USB adapter. When I select my board for 168 and upload, I get the following error: stk500_getsync(): not in ...
1
vote
2answers
114 views

I can't scroll Arduino IDE's example & scketch lists down

I have Arduino IDE 1.0.5 in win7 x64. I have so many library units. A pity that I can't scroll down to my other options. Is it Arduino.exe's problem or something else? How can I add triangle to scroll ...
0
votes
1answer
165 views

Arduino Leonardo Upload issue with ubuntu 14.04

I got a bare conductive board ( which is based on arduino leonardo ) . I was trying to upload a blink sketch using arduion 1.5.7. But its always failing and here is the log. I never work a leonardo ...
1
vote
1answer
757 views

What is arduino_debug.exe for IDE 1.5.6r2?

After installing IDE 1.5.6r2, there are two .exe files, arduino_debug.exe and arduino.exe (which is same name as previously installed IDE 1.0.5).
5
votes
1answer
933 views

Can I change font Color and/or Type for IDE 1.5.6r2?

The program becomes harder to read (at least on my particular monitor) after upgrading. Any way to change font Color to darker color and/or Type to thicker stroke (like B in this question editor) ...
1
vote
2answers
1k views

Now at IDE 1.0.5, should I upgrade to 1.0.6 or 1.5.7 Beta for Pro mini and ATMega2560 use?

Do I need to re-install many libraries (or similar 'house keeping' works)? Is the upgrade straight forward? Apparently, from Arduino web, one need 1.5 BETA series for use with Due. For Pro Mini, UNO ...
1
vote
1answer
134 views

Opening .h and .cpp files from folders other than the sketch folder

My team has a C++ program from another microcontroller that we are moving to Arduino, which is currently divided into two main folders, the sketch and libraries. We want to be able to open some of the ...
1
vote
1answer
102 views

How to enable maximum Dead Code Removal?

I am running out of code and data memory space on ATMega328P. Code size is big as I used several libraries, but, I only use a few functions of those library. Apparently, the default IDE is only ...