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, macOS and Linux.

Filter by
Sorted by
Tagged with
1
vote
1answer
304 views

Does flashing ESP8266/ESP-01 firmware mean uploading a new 'sketch' and why different firmware?

Hi I am new to IOT and I am now in love with this. However I'm a little confused right now with the jargon. My question is similar to this. But I do have some extra questions though. When using ESP ...
1
vote
3answers
206 views

Access Control System with an 4x3 Keypad & RFID-RC522

hey guys I have a access control system working perfect with rfid and keypad. I would like to implement : If the PIN is entered more than 3 times incorrectly the card is disabled. someone could give ...
1
vote
2answers
405 views

7-Segment Display with WS2312B and FastLED

I thought of the idea of using the WS2312B LED strip to drive a custom 7-Segment display. The project will require a large number of these displays, and driving them with a single Arduino (I'm ...
-1
votes
1answer
71 views

Neopixel code not working on Adafruit Feather board

I have connected a single neopixel to my Adafruit Feather board, running Arduino software. The power pin is connected to 3V on the Feather. The data-in pin is connected to pin 15 on the Feather. As ...
2
votes
1answer
56 views

ESP8266, sporadically no write access to the file system

I have an ESP8266 project which reads my gas consumption. The hardware and the project run satisfactorily. Sporadically, the ESP8266 can no longer write to its file system and therefore cannot save ...
1
vote
0answers
29 views

can Arduino IDE link to other libs / files in other directories? [duplicate]

can Arduino IDE point to a file in another directory? If yes how? With my code ../../main.h the compile fails. Error: In file included from D:\Eigene Dateien\Entwicklung\SIGNALDuino_MR\src\arduino-...
-2
votes
2answers
419 views

To control the relay switching in nextion using esp32 Microcontroller

I have developed the code to control the relay switching on/off using nextion display and esp32. But whenever I press my dual state button in the nextion display there is some delay and I need to ...
1
vote
1answer
524 views

Can ESP 32 use the wire library exactly like that was in Arduino?

Compare the YouTube video and this webpage, the former one made programming very different in ESP32 and that was in Arduino nano, while the webpage seemed to imply that they work exactly the same. ...
0
votes
1answer
2k views

MacOS 10.15.1 Catalina CU port always busy, and TTY port not selectable

I am trying to use an FTDI breakout board to connect to my custom made Arduino compatible board. I am using a new 16 inch macbook pro with USB-c ports, so I am using a dongle, in case that could be ...
0
votes
1answer
176 views

Arduino ESP8266 - stack ERROR - ESPExceptionDecoder to debug - need help to find ERROR

i have one project that can ready compiled. The function is break on the hardware an i need help to finde the error. I am a beginner and ask for help. How can I narrow the error down? Sketch: ...
-1
votes
1answer
331 views

esp8266 ip address issues

I have android studio app and arduino codes they are connected to each other using esp8266 but it works only on one network when I use another network it doesn't recognise it's ip address instead it ...
0
votes
1answer
993 views

How to print stack trace and register dumps on arduino serial monitor?

I want to debug my ESP32 module which is giving an exception using ESP32 exception decoder, but for that, I would need to have access to my stack trace to paste it. But currently, my arduino serial ...
0
votes
1answer
204 views

Why is Toolchain Not Updated with Arduino IDE Install on Mac

I have not been doing any Arduino work for about a year. The last time I ran the Arduino IDE was in the previous version of MacOS. Now that I have updated to the latest MacOS Version Catalina (10.15....
1
vote
0answers
117 views

How can I interface EEPROM in websocket via Arduino?

I am at beginner level and I wanted to implement EEPROM write after receiving data from a websocket. If the websocket doesn't receive any data within 5 seconds then I want to write to EEPROM the value ...
-4
votes
2answers
702 views

LCD is supplied more than required current [closed]

So, i am trying LCD 16x2 module for the first time and don't how solve this problem. I know the current is more, also I've tried using Resistors, etc. but to no avail. Please suggest a solution. Also ...
0
votes
0answers
75 views

Control Arduino through a website

I want to know is it possible to control an Arduino through a website. I have seen some tutorials that are doing it but it is in a local network. What i am trying to do is : - Arduino connected to ...
0
votes
3answers
1k views

Level shifting 5V <-> 3.3V

My main goal is to use connect the HC-SR04 ultrasonic sensor with ESP8266. Problem is, HC-SR04 works with 5V while the ESP8266 works with 3.3V In order to solve this, idea would be to use a logical ...
-3
votes
1answer
59 views

What is PWM actually? [closed]

tcommand=(pwm_value-480.0)/8.22; flapmag=(pwm_value-880)/41.0+10; In this piece of code used in arduino, I don't understand why PWM value is subtracted and divided like this. This is not my code. Any ...
1
vote
2answers
738 views

LSB/MSB and shiftOut

Here is the shiftOut function code from wiring_shift.c void shiftOut(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, uint8_t val) { uint8_t i; for (i = 0; i < 8; i++) { ...
0
votes
1answer
92 views

IDE finds multiple libraries

I don't understand Arudino IDE. Ever. This is a part of the compilation output: Alternatives for ArduinoJson.h: [ArduinoJson@6.14.0] ResolveLibrary(ArduinoJson.h) -> candidates: [ArduinoJson@6....
0
votes
1answer
118 views

How to declare a pointer for arduino neopixels library so I can set it up in the setup function with dynamic variables?

I am using NeoPixel strips, and I want to be able to declare a pointer to them, but not initialize them until the setup function (because they will initialize with certain variables only made ...
-1
votes
1answer
71 views

Need my code to do multiple commands when inputs are pressed

Hello all I am back again with another issue concerning a code for my job. The code I have been working on is meant to connect to a IP server where some options are listed and I can control the servo ...
0
votes
2answers
140 views

Latest news about alternative Arduino IDEs

I simply hate the default Arduino "IDE". On Windows I use Visual Studio Code with the related plugin. Now I have a Ubuntu machine and I'm looking for the definitive IDE. Questions: I'm not sure ...
1
vote
0answers
52 views

Help with tachometer programme

This is my first programme, which is to control a brushless ESC motor and an IR sensor to read the props' RPM. However I can't seem to figure out why it's not working. The reading keeps giving me 0, ...
1
vote
1answer
500 views

NodeMCU unable to communicate with MFRC522 RFID reader

I am creating a project that will read the RFID card or tag data, store that into a mysql database and display the data via PHP. I am using NodeMCU, RC522 RFID reader and Ardunio IDE to do that. ...
1
vote
0answers
39 views

Program giving one type of output in arduino ide stm32f1xx board version 2019.10.9 giving different output in board verison 2019.12.31

void setup() { Serial.begin(9600); Serial1.begin(9600); Serial1.println("HM 10 here"); Serial.println("STM32 here"); } void loop() { char inputdata; while (...
-1
votes
1answer
77 views

How to send data from PC to arduino?

How can I read data in Arduino IDE from a text file, if I have a text file which has the angle of arm at the different time intervals? If I want to read a text file from PC, can anyone please show the ...
-1
votes
2answers
67 views

Is it possible to get values only during vibration/movement from an Accelerometer(ADXL335/MPU6050)?

I'm trying to make a wearable motion sensor using ESP32 board and ADXL335 Accelerometer. Presently when I'm serial printing the output I'm getting the tilt value as well, which have different values ...
0
votes
1answer
473 views

How can I interrupt a delay() when a button is pressed?

I have created a device that allows my son to track time spent on activities and exchanges that time into a time he can use with his electronics (eTime). Full code in GITHUB I am having trouble ...
0
votes
1answer
451 views

make EEPROM.h use custom eeprom partition

I created the below partition table for an esp32 and replaced the 'default_8MB.csv' with it. # Name, Type, SubType, Offset, Size, Flags nvs, data, nvs, 0x9000, 0x5000, otadata, data, ...
1
vote
0answers
215 views

How to make VOLTE/LTE or LTE calls using Arduino?

I want to make VOLTE/LTE calls using Arduino. I searched everywhere in Google. At last I found a website LTE Cellular Shield for Arduino with Voice!. But I cannot find SIM7500 Shield in online shops. ...
0
votes
1answer
39 views

The problem of not saving the previous value when sending it from bluetooth

Controlling Led's from Buttons and Bluetooth by same method The problem now : the LED light up when you send an A over Bluetooth and it will turn off after 2 sec automatically without you doing ...
1
vote
1answer
346 views

Convert C string to C++ string

My program is running on ESP32. I'm retrieving some data from Bluetooth, and the Bluetooth string is a C string. I need to save that data in an RTC_DATA_ATTR String, which is a C++ string. Just doing ...
0
votes
1answer
605 views

Use of progmem in ESP8266 vs AVR and also how to handle large dynamic strings

This is a somewhat tricky question dealing with implementation and best-practices of the ESP8266. I'd ideally hope that it's answered by people with in-depth knowledge on the problem. As you are ...
0
votes
1answer
765 views

How to detect the direction of rotation with a sensor encoder timing disk (photoelectric speed sensor)?

I am making a DIY gaming steering wheel and am stuck. For measuring the rotation of the wheel, I'm using a sensor encoder timing disk, which is usually found in printers. - https://robu.in/product/...
0
votes
1answer
73 views

What would cause a delay when using serial between the Arduino IDE & external clients?

I have been working on a problem for a couple of days that I can't figure out. I am using a Teensy3.6 with Arduino IDE to build a CAN Bus monitor for a car. For those familiar, I am trying to save ...
2
votes
1answer
2k views

NodeMCU second HARDWARE serial TX as a debug port

I'm using a NodeMCU board to send commands to my home electricity switching box - using RS485 communication. For that, I've connected MAX485 TTL-to-RS485 converter module to my TX and RX pins. ...
-1
votes
3answers
1k views

Arduino IDE gives elf but does not give hex file

Arduino IDE give .elf file but does not generate .hex file. Show verbose output during: compilation is already selected. /Users/username/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/...
1
vote
2answers
54 views

about receiving float on matlab from ATmega32 Avr

****i am using ATmega32 to send float and want to receive it on matlab,i send 4.85 from ATmega32 but on matlab i receive 4.260233679216239e-31...can any one help me..thanks in advance** ** //...
-1
votes
1answer
34 views

How do i Connect multiple sensors in one arduino. Which are namely a accelerometer, GPS, microphone and a GSM module [duplicate]

I am a noob in the Arduino world and have only started reading about it. I have zero experience with Arduino some suggestions to increase my level will also be highly appreciated. But I have a lot of ...
1
vote
0answers
84 views

ESP8266-01 Serial.print returns a blank given a valid string

I am currently trying to create a led matrix with ws2812b leds. I am using an uno on the rear of the display to control the leds and now I want to add wifi capabilities. Since I already had serial ...
0
votes
1answer
55 views

How to connect accelerometer, GPS, microphone and a GSM module to a Arduino? [closed]

I am a noob in the Arduino world and have only started reading about it. I have zero experience with Arduino some suggestions to increase my level will also be highly appreciated. But I have a lot of ...
2
votes
1answer
1k views

Digispark ATtiny 85 erases flash after power loss

I have some issues with my Digispark ATtiny85 board. If I upload the blink sketch for example the LED starts blinking and everything looks fine. But as soon as I unplug the Digispark from the USB ...
2
votes
1answer
79 views

Is it possible to split project into several folders?

It is possible to split the project into server files. However, it looks like they all must be in the same folder with the.ino file. Is it possible to split project into several folders? I’ve got ...
1
vote
0answers
683 views

ESP8266 Connection with WPA2-PEAP Enterprise Network

I am trying to connect my nodemcu 12E module to WPA2-entrprise network but not able to connect. I had gone through the Espressif Forum and GitHub but still not able to resolve my problem. here is ...
1
vote
1answer
287 views

To update GPS after every 30seconds using NeoGPS and NeoSWSerial Libray

I am using Adafruit Ulitimate Breakout GPS module and NeoGPS and NeoSWSerial Library. Now I want the GPS to update in 30seconds once (1time in 30seconds).After it is updated I want to check the ...
1
vote
0answers
298 views

MQ7.h: No such file or directory

Using ESP32 I'm making air pollution quality meter. For that I need MQ7.h library which is of version 1.0.4 MQUnified sensor library, which supports all sensors. I am using MQ7 carbon monoxide sensor....
0
votes
1answer
40 views

Locating a fault in writing a variable

I'm writing this piece of code for Arduino Uno, which takes in input on pin 2 the value of a PIR sensor. In order to debug, in this moment I'm taking the signal on pin 2 from the 5V power supply: int ...
1
vote
1answer
72 views

Comparing a text string to text output (DHT22)

Lately I've received a DHT22 sensor. I've started to create a small temperature and humidity monitor station. One of the things I noticed was if you pulled out the sensor while in use, it displayed "...
1
vote
0answers
30 views

Atmega328pb type casting errors

I've created a custom pcb with a Atmega328pb cpu. It's said to be binary compatible with Atmega32p, thus i flash it with my already functioning sketches that i've developed using an arduino. The ...

1
5 6
7
8 9
29