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
1answer
51 views

ESP8266 Webserver ESP8266WebServer variable html page (not as one const char)

The aim is to display a non-static html page depending on some variable condition. The code I created hast the problem, that the esp8266 is ressetting in the moment I request the page. const char ...
0
votes
1answer
44 views

Once and only once running program [closed]

I am searching for an Arduino program or function or technique, that will only run once at the time of installation. And, even if I reset my board it will not run. Only, if I reinstall it will be run ...
1
vote
1answer
17 views

ESP8266 Webserver ESP8266WebServer move Handler-Function in separate .h .c file

The plan is to create a bigger project and to split the ESP8266 webserver-code over several modules (.h .c files). The main problem is that the ESP8266WebServer server is not declared in the index.h ...
0
votes
0answers
9 views

ESP8266 Connection with WPA2-PEAP Enterprise Network

I am trying to connect my nodemcu 12E module to WPA2-entrprise network but not able to connect. I had gone through the Espressif Forum and GitHub but still not able to resolve my problem. here is ...
0
votes
0answers
29 views

ESP8266 mqtt publish + subscribe + serial read

seems I have some issues in my code as I subscribe for specific mqtt topic and also read same value via serial and publish it to mqtt. It takes time for device connected to serial to change setting ...
0
votes
0answers
38 views

ESP8266 can't get IP from DHCP

I buy ESP8266MOD chip and flashed with FW: MicroPython v1.11. Now I have problem connect to my home network via DHCP (like other device in home). Below is code which I send to ESP8266 via ESPlorer: ...
0
votes
1answer
24 views

Need advice on serial bytes reading optimization

I am doing some device serial data read and publishing values to MQTT. Using ESP8266 for this. Currenty I request serial device by sending a command and parse all byte values individually, how to do ...
0
votes
0answers
21 views

Wifi UDP multicast not seen in LAN [closed]

I am using Wemos D1 mini to send multicast messages via UDP into the Wifi network. This seems to work well since I see the messages via Wireshark in my Wifi network. When connecting to my Fritzbox ...
0
votes
0answers
26 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
41 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
25 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
34 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
17 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
28 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
43 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
21 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
88 views

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
20 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
26 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
33 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
50 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
60 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
17 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
28 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
50 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
50 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
74 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
49 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
20 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
47 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
44 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
38 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
37 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
31 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
44 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
42 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 ...