Stack Exchange Network

Stack Exchange network consists of 175 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
24 views

WindowsError(31, 'A device attached to the system is not functioning.') in arduino

Having board esp32 devkit v1, to get started with arduino ide (installed recommended boards for esp32) I marked board asDOIT ESP32 DEVKIT V1 (as no other options as like ESP32 DEVKIT V1 ) so upload ...
0
votes
0answers
15 views

Unable to create a file on SD with Teensy 3.2 with FreeRTOS

I'm trying to log data to SD card using Teensy 3.2. I've taken the code from Arduino Examples SD > ReadWrite.ino and modified it slightly to run it with FreeRTOS - no changes in the header libraries ...
0
votes
1answer
44 views

Prioritizing one sensor

I want to ask is there a possible code to prioritize a specific part of a code? So I'm doing this project where I want to utilize muscle sensor, servo, and a button on an app over Bluetooth. The ...
0
votes
0answers
16 views

bh1750 lightsesor won't work

ok, im having problems with my bh1750, here is all info i got: board: esp32s nodeMCU v. 1.1 Pins: Wiring: (the 2 reds go to pin 21 and 22) code: #include <BH1750.h> #include <Wire.h> ...
0
votes
0answers
41 views

Analog pins giving off the same value

So recently I made code that used two custom sensors that are connected to the analog pin A0 & A5. Schematic can be seen here (http://inmoov.fr/test-your-finger-sensor/). const int ono = A0; ...
0
votes
0answers
19 views

STM32F103C8 reset button not working

I am working project, using STM32F103C8T6 and W5500 Ethernet module. My project is something like network relay. My problem is that the STM32F103 can not boot up after pressing reset button when the ...
0
votes
0answers
13 views

difference between v2 and v3 in terms of connecting with firebase [closed]

v2 is perfectly working when sending data on firebase but it doesnot work when sending a data through v3. can anyone suggest me the valid difference between v2 and v3 which is responsible for sending ...
1
vote
0answers
18 views

Arduino based hour counter [duplicate]

I would like to make a hour counter for a particular machine.I have a problem in coding.arduino internal clock can work only till 49 days.my hour counter should calculate 150+ hours.I thought of using ...
0
votes
2answers
43 views

Esp8266 Vin pin

I've read that Vin pin is directly connected to usb cable in esp8266 (which is 5V). I wonder if I can power a relay 5V and a servo motor Sg90 with this pin? And is there any danger of doing that ?
0
votes
0answers
26 views

What is the Lifespan of NodeMCU 12-E? [closed]

i am using the NodeMCU in a homeautomation project, how much does the NodeMCU last, and what about its efficiency? thanks in advance
0
votes
0answers
27 views

String.format(“%i”,i) equivalent

How do I format an arduino String when I do not want to print it? I know that one can use printf() or other methods to print a formated string and unfortunately that's all I find with google. But that'...
0
votes
0answers
39 views

Is there a module for Arduino that can be used to read movment? [closed]

Does anyone know if there is a module for Arduino that can be used to read movment? How far has it gone and in which direction? I want to make a thing that the person will catch and walk, and i want ...
0
votes
2answers
43 views

What is the best way to connect multiple Arduinos?

In my situation, I have a map divided into multiple parts, each part could have about 20 to 100 Arduinos that they should send information from time to time to the master. How could I do this? ...
1
vote
1answer
27 views

Where can I find the source codes for the various classes and methods used in Arduino Primo?

I am new to Arduino development. I am trying to connect a BLE device (Arduino Primo) with my iOS app. From the Arduino BLE examples, I understand how to initialize the BLEperipheral class and then ...
0
votes
0answers
26 views

How do I get makefiles for custom boards?

I want a makefile to compile a sketch without Arduino IDE. I found MakeFiles that is compatible for Arduino boards like the Uno, and atMega derivatives. Here I have a different one, STM32 development ...
0
votes
1answer
26 views

WS2812B only works while I measure the voltage

I'm going crazy, there is clearly something I'm missing here. I have a NodeMCU V3.0 and a 5V LED strip WS2812B with 10 diodes. I tested this first with a 5V 0.3A power supply, only powering 3 diodes, ...
0
votes
0answers
30 views

Error Compiling for board adafruit feather huzzah esp8266 [on hold]

I am very new the Arduino language and IDE I am trying to implement some test code around the wifi101. H library. When I do so, I don't get an error on a specific line of code but an overall error of ...
0
votes
0answers
12 views

NodeMCU with JHD162A LCD issue

I have uploaded a program to NodeMCU , to print "hello, world" on JHD162A 16x2 LCD module. But the text doesn't appear on the lcd display. Instead just black blocks appear on the first row on the LCD. ...
0
votes
1answer
34 views

Higher precision logarithms

I need to produce a log to base 10 with at least 4 decimal places. However, the log10 inbuilt function is giving the output with only two decimal places. What do I do? Is there a different function or ...
0
votes
0answers
14 views

Installed configuration won't show up on Board menu

So I was following these instructions on the official site. Download this hardware configuration archive: breadboard-1-6-x.zip, Breadboard1-5-x.zip or Breadboard1-0-x.zip depending on which IDE you ...
-1
votes
1answer
32 views

How should I combine the codes for two sensors in 1 Arduino sketch?

Name of study: AUTOMATIC ELECTRIC FAN We used an ultrasonic sensor for the switching on/off of our Fan and an LM35 SENSOR to control the speed regulation. During our experiment, we use a LED instead ...
1
vote
1answer
48 views

Hold button / press button/ push button

I want to control a servo motor in a way that if you push the button, you can control it by potentiometer a if you push double time, you can control servo with infrared if you hold button step ...
1
vote
1answer
59 views

How to get the weather kit with anemometer working using arduino (UNO)?

I tried to build a weather station with anemometer and My setup is, SwitchDoc Labs' anemometer kit (which is equivalent to sparkfun anemometer kit) connected to the grove weather-pi board with rtc ...
0
votes
0answers
53 views

Why is this Code not working with Esp8266 when it worked perfectly with Arduino Uno?

I'm making an attendance System using an RFID scanner, scanning RFID Card & saving Data in Excel. When I used this code with Arduino Uno (by changing #define SS_PIN 12 and#define RST_PIN 9) it ...
0
votes
0answers
24 views

Uploading code to custom SAMD20G15B board through Atmel ICEand Arduino IDE [duplicate]

This is my setup: SAMD21G15B with no external crystal (Addon possible with Epson MC-146 32.768Khz ) SWD connector I'm trying to upload code with the Arduino IDE via the Atmel ICE. But when I choose ...
0
votes
0answers
18 views

Arduino libraries development and Eclipse Soleber

I have a project on Arduino IDE. A .ino sketch with some extra .h/.cpp files and 2-3 libraries that I keep in ~/Arduino/libraries. In addition to the IDE I do open the libraries as generic project in ...
0
votes
0answers
40 views

ATMega328 AU bootloader burning issue using Nano

We are trying to burn bootloader into ATMega328P-AU SMD. We have taken the reference of the link and did the same. We checked wire connections and all looks fine and we tried with two chip with two ...
0
votes
0answers
43 views

Control Fan Speed Using ESP8266

Hello i am using ESP8266 to control my 220v AC ceiling fan. I am able to do that easily with a 5v 10A relay module. But i want to know is there any module to control the fan speed as well? i have ...
0
votes
0answers
83 views

Can I use ESP8266 and OV7670 to video stream on a web?

OV7670 image sensor, small volume, low operating voltage, providing all functions of a single chip of VGA camera and image processor. so I am using and ESP8266 to connect to internet and stream the ...
0
votes
1answer
48 views

Arduino IDE + ESP32 Webserver - how to redirect to root after click on button

I'm trying to use ESP32 + Arduino IDE to control a relay. I've started by using the library and the code below. The problem I'm having: after clicking on the button and activating the pin, if the ...
0
votes
0answers
83 views

Arduino master/slave communication using RS485

I am using Arduino Uno as a Master Device and 3 Arduino Unos as slave devices. I am sending data from each slave to master after every 3 seconds continuously, and is going to execute further logic ...
0
votes
0answers
38 views

Understanding flashing with bash in Ubuntu

I am following the instruction from this DIY tutorial to set up the firmware for my dust sensor on Arduino board (NodeMCU): https://luftdaten.info/en/construction-manual/#feinstaubsensor-konfiguration ...
-1
votes
1answer
54 views

NodeMCU display temperature and control LED from an autorefresh web page

I'm totaly new to Arduino, I'm using ESP2866 NodeMCU and dht22 to display temperature and humidity in a web page, it is autorefresh (using AJAX) and it works perfectly, I wanted to add 2 buttons to it ...
0
votes
1answer
40 views

My arduino IDE not uploading

pls,i am not able to set programmer as ,board model is not known to me,name is not mentioned on board but written as '"basic AVR develooment board.and in device manager .Silicon Labs CP210x USB to ...
0
votes
0answers
21 views

Do I have to use Arduino IRRemote libraries?

I have seen some tutorials to build your own IR Remote. But all of them use a library that contains the IR code. The question is, could I just skip, injecting a library and make the Arduino output a ...
0
votes
0answers
37 views

Serial Port not recognized by Arduino IDE

I’m attempting to connect with a Adafruit Huzzah Feather ESP8266 board. I’m running a 2018 mbp with Mojave. I loaded the Silabs driver (CP210) to connect with the onboard UART on Huzzah board. I got ...
0
votes
0answers
11 views

Problem with uploading sketch [duplicate]

Arduino: 1.8.9 Hourly Build 2019/02/04 10:12 (Mac OS X), Board: "Arduino/Genuino Uno" Sketch uses 2078 bytes (6%) of program storage space. Maximum is 32256 bytes. Global variables use 189 bytes (9%) ...
0
votes
1answer
73 views

How can big Arduino programs be analyzed easily? [closed]

I have an Arduino project code, but the problem is it has multiple functions and flow of control. How could I convert this code into flowchart or control flow diagram? Any software or online website?...
0
votes
2answers
53 views

I cannot compile the Arduino sketch when I remove the void loop function?

#include <AFMotor.h>  AF_DCMotor motor(2,MOTOR12_64KHZ); void movefor (); void moveback(); void setup() { Serial.begin(9600); Serial.println("Motor test!");` `motor....
0
votes
0answers
24 views

Prints to the serial monitor are being overwritten

Using esp32, Arduino IDE 1.8.9 on OSX. My code is interspersed with Serial.println() writes to the serial monitor of various status messages. As far as I can tell, if a println is not fully written ...
0
votes
1answer
70 views

NodeMCU Ping working on one but not another

Update 2: Have tested by pinging various devices on different subnets / vlans and did a pcap on the wifi AP I can see the icmp requests going through for each request except for ones on the 4.x subnet,...
0
votes
1answer
58 views

I want to get incomming call number and compare it

Hello i want to get and compare incomming call number, it works but not as I want. When im calling from good number it print that I was calling form saved number when the number is stop calling i need ...
0
votes
1answer
40 views

Arduino IDE can't program my Arduino Pro Micro

I have a lot of Arduino Pro Micros that I can't program through the Arduino IDE. I'm on Windows. I'm using the SparkFun Pro Micro board information downloaded from SparkFun's website. I've tried ...
0
votes
0answers
27 views

ESP12e pin 13 won't set to output/won't work

I have an ESP12e and running a basic blink code on it. The problem is that GPIO13 of esp12e wont turn on. I have noticed that this has happened from time to time. Earlier I thought that the ESP was ...
0
votes
0answers
55 views

Arduino UNO bricked?

How can I figure out, if an Arduino UNO is defect? Have on, which I can't upload sketches to. It's not working on Windows, even on Linux. Everytime the following warning appears: avrdude: stk500_cmd(...
0
votes
1answer
26 views

Adding esp32_komoot_ble library to Arduino IDE

I am an absolute beginner with Arduino IDE and I want to build an interesting device I stumbled upon on github https://github.com/jstiefel/esp32_komoot_ble Problem is I really can not add it to ...
0
votes
0answers
54 views

CAN bus libraries for STM32F103 in Arduino IDE

I need to implement CAN communication between two STM32F103 microcontroller boards. I am finding it difficult to get libraries for the same. Can anyone please suggest where I can find working CAN bus ...
0
votes
0answers
25 views

How can I connect my Arduino so that it shows up on the COMM port in the IDE?

I'm new to Arduino and I currently have an Uno R3 that when connected to my computer shows up in my device manager (as ATmega16U2) but doesn't show up as connected to the COMM port in the IDE. To ...
0
votes
0answers
143 views

Can't add board for RFDuino in Arduino IDE

I tried to upload sketch to my RFDuino. I can select the RFDuino port. But I can't upload cos I can't select the RFDuino board. I followed the installation steps listed here but I don't see RFduino ...
1
vote
1answer
123 views

Length of uint8_t* const array

I've an array of type uint8_t* const with 6 items, defined like this uint8_t* const neighbourSet[] = {PEER1, PEER2, PEER3, PEER4, PEER5, PEER6}; Whereas each element in this array is static uint8_t ...