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.

1
vote
0answers
92 views

integer corruption

I use a sensor to measure the temperature. This is returned as float. I feed this float using typecasting (int) to a blink function. This works fine. But the next is step is using this same unchanged ...
0
votes
1answer
30 views

Print Byte Array in Serial monitor screen of Arduino IDE

I need to print mentioned below byte array on the serial monitor screen of Arduino IDE char b[]= {'0x7E', '0x00', '0x1C','0x90', '0x00', '0x13', '0XA2', '0x00', '0x41', '0x58', '0x1C', '0xCB', '0xFF',...
3
votes
1answer
284 views

Adding a custom board to the Arduino IDE

I would like to know what is the procedure for adding a custom board to the Arduino IDE? My custom board is similar to the Arduino Zero. Instead of using the ATSAMD21G18, my board is based around the ...
0
votes
0answers
13 views

Problem “Didn't find PN53x board” Arduino NFC Card Reader

i am using the elechouse PN532 RFID Module with an Wemos D1 mini in the Arduino IDE. I use the ISO1443a_uid example from the elechouse library. All works fine if i plug the USB Cable into the wemos ...
0
votes
3answers
7k 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 understand ...
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
12 views

I want to connect my NodeMcu v3 to gsm

I have a problem with connecting my NodeMcu to gsm. I have bought GSM module but I have sim code on card which I can't and that is the problem because I've found some libraries but there are no ...
0
votes
1answer
26 views

RFID RC522 reads the previous tag serial with different tag

I hope someone can help me. I'm using a Mega with RC522, and this happens: I use a tag, it reads the right serial (e.g. AA:BB:CC:DD). Then I use a second tag and sometimes it gives me the correct ...
0
votes
1answer
36 views

'inet_addr_to_ipaddr' was not declared in this scope

I am using ESP32 Ping from this page: https://github.com/pbecchi/ESP32_ping It works fine on ESP32, no compiler error. Because something wrong on my PC, I did fresh install Windows 10 and Arduino ...
1
vote
1answer
372 views

Avrdude Verification Error while flashing Arduino Mega code

I'm working with an Arduino Mega 2560 and am getting the following error at compile time: avrdude: verification error, first mismatch in byte 0x0000 0x14! = 0x25 avrdude: verification error; ...
0
votes
0answers
16 views

No matching function for call to 'TembooChoreo::TembooChoreo()'? TembooChoreo SendSMSChoreo; Error Help

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" C:\Users\user\Documents\Arduino\intruderAlarmTest\intruderAlarmTest.ino: In function 'void loop()': intruderAlarmTest:46:18: error: no ...
2
votes
3answers
18k views

How to determine Flash size?

I need to determine the flash size of my ESP8266 on my NodeMCU module in order to flash the AT firmware onto the board. Apparently different boards come with differently-sized flash memories. Can ...
0
votes
1answer
44 views

About Wemos D1 WiFi [on hold]

I bought the Wemos D1 WiFi and I am wondering how to operate this. So, inside the Arduino IDE, I downloaded ESP8266 boards, I see WeMos D1 mini, WeMos D1 R1, and WeMos mini Pro/Lite. Why in the world ...
0
votes
1answer
28 views

Error code board and boards.txt? Formatting error? cannot verify alarm.txt or any

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" Error reading file (E:\arduino\arduino-1.8.8\hardware\arduino\avr**\boards.txt:0**): Invalid line format, should be 'key=value' Error ...
0
votes
0answers
72 views

JPEG/PNG issues with ESP8266 + Spiffy

I am using a Huzzah ESP2866 with Arduino IDE. I am trying to upload images using html + Spiffy, however the broken image logo keeps appearing. The text works fine. I am using code from here: The ...
0
votes
1answer
45 views

Split up Arduino code into multiple files using Arduino IDE

I am working on a very long code that requires multiple functions defined. I want to split the code into two files as main code ("Feeder_Control" in the screenshot) and functions ("connections" in the ...
0
votes
1answer
683 views

What programmer do I select in Arduino IDE for the ATMEL-ICE ISP?

I have been using an AVRISPmkII for many years and have just transitioned to ATMEL-ICE ISP after the AVRISPmkII became unavailable. Occasionally, I like to program the Arduino Uno from the Arduino ...
0
votes
3answers
2k views

NodeMCU ESP8266 on Arduino IDE doesn't detect Wifi

I am using a NodeMCU 1.0 v3 and I am trying the example sketch (wifiscan) but it just doesn't pick up any AP in the house. My phone and laptops etc are able to pick up the APs though. Other sketches ...
-1
votes
0answers
23 views

Can I control the speed and direction of 4 brushed dc motors with arduino uno and shield? [duplicate]

I want to use the arduino uno and the Adafruit Motor Shield v2. I'm looking for the cleanest set-up to control 4 DC brushed motors. I want to make all the motors spin CW at the same speed ...
0
votes
1answer
29 views

Can I control 4 DC Brushless motors with arduino uno and Adafruit motor shield? [duplicate]

I need to control 4 DC brushless motors. I have no experience with arduino or coding. After some research the cleanest setup seems to be using the Adafruit motor shield, however the motors I'm using ...
2
votes
1answer
641 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 ...
0
votes
1answer
1k views

How to configure 2nd Quadrature Decoder IO pins in Arduino IDE

I am working to read two quadrature encoders using a single Arduino DUE, as part of my summer vacations project. According to the following link http://atmel.force.com/support/servlet/fileField?id=...
0
votes
1answer
44 views

Arduino Uno: avrdude: stk500_recv(): programmer is not responding

I have an original Arduino Uno board purchased directly from the official arduino website. I have used it successfully with IDE v1.8.5 on my Windows 10 laptop for various projects in the last 6 months....
1
vote
1answer
595 views

Unable to upload code on Arduino Nano

My Arduino Nano v3.0 (made by Gravitech US) is behaving in an unexpected manner. Whenever I try to upload a simple Blink program on the board it always give error which is shown below. avrdude: ...
0
votes
0answers
33 views

ESP12F module not working as an access point

I have an ESP12F WiFi module and I need it to work in access point mode. I burned the example code to it using Arduino IDE and it worked at first. I could connect to the WiFi provided by it using my ...
0
votes
1answer
985 views

Nextion Dual State Button

I am having an issue with my Nextion display. I have uploaded the following code via Arduino IDE to my Arduino MEGA 2560. My Nextion Editor shows the button as ID:9 on page0 named floor. I am not ...
0
votes
1answer
32 views

Question on how “f” value is calculated in converting Morse Code to laser audio from this tutorial

I am working on this tutorial, https://www.hackster.io/SURYATEJA/morse-code-communication-using-laser-module-both-ea1b01 and the author created a "Send" and "Receive" code for encoding and decoding ...
0
votes
1answer
579 views

NodeMCU V3 + SD Card with Arduino IDE Not working

I am trying to connect CATALEX MicroSD Card adaptor to new NodeMCU V3 and PIN configuration are as below, NodeMCU ---------> SD Card GPIO13 (D7) ------> MOSI GPIO12 (D6) ------> MISO GPIO14 ...
0
votes
1answer
123 views

Updating Server using ESp8266 with Direction Button Pressed IN

I've connected a 5-way tactile switch to a ESP8266 module and am using the Arduino IDE to create an automatically updating web server that displays the direction that the button is pressed in when ...
2
votes
1answer
2k views

How to restart a counter in a program using a push button in a LDR Tripwire setup

So, trying to configure this code so that when I push the button, the person counter will go to zero and just as it goes, the counter will increase when the LDR will get tripped and again when the ...
0
votes
1answer
33 views

strcat char concatenation trouble

Still don't understand about char concatenation. void setup() { testCounter(3); } void loop() { // put your main code here, to run repeatedly: } char testCounter(int countx){ char a[10]; ...
0
votes
2answers
40 views

threshold voltage level and blinking problem

I am using arduino pro mini 3.3 V,8 Mhz.vcc of the this arduino is coming from AC-DC converter with regulator 3.3 volt.I am listening analog data from voltage divider approximately 250 milivolts. I ...
0
votes
1answer
103 views

Read Multiple Sensors Data from a text file located in SD Card in Arduino/ESP32

I am working on a small home project 'glucose meter' via non invasive techniques. I am using four sensors like RGB color sensor, two multi-wavelength photo diodes (A & B) and temperature sensor (K-...
0
votes
1answer
441 views

Error while uploading code to ESP8266 through Arduino Mega 2560

I am sorry for posting this question for the nth time but I am still not able to find a solution for this error. I am trying to upload the WiFiScan(Arduino IDE example program)program code to ESP8266 ...
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 ...
2
votes
1answer
28 views

How to upload Arduino C code to mBot?

I am trying to program mBot using Arduino IDE. I am connected to the mBot using USB on COM7, I am able to upload a code created in mBlock 3.4.11 fine, using "Arduino Mode" as the editing mode. I would ...
0
votes
1answer
1k views

Arduino IDE: Board nodemcuv2 (platform esp8266, package esp8266) is unknown

I am receiving this error after reinstalling Arduino IDE (everything was working fine [same components, same code]): Board nodemcuv2 (platform esp8266, package esp8266) is unknown I have recently ...
3
votes
1answer
11k 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 ...
0
votes
1answer
268 views

Arduino Uno Motor control using 2 Relays, 2 Limit switches and Bluetooth. Forward Reverse Stop

Modified existing project from this link: Problem : Trigger limit switch to stop DC motor I modified this code to control two relays which are wired to motor poles for Forward or Reverse movements ...
2
votes
3answers
77 views

Value of uninitialized EEPROM in ESP8266?

In my limited testing it appears that the EEPROM in the Wemos D1 is not initialized to 255 like the specs say is the case for AtMega based Arduinos. In fact, the values look to be more-or-less random. ...
1
vote
2answers
379 views

Serial monitor in Arduino IDE for RobotDyn ESP8266-Pro via CP2102

I bought a couple of "ESP8266-Pro" micro-controllers from a Chinese company named RobotDyn. There's no real documentation with them, but I've bought a lot of other stuff from them in the past that ...
0
votes
0answers
27 views

NodeMCU with digital sound sensor - Can't find examples or good documentation

I'm very new to this world, and trying to hack one of my first projects have proven hard without solid documentation or examples to copy like I usually do. I've got a https://www.gearbest.com/...
0
votes
3answers
55 views

How to connect multiple I2C devices?

I am trying connecting I2C OLED SSD1306 and I2C INA219 on ESP32 but without success. First try: #include <WiFi.h> #include <Wire.h> #include <Adafruit_GFX.h> #include <...
0
votes
2answers
31 views

Accessing multiplexed I2C and UART pins of STM32F103 in arduino IDE

I want to access both of the multiplexed I2C and UART pins in the same program. I am programming in Arduino IDE.Can anyone please tell me how to access same pins for different functionalities?
2
votes
1answer
554 views

Making two Arduinos/MKR1000 communicate

I am trying to create a project in my free time just for a bit of fun - it consists of two MKR1000 (one acting as a web server connected to one laptop, and the other acting as a web client connected ...
0
votes
0answers
18 views

Checking/accessing Serial prevents clean upload of sketch via bluetooth?

I'm deploying some DIY home automation devices, built around a 3.3v pro mini, a HC-10 module, and a relay board. The arduino is able to be programmed over the bluetooth module, so once it's in the ...
0
votes
0answers
44 views

problem data I2C to sensor GY955/BNO055 (China)

I want to ask, I have a problem when running the Arduino sensor, I can't output data, but it's detecting that the sensor address has been paired. Like I2C has a problem or locks it. Last night it ...
0
votes
1answer
75 views

Arduino Mega upload issue

I have made my own version of an Arduino Mega and I am encountering some issues. Whenever I try to upload any sketch to the Mega, I get the following error message: avrdude: stk500v2 ReceiveMessage():...
0
votes
1answer
67 views

Include in different file make different compiling error

I'm have problem compiling a code. ardutest.ino: #include "mylib.h" #include <SD.h> void setup() { } void loop() { fn(); } mylib.h: #ifndef mylib_h #define mylib_h #include "Arduino.h"...
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 ...