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

How to tell if a config file was made with the current firmware?

I'm designing an application for the ESP8266 that stores certain information to a config file in SPIFFS. However, I'd like to store some information in a battery-backed NVRAM chip attached to it (to ...
0
votes
0answers
40 views

8266 get uint8_t PROGMEM array from uploaded file

I'm new programming arduino. I have connected an Adafruit thermal printer to an ESP8266 board. I've the example code for use the board like a webserver that allow upload files. What i want is to ...
0
votes
1answer
94 views

ESP8266 Deep Sleep Wake Up

I am testing esp8266's deep sleep mode. And i have some questions about that. 1- I want to wakeup esp via timer. I did it. I implemented GPIO16-RST connection and this version done. 2- I want to ake ...
-1
votes
1answer
148 views

NodeMCU V3 Serial input results in Fatal exception 9 (LoadStoreAlignmentCause)

I am building a simple telnet style interface for experimental settings on my project. I am getting all the serial output sent to serial (and USB to PC). The code works fine, but if I try to read from ...
0
votes
0answers
35 views

ESP-01S + Fastled

I am trying to control a WS2812B Led Strip with my ESP-01S board. It works fine with my ESP32 DevKit board, but the ESP-01S won't do anything :/ I couldn't figure out which 2 GPIO the ESP-01S is using ...
0
votes
1answer
445 views

NodeMCU second HARDWARE serial TX as a debug port

I'm using a NodeMCU board to send commands to my home electricity switching box - using RS485 communication. For that, I've connected MAX485 TTL-to-RS485 converter module to my TX and RX pins. ...
0
votes
0answers
613 views

Error compiling for board LOLIN(WEMOS) D1 R2 & mini

Receiving the following error message when compiling for D1 mini. This code worked previously but I am using a fresh install of Arduino IDE. I have installed ESP8266 boards using the board manager and ...
0
votes
0answers
49 views

ESP8266-01 Serial.print returns a blank given a valid string

I am currently trying to create a led matrix with ws2812b leds. I am using an uno on the rear of the display to control the leds and now I want to add wifi capabilities. Since I already had serial ...
0
votes
0answers
67 views

ESP8266 keeps restarting after a few hours of use and dead after 1 month of use

I have tried to make a water heater relay controlled by an ESP8266 (NodeMCU v1.0). The ESP8266 is connected to a central WiFi in my house, the ESP8266 also has its own WiFi so I use STA and AP mode ...
0
votes
2answers
220 views

My ESP8266-01 doesn't want to respond to AT command after a successful flash!

Well hello, experts, I've been trying to fix my issue all time, but all in vain. I have an Esp8266-01 with 1MB memory. I've flashed it with an official AT firmware V2.0.0 of espressif with the help of ...
0
votes
0answers
15 views

Getting weird output for following object detection code using interrupts on HUZZAH ESP8266 and motor controller L293D along with 3 HCSR04 sensors

I am trying to implement a bot which can sense obstacle in front, left or right and post detection send interrupts. Which in turn will perform the appropriate motor function to avoid these obsticles. ...
1
vote
1answer
207 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 ...
1
vote
1answer
257 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 ...
1
vote
0answers
189 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
114 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
167 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
28 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
107 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
74 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
114 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
66 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
315 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
113 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 ...
0
votes
0answers
61 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
248 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
75 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
76 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
136 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
338 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
92 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
43 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
57 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
286 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
366 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,...
-1
votes
1answer
112 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
23 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
157 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
29 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
27 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
669 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
202 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
564 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
20 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
-1
votes
1answer
187 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
25 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
57 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
166 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
22 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
87 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
86 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 ...

1
3 4
5
6 7
34