Questions tagged [esp8266]
ESP8266 is a highly integrated chip which offers a complete and self-contained Wi-Fi networking solution, allowing it to either host applications or offload all Wi-Fi networking functions from another application processor.
2,496
questions
-1
votes
2
answers
24
views
Getting the error: "Uncaught TypeError: Cannot set properties of null (setting 'innerHTML') at xhttp.onreadystatechange" after getting output once
I am fetching data (temperature, humidity and gas) from sensor (DHT11 and MQ4) using ESP8266 (NodeMCU) and show them in the website, everything works fine in the view but when I go to console I see ...
0
votes
0
answers
25
views
Is there way to send ppm from arduino\esp to Flight controller by wire
I'm trying to make a simple AI for ESP8266 that generates a ppm signal depending on the incoming data and send it to drone by UART. What should I do to transmit this ppm signal to the drone via the ...
0
votes
0
answers
21
views
Issues converting BMP to XBM in arduino
I've been working on trying to display a 1 bit depth bmp image onto my arduino's monitor, but I've gotten stuck. I can download the image and acess it via the stream, but I tried using adafruitGFX to ...
0
votes
0
answers
29
views
Why is the ESP8266 EEPROM not reading stored data [closed]
/**
Written and Verified by the owner of techiesms
Mr. Sachin Soni
This code is open for fair use.
If you are using it for commercial purpose, then it's mandatory to give credits
...
0
votes
1
answer
22
views
OLED 1.3 inch repeat setup ESP8266
I have a problem. I want to build a RPM meter with ESP8266, hall sensor and OLED. I used Arduino IDLE to program. The problem with this code is that only runs the setup in loop. It only shows adafruit'...
0
votes
0
answers
9
views
ESPAsyncWebServer switch page after upload file to ESP8266
In my ESP8266 I am using the ESPAsyncWebServer lib.
My purpose is to upload a file to ESP8266 and after uploading the website should be switched to another one.
The html code is:
const char ...
0
votes
0
answers
23
views
AWS IOT Certificates not found from Terminal
I created a AWS IOT, created Certificate and policy too for interacting from Node MCU/ ESP8266
ESP is well connected with WiFi but not with AWS IOT, returning MQTT error code -2
Meanwhile, i try to ...
-1
votes
1
answer
32
views
Running an esp8266 at 5 Watts [closed]
Is there any way to run it from 3.3 to 5 watts to get one to two miles of distance on 802.11 g
I ran one for a while this is a very basic question I just didn't feel like going in depth yet.... I know ...
0
votes
0
answers
7
views
nodeMCU suddenly stopped [closed]
While I was developing a project in nodeMCU, the nodeMCU's light suddenly went out.
While I was developing a project in nodeMCU, the nodeMCU's light suddenly went out. When I check it later, my PC ...
0
votes
1
answer
67
views
ESP8266 chips using different encryption for softAP
I've got this curious case which I'm trying to make sense of. I use ESP8266 boards in a particular project of mine. There are smaller boards and larger boards, with other modules on them, purchased ...
1
vote
0
answers
28
views
ESP8266 Serial dont work if declare pinMode
I was trying to make a code for my project. The serial works as it is without declaring pinMode(r, OUTPUT);, but once I write it in the serial stop working. The board I am using is a esp8266 by ...
0
votes
0
answers
25
views
WIFI Module can't get the data from the server
I am trying to connect the esp 8266 wifi module with the online server when I press a button on the site I expect to see the data in the file.txt that I upload to the site but I receive something like ...
-1
votes
0
answers
43
views
MQTT payload never equals string value "ON" or "OFF" [duplicate]
I have an ESP8266 running the following C
#include <ESP8266WiFi.h>
#include <ESPPubSubClientWrapper.h>
// Network & MQTT constants
const char* ssid = "xxx";
const char* ...
0
votes
1
answer
33
views
Transmitting data with post method with an ESP8266 in micropython but nothing in the DBB [duplicate]
I'm trying to send data on a MySQL DDB with an esp8266.
I sent data with a post method. I preparer the data on the ESP, I use the post method in order to sent the data to my web page. My web page in ...
0
votes
0
answers
23
views
esp8266 post return error code 301. What can be the issue?
I created a system that should post some data to a database, i use a file that receive the data, in php format, as followed on tutorial https://randomnerdtutorials.com/esp32-esp8266-mysql-database-php/...
0
votes
0
answers
36
views
How can I send data with GET method NodeMCU?
I have NodeMCU v3 ESP8266 and RFID RC522 card reader. I want to send some data using the insert_status.php API on the server. But it gives an error.
What I want to do is very simple, the php API will ...
-1
votes
0
answers
21
views
Arduino to Node MCU Serial Monitor Disparity
I have this Arduino Code that handles RTCDS1302
#include <virtuabotixRTC.h>
// Creation of the Real Time Clock Object
virtuabotixRTC myRTC(8, 7, 6); //RESET DATA CLK
void setup() {
Serial....
0
votes
1
answer
32
views
How automate the fingerprints updating of Firebase (Arduino-Master-Library)
I have developed a hardware-based project using esp32 board in ARDUINO, I am using firebase to upload data of sensors to the Firebase realtime database. I am using "firebase-arduino-master" ...
1
vote
1
answer
49
views
Using an ESP8266 and getting compilations errors when trying to convert a bytearray to a string
I'm really new to C++, especially with the ESP8266. I have a simple callback function that is called each time a message is put on an MQTT queue. The following code is supposed to read the bytes, ...
0
votes
0
answers
27
views
ESP12-E esp8266 module does not responding AT commands anymore
Im newbies in arduino. And i wanted make myself good on this. At the beginning, my esp was responding AT commands. after that i uploaded blink sketch it and everything just disappear but blink works ...
0
votes
0
answers
27
views
ESP8266 not working with port forwarded api
I am using ESP8266 to send data from my sensor to a server. For testing purposes I am hosting the api on localhost and port forwarding using localtunnel.
When I test the api using Thunder Client it is ...
0
votes
0
answers
22
views
Can't upload code to my ESP01, the flash tool is stuck on sync state and doesnt connect
I have a ESP-01 , which has been giving me trouble from the very starting.
However i somehow managed to get the default AT firmware up on the module.
I get the AT Commands to get working now, however ...
0
votes
1
answer
68
views
D1 mini ESP8266 pulldown button always HIGH
I am trying to connect a button to my d1 mini ESP8266.
The button is connected with a pulldown resistor (10kOhm) to GND.
And on the same side of the button to the D4 Pin. on the other side the button ...
-1
votes
1
answer
57
views
D1 mini ESP8266 - Temperature monitor
I am trying to monitor temperature with a D1 mini and a NTC, which is working, but the Temperature is calculated wrong. On the Serial Monitor I get Temperatures of around -300°C.
When printing the ...
0
votes
0
answers
21
views
In l293d driver ic ,Can i give a pwm signal to the inputs pin instead of enable pins?
I have been given a board for programming that uses esp8266 and l293d driver to control 4 motors. But the enable pins of l293d are connected directly to 3.3v.
I wanted to know if it is possible to use ...
0
votes
0
answers
25
views
Using "Firebase ESP8266 Client" by Mobizt: How to handle database errors?
I'm (successfully) using the "Firebase ESP8266 Client" on my ESP8266 based Arduino project in order to read and write data to/from a Firebase realtime database.
But: From time to time, it's ...
0
votes
0
answers
58
views
LoRa module does not work with RadioHead library
I'm new to radio modules and the RadioHead library, and I'm faced with the following problem.
In my project I use Wemos D1 R1 and the LoRa module based on SX1276 (868MHZ and 915MHz). When using the ...
-1
votes
1
answer
36
views
Is there a way to make ESP32 or ESP8266 wake up from sleep using code?
Good morning everyone,
I know that waking up an ESP32 or ESP8266 can be done either by setting the RTC timer or by an external event which can be generally pushing a button.
My question is can an ...
-2
votes
1
answer
53
views
Code for Wemos d1 mini that converts Cyrillic alphabet to Morse code
#include <ESP8266WebServer.h>
const char *ssid = "YourSSID"; // SSID точки доступа
const char *password = "YourPassword"; // Пароль для точки доступа
ESP8266WebServer ...
0
votes
0
answers
59
views
STM32 UART Receive Not Functioning
I am passing data between an ESP8266 and an STM32F411RE. I am receiving UART data in IT mode, code here :
uint8_t rx_data[10];
int counter = 0;
int main(void){
< INIT FUNCTIONS REMOVED>
...
0
votes
0
answers
12
views
Google Package with ESP8266 to Gen Tokens for HTTP Requests in MicroPython (Package Unavailable)
Title: Using Google Package with ESP8266 to Generate Tokens for HTTP Requests in MicroPython (Package Unavailable)
Body:
I am working on a project involving an ESP8266 microcontroller and Firebase. ...
0
votes
0
answers
48
views
Issue with partitions on ESP8266 RTOS SDK 3.4
I am getting error when I run my esp8266 with the latest RTOS SDK. Actually using platformio I am trying to adapt the code was written for ESP32. I had lots of pieces modified but the one i struggling ...
-1
votes
2
answers
74
views
Change char struct field by pointer in c
I am pretty much desperate as I struggle with c pointers :-(.
I have a struct with char fields for storing configuration values in the flash memory of an ESP8266. This worked in the previous firmware ...
0
votes
0
answers
64
views
Thingsboard: The problem of create a widget library with attribute like widget control "led - indicator"
I am trying out a project about esp8266 sending data to "thingsboard" with Arduino IDE. Over time, I have also learned how to communicate between them. Like turning light bulbs on and off ...
0
votes
1
answer
64
views
ESP8266 getting wrong time with NTP_TZ_DST Arduino sample code
I am working on building a world clock based on an ESP8266, where the timezone can be changed after startup to see the time at different locations around the world.
I'm basing the code off of the ...
0
votes
0
answers
21
views
Use XCode and ESP8266 as run destination
I'm using XCode to manage an IOT project on a ESP8266 board.
XCode is nice because it very well manages the syntax coloring, the source configuration etc. And it is also nice to have one single ...
-1
votes
1
answer
51
views
Title: ESP8266 Keeps Flashing Blue Light and Rebooting—How to Fix?
I am working on a project using ESP8266 with MicroPython. After flashing the firmware, the blue light on the board starts flashing incessantly, and it keeps rebooting.
I've tried erasing and re-...
0
votes
0
answers
34
views
Random chars on MAX7219 with Micropython SoftSPI on ESP8266 (ESP-07 4MiB Flash)
I am trying to use MAX7219 7 segment display with Micropython (v 1.20.0) on ESP-07. I am using the driver as written by pdwerryhouse (https://github.com/pdwerryhouse/max7219_8digit). I have downloaded ...
0
votes
0
answers
73
views
How to get the requested url in NAPT range extender for NodeMCU ESP8266 with Arduino framework?
I have a NodeMCU ESP8266 WiFi development board.
I was using the RangeExtender-NAPT example sketch in Arduino IDE for ESP8266WiFi library.
You can find the code here too.
It works great. I was able to ...
-2
votes
1
answer
24
views
Arduino Project McLightning does not compile
I'm trying to run an WS2812 LED Strip with an ESP8266 over a web interface. To do that I found the project McLightning.
However the compilation always fails, although I'm following the instructions ...
0
votes
0
answers
42
views
esp8266(ESP-01) maximum number of messages/sec
I need to use the wifi module in the header to forward packets.
It is assumed that this will be at least 1000 packets per second with a length of 11 bytes. I used an example from the Arduino library ...
0
votes
0
answers
18
views
Weird Behaviour With BearSSL on GPIO esp8266
I use GPIO 5 to trigger a relay, my code also connects with a secure MQTT connection for which I have to use the BearSSL certificate definitions.
Without the BearSSL certificates, when the esp ...
0
votes
1
answer
28
views
Firebase realtime database doesnt display values on my website
I'm facing an issue with firebase where it displays values on my website but only when I input them manually. But when my esp8266 publishes data to firebase the data can't be read by my website. It ...
0
votes
0
answers
43
views
Facing issues in publishing MAX30102 sensor data via a MQTT Broker to Influx DB for visualization of Sensor's data in Grafana
I actually wanted to visualise MAX30102 sensor's data in Grafana.
So I used Raspberry Pi as an IoT server. I referred this video for my project : https://www.youtube.com/watch?v=_DO2wHI6JWQ
But when ...
0
votes
1
answer
51
views
I write a lambda function that store data from MQTT client to DynamoDB table . I want to add serial number for each data and I don`t know how to add
I write a python program in aws lambda function it store data from MQTT client to DynamoDB table but it doesn't stored in order so I want to add a serial number to each items I stored in DynamoDB ...
0
votes
0
answers
26
views
The Sensor data from the nodemcu is not updating to blynk
I have managed to get the first initial values updated to the dashboard, but after the first update the dashboard values seems not to update. Any reasons? Any suggested changes to the code?
// Fill-...
0
votes
0
answers
15
views
Sending new configuration to an ESP8266 over local network
My esp8266 is running a code that creates an access point so the user can enter it's IP address and connect the esp to the local network. After the device is connected, its access point is turned off ...
0
votes
1
answer
87
views
How fix the code 400, message Bad request version ('client!')
I have some code where the arduino Esp8266 is supposed to connect to a flask server hosted on a pi 4
I can get them to connect but I end up getting "192.168.1.20 - - [16/Aug/2023 12:08:59] code ...
0
votes
1
answer
70
views
sending esp8266 random data to mongodb
I want to connect to localhost mongoDB and send data from esp8266 to the mongoDB database. I want to send random data to the database. i have this code but unfortunately it is not connected. is it ...
0
votes
0
answers
56
views
uWebsocket can not connect via domain
I have an esp8266 running micro python. i use the library uWebsocket to make a websocket connection to my server. The problem is that I can not connect through the domain I get the following error:
...