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
0answers
5 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
0answers
74 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
0answers
14 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 ...
0
votes
1answer
26 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
1answer
36 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
35 views

About Wemos D1 WiFi

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
0answers
68 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 ...
-1
votes
0answers
20 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
26 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 ...
0
votes
0answers
23 views

what will be the Microcontroller for Data acquisition system with inbuilt ADC of 16 bit resolution and more than 50k sampling frequency [closed]

I am making a data acquisition system then later I need to transmit that data to the server with GSM Module via MQTT protocol. I want to develop the prototype ASAP. below are the requirements:- A ...
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
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
30 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]; ...
2
votes
1answer
27 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
42 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....
0
votes
0answers
26 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
53 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?
0
votes
0answers
16 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
35 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
2answers
25 views

Software serial conflict with WiFi on ESP8266

I'm trying to use an ESP8266 (Wemos D1 mini) to read from a 19.2K serial port and report the results over WiFi. Programming is via Arduino IDE. The code to read the port works just fine if WiFi is not ...
0
votes
0answers
26 views

Installing ESP 32 in Arduino IDE

What to do if in Arduino IDE boards manager, installation is stuck at "Downloading tools (3/3). Downloaded 38,190kb of 125,719kb." when installing ESP32 on Arduino IDE? I have not connected the ESP32 ...
2
votes
3answers
73 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. ...
0
votes
2answers
78 views

Invalid conversion from 'const char' to 'uint8_t*' [closed]

I am just a newbie, don't know how to solve this issue void loop() { UdpSend("Test", "192.168.0.240", 4210); } void UdpSend(const char* message, uint8_t * ipaddress, int port){ Serial....
0
votes
0answers
40 views

Check for correct board in code [duplicate]

I am using a lot of different boards(uno, teensy, nano, esp8266, esp32) with the Arduino IDE. Quite often I forget to change it, which causes problems and sometimes even bricked devices. Is it ...
0
votes
0answers
19 views

ESP-01 shows fatal exception or gibberish when AT commands are given

I'm using esp-01 for an home automation project. After a lot of trouble I was able to flash the AT firmware. Still, when I type AT commands in the serial monitor, I get the following errors fatal ...
0
votes
1answer
46 views

String and heap confusion

I hope you all well. Recently after view unknown crashes I decided it can be related with me messing with "heap" After reading few sources on heaps and how it works it kind of confusing. Some ...
1
vote
0answers
41 views

HTTPS POST method fails in esp32

I was trying to connect with server but, I was unable to post the data. I have added the SSL key to connect with server that is happening but HTTPS POST is not. I tried the same method with http, I am ...
0
votes
1answer
32 views

Taking String Input from NodeMCU Webpage and Printing it on Serial Monitor

I've started working with NodeMCU recently. I've very little knowledge about this device and how a website works. I'm trying to take a long string input from a website hosted by NodeMCU, store it on a ...
1
vote
1answer
162 views

Equivalent of millis() in Atmel studio

This code It works in atmel studio.But this millis function is starting to run 31-34 miliseconds behind of arduino millis fuction.Why?I am adding picture. Picture: https://imageshack.com/a/img922/...
-1
votes
0answers
41 views

Elechouse (?) PN532 stucked on “Didn't find PN53x board”

Good day my good people. First of all, I'm aware that there's a similar topic here, but it didn't solve anything for me, so I am forced to ask (something that I deeply hate). So here it goes: I'm ...
1
vote
1answer
65 views

Get ESP32 Chip ID into a string variable (Arduino/C++ newbie here)

It's just a few days since I started using Arduino IDE ( programming an ESP32 ). As I learn, I am trying to write some snippets. I wanted to store the Chip ID of ESP32 into a variable (preferably ...
-1
votes
0answers
25 views

How do I make changes in the existing library of Arduino?

I have to interface 16x2 LCD and that too with the help of Shift register 74hc164 IC. So I want to change on my LiquidCrystal library. How can I make changes in it. It is showing error: LiquidCrystal ...
-1
votes
0answers
34 views

