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
7
votes
3 answers

Trouble loading code to Arduino board from Mac OSX Mavericks

I have an Arduino Uno and code was loading fine yesterday but today I am consistently getting the following error (shown by setting the upload section to verbose) avrdude: Version 5.11, compiled on Sep 2 2011 at 18:52:52 Copyright (c)…
sedavidw
  • 11,116
  • 13
  • 61
  • 95
7
votes
1 answer

Raspberry pi Arduino Libraries folder

I've got a raspberry pi and arduino connected over serial port. Everything works, except the Arduino IDE does not have an 'import library' section for adding new libraries. I can only import libraries that come with the IDE. I want to add more…
kkaul
  • 147
  • 1
  • 2
  • 13
6
votes
9 answers

How to fix "SerialTimeoutException: Write timeout" error with NodeMCU and arduino ide

I was trying to build a simple IoT product using a nodemcu, an LED, and the blynk app. This is the most basic thing you can do with a nodemcu. However, when I was uploading the example from the Blynk library, I was getting this error. It seems to be…
Saumit Paul
  • 69
  • 1
  • 1
  • 3
6
votes
1 answer

ESP32/ESP8266 connect to localhost server using WiFi

I have made a simple Node.js local server to receive POST requests from ESP32 and put it in a database. The server is working fine as I tested it using postman. The server is listening to port 127.0.0.1:3000. My problem is that client.connect(host,…
Natalie
  • 123
  • 1
  • 2
  • 9
6
votes
1 answer

NodeMCU auto-join open wifi

I have searched for solution for this issue for quite a long time with no luck. I would like NodeMCU to look for an open wifi network and connect to it. As long as the connection is available use that connection - and when the connection drops start…
6
votes
3 answers

Cannot program ESP8266

Blue led is blinking after powering up the module, the red one stays on, I can even connect to it via wifi. But I cannot program it. I tried Arduino IDE, different firmware flashers (Like NodeMCU, XTCOM). I'm using Arduino Mega. Here's my initial…
Alex Pilkevych
  • 185
  • 1
  • 1
  • 8
6
votes
4 answers

Not able to upload code to Arduino

My Arduino Uno was all set up and was working fine. Project: Arduino controls a 9v motor depending on the command given. As the Arduino only provides 5v, I added a 9v battery to it through a transistor I decided to add new code into the Arduino but…
m0bi5
  • 8,900
  • 7
  • 33
  • 44
6
votes
2 answers

Best way to make a project with multiple files

I am developing Arduino based system that will enlarge over time. At the moment it has only the humidity and temperature read functionality. But soon a door control, sound recording and gsm web client support will be added. I want all these to be…
Ted Tedson
  • 316
  • 1
  • 6
  • 15
6
votes
2 answers

Haversine Formula Implementation on Arduino

I'm working on creating a geofence using GPS & Arduino. I want to implement the Haversine Formula to find the distance between two points, in order to compute it with the radius. The problem is I'm finding it hard to implement the Haversine Formula…
user3286992
  • 61
  • 1
  • 4
5
votes
2 answers

Arduino doesn't detect FTDI serial on Mac Catalina 10.15.4

I can see FTDI module in system report But in arduino it doesn't show up I read that iOS comes with USBSerial.kext which can handle this but I don't see it working for me. I have tried installing FTDI driver and I can see .kext in…
5
votes
3 answers

Is this function call "delay+(1000)" syntactically correct?

I am writing a small code to enable a buzzer when a sensor reading is above certain threshold. To enable the buzzer for one second, I gave a delay of 1000ms by calling this function : delay(1000). However, I randomly typed delay+(1000) and it…
Saurabh P Bhandari
  • 6,014
  • 1
  • 19
  • 50
5
votes
1 answer

How to resolve this: invalid conversion from 'const char*' to 'const uint8_t*

I installed this SHA library: https://github.com/Cathedrow/Cryptosuite. I want to implement HMAC256 using Arduino IDE 1.6.7 installed on Win. 10 and the controller is ATMEGA328. I copied the example given in their webpage. I am still new and want…
user2192774
  • 3,807
  • 17
  • 47
  • 62
5
votes
1 answer

Running GUI in docker (no ssh, no VNC)

TL;DR: root is not supposed to run GUI app, set a regular user to do so. I'm trying to run arduino IDE (downloaded, not the package) from within a Docker. I wrote the Dockerfile as follow: FROM ubuntu:14.04 MAINTAINER Mael Auzias…
Auzias
  • 3,638
  • 14
  • 36
5
votes
2 answers

ESP8266 for Arduino IDE (xtensa-lx106-elf-gcc) and std::map linking error

Is it possible at all to use map with ESP8266 for Arduino package? Here is my code: #include typedef std::map Items; void setup() { Items items; items[2]=5; //items.emplace(4,5); } void loop() { } Here is…
x_arrange
  • 317
  • 2
  • 12
5
votes
2 answers

Arduino joining string and *char

I'm new to arduino and I have stumbled upon a problem. I want to send data via my esp8266 to my php page. But I don't know how to join my data with this GET request. Here is my code: String card = "2-3d-fg-d6-12-68-32-3f-35-45-42-53-2a-3"; char…
Jure
  • 118
  • 1
  • 1
  • 9
1
2
3
84 85