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
1answer
38 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
0answers
11 views

Integration of Mobile camera using Arduino UNO

I need some help,I want to to add a wireless camera on to my robotic car,and I don't want to buy the wireless camera rather I want to integrate my Android mobile camera with Arduino Uno only,so can ...
0
votes
1answer
38 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
votes
0answers
49 views

Would a button being pressed be a PinB? Also, assuming ports 9, 11, 12, and 13 are pressed, how would one go about distinguishing between them all

Would a button being pressed be a PinB? Also, assuming ports 9, 11, 12, and 13 are pressed, how do you distinguish between them all? So my code now looks like: int ledPin1 = 1; int ledPin2 = 2; int ...
1
vote
1answer
90 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
vote
0answers
41 views

array shuffler if-then and output question

I have an array shuffler code right 1) How do I use an if-then statement to say if all buttons pressed in order, then LEDs blink 3 times?Thank you. code: void setup() {} void loop() { int ...
0
votes
1answer
15 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
32 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
20 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
30 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
1answer
9 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
82 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
34 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
16 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
33 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
19 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
34 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
44 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
16 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
33 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
86 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
26 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
52 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
85 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
46 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
49 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
31 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 ...
0
votes
0answers
19 views

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

I have an empty array, and what I would like to do is listOfSensors[]={} void funtion (String sensor){ if (sensor is inside listOfSensors){ //dont do anything } else { ...
1
vote
1answer
34 views

Adafruit_NeoPixel define pin for different setups

I am looking for a way of defining multiple pins for my RGB strips. Currently the defined variable is set with the pin within it. This works just fine if I only had one RGB strip connected to the ...
1
vote
1answer
23 views

Arduino Command Line Interface - How to change boardsmanager.additional.urls

I am building a Travis CI job to test my Arduino Library and it needs to install external board definitions. Is there a way that I can set the boardsmanager.additional.urls from the command prompt ...
0
votes
0answers
174 views

Protocol options for data exchange between Arduino and ESP8266

I have a device built with an Arduino uno: Arduino software installed on an Arduino uno can be controlled via serial commands can be controlled via physical buttons and sensors on any button/sensor ...
0
votes
1answer
40 views

Arduino IDE not handling library code correctly?

The author of the PinChangeInt library and the EnableInterrupt library states at github: When the PinChangeInt was in a .h and .cpp file, the Arduino IDE tried to compile it twice. I have a ...
0
votes
1answer
101 views

How can i read serial data into a string until a certain character is recieved?

This is not a duplicate of my other question. This question deals with reading specific data within a serial stream. The other question deals with reading and adding data into a manageable data ...
1
vote
1answer
84 views

Including libraries from header files sometimes doesn't work

I, once again have difficulties including libraries from code files other than my .ino file. I have several .cpp and .h files in my project to keep it sorted and clean. However one of my header ...
1
vote
1answer
52 views

Cannot upload sketch to Atmega328p TQFP soldered on PCB

After creating a working prototype with DIP ATMega328 chip/ Arduino UNO I recently got PCBs assembled with SMD components and ATMega328P TQFP soldered onto them, but now I'm having a hard time trying ...
0
votes
1answer
52 views

How would i capture and split serial data?

How would i capture the following serial data, and split it into parts? <Alarm,MPos:0.000,0.000,0.000,WPos:0.000,0.000,0.000> the parts i need from this is Alarm - This is a state. i.e Alarm, ...
1
vote
1answer
97 views

Atmega88 + arduino Bootloader + FTDI adapter

I burned the arduino bootloader within a atmega88, in order to program it directly from the serial port. But I can't download my code from the arduino IDE... But I get the famous : 'avrdude ...
0
votes
0answers
119 views

NodeMCU build ESP8266

Anybody have a build of the NodeMCU firmware with the g8b SH1106 driver enabled? I can't find one anywhere and can't get the firmware to compile myself. (I know this isn't Arduino related per say but ...
1
vote
1answer
35 views

How to change the topic_name string to PROGMEM?

I'm trying to save SRAM on my Arduino pro mini by going through some libraries. I've noticed that to use my Arduino as a ROS node the library stores the topic name and message type as constants. ...
0
votes
0answers
457 views

ESP8266 problem as Web server

I asked a previous question about esp8266 that made a lot of things clear for me that esp8266 is very powerful and can be independently used as the webserver now, I have used the following ...
0
votes
2answers
87 views

How do pins on an arduino mega 2560 work?

I got a copy of Arduino from a local retailer here (it's a local copy and I'm pretty confused with how the pins actually work). I know basic electronics so far, there should be two pins for every ...
1
vote
1answer
34 views

Reading RFID tags with Arduino IDE, not using Arduino

I am completely new to this technology, but I'm hoping to build a fairly simple program through the Arduino IDE that takes the serial numbers of RFID cards read through my ID-20LA Innovations RFID ...
0
votes
2answers
78 views

Passing class member function as argument

I need to pass a class member function to server.on, unfortunately i get an error. error: no matching function for call to 'ESP8266WebServer::on I have done some searching but could not ...
0
votes
1answer
38 views

Arduino User Input

Is it possible to accept input from an end user via terminal, or some other application? I want to create a prototype for a friend, but he'd need to enter his wireless network and password to ...
0
votes
1answer
45 views

Interrupt variable not getting called while executing another part

volatile byte _incomingFlag = 0; void onIncoming () { _incomingFlag = 1; Serial.println(F("You got an interrupt")); mySerial.println("ATH0"); } void setup () { /* First Start the ...
1
vote
2answers
42 views

Arrays and Functions

How can I return a char array from a function? char c[] = getFloat(val, valid); char getFloat(float val, bool valid){ if(valid){ char stringFloat[16]; dtostrf(val, 10, 8, ...
0
votes
0answers
21 views

Can't program Atmega644p over ISP

I am using the Arbotix-M (Atmega644p). I am trying to program it using an ISP from Pololu. Until yesterday, everything seemed to be working okay and we were able to upload to it without problems. ...
1
vote
3answers
92 views

Are static variables in a function bad?

For my code I use a couple of static variables. But when I search the internet, they seem "evil". For example: I have a function which will be executed every loop (5ms looptime). to increase the ...
0
votes
1answer
94 views

Arduino IDE on Fedora

I'm using Fedora_21_MATE.img on a Raspberry Pi. Installing the Arduino IDE 1.0.6 using these commands, taken from Arduino On Pi. Those instructions are for Raspbian, I assume, so changing for Fedora, ...