arduino-ide

Serial monitor showing unexpected input from Arduino Mega

↘锁芯ラ 提交于 2020-12-12 04:40:06
问题 I'm using an Arduino Mega to control a CS1237 ADC. I'm sending a signal to the clock pin and after each clock pulse, waiting 1ms and then reading the response, according to the datasheet I found (via https://github.com/SiBangkotan/CS1237-ADC-cpp-library). This seems to be working in some capacity, because when I do Serial.println() for each bit received, and for the resulting dataword, I get a 24 bit dataword that matches the 24 separate bits I got. However, when I take out the extra

Arduino IDE (Win10) crashes when I launch the program

為{幸葍}努か 提交于 2020-07-01 17:01:37
问题 My Arduino IDE (ver 1.8.12 on Win10) crashes when I launch it. Running the arduino_debug.exe I get this error message. C:\Program Files (x86)\Arduino>arduino_debug.exe Set log4j store directory C:\Users\volke\AppData\Local\Arduino15 Loading configuration... Initializing packages... java.lang.NullPointerException at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134) at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483) at processing.app.Base

Arduino IDE (Win10) crashes when I launch the program

房东的猫 提交于 2020-07-01 17:00:51
问题 My Arduino IDE (ver 1.8.12 on Win10) crashes when I launch it. Running the arduino_debug.exe I get this error message. C:\Program Files (x86)\Arduino>arduino_debug.exe Set log4j store directory C:\Users\volke\AppData\Local\Arduino15 Loading configuration... Initializing packages... java.lang.NullPointerException at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:134) at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483) at processing.app.Base

ESP32 Flashing upload starts and fails with timeout

我与影子孤独终老i 提交于 2020-06-01 06:20:22
问题 I have an ESP32-WROOM, as seen here. In the Arduino IDE, I compile and verify my sketch, and then attempt an upload. I get the following error: esptool.py v2.1 Connecting........___ Chip is ESP32D0WDQ6 (revision (unknown 0xa)) Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB Compressed 8192 bytes to 47... A fatal error occurred: Timed

ESP32 Flashing upload starts and fails with timeout

余生颓废 提交于 2020-06-01 06:19:33
问题 I have an ESP32-WROOM, as seen here. In the Arduino IDE, I compile and verify my sketch, and then attempt an upload. I get the following error: esptool.py v2.1 Connecting........___ Chip is ESP32D0WDQ6 (revision (unknown 0xa)) Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB Compressed 8192 bytes to 47... A fatal error occurred: Timed

ESP32 Flashing upload starts and fails with timeout

徘徊边缘 提交于 2020-06-01 06:19:06
问题 I have an ESP32-WROOM, as seen here. In the Arduino IDE, I compile and verify my sketch, and then attempt an upload. I get the following error: esptool.py v2.1 Connecting........___ Chip is ESP32D0WDQ6 (revision (unknown 0xa)) Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB Compressed 8192 bytes to 47... A fatal error occurred: Timed

Task watchdog got triggered./abort() was called at PC 0x400de07b on core 0

狂风中的少年 提交于 2020-03-25 19:29:07
问题 I am on an Autonomous GPS robot project. When I am running the below code after some time the esp32(devkit v1) reboots and this goes on repeating. Pause for Startup... 3 Pause for Startup... 2 Pause for Startup... 1 Searching for Satellites Searching for Satellites GPS Waypoint 1 Set Waypoint #1: 0.000000 , 0.000000 Waypoint #2: 0.000000 , 0.000000 5 Satellites Acquired10.190620 76.424872 25.190620 47.424872 YOYYYYO Go to Waypoint E (98333) task_wdt: Task watchdog got triggered. The following

Serial2 of ESP32 not responding( NEO 6M GPS)

独自空忆成欢 提交于 2020-03-05 01:28:27
问题 I am doing an Autonomous Car project and I have a NEO 6M GPS module, I am using an ESp32 as the board, the module works fine with Arduino and Nodemcu. but not with ESP32, the reason being it not supporting software serial, so I took help from https://www.youtube.com/watch?v=GwShqW39jlE&feature=emb_title I added hardware serial but still, there is no output I have provided the code below #include<HardwareSerial.h>//No extra libray installed #define RXD2 16 #define TXD2 17 HardwareSerial gps

Serial2 of ESP32 not responding( NEO 6M GPS)

不羁的心 提交于 2020-03-05 01:27:46
问题 I am doing an Autonomous Car project and I have a NEO 6M GPS module, I am using an ESp32 as the board, the module works fine with Arduino and Nodemcu. but not with ESP32, the reason being it not supporting software serial, so I took help from https://www.youtube.com/watch?v=GwShqW39jlE&feature=emb_title I added hardware serial but still, there is no output I have provided the code below #include<HardwareSerial.h>//No extra libray installed #define RXD2 16 #define TXD2 17 HardwareSerial gps

To know the % charge of the battery using Arduino

自闭症网瘾萝莉.ら 提交于 2020-02-15 23:17:27
问题 I am using Arduino Nano and various Li-Fe , Li-Po batteries of 9.9V , 6.6V and 3.7V. I can read the voltage of the battery using Arduino . My Arduino works at 5V so for batteries like 9.9V and 6.6V I have used a voltage divider using two 10k resistors.But the problem is I need to read the the % of charged battery , I tried something in the code but I am not sure about it. Please anyone help me with it. My code is: #define cellPin A0 const float mvpc = 4.55 ; //measured voltage of arduino