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.

532 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
2k views

Sending data from Arduino UNO as a SOAP request

I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW ...
3
votes
1answer
115 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 ...
3
votes
0answers
3k views

How to listen to multiple server ports with ESP8266?

I'm using WeMos D1 R2. I'm trying to listen to both ports 1992 and 1993. This is my current code: #include WiFiServer server_1992(1992); WiFiServer server_1993(1993); void setup() { Serial....
3
votes
0answers
290 views

How can i change by esp8266 baudrate, as I accidentally changed the baudrate to something else(which I dont remember)?

//In order to connect, SoftwareSerial esp8266(2,3); // the TX pin of esp8266 is connected to pin 3 of // arduino uno and RX pin is connected to 2 // we need to pass baud rate to begin ...
3
votes
1answer
2k views

Flash String Helper object as variable

So I have a Bunch of commonly used char arrays to build commands in my library. So to preserve memory, I have them put into flash, via PROGMEM ext, typedef const char PROGMEM ProgChar; ProgChar AT[] =...
3
votes
0answers
2k views

Non-blocking MQTT library

Are there any MQTT libraries that do not block while connecting? I'm currently using PubSubClient, and the connection part contains this code: https://github.com/knolleary/pubsubclient/blob/master/...
2
votes
0answers
25 views

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

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> ...
2
votes
0answers
33 views

Converting Arduino code to Node MCU code

I'm doing a project on controlling my house appliances with Blynk app and a ir receiver.So basically i can control my lights and fans with The Blynk app and an IR remote as the one used for TV. So i ...
2
votes
0answers
114 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 ...
2
votes
0answers
46 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. ...
2
votes
1answer
20 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 > ...
2
votes
0answers
40 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 ...
2
votes
0answers
48 views

Hijack analogue doorbell chime to trigger nodemcu

I have an oldskool doorbell chime. What i would like to do is whenever there's a voltage flowing through the doorbell also trigger an HTTP call, which will trigger some smart home automations. I have ...
2
votes
1answer
52 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 ...
2
votes
0answers
26 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 ...
2
votes
1answer
65 views

Static ip for esp8266 based on gateway

I'm new to Arduino programming. I want to make my esp8266 get static IP based on gateway. I mean if gateway is 192.168.0.1 then it should get 192.168.0.15 as static IP. And if gateway is 192.168.1.1 ...
2
votes
1answer
267 views

CIPSEND to ESP8266 returning bytes but no content

I am trying to send a GET request from an Arduino Uno connected to an ESP8266 through SoftwareSerial. I can't get it working directly in the code so I've stripped it down to a script that passes ...
2
votes
0answers
66 views

Turning on controller with button and turning off with a timeout

I am making a device controlled by an ESP 8266 and am wanting to save power by having it power down when not in use. The desired behavior is for a momentary button press or vibration sensor activation ...
2
votes
0answers
632 views

error compiling for board node MCU 1.0

Arduino: 1.8.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)" In file included from C:\Users\Priyaranjan Tiwari\Documents\Arduino\007mcu_php\007mcu_php....
2
votes
0answers
33 views

If an Arduino goes to sleep, does the attached ESP also sleep?

I am using Arduino Uno + an attached ESP-01 (ESP8266). I want to save battery, so I made my Arduino get sleep & interrupt by a watchdog timer. But if the Arduino goes to sleep, does the attached ...
2
votes
0answers
872 views

ESP8266 Websockets problem

I am trying to set up a network of 4 esp8266 programmed via the Arduino IDE. The Network will have 1 server (esp8266 running in AP mode) and 3 clients (esp8266 running in STA mode). I would like to do ...
2
votes
0answers
385 views

Cannot POST to server. HTTP code -1. NodeMCU

I am trying to make a POST request with NodeMCU, but I get a HTTP status code -1. Code: #include <ESP8266HTTPClient.h> #include <ESP8266WiFi.h> #ifndef STASSID #define STASSID "Wifi" #...
2
votes
0answers
259 views

Fail using OTA - Network ports

I was using OTA to upload sketches to ESP ports I have ( around 10 ESPs). For some time now - I'm having some kind of a trouble I would like to share, since I've read some similar topics, but all didn'...
2
votes
0answers
103 views

Arduino loses communication with bluetooth when sending commands to nodemcu esp8266

i've been working on a project using an Arduino UNO, Bluetooth Module HC-06 and NodeMCU esp8266, the project consists on turning leds on via bluetooth and telling the esp8266 that the leds were turned ...
2
votes
0answers
330 views

ESP8266 based wifi IR Universal Remote for A/Cs

I have been working on a prototype for a wifi based universal remote controller and i have been using the IR-Remote library for the same. But i have a couple of questions which google couldn't help ...
2
votes
0answers
94 views

ESP8266 WiFi Module disconnects from WiFi itself

#define id "qwerty" #define password"123456789" int relayPin= 4; void setup() { Serial.begin(115200); Serial.println("AT"); pinMode(13, OUTPUT); pinMode(relayPin, OUTPUT); delay(3000); ...
2
votes
0answers
2k views

ESP8266 can't read parasitic DS18B20 temperature (reset during conversion, 85°C)

tl;dr at the end I was running two DS18B20+PAR temperature sensors without any problems for the last two years on an ESP-01 module running on 3.3V on GPIO 2 using a 4.7K pullup resistor. Now, ...
2
votes
0answers
33 views

Serve currently uploaded code from Arduino

I'm creating a project where multiple ESP8266 12-E's are connected together. I want to use ArduinoOTA with the HTTP option (described here) and I want to have one ESP be able to send its code to ...
2
votes
0answers
2k views

Reading +IPD response from serial.read() using Arduino UNO and ESP8266

