Questions tagged [arduino-ide]

Arduino is an open source IDE running on Windows, Mac OSX and Linux.

The open-source Arduino environment makes it easy to write code and upload it to the i/o board. It runs on Windows, Mac OS X, and Linux. The environment is written in Java and based on Processing, avr-gcc, and other open source software.

It comes already with many examples with a wide variety of possibilities. It's currently the simplest way to work with any Arduino board and it's code.

You can import many third party libraries to work together with the basics. Some recent versions include a Library search tool that helps finding many of them.


External links

1276 questions
3
votes
0 answers

Error when implement an nodemcu 8266 with DHT22

I implemented a nodemcu 8266 as a api rest server with a temperature sensor (DHT22) in a Mac with macOS Monterey, when I read the temperature and humidity in a simple loop I don't have any problem, the implementation looks like this #include…
Felipe Pincheira
  • 442
  • 1
  • 6
  • 21
3
votes
1 answer

Getting Arduino IDE to compile for C++14

I've been looking to modify the build flags under Arduino's IDE 1.x, or even the Arduino CLI (which I haven't used but am willing to adopt) such that I can undefine -std=gnu++11 and instead define -std=gnu++14 I found a question related to this…
3
votes
2 answers

ESP32 Arduino upload java.lang.NullPointerException error

I am trying to build the simplest example (blink project) on Arduino 1.8.16 using a ESP32 based board (Espduino compatible). It builds correctly but I am not able to upload to the board. I verified that the CH340 driver is loaded and works (I am…
Massimo Manca
  • 385
  • 1
  • 2
  • 15
3
votes
2 answers

MacAddress for topic name - Arduino IDE MQTT

I want to use the mac address of my system as a topic name. I want something like : project/00:1B:44:11:3A:B7/temperature/status I tried in this way: #define TEMP_STATUS_TOPIC "project/" + WiFi.macAddress() + "temperature/status" #define…
Radix
  • 254
  • 1
  • 8
3
votes
2 answers

Unable to send HTTP POST payload of size greater than 1449 characters with SIM800L+ESP32

So I am sending data to my php script hosted on 000WebHost via HTTP POST on my ESP32+SIM800L set up. I am recording sensor data at 800Hz and storing it in an character array like: a[]=3&a[]=5&a[]=8... which becomes my payload array for the POST…
3
votes
1 answer

ESP32-cam with servo control won't work. Arduino IDE

I've an ESP32-cam and want to controll a servo. My code compiled without error but doesn't work. There are two files involved, a .ino and a .cpp. The .ino seems to work right because the servo contributes to his start position 90° at startup but…
Jo Pare
  • 41
  • 5
3
votes
0 answers

How to control the Led's in a 5*5 Led - Matrix with the help of 5*5 push-button

I want two Led's ( Led 1 and Led 3 ) in a 5*5 Led - Matrix to light up and when the corresponding buttons in the 5*5 push-button are pressed the Led's turns off and another two Led's ( Led 3 and Led 5 ) should light up and when the corresponding…
Paulson Raja L
  • 379
  • 2
  • 11
3
votes
0 answers

Matrix multiplication with arduino and eigen not working

I know using #include and #include to make Eigen work with Arduino is a pretty old way to get working Eigen. Hence I tried also #include with two Eigen Arduino libs that I found out there(#include
3
votes
2 answers

Arduino IDE not able to Upload Sketch (Ubuntu 18.04 LTS)

I've recently switched to a Linux Machine and tried to set up my Arduino IDE for a little project. Unfortunatly I get an error message when I try to upload my sketch to the Arduino (Uno R3). User configuration file does not exist or is not a…
SF23
  • 174
  • 1
  • 12
3
votes
2 answers

ESP32 pin output not working with Arduino IDE

I was trying to setup my first ESP32 board with Arduino IDE. It works fine with built-in LED but does not work with pins. Here is my code: int LED_BUILTIN = 2; // works fine int LED_OUT = 25; // not working, even other pins void setup() { …
Zhengqian Kuang
  • 1,079
  • 1
  • 9
  • 12
3
votes
1 answer

Multiple tcs34725 arduino color sensor with SoftWire (I2C Emulator) Library

I would like to have 2 TCS34725 color sensor on my Arduino mega. The sensors use I2c communication, therefore I can't have them on the same I2C pins since they have identical addressess. The solution I came up was to use an emulator Wire library…
Steven97102
  • 334
  • 5
  • 17
3
votes
2 answers

Sending multiple values through serial port

I am using an Arduino UNO for a project, however I don't know how to go about achieving what I want. I'm also a beginner therefore I sometimes don't know how to use some functions to do what I want. I basically want to send 3 values through the…
Lisa
  • 31
  • 1
  • 6
3
votes
1 answer

Programming the Arduino in assembly?

I understand that I can program the Arduino in C, but with my current project (a tiny Arduino kernel), I would really rather use Assembly for some sections to both learn Assembly and possibly improve efficiency the SLIGHTEST bit. Is there something…
user7811680
3
votes
3 answers

Arduino readString(); code runs slow

I have the following code which I need to execute quickly, yet its taking a lot of time to change the value, anyway over way of making this task quicker? I am using indexOf() and substring() to accomplish this task. This is for changing the strip…
The Little Cousin
  • 422
  • 2
  • 7
  • 20
3
votes
3 answers

AWS iot with esp8266

Please help me connect with AWS IOT services with esp8266 12e. I am using aws-mqtt-websocket example but I an not able to connect with AWS IOT. The code is as follows and the error I get is: please start sntp first ! error connection to the…