We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0
votes
0answers
23 views

Extend Pyduino over wireless network

I followed a guide to control my arduino uno using a python web server API (flask), and it works like a charm using the COM port on my PC. I would like to extend this over the network with an ESP8266 ...
0
votes
1answer
20 views

publish json data to mqtt

I am trying to publish JSON data to mqtt with following code snippet #include <Arduino_JSON.h> JSONVar data; data["temperature"] = temperature; data["humidity"] = humidity; data["pressure"] = ...
0
votes
0answers
28 views

Bad Data : Arduino Mega & NodeMCU Serial Communication

Currently I am working on an Arduino project. The project required to establish communication between Arduino Mega and NodeMCU ESP8266. Here are some details about the project: NodeMCU Rx Pin is ...
0
votes
1answer
48 views

no matching function to call for SoftwareSerial::SoftwareSerial(int&,int&)? How to rectify this problem

#include <LiquidCrystal.h> #include <SoftwareSerial.h> float pulse = 0; float temp = 0; SoftwareSerial ser(9,10); String apiKey = "U5AGYVQT5JRJPSDR"; // Variables int pulsePin = A0;...
0
votes
0answers
17 views

Adafruit Feather Huzzah

I want to run my downloaded sketch on a LiPo-battery powered Huzzah but as soon as I disconnect the usb-cable after upload, the execution stops. What to do? Leif
0
votes
1answer
35 views

Is it possible to connect from esp8266 module over HTTPS protocol?

Before I will implementing some server application for Arduino client I should know: Is it possible to connect from esp8266 module to end-point over HTTPS protocol? Any links of tutorials are ...
0
votes
1answer
13 views

command keeps echoing because web page tries refreshing

I want to execute a action only once when I press web page button but as the page tries refreshing the action gets executed in a loop. I am using the wifimanualwebserver example for esp8266. Please ...
0
votes
1answer
41 views

Pulse Sensor Working Bottom-Side-Up Better?

