Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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, Mac OS X, and Linux.

0
votes
1answer
167 views

Can I program a 20MHz Attiny85 with the 8MHz Internal Clock option in the Arduino Software?

I'm looking at using the ATTiny85 for a project, but have run into a snag. After following the tutorial found at https://learn.sparkfun.com/tutorials/tiny-avr-programmer-hookup-guide, I've installed ...
0
votes
1answer
281 views

How to configure location of preferences

I had been using Arduino 1.0.5 on my Pi, and in September last year downloaded arduino-1.8.4-linux32.tar.xz (which I have since updated). I have been successfully using 1.8.5, but just noticed it ...
1
vote
1answer
43 views

Arduino IDE loses programmer after installing Visual Micro

I had this added to programmers.txt mysmartusb.name=mySmartUSB light mysmartusb.communication=serial mysmartusb.protocol=stk500v2 mysmartusb.program.protocol=stk500v2 mysmartusb.program.tool=avrdude ...
0
votes
0answers
526 views

Port not showing on Arduino IDE 1.8.5 on MacBook Pro

The port is not showing up on Arduino IDE. I have tried using a compatible Arduino Uno and I'm now trying to connect an Adafruit Flora board. The serial port is just not showing up. Arduino compatible ...
0
votes
0answers
79 views

Problems uploading to intel galileo [duplicate]

I bought a galileo. installed the arduino1.8.5 on a newly installed linux unbuntu computer. Opened the IDE, connected and powered up the Galileo installed the board trough the Tools menu and opened ...
0
votes
0answers
129 views

Arduino weather station BMP280 and BM1750

im experiencing troubles with combining a arduino sketch with BMP280 and BM1750. At this moment i have 2 sketches which need to be combined. #include Wire.h> #include BH1750.h> // ADDR line LOW/open:...
0
votes
1answer
73 views

comparison in a time sequence [closed]

