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 vote
0 answers
92 views

using a digital pin on node mcu as an analog

i want to use volte and current sensors (ZMPT101B and ACS712) on node MCU these sensors are analog but node mcu has on analog pin can i use digital D0 pin for voltage sensor?
user avatar
0 votes
1 answer
179 views

Why I can't exit this while loop by reading from the Serial?

I'm trying to work with the FastLed libraries and i'm controlling a Led Stip via a WEMOS D1 MINI based on the ESP8266, what I'm trying to achieve is to jump from fastled animation to another one.....
user avatar
  • 233
0 votes
1 answer
355 views

Why am I getting a "SendCommand was not declared" Error

#include <Adafruit_Fingerprint.h> #include <SoftwareSerial.h> #include <LiquidCrystal.h> uint8_t id; int getFingerprintIDez(); //pin #16 is IN from sensor (GREEN wire) //pin #15 is ...
user avatar
1 vote
1 answer
865 views

Making HTTPS requests using ESP8266 AT commands

I am trying to make HTTPS GET/POST requests to the following server using AT commands. AT+CIPSTART="TCP","54.166.71.140 ",443 I get errors when i use port 443 but on port 80 the ...
user avatar
-1 votes
1 answer
242 views

NodeMCU, Failed to compile code because of multiple library errors

i was getting multiple errors and cannot able to figure out what it is Arduino: 1.8.13 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Legacy (new can return nullptr), All ...
user avatar
2 votes
1 answer
617 views

Any way to use DMA to transfer data to SD Card in ESP8266

I'm using ESP8266 at speed of 160 MHz to record ADC results into SD card, I need to do this at rate of 8 KHz. Means that i should save it on the SD Card or i'll run out of memory before 4 Sec passes. ...
user avatar
1 vote
0 answers
23 views

esp8266 set up?

A few weeks ago I was told to incorporate wifi with an arduino project so I ordered a few arduino ESP8266 boards but when I couldn't figure it out I switched to a simpler board AKA(Arduino Nano IOT 33)...
user avatar
2 votes
0 answers
403 views

GET/POST request via AT Commands

I am trying to send a simple GET/POST request to a dummy end point on https://requestbin.com/. I am using an ESP8266 module. I am using the arduino serial monitor to send these AT commands. I connect ...
user avatar
1 vote
1 answer
144 views

Trouble with ESP8266 on Eero network

I have an ESP8266 Node MCU and am learning to use its wifi capabilities. In my home I have a router provided by my ISP that runs a network we'll call 'network1'. I also have an Eero mesh network that ...
user avatar
  • 121
1 vote
0 answers
203 views

DHT11 sensor not working on ESP8266, no response

recently Ive set up an ESP8266 to control temperature and humidity in rooms, for this Im using DHT11 sensor, thats the basic code I have in order to check functionality in Arduino IDE #include "...
user avatar
  • 111
1 vote
0 answers
1k views

Write file to SD card using SDFat.h and ESP8266

I have simple problem with not simple solution. My workflow is: Read CID from SD card Send CID via Http to clodud Download specific text from cloud Write this text to file in same SD card All is ...
user avatar
  • 121
2 votes
1 answer
212 views

What is the best way to init wifi communication between two devices (get IP address)?

what is the best way to init wifi communication between two devices without knowing IP of second device, let's say Raspberry Pi and ESP8266? I want to build simple home automation system for my ...
user avatar
0 votes
1 answer
285 views

Error sending data from ESP8266 to Uno

I am sending data from an ESP8266 to an Uno (I need to use the Uno because it has more inputs than the ESP and I need those for my project.) The ESP8266 is connected to the Uno's Serial pins 0/1 RX/TX ...
user avatar
  • 149
0 votes
1 answer
99 views

Connecting Web Server in GoDaddy Hosting

I have a domain. It is hosted by GoDaddy. I need to connect that server and receive some data by executing PHP files. I am not sure about the components. Tutorials on internet describes how to control ...
user avatar
0 votes
1 answer
102 views

How to send Serial data from an Arduino Uno into the Serial of an ESP-01?

So, i need to send sound sensor data from an Arduino Uno to the ESP8266 (ESP-01), so it can output a push notification to my phone whenever there's a loud noise. I have the sensor just powered and ...
user avatar
  • 1
3 votes
1 answer
307 views

Ultrasonic Sensor(HC-SR04) recording random distance

