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
10 views

ESEP8266 using WiFi Manager doesn't connect when re-entering WiFi range

I'm able to connect to WiFi through WiFi manager, but when it leaves the WiFi range it enters AP mode. If I bring it back into the WiFi range a couple hours later, it is staying in AP mode and not ...
0
votes
1answer
35 views

How to read serial data without any blocking using ESP8266

I'am deconding one electronic device serial protocol and using ESP8266 for this task. Device is sending 202 byte data constantly and I figured out begining and the end. Whole packet looks like: 71 ...
0
votes
0answers
24 views

ESP8266 NONos SDK with Arduino ide or VSCode PlatformIO

I have few questions about esp8266 programming. I am trying to make a iot application with esp8266. I have to run esp on two modes and create tcp server and http client. I did this application with ...
0
votes
1answer
31 views

Can I connect a NEO-6M GPS Module and ESP8266 to the same Arduino?

Can I connect a NEO-6M GPS Module and ESP8266 to the same Arduino? I think both modules require the use of the RX and TX pins.
0
votes
0answers
11 views

ESP32 CAM sending a file via POST method

I'm using HTTPClient.h for sending the image file that taken by ESP32-cam, but it sends just headers. the important part of code : File fsUploadFile2 = SPIFFS.open("/picture.jgp", "r"); ...
0
votes
1answer
19 views

ESP32-CAM interfacing with CCS811+HDC1080+BMP280

I want to measure Temprature, Pressure, Humidity and CO2 in a room with ESP32-CAM & CCS811+HDC1080+BMP280 Since this module is combination of 3 sensors. Can I integrate it with ESP32-CAM over ...
-2
votes
0answers
40 views

problem with nodemcu esp8266 and remotexy app

i need to control led on and off time wirelessly by remotexy app and nodemcu esp8266 i found a code on the internet which can do it easily with millis() but it doesn't work with remotexy app and ...
0
votes
0answers
17 views

Constantly getting RC=-2 error with Arduino Mega and ESP8266 as the wifi module for MQTT

I am trying to use the ESP8266 as the wifi module. My connections are as follows: ESP8266 <-----------------> Arduino Mega VCC ------------------> 3.3V (converted 5V from Mega to 3.3V ...
0
votes
2answers
77 views
+50

ESP32-CAM not reading BME680

I am trying to read BME680 on ESP32-CAM with following code : (Before trying BME680, I have suscessfully connected BME280 to ESP32-CAM over S/W SPI) #include <Wire.h> #include <SPI.h> #...
0
votes
1answer
19 views

Powering ESP8266 module from arduino nano

I'm just starting up with arduino and i have few simple questions. Why shouldn't i power ESP8266 WiFi module directly from arduino nano 3.3V rail? There are bunch of tutorials explicitly avoiding ...
0
votes
1answer
25 views

What kind of antenna should i use for my esp8266 module?

I have an esp8266 module and i want to increase its range by adding an antenna to it. What kind of antena should i use. Can i use an antenna from a RC car remote?
0
votes
0answers
28 views

ESP8266 Loop cycle frequency gets decreased after WiFi got disabled

In a traditional scenario, after the setup() method we go to the loop() method of our sketch. You know, usually it gets executed probably 5-10 times in a second (or even more). I am now playing ...
0
votes
1answer
32 views

cast from 'char*' to 'char' loses precision

Bit of a noob here. Im trying to use the sensor number (float) in my mqtt topic, but cant seem to get this right. Any help would be appreciated. Keep getting this error (cast from 'char*' to 'char' ...
0
votes
1answer
30 views

How to retrieve a page from a web-server using ESP8266 with the program running on Arduino instead of the ESP module?

I have connected an ESP8266-01 module to an Arduino as in the following schematic with the RX and TX pins changed to pins 8 and 9 instead of 0 and 1: I am using the ESP8266wifi library at the ...
0
votes
1answer
31 views

MP3 File through ARDUINO

Hey question is that it is possible to play MP3 file in arduino without changing it into .wav file if possible ,then your suggestions are welcome Thanks
0
votes
0answers
51 views

How to use PHP to change the SSID and Password of the arduino esp8266-01

I wanna ask if there's already a project you know that changed the wifi name and password on the set values (programmed) in the arduino esp8266-01? any help will do, related articles and projects. ...
0
votes
1answer
45 views

ESP8266 stops working when I use 2x static const char(PROGMEM)

*Sdk version: 2.2.2-dev(5ab15d1) *Core Version: 2_6_1 This is the error returned: Exception 3: LoadStoreError: Processor internal physical address or data error during load or store PC: 0x4000bf64 ...
0
votes
2answers
57 views

Disable interrupts when doing critical things?

I've got a few functions like this that log, or do more critical things like get/save configuration variables. /** Write weather data to csv commit: datetime,minHumidity,maxHumidity,...
0
votes
1answer
13 views

Timeout error with Arduino Mega and ESP8266 as the wifi module

I am trying to use the ESP8266 as the wifi module based on this tutorial. My connections are as follows: ESP8266 <-----------------> Arduino Mega VCC ------------------> 3.3V (converted ...
0
votes
0answers
18 views

ESP8266 connected to a HIGH pin and DPDT only works sometimes. Works everytime if connected to 3V3 pin

I have a Wemos D1 Mini hooked up to a DS2Y-S-DC3V DPDT switch. When I have the coil ends are hooked up to a pin (D2) and ground, it will click when I set the pin HIGH. It should click again when it ...
1
vote
0answers
25 views

How to parse data most efficiently coming through mqtt with ESP8266

I am writing a program that is currently set up like so: Python script running on my computer. Raspberry pi is the broker for the mqtt data transmission An ESP8266 is programmed to listen to/...
0
votes
1answer
21 views

How do I change the scope of an object?

I am using the File/Examples/Adafruit MQTT Library/mqtt_ESP8266 example as a model for my code. In the example, the mqtt object is created as a global variable, and everything works fine. However, I ...
0
votes
0answers
25 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
40 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
42 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
73 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
40 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
14 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
43 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
43 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
36 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
35 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
26 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
30 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
44 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
42 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
42 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
41 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
30 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
59 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
47 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
34 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
22 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
40 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
76 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
38 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) ...