in an Arduino sketch a user is invited to input a number representing a time in the format HH:MM, this number is to be added at the end of an ordered and limited sequence of times --the first input (...
0
votes
0answers
22 views

Can I use an atmega32u4 like an ftdi232rl?

Hey all since the 32u4 has built in USB I was wondering if I could make it into a FTDI232rl so I can send serial to usb commands. What I am looking to send it this: Any info on if and how I can do ...
0
votes
0answers
290 views

Arduino Uno R3 (with Atmega 16U2) and macOS 10.11 not working

So, i have the newest Arduino IDE (1.8.5) installed and the newest release of Arduino AVR Boards 1.6.21. My OS: macOS 10.11.6. Usually I only use Nano's china clones with an CH340 USB-Serial chip, I ...
2
votes
1answer
165 views

Pro Micro recognised as Micro (win10, IDE 1.8.1)

I just got this pro-micro clone 5V and it's my first pro micro ever. After reading lots of discussions about how easy it is to brick and how it's just a smaller Leonardo, I've also found tutorials ...
1
vote
1answer
195 views

Arduino MKR Zero problem with new UART comunication

I'm currently using an Arduino MKR Zero board and I need to add a new communication because the Serial1 on pins 13 and 14 is already used by another device. I've followed this tutorial from Arduino ...
0
votes
2answers
50 views

Reading bitswise for 'FALSE'

In the sketch I'm working on, I'm storing several 1-bit values representing different boolean states in a single byte, trying to save precious RAM. (example for 5 boolean states: dec10 = b00001010, ...
0
votes
1answer
675 views

Arduino IDE Display Code Line Numbers [closed]

Usually during verification/compilation I get some errors, these errors indicates to me the lines that I get the error. How I can get the line numbers shown in a sidebar in order with a quick look to ...
0
votes
2answers
54 views

3rd Libraries: fatal error: Something.h: File does not exist [closed]

I created this question because I find many questions with similar problems, so I wanted to provide a reference/ more generic question for these type of problems. For my projects I have installed ...
0
votes
3answers
82 views

Want criticism on my code

The code is controlling 3 blinds. There are 2 buttons for each blind for going each way and 2 buttons controlling all of them at the same time. The motorSerial is a way to control all of the blinds ...
0
votes
0answers
65 views

Arduino (MKR FOX) code not running if not uploaded (battery or USB powered)

I have an MKR FOX that turns a relay on/off depending on an ultrasonic sensor's value. The problem is, the code only works if I click "upload" on the Arduino IDE, meaning it doesn't work if I just ...
0
votes
0answers
28 views

ESP8266 with ESP12E web IP address not responding

I have a program to control an RC car. The code compiles and uploads fine. It also prints out the IP address in the serial monitor. When I type the IP address into my browser, I get an error that says ...
0
votes
0answers
21 views

Need to exit this loop, to then be ready to start again

Please bare with me as a noob. First as soon as the code is uploaded it plays, without any tag. So then I put the tag to the RFID reader, and track.mp3 plays, I then remove the tag and the track ...
0
votes
1answer
186 views

How to use use 2 or more HC-SR04 sensors as one single sensor?

I'm new to Arduino and this is my problem. I need to track an object in a room. For now I have placed 3 sensors on the edges of each axis (x, y, z), where the x axis will the line between the east and ...
-1
votes
1answer
517 views

Arduino JSON foreach loop

I'm trying to extract values using ArduinoJson. The values aren't fixed, therefore I need to use the foreach loop. I'm trying this, but I can't seem to use the values like I could with. root["0"]["...
0
votes
3answers
47 views

Arduino IDE libraries search

Where I can do search libraries on WEB, that similar search in IDE? I did not find search page on arduino.cc
0
votes
1answer
389 views

MQTT not working on ESP8266 (Nodemcu 0.9)

I'm trying to use NodeMCU on my ESP8266 (NodeMCU 0.9) but the board keep crashing and I don't understand why. I tested the mqtt broker using command line and it works perfectly, so I can suppose that ...
1
vote
1answer
30 views

Cannot connect to mBot after using Arduino IDE

Today I bought an mBot (from Makeblock) the one that uses 2.4G serial connection. After assembling it, I connected to it using mBlock (software based of Scratch) and I could control it using keyboard ...
-1
votes
1answer
393 views

No Matching Function for call to Ultrasonic:Ultrasonic(int,int)

Good Day! I am trying to code the distance of Ultrasonic Sensor but the problem is it gives me this error. Any idea? Please help. #include <Ultrasonic.h> // HR-SC04 SENSOR #define TRIGGER_PIN ...
0
votes
2answers
56 views

Merge two Arduino projects (change build process)

I'm working on a big software project consisting of several Arduino sketches. I have one Arduino project providing general functionality, such as TCP/IP communication, parsing queries, handling errors,...
0
votes
1answer
149 views

How to fade out RGB strip?

I have a NodeMCU controlling an RGB strip. I have followed a guide and used this code: #include <ESP8266WiFi.h> #define redPin 13 //D7 - Red channel #define grnPin 12 //D6 - Green channel #...
-1
votes
1answer
178 views

Camera on mkr1000 or nodemcu 0.9

My question is: it is possible to connect camera on an Arduino/Genuino mkr1000 or to a NodeMCU 0.9? If yes which one? As far as I now ArduCam OV2640 has ported a library for ESP8266 (that is the ...
1
vote
0answers
30 views

Arduino Due board disappears after some time

I installed an Arduino Due board from the boards manager without any problem and successfully uploaded my sketch to the board. I turned off my PC and the next day I came and saw that there is no "Due"...
1
vote
2answers
104 views

If I run a function in loop() or setup(), and the function doesn't work after some time, is there a way to escape the function and return to the code? [closed]

The hardware is an Arduino Uno, using the Arduino IDE. As a simplest working example, say I have this code (partially from Edgar Bonet's answer): // Simulate an initialization that can hang. Connect ...
0
votes
0answers
197 views

ESP8266 doesn't connect to WiFi

I'm using an ESP8266 with the following pin configuration and it doesn't connect to my WiFi. The blue light on the ESP module is on and my LED is on. That's it. VCC - 3.3v GND - GND CH_PD - 3.3v GPIO ...
0
votes
0answers
50 views

Do you know if VisualGDB, addon of VS2017, debug with JTAG really work?

Do you have an experience of VisualGDB debug with arduino JTAG? My target is ESP32/8266, is-it working well (dynamic breakpoint, viewing of all variable, step by step...) ? Is it fast enough to be ...
0
votes
2answers
1k views

how to send data to Adafruit Bluefruit Feather (32u4) over bluetooth?

Sup yo. I have my Adafruit Bluefruit Feather all wired up. It's lovely. I've got it responding to commands over the USB serial, activating an array of octocouplers. It's terrific. Here's the ...
0
votes
0answers
314 views

Which board should I use with ESP8266 Lolin V3 in Arduino IDE?

I got some "NodeMCU V3" similar to this: https://www.aliexpress.com/item/New-Wireless-module-CH340-NodeMcu-V3-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/32683073762.html I have ...
-9
votes
1answer
165 views

Arduino arrays not working for some reason [closed]

Why does int x[5]; x[0] = 10; is not working. If im doing something wrong i cant figure out what it is.
1
vote
2answers
131 views

Working with long strings

So I need some tips on working with long strings with the arduino. I have a barcode scanner working. This barcode scanner reads a persons driver license. the result is a lengthy character string of ...
0
votes
1answer
313 views

ESP8266 cannot create TCP connections to this particular server

EDIT: I have created an issue about this here: https://github.com/esp8266/Arduino/issues/4593 I have this server: 185.205.210.197 (Check that it works: http://185.205.210.197/) And I have this code ...
-3
votes
1answer
46 views

Keypad Type 11 numbers only? [duplicate]

Can someone give me any idea what condition should i use in input 11 numbers only in the switch case? I only want to type and input 11 numbers only but The problem is it can type more than 11 numbers. ...
1
vote
1answer
198 views

Change format preferences for Arduino IDE in Linux

How can I change Arduino IDE preferences for formatting? I found the preferences file: <user>/.arduino15/preferences.txt, but there are no lines that control IDE formatting. In Windows there is ...
0
votes
1answer
303 views

i586-poky-linux-g++: no such file or directory Error compiling for board Intel® Edison

I'm facing this compilation issue. Arduino: 1.8.4 (Linux), Board: "Intel® Edison" fork/exec /home/jimish/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0/i686/sysroots/pokysdk/usr/bin/...
0
votes
0answers
44 views

LCD Display many numbers?

There is no error in the code it already stored 11 numbers in serial print but the problem I want to input 11 numbers only in keypad That will display 11 numbers also in LCD. But it display many ...
0
votes
2answers
144 views

keypad storing problem (void value not ignored as it ought to be) [closed]

I am trying to input 11 numbers only by the use of keypad but the problem is whenever i use this code. It gave me this error. Here's my code. Help please. #include <SoftwareSerial.h> #include &...
3
votes
1answer
48 views

Ultrasonic sensor confusion

Here is a code snipet for ultrasonic sensor digitalWrite(trigpin,HIGH); delayMicroseconds(10); digitalWrite(trigpin,LOW); duration=pulseIn(echopin,HIGH); Assume trigpin and echopin pins are already ...
0
votes
0answers
74 views

Is it possible to use an array to contain a list of strings that are to be passed as the parameters in a function?

I'm using the Blynk platform with my ESP-12E. Inside the Blynk Android app, I have a drop-down menu widget which can obtain the list of drop-down items from the microcontroller like this: Blynk....
-2
votes
1answer
231 views

Arduino IDE : 'tansig' was not declared in this scope

I am working on a simple NN sketch, everything looks fine and also i have added #include math.h .but when i try to compile it gives an error i-e 'tansig' is not defined in this scope I am trying to ...
0
votes
0answers
288 views

Follow redirect of a captive portal with NodeMCU 0.9

What am I doing? Trying to connect to a free wifi with a Nodemcu 0.9. What I have already done? Connecting and loading a test page in order to be redirected to the login page Connection code: ...
1
vote
1answer
29 views

How to install several IDE version on my PC

How can i install old version of IDE, without uninstalling the other version?(How can i install several IDE version in same laptop).
0
votes
1answer
246 views

What is wrong with my code? Did you forget '()'?

#include <SimbleeBLE.h> // constants won't change. They're used here to set pin numbers: const int ButtonPlayPause = 15; const int ButtonNext = 12; const int ButtonPrevious = 11; const int ...
0
votes
0answers
515 views

Connect NodeMCU 0.9 to WPA2 Enterprise

Is there a way to connect to a NodeMCU 0.9 to WPA2 Enterprise like Eduroam? I've read this but I didn't understand how to use a certificate of this type to connect: The original question is here ...
0
votes
0answers
63 views

STM32f407G Discovery Board with keypad in arduino IDE

I am new to STM32F407G Discovery board. I am making a simple code for displaying whatever key is pressed on the 3*4 keypad onto the 16*2 LCD. It continuously shows # on the screen, when nothing is ...
0
votes
1answer
411 views

nodemcu EEPROM corrupting

Platform Hardware: [nodemcu amica ESP8266MOD] Core Version: [nodemcu-master-21-modules-2018-03-17-17-09-10] Development Env: [Arduino IDE|] Operating System: [Windows|...