I have a python server running on my PC and I am using an Arduino Uno (wifi enabled by a ESP8266 chip) as the client. I can make the the server and client communicate using AT commands as shown below: ...
2
votes
0answers
295 views

Adafruit Huzzah Feather not resetting and serial monitor garbage

Hi there, I have an Adafruit Huzzah Feather project laid out as you can see in the diagram above. Currently I am having trouble getting it to reliably reset and start the sketch. More often than ...
2
votes
0answers
1k views

Wake up ESP8266 with multiple GPIOs

I am building a ESP-07 based IOT device, that detects the status of 4 doors. The device must connect to WiFi and send an http request, when 1 of 4 doors is opened. I want to place a reed switch, for ...
2
votes
0answers
762 views

ESP8266WiFi client.print() strange response

I am using a NodeMCU, so ESP8266. I installed the core via the Boards Manager at the last version. My goal is to control a GoPro camera through WiFi. I am getting mad with these few lines of code: ...
2
votes
0answers
3k views

ESP-01 not running custom firmware

I have two esp-01 micro controllers that I'm trying to flash using the Arduino IDE but found some problems in the process. I followed step 1 of this tutorial to install all the dependencies to the IDE....
2
votes
0answers
2k views

Digital Vibration sensor on NodeMCU ESP8266

First Post. I'm using a NodeMCU esp8266 connected to a digital vibration sensor. My project is to detect when a pager vibrates to then trigger through the maker channel of ifttt an outcome. I'm ...
2
votes
0answers
5k views

Can upload programs to ESP8266 with Arduino Nano but not run them

I am trying to use my Arduino Nano to program my Generic ESP-01 Module. I want to use the module to control an RGB LED Light Strip but am not having much success, only errors.... These are my ...
2
votes
0answers
6k views

How do I interpret the esp8266 “boot mode” message?

Everytime the chips resets, we get the reason and the next boot mode. ets Jan 8 2013,rst cause:XXX, boot mode:(YYY,ZZZ) For XXX we can check the meaning here. For YYY and ZZZ I am not sure but I ...
2
votes
0answers
2k views

Converting between NEC and HEX values from IR receiver

I jacked one of the IR receivers from my LED strip and hooked it up to my ESP8266 NodeMCU (running Arduino code). I found a great library called IRremoteESP8266. With this library, I can basically ...
2
votes
0answers
782 views

Make RFID Tag as a variable

I want to make RFID Tag as a variable, and push it to the web server. But I struggle to do the Serial.read function. Any solutions? Here is my code #include <ESP8266WiFi.h> #include <SPI....
2
votes
0answers
425 views

Can't send AT comands to ESP8266 on any baud rate

I have problem with baud rate. I have changed baud rate of esp from 115200 to 9600 with AT command AT+CIOBAUD. And everything worked fine until I wanted to change it back and executed command AT+...
2
votes
0answers
235 views

ESP8266 sometimes stuck on AT+CIPSEND with “busy s…”

I'm using an ESP8266-01S Wi-Fi module on an Arduino UNO. When I use AT+CIPSEND=4 and then type test it successfully sends that message to my laptop. However, sometimes the module returns a busy s... ...
2
votes
0answers
441 views

Can't Flash ESP8266 latest firmware, says “Fast Flashing error” and "Invalid head of packet(' ')

I can't figure out how to flash the firmware found on http://www.electrodragon.com/w/ESP8266_AT-Command_firmware. I am using ESP8266 Download tool v3.4.4. When I am adding a firmware in download path ...
2
votes
0answers
391 views

Why does my ESP8266 making an HTTP request to an MDNS responder keep getting redirected to my ISP's search engine?

I have two ESP8266's trying to talk to each other, a 'host' and a 'client', if you will. I have the ESP8266mDNS.h responder running on the host at esp8266wifi.local. On sending an http GET request to ...
2
votes
0answers
682 views

Arduino Mega + ESP8266 - Post Data to website issue

I'm trying to post data to my SQL database and it seems that I'm not sending the data correctly. My PHP file is working since I have tried it and it writes to the database. I am getting an esp.find("...
2
votes
0answers
2k views

How to define SoftwareSerial pins on ESP8266

I'am new to arduino yun and ESP. In fact, i have an arduino yun which has a sim808 dfrobot shield on it which uploads GPS data online at a regular time interval. I want to connect the dfrobot sim808 ...
2
votes
0answers
288 views

ESP-12f SoftwareSerial read fails

I am trying to use esp8266 version of SoftwareSerial, espsoftwareserial, on an esp-12f. If I initialize an object using: SoftwareSerial gpsSer(14,12, false, 256); or SoftwareSerial gpsSer(12,14,...
2
votes
0answers
624 views

AT+CIPSEND command closed the connection automatically

I don't know why CIPSEND command closed the connection after sending done without CIPCLOSE command. Is it normal? If I want to keep the connection, what should I do in this case?
2
votes
0answers
107 views

Esp8266 not working

I connected all the pins as in datasheet, except ch_pd. But when I connect ch_pd to 3.3 V , the red light on esp8266 goes dim. I used 3.3 V, 250 mA power supply. What is the reason for this?
2
votes
0answers
841 views

ESP8266 only responds to AT and AT+GMR

I purchased a pack of esp8266 (https://www.amazon.com/gp/product/B00PA3UQNI/) and a usb to serial converter (https://www.amazon.com/gp/product/B01FUA2BBU/) from amazon. I hooked them up and attempted ...
2
votes
0answers
597 views

ESP8266 and Arduino bidirectional streaming from and to a website

I was looking for some easy tutorial on bidirectional communication via ESP8266 connected to Arduino UNO. I want to send and receive strings from and to JQuery based website. However, I couldn't find ...
1
vote
0answers
37 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 ...

1
2 3 4 5
11