i recently bought me an pulse-heartbeat sensor. Connected him to my brand new M1 mini as well. I wrote a piece of Code which just outputs the Raw ADC Value from A0 (where the pulse sensor is ...
0
votes
0answers
31 views

ESP8266 WiFi doesn't reconnect

I've been reading this post while trying to optimize the usage of the WiFi module on my ESP8266. My main goal was to be able to connect/disconnect (respectively turn on/off) the WiFi module so I can ...
0
votes
0answers
21 views

how this problem can resolve? i am using esp8266 node mcu [duplicate]

Uploading 295424 bytes from C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_281128/dustbin-local-http.ino.bin to flash at 0x00000000 warning: espcomm_send_command: didn't receive command response ...
0
votes
1answer
42 views

How to check if a LED is on?

I have a circuit board / device that can be in different states. It indicates in which state it is by turning on one of three LED's. Now I want to use an ESP8266 to tell me (over the network) the ...
0
votes
1answer
32 views

ESP8266 Arduino MQTT callback with dynamic topics

I have a program that depending on user input, it creates one or several objects that will publish data to a MQTT broker, each one with a different topic. This is already done. The ESP8266 also has ...
0
votes
1answer
28 views

Solar powered ESP8266. WiFi module usage optimizations

Above all, I am quite new to the ESP8266 and micro controllers development as a whole. I am now working on a project which is quite simple for now. It basically looks like this: As you can see, I ...
1
vote
0answers
22 views

esp8266 using thingspeak for iot light on project via google assistant fatal error everytime

fatal error timeout and unable to connect to thingspeak for fetching data sent via google assistant (ifttt) #include <LiquidCrystal.h> #include <SoftwareSerial.h> //ESP is connected to ...
0
votes
0answers
25 views

Arduino Uno R3 and ESP8266(ESP-01) serial connection

I have done everything i found but just nothing works, or maybe i just dont understand why it wont work. Im only trying to pass data(String) from Arduino to Esp through serial comms. Please I need ...
0
votes
1answer
42 views

Sending the data for temperature and soil using esp8266-01 through software serial

The code I used was from online and I tried using it to send data to firebase through web server. But the ouput I get from serial monitor was just "ATE0" which means there's something wrong. Hence, I ...
0
votes
0answers
33 views

NodeMCU ESP8266 Returns IP address, but cant open the web with IP address

I have used the below code with proper Wifi Address and password. The Nodemcu connects to WIfi, and displays IP address, But the IP address cannot be used to open a web page. It says "This site cant ...
0
votes
2answers
37 views

WifiManager and WiFi functionally

I’m considering using wifiManager mostly to have the ability not to hard code WiFi creditntials. But In my current code I use WiFi’s functions as WiFi.setAutoReconnect(true) and WiFi.status() != ...
0
votes
1answer
36 views

Measuring Battery level with ADC already in use

I have NodeMCU v3 with ESP8266 and I am running small project where I am measuring the input from IR phototransistor via ADC pin (A0) and everything is working flawlessly. But now I want to transfer ...
0
votes
1answer
26 views

Esp8266 + Atmega328p as flash

Being clear I'm not talking about How to flash ESP8266 using arduino. I want to ask how can I use atmega328p as flash with esp8266 (instead of that 8 pin small chip on ESP-01) so that I can burn ...
0
votes
1answer
56 views

Deep Sleep Reset with Shock Sensor

I am trying to design a circuit that wakes my ESP8266 (Wemos D1 Mini) from deep sleep using a shock sensor. I can achieve this using the reset pin but I need it to ignore further requests to reset to ...
0
votes
2answers
40 views

ESP-01 + UNO won't detect gateway

Apparently, this combination of hardware won't accept anything other than WiFiEsp.h together with SoftwareSerial.h (if anyone knows something better/newer than these two, please let me know). Thing is:...
0
votes
1answer
29 views

ESP12E motorshield analogWrite issue when powering DC motor

I am relatively new to adruino and this whole space. I am currently trying to power a DC motor using an ESP12E motor shield and an ESP8266 Module Motor Shield - https://www.amazon.com/gp/product/...
0
votes
0answers
21 views

WS2812B not fully working with NodeMCUv2 [ESP8266]

I have a problem with my NodeMCU v2 board and my WS2812B led matrix with 256 (32x8) LEDs. The Board cannot be able to turn on the 191th led and stops working after the 190th without changing the ...
0
votes
0answers
30 views

WDT Reset with PubSubClient library for esp8266

I am using ESP8266 with arduino and PubSubClient library. With this library on esp8266, i can see esp8266 is resetting due to Watchdog reset. After google search get to know this is known issue. I was ...
0
votes
1answer
45 views

Serial communication from Arduino to ESP8266 NodeMCU works, but from NodeMCU to Arduino isn't working

My circuit connection is like: (I am following this tutorial) Code uploaded to Arduino: #include <SoftwareSerial.h> #include <ArduinoJson.h> SoftwareSerial s(5,6); void setup() { s....
0
votes
0answers
21 views

Characters like '$' coming through weirdly (as in '$$amd4') when sent from ESP8266 to Uno via Serial

I am running a program on an Uno using data that an ESP8266 is sending via Serial (can't run directly on the ESP8266 due to not enough GPIOs) and I'm having a problem where characters like '$' on a ...
0
votes
0answers
24 views

Documentation for esp8266::polledTimeout?

I came across esp8266::polledTimeout for the ESP8266 Arduino core in the NTP example. But I could not find any documentation. It seems to be a template that is intended to eliminate manual time(out) ...
0
votes
0answers
22 views

How can I switch from ArduinoOTA to ESPhome safely?

I have a ESP8266 (ESP-12F) which I flashed with ElegantOTA, a variation of ArduinoOTA with just a different interface. I never managed to flash anything else, so it's a bare OTA I flashed using a ...
0
votes
0answers
11 views

BH1750 had strange behavior with WEMOS D1

I had WEMOS D1 (ESP8266 inside) connect to BH1750 (Light sensor). And I clone source code from an example BH1750FVI_4Wire. I don't know why 3 functions loop() operated differently as below: //Code A ...
0
votes
1answer
20 views

Using Library LoRa.h with Wemos D1 R2 for Lora Shield

I have been using Lora Shield for communication between server and multiple sensor with arduino . But recently i must save data received to Cloud . So i choose Wemos D1 R2 that have similar board with ...
0
votes
0answers
26 views

NodeMcu does not connect to my wifi

this is the code , and it never connects to the wifi ,i dont know what to do , the code is an example in the blynk library
0
votes
1answer
30 views

Obtain retained MQTT message

I’m using ESP8266 with Arduino code. Each device posts a ‘state’ and an ‘avail’ messages for a specific topic. I wish to be able to read those retained messages and not only right after connecting ...
0
votes
0answers
29 views

Reading data from multiple sensors from Arduino with ESP8266

I am trying to do a project where I need to get data from multiple sensors simultaneously. I am planning to use a Arduino to get the readings from the sensors. I am thinking to control the Arduino ...
0
votes
0answers
18 views

Relay LOW makes ESP8266 deny ESP.deepSleep command

ESP8266 reacts as expected when I issue the command: digitalWrite(D2, HIGH); // = OFF ESP.deepSleep(300000000); which switches a relay OFF and enters a deepSleep state. ESP8266 reacts NOT ...
-1
votes
3answers
74 views

Unused lines of code causing program to crash

I have a project which essentially involves WiFi, a web server, and an LED. I'm using the Inbuilt LED on my ESP8266 for testing at the moment. I am using the Arduino IDE for programming. I had a ...
0
votes
0answers
28 views

How to send JSON on a http POST request using an ESP8266?

I'm working on a project aimed on sending alerts via SMS. I signed up for a SMS service that works via HTTP requests (REST standard). I need, then, to send data as JSON, so that their server processes ...
0
votes
1answer
56 views

Error when compiling code NODE MCU ESP8266-12E module in Arduino ide

Here is my sketch: #include<ESP8266WiFi.h> char* ssid = "xxxxxxxx"; char* pass = "xxxxxxx"; void setup() { WiFi.begin(ssid,pass); Serial.begin(9600); while(WiFi.status()!=WL_CONNECTED) { ...
0
votes
2answers
46 views

Control 5V from ESP8266 Wemos D1 mini

I am making a simple heater with the help of ESP8266 wemos d1 mini. Heaters will use 12V DC power suply and ESP8266 must turn the heater on and off with the help of 5V DC relax. I want to avoid the ...
0
votes
1answer
43 views

Brownout detector triggered

I'm running a pretty basic setup. When I run a small program just doing some serial.println, it works fine, when I try to do operations that needs more power, the brownout detector gets triggered. I'm ...
0
votes
1answer
54 views

ADS1115, ACS712 and ESP8266

I have an ACS712 (5v sensor), an ADS1115 (5 or 3.3v) and an ESP8266 board (3.3v). I know I can't directly use the ACS with the ESP without a voltage divider on the analog pin. So I figured I could ...
0
votes
1answer
29 views

ESP32 access point code not compiling

I'm trying to use the ESP32 board to control an LED, buzzer, and motor (ABA) through an access point. I got some code from this page: https://lastminuteengineers.com/creating-esp32-web-server-arduino-...
0
votes
0answers
21 views

ESP8266 using deep sleep, http connection fails after 360 successful connections

I am building a monitoring device for my chicken stable. Therefore, I want to measure temperature, humidity, and a reed switch every minute and send the results to a server, then sleep 60s and repeat. ...
0
votes
0answers
32 views

Arduino How to Concat Strings

am stuck with something simple which is concating string not sure what am doing wrong , am getting exception (3 ) error due to it 3 LoadStoreErrorCause Processor internal physical address or data ...
0
votes
1answer
60 views

ESP8266 ESP-07 does not respond to commands

I just bought an ESP8266 ESP-07 V1.0 Serial Wifi Transceiver. Similiar to this: https://www.ebay.com/itm/ESP8266-Serial-Wifi-Transceiver-Module-for-Arduino-ESP-07-V1-0-New-/331868488091 I have ...
0
votes
2answers
33 views

Arduino Nano burns with ESP-01 in parallel

So I have an Arduino Nano powered in parallel with an ESP-01 (for the ESP there is an extra LM1117-5.0 voltage regulator in series). +12V ---------+---------+ | | ...
0
votes
1answer
29 views

Sending multi-byte data over I2C between different processors

I have been attempting to read data from an ATTINY84 via an ESP8266. Both are programmed via the Arduino IDE, though as PlatformIO is a proxy for that, I'm not certain what version of the ATTINY core ...
0
votes
0answers
20 views

Esp8266 esp01 kicks other devices off tplink router

I had an Esp8266 esp01 module programmed to log onto the router and post data. It worked fine for a few months but all of a sudden it kicks everyone else off the router. Actually as soon as I ...
0
votes
0answers
34 views

Where is tcp.c?

This question is related to my other question, which I already answered. I want to add modify tcp.c to include my own code. The problem is I can't find tcp.c. The first thing I tried was looking in ...
0
votes
1answer
60 views

RtcUtility.h: No such file or directory

I have a problem with remaining headers. Can't seem to find the first header "RtcUtility.h". Anyone how to fix? I've provided a picture for you to see. Error Messages: Arduino: 1.8.10 (Windows 7), ...