esp8266wifi

Take json string from ESP8266WiFi, and save it as a string variable in NodeJS to write a CSV file

余生颓废 提交于 2021-01-29 09:02:24
问题 I want to take a JSON string of DHT22 sensor value (temperature and humidity) from this ESP8266WiFi through WiFi. #include <DHT.h> //library DHT.h #include <ESP8266WiFi.h> #define DHTPIN 14 // GPIO14 #define DHTTYPE DHT22 // DHT 22 (AM2302) DHT dht(DHTPIN, DHTTYPE, 15); const char* ssid = "myhotspot"; const char* password = "mypassword"; WiFiServer server(80); void setup() { Serial.begin(115200); dht.begin(); Serial.println(); Serial.print("Wifi connecting to "); Serial.println( ssid ); WiFi

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

Arduino Iot Project parseObject() failed

主宰稳场 提交于 2020-05-17 08:47:26
问题 I'm trying to control 8 channel relay with esp8266. and i've been following this tutorial on youtube https://www.youtube.com/watch?v=dLmz0xdDOLk I did exactly what the guy said. I uploaded my code to Arduino and I get a "parseObject() failed" error on the serial monitor while the code trying to parse JSON i think(not sure). I don't really understand coding much so I wonder if you guys help me out with my project.(the only thing I couldn't do was to change my web host PHP version to 5.2, I use

Arduino Iot Project parseObject() failed

十年热恋 提交于 2020-05-17 08:47:22
问题 I'm trying to control 8 channel relay with esp8266. and i've been following this tutorial on youtube https://www.youtube.com/watch?v=dLmz0xdDOLk I did exactly what the guy said. I uploaded my code to Arduino and I get a "parseObject() failed" error on the serial monitor while the code trying to parse JSON i think(not sure). I don't really understand coding much so I wonder if you guys help me out with my project.(the only thing I couldn't do was to change my web host PHP version to 5.2, I use

can't setup SSL connection even though it appears to connect with NodeMCU ESP8266 to AWS

纵然是瞬间 提交于 2020-02-06 07:55:09
问题 I'm trying to connect a NodeMCU ESP8266 and upload a shadow. I am following the tutorial from IoT Design Pro. When i first ran it, I did see the shadow updated on AWS. On subsequent loops, it stopped updating. Now i get a message "can't setup SSL connection". Here are my code and the serial output window: #include <ESP8266WiFi.h> #include <AmazonIOTClient.h> #include "ESP8266AWSImplementations.h" Esp8266HttpClient httpClient; Esp8266DateTimeProvider dateTimeProvider; AmazonIOTClient iotClient