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.

Filter by
Sorted by
Tagged with
1
vote
0answers
32 views

Can't upload sketches or flash Nodemcu 1.0 12E (CP2102) but have drivers and responds to RST on Serial monitor

I've been trying to get my nodemcu working for months and tried countless online references but none worked. I'm using the Arduino IDE to upload sketches and always get the error "Timed out ...
1
vote
1answer
26 views

Set control register to low in ds3231 rtc

I have been using ds3231 rtc module for keep tracking and make alarm along with backup battery. when I used it for first time it worked fine. but now it doesn't keep track my time when the power lose ...
0
votes
2answers
70 views

Is 1MB flash enough for OTA upload in ESP-01?

I'am asking this question, because in my ESP-01 OTA upload always fail. In fact update won't even start. When update was triggered esp wifi led(build in blue) indicates "working" , but after ...
1
vote
1answer
31 views

Error message - Need help

I found this Haptic Headband project on YouTube (link below) and I am trying to verify the code that was given in the instructions with the Arduino IDE. However, I keep getting the message below and ...
0
votes
0answers
39 views

Simple wifi scan networks doesn't work on ESP-01

I can't figure out why, but my very simple wifi scan code doesn't work on two pieces of ESP-01. At first I thought, about bad or burn out MCU, but none of my two ESP-01 and can not find nearby wifi. ...
1
vote
2answers
46 views

Can't understand this codes process

