Questions tagged [esp8266]

An IC that offers Wi-Fi networking compatible with b/g/n standards. It also has integrated TCP/IP protocol stack. Extremely popular along IoT community as a low cost and powerful board.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
101 views

Connect multiple Arduinos to ESP32's RTC?

Depending on usage frequency, may get the occasional collision where both test for availability at the same time - if occurring too frequently, maybe add something simple like one arduino only does ...
user avatar
  • 181
1 vote
1 answer
1k views

How to flash a NodeMCU (ESP8266) with an external FTDI programmer?

Hi my USB to UART bridge (CP2102) seems to be broken on one of my NodeMCU Dev Boards with ESP8266. It seems to be just that specific board since all other boards that I have can be flashed without ...
user avatar
  • 13
1 vote
1 answer
277 views

Message parsing from MQTT server

I'm making a NodeMCU based home automation. I adapted code I found on internet for controlling a device (say LED) via MQTT broker hosted on a Raspberry Pi. It works fine. But when I try to scale it up ...
user avatar
1 vote
1 answer
268 views

Driving 5V relay with ESP-01

I'm trying to drive a 5V relay with 3.3V ESP-01 with schematic below. I programmed the ESP to start a portal through which I can derive the relay by triggering GPIO-0 & GPIO-2. However when I ...
user avatar
  • 45
1 vote
0 answers
54 views

ESP8366: ets Jan 8 2013,rst cause:4, boot mode:(1,7)

I am trying to control esp8266 esp 01 with Alexa This is my code: #include <Arduino.h> #include <ESP8266WiFi.h> #include "fauxmoESP.h" #define ssid "admin" #define ...
user avatar
1 vote
1 answer
148 views

Drawing a line at a given angle

Im attempting a device that measures lean angle. I have an ESP8266 + MPU6050 + SSD1306 setup, and I've managed to build a shaky but somewhat functioning device. What Id like to do is use the ...
user avatar
1 vote
0 answers
27 views

AT42QT1070 sensor output issues in standalone mode

Also when I am trying to see the data read on pins in serial monitor, it is not reading as required. The code i am using is as follows: const int tuch_Pin0=18; const int tuch_Pin1=19; const int ...
user avatar
2 votes
0 answers
135 views

Where to define web server callback functions so they can access server object? (ESP8266WebServer library)

I want my ESP8266-based device to create an accesspoint that allows the user to input their home ssid and password. There is a device object that holds most of the data defined elsewhere. I'm trying ...
user avatar
0 votes
1 answer
299 views

Calculate battery (18650 Li-ion) voltage using ESP8266-12E

i am trying to calculate the battery voltage using ESP-12E module. I am using a voltage divider circuit to calculate the same. Here is how my circuit looks like: And here is how my code looks like: ...
user avatar
0 votes
1 answer
79 views

Any explanation for this behavior?

For the below code snippet const char* fr_fbdb(char tag[30]) // fn for retrieving data { char full_path[120]; const char *_dt ; strcpy(full_path , base_path); strcat(full_path , tag); ...
user avatar
1 vote
1 answer
67 views

Help with NodeMCU based smart switch

The project I'm planning is to use a NodeMCU at each electrical board in house to control lights and fans via relays. Each MCU will communicate via MQTT over WiFi to a Raspberry Pi 4 from where I can ...
user avatar
0 votes
2 answers
2k views

ESP8266: #include <Keyboard.h> causes fatal error: HID.h: No such file or directory