I am am trying to make a code which automatically controls relay on basis of ultrasonic sensor measurements. I am using a nodeMCU as a microcontroller rather than an arduino. The relay and the ...
user avatar
0 votes
1 answer
128 views

Arduino Esp8266 Signal(TIMER0_COMPA_vect) can’t compile

Trying to compile a program containing the statement SIGNAL(TIMER0_COMPA_vect) written for arduino. But I want to use it on an esp8266 board. The code will compile for Arduino uno. But I get an error ...
user avatar
  • 9
0 votes
1 answer
879 views

How to assign ESP8266 access point a hostname that can be resolved by the stations?

I want to assign a hostname to a ESP8266 access point, so that the clients can reach a webserver on this access point without caring about the IP address of the AP. How can that be done? I tried using ...
user avatar
0 votes
1 answer
503 views

Detect if MCU is ESP8266 or ESP32

I'm coding a library which handles sleep procedures. Since I'm using both ESP826 and ESP32, which uses different sleep commands ( and WiFi ), I'm looking for a way to detect the MCU, while NOT using a ...
user avatar
  • 820
0 votes
0 answers
402 views

Error compiling for board NodeMCU 1.0

i tried compiling a program to upload sensor readings that i connected with my ESP8266 to cloud (in my case, Antares) but i keep getting this error message. Can anyone tell me where the problem is, ...
user avatar
1 vote
1 answer
63 views

ESP8266 occasionally stops receiving data

So I have an ESP8266 board that I am using to control some LED lights. I wasn't a fan of the needing to reflash my board everytime I wanted to try a new light pattern, so I decided to send the light ...
user avatar
1 vote
0 answers
162 views

NodeMCU unable to communicate with MFRC522 RFID reader even though the nodeMCU is successfully connected to a mobile hotspot

I am replicating a project that will read the RFID card or tag data, store that into a mysql database and display the data via PHP. I am using NodeMCU, RC522 RFID reader and Ardunio IDE to do that. ...
user avatar
1 vote
0 answers
60 views

esp8266 sending to both webserver and myphpadmin

I have tried to send all the variables to both the webpage and to myphpadmin. I seperated the code into two functions and put the functions inside the void loop() function under the impression that it ...
user avatar
1 vote
0 answers
86 views

esp-01 with rf receiver keeps crashing

SOLVED: after may hours of testing i have solved the problem. it turned out to not be a software issue. the power supply i was using did not have a flyback diode and thus caused large voltage spikes ...
user avatar
1 vote
1 answer
240 views

Cannot compile F() macro with R"string"

I am trying to compile the following code: logger.log_info(F(R"(some text here that may take multiple lines and here it is done.)")); But the compiler exists with the following ...
user avatar
2 votes
2 answers
272 views

Where to store critical data in power outage situation on ESP8266

I want to store a counter that is always changing, but I want it to remain and being able to retrieve it on after a power loss. It's only one long number data, but as it is always changing, I don't ...
user avatar
  • 21
1 vote
0 answers
100 views

NodeMCU ESP8266 burnt. What have I done fundamentally wrong here?

So my setup is: A 12v DR7-12 battery is providing the power for the board through a DC buck converter set to 3.3V connected to the 3.3V pin of the esp8266. I then am using pins D5 and D6 to control an ...
user avatar
1 vote
1 answer
197 views

Timer with Webserver ESP8285

this is my first Project on an ESP. I found a Code for a coffee-grinder-timer, which is programmed for a ESP8266, but unfortunately meanwhile the Sonoff changed to the ESP8285 with internal Flash. I ...
user avatar
  • 11
1 vote
0 answers
365 views

My nodemcu esp8266 is heating a lot and the on board LED of gpio16 is On continuously. What's the Reason of heating?

How it happened Recently I was working on a device with Blynk application in which my device will burn crackers using Blynk. I wanted to create a safe environment for burning crackers. There was a ...
user avatar
3 votes
1 answer
39 views

No response in Serial Monitor from es8266 with Arduino nano

I have exactly this model of esp8266: I removed Atmega328p IC from Arduino, and powered Arduino with USB cable. After all, I made this connection combinations: 1) ESP Tx > Arudino Tx ESP Rx > ...
user avatar
0 votes
1 answer
621 views

No SPIFFS only OTA in NodeMCU ESP8266

I have a NodeMCU ESP8266 ESP-12E and I tried uploading a file thru the SPIFFS. I am not sure why I see OTA instead of the SPIFFS? Is there a configuration that I missed?
user avatar
1 vote
1 answer
56 views

voltage regulator