void loop() { if ( Serial.available() > 0 ) { static char input[inputLength]; static uint16_t i; char c = Serial.read(); if ( c != '\n') input[i++] = c; ...
1
vote
0answers
26 views

Error compiling to ESP32 using Arduino: Operand 2 of 'l32r' has out of range value

I was trying to follow this tutorial and ran into a problem compiling on the Arduino IDE with an ESP32 board. https://eloquentarduino.github.io/2019/12/how-to-do-gesture-identification-on-arduino/ I ...
0
votes
1answer
36 views

NodeMcu 1.0 resets automatically after sometime

I want to show some digits in a 3x3 p10 red led pannel where the number will come from the cloud and the number keeps updating. For this I have used esp8266 based Nodemcu. I have used WiFi Manager ...
3
votes
2answers
121 views

Can Arduino Sketch be used for production

There are lot of device support with the help of Boards Manager today and is on going in Arduino IDE. So I am curious to know about can one use those for production purpose. Or it is recommended for ...
1
vote
0answers
14 views

RFMesh (NRF24) for STM32F1

I wanted to know the RFMesh library available for Arduino Uno can be used for STM32F1? Will it work? Or they have seperate set of library for STM32
2
votes
1answer
95 views

ESP8266 always resetting after 65 second of running

I have a simple code where ESP8266 is asking MySQL database about actual state of LED (whether 1 or 0) and when DB has 1 ESP8266 turns LED on... But my problem is after 65-66 seconds of server running ...
1
vote
0answers
21 views

TinyGPS++ Question about gps.encode(ss.read())

I am trying to make an oled gps display, however when looking at multiple examples and other people's code, I am seeing that people are using different methods. I see some code that has gps.encode(ss....
2
votes
2answers
84 views

Smallest microcontroller?

I am looking for a microcontroller that is small (like a attiny10) which is the smallest one I could find. Requirements I need: analogRead on 1 pin, 7 pins for analogWrite to micro leds so in total 10 ...
1
vote
1answer
51 views

My code is not uploading to Arduino Uno, Please help!

I am very new to arduino, so new that it is my first board. I keep running into this error avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync:...
-2
votes
1answer
49 views

What wireless protocols can be used with arduino?

Before you close this saying it's not related to programming. It is related to programming since i'm using it and asking about libraries. What are the common types of communication protocols and their ...
0
votes
1answer
47 views

Infrared sending not working slight misconfiguration?

Edit: Took some advice from below but it still doesn't work. I think it probably blocking code but please tell me how I could fix it to send a the valid infrared signal, NOTE: I wouldn't actually code ...
1
vote
0answers
19 views

Can't send Twilio SMS using Nodemcu esp8266

I am using Twilio for sending SMS in my project. I am measuring temperatures and if the temperature is too high, an SMS is sent. In my code I also have a read and a push to Firebase Realtime Database. ...
0
votes
0answers
43 views

Configure Arduino Portable IDE

I am following this page (among others similar) about creating a portable Arduino IDE. Though the steps are declared as easy... Downloading the v.1.8.13 Windows ZIP file for non admin install, ...
0
votes
0answers
41 views

I can't see any readings from my pulsesensor what can I do?

I have been using NodeMcu board for my project with a pulse sensor, DH11 sensor, and temperature sensor. Everything has worked well in spite of the pulse sensor. It doesn't show any readings that ...
-1
votes
0answers
18 views

Arduino mega as isp to program 328p

Hiii friends I am programming atmega328p using arduino mega as isp for long time Today ... It suddenly showing invailed device signature ..... So.... I tried another atmega328p and it worked..... But ...
3
votes
2answers
115 views

Convert Hex to Decimal from signed 2's complement

I am reading data from a meter over dlms protocol and I am getting hex values from there. I want to convert that hex string to signed decimal value. For example - ff9d denotes a value of -99 [...
-1
votes
3answers
51 views

ATMega328 functions, but will not output to any pins

Problem: ATMega328 Refuses to digitalWrite() to any pins, I can upload and run sketches using the board UNO from the ide on the 328 and can confirm it is working using the serial monitor (see code). I ...
2
votes
1answer
218 views

No programmers available for this board - Programming ESP32 Cam with Ardunio IDE

This is my first time working with ESP32 Cam boards. I have followed the instructions as given in this site https://technoreview85.com/how-to-program-esp-32-cam-using-arduino-uno-board/ However my IDE ...
0
votes
1answer
19 views

How to capture the compilaton output to a text file in Windows?

I am trying to capture the verbose output of the compilation to get it into a text file. I am using the IDE 1.8.12 running on Windows 10. I have tried looking for a right mouse button context menu, ...
1
vote
0answers
40 views

ESP8266 NodeMCU running out of heap

I'm trying to create SMS alarm using Twilio, Firebase and Arduino IDE. Using sensors I am measuring the temperature. If the temperature is higher than a specified value (ESP reads that value from ...
1
vote
1answer
29 views

How to upload a sketch to an atmega328 via FTDI FT232RL UART and Arduino IDE?

I have a sparkfun AVR Pocket Programmer and have burned the bootloader and uploaded programs using "upload using programmer" via USBtinyISP. It works fantastic. I have a sparkfun FTDI Basic (...
1
vote
0answers
27 views

Esp 32 keeps disconnecting from com port

I was trying to upload a blinking coding that was in Arduino IDE but the Arduino IDE can not detect my Esp32 but when i press "EN" i manage to get connection but when i letgo the esp32 ...
1
vote
1answer
41 views

Problem with programming digispark ATtiny85 board with Arduino IDE

I have bought a Digispark ATtiny85 board to learn about that microcontroller. So I tried using internal register names in the code rather than using Arduino in built functions. I can get the board to ...
1
vote
0answers
8 views

which kind of data are store If i terminate the call in sim800?

I'm working in SIM800 for DTMF based project. I want to know which kind of data are stored in the buffer during termination of call in SIM800. How to find if call was disconnected in SIM800? Also ...
0
votes
0answers
38 views

Error compiling for board Arduino Mega or Mega 2560

#include <Servo.h> // Include Servo Library #include <NewPing.h> // Include Newping Library #include<SoftwareSerial.h> #include <dht.h> //Include the DHT library ...
-2
votes
1answer
36 views

Arduino ESP32F-TFT-1.44 Driver

Datasheet https://github.com/espressif/esp-hosted/files/5190376/ESP-32F.pdf The below code is not working. I can see only White screen #include <Adafruit_GFX.h> // Core graphics library #...
-2
votes
1answer
64 views

Code for fish auto feeder not working [duplicate]

I've been trying to make this code work, but for some reason, it doesn't work for me, even if I do everything like in the tutorial. So I've tried to do a new code and the outcome was the same. The ...
0
votes
2answers
81 views

Is there a way to get about a 10ns Timer resolution from an AVR CPU?

I have an 8Mhz ATM32u4 that is able to read external pulse inputs at 125ns ticks using InputCapture3 (PC7) on its 16-bit timer. Is there a magical way (bitbanging?) to get around 10ns tick resolution ...
0
votes
1answer
29 views

Input Capture with Sleep Enabled on ATM32u4 board only works every second reading in SLEEP mode

In short: I have an Input Capture code and a Power-Saving code combined into one program. Both are adapted from Nick Gammon's examples that work fine independently. When I combined them into one ...
2
votes
1answer
60 views

Need help: Cast from 'char*' to 'uint8_t {aka unsigned char}' loses precision [-fpermissive]

I'm trying to convert the string that I receive from the Websocket to uint8_t that I can copy to the data bytes of CAN protocol frame. I'm using an ESP32 chip and programming it on an Arduino IDE. The ...
1
vote
2answers
28 views

Help me for interfacing Arduino with AMTP32M VOICE IC

i'm trying to get control an Aplus chip aMTP32M (stores audio samples) with Arduino . this amtp32m ic provide CPU SERIAL MODE its come with DATA and CLOCK pin.i try Spi mode with Amtp32m ic but its ...
2
votes
1answer
28 views

FastLED not performing as expected

I'm fairly new to working and programming with arduinos. The project I am working on is a digital clock which uses a string of WS2812 leds to light up the correct numbers. Each digit consists of 7 ...
1
vote
0answers
32 views

Serial Monitor Not Displaying

I am using BMP 280 for an altimeter to measure the altitude. Once all connected and uploaded the BMP280test code from Adafruit, the serial monitor says busy. But still, when I switch the port in tools,...
0
votes
1answer
68 views

Trouble programming custom ATMEGA2560 board

I need some help. I copied the heart of MEGA2560 design into a new project. I have the new PCBs with blank MCUs and now I need to get things programmed. (I have an existing project that runs on a ...
1
vote
0answers
45 views

Unable to allocate memory

I'm trying to send a SMS and read data from Firebase with my NodeMCU Amica V2. The code works fine when I either only send a SMS or only read data from Firebase. However, when I combine this two ...
1
vote
0answers
21 views

Using HC-05 with digispark attiny-85 development board

pins 3 and 4 of the digispark are used as RX and Tx; I'm using the softwareSerial library. The code turns the on-board led on when serial.available() returns a value, but the light doesn't turn on. #...
1
vote
0answers
21 views

Ardunio wireless voice transmission

I made a project based on calling with gsm module and arduino and now i want to transmit to voice wirelessly to my bluetooth earphone which module should i use for this purpose.
1
vote
0answers
35 views

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

rst:0x10 (RTCWDT_RTC_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 371 I am getting this error in my esp32 devkit v1 How to solve it? I am using arduino IDE for programming ...
3
votes
3answers
154 views

Programming Arduino Uno R3 to trigger a relay once every 24 hours

I programmed Arduino UNO R3 to trigger a relay once every 24 hours from the moment it is powered on I calculated milliseconds and used the function delay() 24 hours * 60 minutes each hour * 60 second ...
1
vote
2answers
113 views

How to create a 1 hour timer with ATtiny13A microcontroller?

I want to control an AC load such that it powered on for 1 minute, then off for 1 hour, then on again for 1 min, and so on, in a loop. I just modified the blink sketch to do: Turn A1 on Then delay ...
1
vote
0answers
24 views

ESP8266-01 Upload Sketch Problem Arduino UNO

My problem is actually in two stages. I am very new to arduino uno and 8266-01. I have read many documents and watched videos for nearly 2 weeks, but I cannot even run the simplest "blink" ...
7
votes
1answer
354 views

Confuse about PROGMEM and R“====()====”

I saw the following code from https://circuits4you.com/2018/03/10/esp8266-jquery-and-ajax-web-server/ but I could not understand it thoroughly... I looked at the documentation of PROGMEM from this ...
1
vote
0answers
50 views

SG 90 servos randomly spinning

I started one project where i need 4 servos to control 4 grabbers jaws. i use STM32F103C8T6 with arduino IDE for programming it. The motor TZT Micro Servo 9g SG 90. First, I was playing with stepper ...
1
vote
0answers
24 views

How to use LCD display HD44780 with arduino without using any library

My professor wants me to implement a display to an old project prototype we had laying around on the lab. But he wants me NOT to use LiquidCrystal.h library or any other to achieve that. I read ...
1
vote
0answers
22 views

How to create QR code [closed]

How to create qr code based on 30 digit number and send the generated qr code to wireless printer.

1
2 3 4 5
27