OS: Mac Arduino: 1.8.13 Keyboard Library: 1.0.2 I have a generic ESP8266 board, and I have the following code void setup() { // put your setup code here, to run once: pinMode(LED_BUILTIN, OUTPUT);...
user avatar
0 votes
1 answer
70 views

Whats wrong with my POST request?

Ive been trying to get POST working on my ESP8266. I followed this tutorial https://techtutorialsx.com/2016/07/21/esp8266-post-requests/ which works, but once i change the request URL to anything else ...
user avatar
  • 19
1 vote
0 answers
50 views

Can't make Quadratic Programming Library (EigenQP) library work in NodeMCU

I have been trying to use find a Quadratic problem solver library which is compatible with Eigen library for my NodeMCU board (In my code I have to deal with a lot of matrix operations, that's why I ...
user avatar
0 votes
1 answer
387 views

How to change ArduinoOTA upload timeout?

I'm using ESP8266WiFiMulti, ESP8266WebServer and ArduinoOTA to communicate with my device and perform over-the-air-updates. Everything was working perfectly until I moved the ESP8266 further from the ...
user avatar
  • 105
1 vote
0 answers
135 views

WifiClientSecure connect returns 0 ( fail ) except for www.google.com which connects

So to wile away the long lockdown and curfew hours I decided to get out a stack of Wemos D1 mini ESP8266 boards and build simple indoor temperature and humidity sensors ( using an SHT30 and feeding ...
user avatar
  • 11
1 vote
1 answer
146 views

ESP-01 not responding to serial data while programming with esptool.py

I have a Arduino uno board, ESP-01 board and a logic level shifter (bidirectional) and to program the esp module i wired my Arduino and esp like this Arduino uno(atmega328p removed) --> level ...
user avatar
  • 31
0 votes
1 answer
178 views

How to get a specific value from an unknown number of JSON representations?

I am using ArduinoJson and ESP8266HTTPClient. Say I have a DynamicJsonDocument that has an unknown number of entries with information on different persons: [ { "ID": "12345&...
user avatar
3 votes
2 answers
127 views

Understanding ArduinoJson capacity calculation assistant

I am trying to figure out how ArduinoJson capacity can be calculated, therefore I came by the Assistant web application developed by the developer of the library https://arduinojson.org/v6/assistant/ ...
user avatar
-1 votes
1 answer
620 views

Send data from one NodeMCU to another NodeMCU using Serial Communication

i am using NodeMCU (ESP8266) to communicate with another NodeMCU (ESP8266) using Serial Communication. Because i am using ESP-NOW to communicate and ESP-NOW and WiFi can not work together very well so ...
user avatar
1 vote
2 answers
179 views

unable to modify NTPClient to use static IP address

I tried the example File > Examples > ESP8266WiFi > NTPClient which requests the current time and it worked fine. Then I tried to modify it so that the ESP8266 would have a static IP ...
user avatar
1 vote
0 answers
110 views

How to send AT Commands by code using Arduino uno, ESP 8266 01

What I'm trying to achieve ==> Connect to my WIFI hotspot by AT commands via code then connect to my local node server by using REST API. Currently, I am able to send AT commands and receive ...
user avatar
0 votes
1 answer
378 views

D1 mini esp8266 error: esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

I am pretty sure this device worked yesterday. I tried to short GPIO0 to ground (flash), nothing. I have a second ESP that uploads fine, but this one does not. Is their another way to get this ...
user avatar
  • 201
2 votes
1 answer
439 views

ESP8266 wakeup from deep sleep: Both by timer and button?

In a project powered by batteries, the ESP8266 should go to deep sleep for long time, having RF disabled. After some number of sleep cycles, it shall restart with RF enabled, synchronize time via NTP, ...
user avatar
  • 181
2 votes
1 answer
44 views

ESP8266-01E is not responding after successful flash

I have flashed an ESP8266 with the ESP8266 flash downloader that said my flashing had succeeded. But when I sent an AT command from the serial monitor it didn't respond and the TX/RX LED from the ...
user avatar
1 vote
0 answers
44 views

Peculiar relay behavior from POST

I am trying to toggle on/off between two separate HTTP request. One submit button to turn it on, and another separate submit button to turn it off. I expect the device to launch in the off/low 0V ...
user avatar
  • 201
0 votes
2 answers
464 views

Resolved: ESP8266 works when arduino UNO reset pin is grounded

I'm setting up PIR and esp8266 with arduino UNO. First my esp8266 doesn't work after alot of research my esp8266 start working when I put arduino UNO reset pin to ground. But now my arduino UNO does ...
user avatar
0 votes
1 answer
2k views

What is the purpose of F() and FPSTR() in ESP8266WebServer -> FSBrowser?

I found this code sample from the FSBrowser (Flash File System) example in the ESP8266WebServer library: replyServerError(FPSTR(FS_INIT_ERROR)); replyBadRequest(F("DIR ARG MISSING")); I was ...
user avatar
  • 105
0 votes
1 answer
601 views

Mac Big Sur don't recognize generic Wemos D1 MINI PRO based ESP-8266EX

I bought one of theses cheaps & generic Wemos D1 MINI PRO with ESP-8266 to make a system to connect my lamp with google home etc. But the problem is to upload the code into wemos. The Arduino IDE ...
user avatar
1 vote
0 answers
207 views

Maximum baud rate for sending a byte of data via SoftwareSerial from master Arduino UNO to slave Arduino UNO

I am trying to read data from a Blynk widget via ESP8266 and Arduino UNO and trying to send it to another slave Arduino UNO. But, the problem is the data is taking some time to reach to the slave ...
user avatar
1 vote
2 answers
396 views

Switch case (millis()) UPDATED

I want to create a sketch that counts the days from the moment the "project" start and send and osc message every two days (or more) for 3 weeks. So: day zero : osc message -> 0 day two. : ...
user avatar
0 votes
1 answer
397 views

Reading a string from Firebase and storing it as a CString

I have a mobile app (done using MIT App Inventor) storing some values to a Firebase database. App inventor stores all the values as strings (i.e. with quotes, and strings have quotes enclosed within ...
user avatar
1 vote
0 answers
147 views

ESP-01 and HC-SR04 problems booting up

I have a problem in a project that I am working, basically I need to use a ESP-01 to receive the measurements from a HC-SR04 and send it to another ESP-01 (which I won't cover here). Basically my ESP ...
user avatar
1 vote
1 answer
4k views

esp32 Stack canary watchpoint triggered

I am writing a program for esp32 on Arduino IDE. On some point of execution of code for File reading I am facing this exception, Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception) ...
user avatar
1 vote
2 answers
64 views

Will the L9823 work at 3.3v with Wemos boards?

Or is it 5v only? https://www.st.com/en/automotive-analog-and-power/l9823.html I see in the data sheet it lists under Absolute Maximum, Supply Voltage: VDD -0.3v to 7v Then, under Electrical ...
user avatar
  • 11
1 vote
0 answers
521 views

MAX31865 & NodeMCU RTD Low Threshold and Exception

I've got a NodeMCU V1 and a MAX31865 with a PT100 attached. When using the example arduino code, it seems to log out the correct values but with an RTD Low Threshold error like so: RTD value: 8068 ...
user avatar
  • 111
1 vote
1 answer
1k views

Voltage, current measurement from solar panel using INA219 and ESP-12F

I recently started tinkering with ESP-12F thus I am a novice here. As a standard novice project, I am making a standalone weather station for my living room. I want to use solar panels to charge the ...
user avatar
  • 113
0 votes
1 answer
121 views

Program ESP01 and keep it after reboot

I am bit of a noob when it comes to ESP programming. I have an ESP01 and a USB programmer for it, but every time I unplug it, it resets, which makes me wonder how can I make it battery-powered since ...
user avatar
2 votes
0 answers
1k views

Node MCU code is stuck in while (WiFi.status() != WL_CONNECTED) [closed]

I am using the Node MCu V3 board ESP8266MOD Board Manager Version: 2.7.4 Arduino IDE: 1.8.12 My code is stuck in the while (WiFi.status() != WL_CONNECTED) Here is code: #include <ESP8266WiFi.h> ...
user avatar
0 votes
2 answers
2k views

couldn't connect to MQTT broker via esp8266/32 and pub/sub client

I want to use hiveMQ public broker in my project that's the same broker as what available in PubSubClient esp8266 examples but when I change WiFi SSID and password in example and upload it I got this ...
user avatar
1 vote
1 answer
510 views

ESP8266 SocketIOclient constant disconnect with Python WebServerSocket

I am writing a program that echos back the message sent to the web socket server on a host machine. When running the ESP module, the connection is established but immediately disconnects as seen in ...
user avatar
1 vote
1 answer
86 views

3v3 ESP one way communication with 5 V Arduino?

Perhaps I'm not fully understanding a difference between logic level and the function of the TX and RX pins? I'm just wondering if an ESP can send, one-way, data to an Arduino. (I found that two-way ...
user avatar
1 vote
0 answers
504 views

Wemos d1 mini code not uploading

I have a wemos d1 mini. I uploaded a code in wemos d1 mini and after that my wemos mini not working. I tried to upload another code in it even the led blink sketch and even a blank sketch but whenever ...
user avatar
1 vote
3 answers
117 views

Properly escaping very large strings

On an esp8266 I want to create a little webserver that shows me a dashboard with charts and stuff. For this I wanna include the echarts-library as it works offline. To access it the only way I can see ...
user avatar
1 vote
0 answers
87 views

ESP8266 print garbage output

I am working on a project at school that need using ESP8266, but when i compile and run, the code run sucessful but print nothing, when i push the reset button on the ESP8266, it print some garbage ...
user avatar
2 votes
2 answers
269 views

Can't stop SG90 spinning

I have a SG90. I just want it to spin 360° and stop, that's about it. This seems impossible. I have tried the sweep example: by BARRAGAN <http://barraganstudio.com> This example code is in the ...
user avatar
2 votes
2 answers
757 views

ESP8266 and Interrupts - not possible?

I'm planning to use an ESP8266 (Wemos D1 Mini) to use as a software SPI monitor to send over WiFi. As a test, I've done a cut-down sketch that just counts the interrupts, a simple frequency counter. I'...
user avatar
  • 181
1 vote
1 answer
703 views

Wemos D1 mini won't connect to WiFi: status code 6

So I have a Wemos D1 mini which I want to connect to my WiFI in order to let is push sensor data to my server. But I cannot connect it with my WiFi as I get a code 6. // We start by connecting to a ...
user avatar
  • 33
2 votes
0 answers
123 views

Not Able to communicate with ESP8266

I just bought an Esp8266(not the node MCU) and tried connecting it with Arduino without a USB to serial converter but in vain. I am a beginner and don't know what to do. It is not responding to AT ...
user avatar
1 vote
0 answers
57 views

using esp8266 to fetch specific data from firebase

I want to fetch specific data from firebase using Node Mcu ESP 8266. I can fetch the num value, but I failed to fetch the id value. The serial monitor kept displaying 0 when I try to fetch the id ...
user avatar

1 2 3
4
5
39