How do I get .hex file from Arduino IDE

I am getting a .bin file from instead of a .hex file when I follow the methods given in this question: How to get the firmware (hex) file from a .ino file containing the code. I have tried changing ...
0
votes
1answer
53 views

Converting hexadecimal string to floating point value

I am reading data from an energy meter over modbus protocol and I am getting hex values from there. I want to convert that hex string to floating point value. For example - 0x416f0000 denotes a value ...
0
votes
1answer
28 views

Setting Fuse Bits From Arduino IDE?

I've come to understand fuse bits in the last few weeks. I'm working on a bitbanging project on an Arduino Pro Micro, and the signals I'm working with are around 30uS each. For this reason, I think I'...
0
votes
2answers
39 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 ...
2
votes
3answers
151 views

Control I2C relay board from two Arduino Uno

how can I make multi master Arduino device to work with single I2C device? As both the master device are 20 m away from Slave device, I am using the I2C relay board to connect with 2 Arduino boards ...
0
votes
3answers
40 views

Defining array in switch case

I’m completely new to arduino, so be polite. I’m trying to program my esp32 to drive neopixels as seven segment display. So I take a digit and pass it to switch case and in switch case I mention which ...
0
votes
2answers
26 views

how to compile arduino sketch from termnial without using arduino ide

I want to know how can I compile and upload the arduino sketch from my terminal instead of using Arduino IDE. I want to use a different IDE for writing code.
-1
votes
0answers
20 views

Using Arduino IDE to generate text box with predefined text for DigiUSB/DigiKeyboard [duplicate]

I need to know the procedure to create a text box with predefined string in Arduino - DigiUSB for DIGISPARK device, Which should be disabled after 10 seconds. == NOT ON SERIAL CONSOLE == FOR WIN7 ...
-1
votes
0answers
41 views

compiling error on a program I have run before

I am fairly new to the programming world. On top of that I have been away for a while. I get this error when loading a program that I have ran in the past with no problem. I don't think I changed ...
-1
votes
1answer
24 views

Can I operate an arduino that has a file uploaded on it, without having the file myself?

I've been a massive idiot and accidentally deleted the sketch I need for a project at university, and I didn't create any backups. The sketch is already uploaded into the arduino, which operates using ...
0
votes
1answer
106 views

SD Card Read/Write Arduino Mega Fail

I have an Arduino Mega 2560 where I have used a MicroSD Card Module to Read/Write Data on the Micro SD Card. I have tried using the Example in the Arduino IDE but the data is not being written or read ...
0
votes
1answer
60 views

Why do I get “ stray '#' in program ” error?

I am making an Arduino program with SIM800L module and would like to check credit status of the SIM card. When I manually enter the command: AT+CUSD=1,"*123#" into Serial Monitor, it works fine. But ...
4
votes
2answers
301 views

How are errors (not related to syntax) managed in arduino and in the AVR architecture in general?

I was just curious about how the AVR architecture manages errors that would cause a regular desktop program to crash. I'm talking about logical errors for example math problems that are undefined. ...
-1
votes
0answers
33 views

How to develop Arduino support for a custom board?

I am working on a spin-off of an existing SAM board that is already supported by the Arduino. My question is that how do I go on about creating a custom board package for the Arduino IDE that will be ...
-1
votes
0answers
36 views

ESP8266 Server File up and download over UART to an ST32

I have a problem with an ESP8266. This is a blockschematic of my project. Blockschematic The Website has 3 Buttons. Download (Download the csv from the external Memory. The STM send the csv over ...
0
votes
1answer
46 views

How can I concatenate these two values as a string?

I've tried all the supposed solutions for the exact error, pasted into google, that I could find on every forum including this one and no matter the alleged solution I will either get the error about ...
0
votes
2answers
60 views

could not convert 'digitalWrite(8u, 1u)' from 'void' to 'bool'

I am trying to make some LED lights to turn on when i flick a switch on my RC crontroller. I will connect the signal wire from RC controller to pin 8. The plan is: if i flick the swich, the LED's (pin ...