This may not be the best pace to ask this but I have to use a 3.3v regulator with this esp12 . For that I have selected this regulator 3,3v regulator and in the discribtion it is saying to use two ...
user avatar
1 vote
1 answer
2k views

Why Windows 10 does not see Nodemcu device?

I am using a Windows 10 laptop. Behind the nodemcu it says that download CH340G driver. I already had arduino ide and the esp libraries were already installed because i was using a esp8266 01 device ...
user avatar
0 votes
1 answer
299 views

analogWrite(PIN, 1023) <> digitalWrite(PIN, HIGH)

This question is very similar to this one. I'm using an ESP8266 for which the maximum analogWrite value is 1023 rather than 255 for some other Arduino boards, but I believe the principal is just the ...
user avatar
2 votes
0 answers
156 views

Communication between two slaves via single SPI bus

I am trying to control both RC522 and lcd st7920 (128x64) via a single SPI bus on the NodeMCU esp8266. I am using Arduino core for my esp8266. Now in this portion of the code, I only want to display ...
user avatar
1 vote
1 answer
231 views

ESP-NOW with esp32 and esp8266

I want to use ESP-NOW with esp32 and esp8266. The esp32 will mostly send data to esp8266.I was not able to find any good tutorial on YouTube to achieve this. The only videos I found was for either ...
user avatar
1 vote
1 answer
434 views

ESP8266 RF Calibration

As an off-Topic to my main question, regarding Robodyn's Uno+Wifi - it seems that Wifi does not work ( fail to connect and fail find any network ). Juraj advised to use External Antenna ( did not work ...
user avatar
  • 820
2 votes
1 answer
191 views

I want to make mesh network with nodemcu (esp8266)

in this all the nodemcu are in both mode receiving and transmitting, if i made 6 nodemcu connected with each other as mesh network to control home appliances, using mac address. suggest how i will ...
user avatar
  • 21
1 vote
1 answer
441 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 ...
user avatar
0 votes
1 answer
2k views

UltraSonic Sensor wirh ESP-01 Standalone

I'm trying to build a cheap device to measure water level in a tank using HC-SR04 sensor and ESP-01 which send the data to MQTT topic. I used the same code with ESP-E12 which works just fine. As I'm ...
user avatar
2 votes
0 answers
78 views

Wemos D1 / Witty Cloud D8 doesn't behave as expected

When using D8 in the code doesn't work, nothing happens, but replacing D8 with 15 works like a charm. And to test this I created the code below. I know that D8 has worked earlier, but I don't remember ...
user avatar
1 vote
0 answers
242 views

Conversion from string to char array

I know this is Arduino Forum but I think this question is related to programming, I am using ESP8266 for the project. I need to convert the string incoming on the serial through UART lines and ...
user avatar
1 vote
0 answers
68 views

RA-01 Lora Radio not turning off

am trying to completly turn off ra-01 radio and esp8266 and turn it on by external trigger but i have issues getting the lora radio to turn off #include <LoRa.h> #include <ESP8266WiFi.h> ...
user avatar
  • 111
0 votes
2 answers
338 views

ESP-12e - RX/TX pins flickering on boot when used as GPIO pins

I am using ESP-12e as a controller for my garden lights. I am using pins 1 (TX), 3 (RX) and 5 as an analog output (PWM signal with mosfets) for three separate light sets. ESP is powered on when wall ...
user avatar
0 votes
2 answers
2k 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 ...
user avatar
  • 151
1 vote
1 answer
608 views

Programming ESP8266 to avoid random exceptions?

Below is the code that I have done on Lolin Wemos D1 R2 and mini it works fine but it throws exceptions every time, I tried understanding my problem by reading this: NodeMCU 1.0 - Exception 9 `Fatal ...
user avatar
5 votes
3 answers
1k views

ESP8266 WiFi Not Connecting to Internet Without Static IP

I am seeing some very strange behavior with my ESP8266. When I connect it to the WiFi for the first couple of times I am not seeing any issues and the ESP8266 connects just fine. But after an ...
user avatar
1 vote
1 answer
927 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 ...
user avatar
  • 49
-1 votes
1 answer
279 views

Wiring up an ESP 01 to Nano

I've been at this for over a week now and still cant get things working. Im attempting to wire up an ESP-01 chip to a Nano to send AT commands over Serial. I've followed many different tutorials, but ...
user avatar
  • 119
3 votes
1 answer
345 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 ...
user avatar
  • 151

1
3 4
5
6 7
39