esp32

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

Google iot MQTT - ESP32 Connects the first time and only reconnects after 30m

烈酒焚心 提交于 2020-05-16 22:34:45
问题 I'm working with google Iot cloud with ESP32, I am sending fake values just to make a test with the MQTT data PUB/SUB, Apparently I'm succeeding in publishing the values, sometimes, I can't reconnect to google iot. I don't know why it keeps checking wifi...publising and doest check for the JWT key. I have noticed that if I connect once to the google iot and then I unplug the esp32 from my pc (disconnect no power), and plug it back again and try to connect, I will enter in this "checking wifi"

Stream esp-32 camera to RTMP server like YouTube

只谈情不闲聊 提交于 2020-04-18 05:44:55
问题 I am doing research for a project in which I need to play with camera streams. After multiple hit and trails and googling I am not getting even close to the solution for streaming ESP-32 Camera stream to my own RMTP server directly. Already tried solutions: 1) I have tried re-streaming of ESP-32-cam with Raspberry pi, that works well but not something I am looking for {discarded because do not want to use Raspberrypi for restreaming purposes} 2) ESP-32-cam: Record and FTP transfer with time

ESP32 Try to send image file to php with HTTPClient

我怕爱的太早我们不能终老 提交于 2020-04-08 18:12:12
问题 I got this after I try to running my code on esp32 Notice: Undefined index: imageFile in C:\xampp\htdocs\acc.php on line 23 My code on esp32 HTTPClient http; http.begin("http://192.168.43.86/acc.php"); //Specify destination for HTTP request http.addHeader("Content-Disposition", "form-data; name=\"imageFile\"; filename=\"picture.jpg\"\r\n"); http.addHeader("Content-type", "image/jpeg"); int httpResponseCode = http.POST(cam.getfb(), cam.getSize()); if (httpResponseCode > 0) { String response =

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

手机、ESP32单片机、MQTT服务器连接实验

旧时模样 提交于 2020-03-23 16:53:33
实验目的:通过自己制作的手机APP,连接MQTT服务器,获取ESP32单片机的温湿度信息,控制ESP32单片机上的LED开关。 实验准备: 1、硬件:ESP32开发板(型号不限,esp01s也可以)、LED灯、DH11温湿度传感器、面包板等 2、软件: (1)arduino软件,可以到官网 https://www.arduino.cc/en/Main/Software 下载。 (2)App Inventor 2 集成版,可以到官网 https://www.wxbit.com/ 下载。(解释一下:这个软件是适用于初学者的手机APP制作软件,界面设计所见即所得,程序设计通过拖拽积木块来实现。) (3)需要一台服务器。(可以是自己的电脑,也可以到网上买云服务器,笔者是购买的腾讯云服务器(每年79元),除了运行网站外,再捎带着提供MQTT服务。) 实验步骤: 一、总体设想 1、建一个MQTT服务器,提供订阅/发布 消息的功能。 2、用App Inventor 2 制作一个APP,功能是连接MQTT服务器,订阅ESP32单片机的温湿度信息,控制ESP32单片机上的LED开关。 3、为ESP32编写程序并烧录,完成连接MQTT服务器,发布温湿度信息,订阅LED控制主题,根据消息来开、关LED灯。 二、MQTT服务器的建立 MQTT是IBM开发的一个即时通讯协议

两板之间的ESP32客户端-服务器Wi-Fi通信(兼容ESP8266)

醉酒当歌 提交于 2020-03-08 04:21:45
本指南展示了如何在两个ESP32板之间设置HTTP通信,以通过Wi-Fi在不连接互联网(路由器)的情况下交换数据。 简而言之,您将学习如何使用HTTP请求将数据从一个板发送到另一个板。 ESP32开发板将使用Arduino IDE进行编程。 为了演示的目的,我们将BME280传感器的读数从一块板发送到另一块板。接收器将在OLED显示屏上显示读数。 ESP32,更多了解 观看视频演示 视频截图 项目概述 所需零件 安装库 异步Web服务器库 BME280库 I2C SSD1306 OLED库 ESP32服务器(接入点) 原理图 #1 ESP32服务器的Arduino Sketch 代码如何工作 测试ESP32服务器 ESP32客户端(站) 详情参阅http://viadean.com 来源: CSDN 作者: 国外课栈 链接: https://blog.csdn.net/jiyotin/article/details/104638968