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

why this unexpected behaviour shows when i use the following code to send the data from the ultrasonic distance sensor to firebase

I am using nodeMCU esp8266 wifi module to send the data received by the ultrasonic distance sensor to the firebase. here is my code: #include <ArduinoJson.h> #include <ESP8266WiFi.h> #...
0
votes
1answer
7 views

Cannot connect to NodeMCU IP address

I wanted to build a simple browser-controlled NodeMCU page but I cannot connect to the IP address. I am a beginner in NodeMCU so try to answer this question... #include <ESP8266WiFi.h> const ...
2
votes
1answer
35 views

ESP-01 Programming

I have had so many problems with this board. I have a detailed list of everything I've tried at the link below, but for simplicity I will just summarize where I am now: https://forum.arduino.cc/...
0
votes
1answer
22 views

ESP8266, I am trying to establish a SoftAP and I cant seem to get the WiFilocalIP function to give me my IP

I am just trying to establish a server and it seems that I can't get the serial monitor to read the local IP of my device and my Client can't establish a connection to update the sensor value. when I ...
1
vote
1answer
33 views

CIPSEND to ESP8266 returning bytes but no content

I am trying to send a GET request from an Arduino Uno connected to an ESP8266 through SoftwareSerial. I can't get it working directly in the code so I've stripped it down to a script that passes ...
0
votes
1answer
29 views

Update every 5 seconds, display every 60 seconds [closed]

im new to IoT. Im using ESP8266 and DHT22 to get the values. but how do i update the values every 5 seconds, and display in serial monitor the highest and lowest values every 60 seconds ? Thanks
0
votes
1answer
39 views

NodeMCU unable to connect to mobile hotspot when I include codes for reading the temperature sensor

Good day. The NodeMCu successfully connected to mobile hotspot when i didn't put any others codes except the Wifibegin etc. Howveer when I include some codes for temparature sensor, it keeps on ...
0
votes
2answers
43 views

No contact between DS18B20 and WeMos D1 Mini

I have a waterproof DS18B20 sensor that I have connected to a WeMos D1 Mini microcontroller. This controller connects to Wifi and an MQTT broker, sending the temperature from the sensor and goes to ...
0
votes
0answers
19 views

ESP8266 EEPROM Reading extra character

I am very very new to ESP Programming. I am trying to store Strings into EEPROM of ESP8266. I am storing the string into eeprom successfully but while reading it from EEPROM extra character 'd' is ...
0
votes
1answer
13 views

Http request in interrupt esp8266 not working

So i have this code that whenever i click a button a interrupt starts. In this interrupt i want to do a get request to a webserver. The thing is seperate the code, the interrupt code works and ...
0
votes
1answer
32 views

How to change wifi credentials of multiple ESP8266 together

I need to change WiFi credentials of multiple ESP8266 in one go, without needing to change passwords for each of them individually. I know there is a WiFiManager library, which makes your ESP8266 ...
0
votes
0answers
13 views

ESP 8266 HTTP Client Data is not changing correctly

I'm Trying to control a pin "D1" from HTTP API everything was working fine but when i'm going to change the data from server it's done on the server but on device it's takes so long time almost 20 ...
0
votes
1answer
30 views

I am facing a problem of firing multiple interrupts on nodemcu 1.0 on single rising edge pulse.what is problem and what are the solutions?

I am working on a project which involves counting the drops falling in a drip chamber of a IV fluid gravity based therapy bottle(saline bottle).I am using IR trans-receiver at the drip chamber to ...
0
votes
1answer
36 views

Arduino MySQL Connector Issues with Select only

first question i am doing so hope this is the right place. I have an issue with an Arduino Uno and an Arduino ESP8266WiFi Shiald by WangTongze using this tutorial (https://www.instructables.com/id/...
0
votes
0answers
30 views

Esp8266 SD card read from inside of class

This is now my 3rd attempt at being able to read this sd card from within the Esp8266webserver. I have made a class WebServer, and would like my sd card to contain my site. What throws me off, is I am ...
0
votes
1answer
40 views

Scroll one line of text while another line is static on a SSD1306 OLED

I have an SSD1306 OLED that I have connected to a Wemos D1 Mini. It works like a charm, but I was wondering if it was possible to have two lines of code, where one line is static, and the other one ...
0
votes
2answers
69 views

NodeMCU ESP8266 disconnected from WiFi after several hours running

I tried to test NodeMCU ESP8266 with this code from here #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h&...
0
votes
2answers
35 views

Typedef struct not working

I made this simple code but I'm getting the following error exit status 1 'RGB' does not name a type typedef struct RGB { double r; double g; double b; }; RGB led; RGB func(...
0
votes
1answer
23 views

How can I declare custom pins when using with ESP8266 in MPU9250 library

I want to declare SCL and SCK pins like Wire.begin(sda_pin, scl_pin); to use with ESP8266 to integrate a MPU 9250/6500 sensor. I can't figure out a way to declare that in this code exaample provided ...
0
votes
1answer
22 views

Multiple data packets with CIPSEND, associate each with pathway

When using a CIPSEND from an Arduino Uno to a ESP8266 connected to the Uno is there a way to associate the data packet sent with a pathway so it can be retrieved at said pathway from the browser? For ...
-3
votes
1answer
48 views

On compiling I get #endif without #if error. Here is the code. Please help! [closed]

#include <Arduino.h> #endif #include <ESP8266WiFi.h> #define watersensor D2 const char* ssid = "pooja"; const char* password = "ranip2780@"; WiFiServer server(301); IPAddress ip(192, 168, ...
-4
votes
1answer
38 views

Plotting analogRead on OLED (128*64) - EspWemos D1 mini (Problem to upload this Sketch) [closed]

i want plot real time analog input on OLED . This code for arduino Uno .. i tested on arduino uno and take perfect answer. but i using OLED-Wemos D1 mini Shield board. and i want upload this code ...
0
votes
3answers
46 views

How far can a HC-SR04 can stand from the microcontroller?

I was wondering if I connect a HC-SR04 to an Arduino or any other microcontroller by normal cables, what would be the maximum length of this cable so that the measurements will still be true, and not ...
0
votes
3answers
70 views

Getting wdt reset + reboots every 5 seconds on simple button/relay code that has worked previously, now it does not and I changed nothing

I have some arduino code I adapted from a simple 2 button 2 relay code I found online. I just multiplied everything so I could have 5 buttons/5relays. I am using a NodeMCU (ESP-12E) for this. I have ...
0
votes
1answer
85 views

Streaming audio to ESP8266 over WiFi

I am thinking of making a wireless speaker using the ESP8266 chip. I have some questions regarding this. Which pin of the ESP8266 chip can be used as I²S output? I have an ESP chip of this type : ...
0
votes
1answer
22 views

Firebase.failed() returns 0 after Firebase.begin(), but returns 1 while reading or writing from/to firebase from ESP8266

The program was running fine, a few days ago, but now it just wouldn't read/write to the database. I'm running on ArduinoJson 5.13.5 and using FirebaseArduino library. I have set all the rules to true,...
0
votes
1answer
49 views

How to get Transmission package Timestamp from ESP8266

I am trying to make an Indoor positioning system using ESP8266 as a beacon, how do I get the transmission package timestamp from router to ESP8266 and vice-versa? Thank you in advance for any advice
0
votes
0answers
34 views

My esp8266 constantly reboots when I try to connect to WiFi

I made a post last week how my Wemos d1 mini lite kept rebooting whenever I tried to run WiFi.begin(). Somehow, the issue went away when I switched wires. I recently purchased a brand new Wemos D1 ...
0
votes
1answer
20 views

ESP01 to DC Motor powered via Battery with Power Regulator

Hi I'm wanting to control a dc motor through esp-01 and to have it powered by batteries. To keep my esp-01 safe, I have found the esp-01 adapter to regulate voltage. I am wondering if anyone could ...
0
votes
0answers
83 views

ESP8266 not posting to firebase, Firebase.error() does not return anything

Below is the code that i tried and it was working before i added NTP client and WiFiUdp . The credentials are all right. I even tried commenting the newly added portions, but now, all I am getting is ...
0
votes
0answers
28 views

Internet switching

is it possible to switch internet connection from esp8266 wifi module to gsm sim 900A internet if the arduino detects that the esp have no internet connection and vise versa? Thanks
0
votes
0answers
18 views

ESP8266 GPIO limitations with HC-SR04

I want to build a systems that measures if some parking spots are occupied or not. I chose to use an ESP8266 12-E NodeMCU Kit with multiple HC-SR04 ultrasonic sensors. In my project, it is essential ...
0
votes
0answers
25 views

How can I connect as many HC-SR04 as I can to my ESP8266

I have an ESP8266 to which I want to connect a few ultrasonic sensors. I need to poll them every second in order to calculate the distance they measure. Because ESP8266 doesn't have many digital pins, ...
0
votes
0answers
29 views

ESP8266 + Arduino Mega

I am currently carrying out a project where I am using an Arduino Mega2560, to recover data from two ultrasonics sensors (HC-SR-04). For the purpose of my project, I must add HTTP requests to this, ...
0
votes
0answers
33 views

ESP8266 - How can I detect unencrypted networks in authentication (hotspot)?

I list networks wireless networks with ESP8266. In this list I am detecting unencrypted networks. Some networks like Eduroam - Uni appear unencrypted. How can I detect unencrypted networks in ...
0
votes
0answers
31 views

adafruit rfm95w and sd card

I am looking to use the adafruit rfm95w(https://www.adafruit.com/product/3231) on top of the adafruit huzzah esp8266(https://learn.adafruit.com/adafruit-fea ... 6/overview) and an SPI sd card breakout....
0
votes
1answer
20 views

ESP-12 + FTDi + platformio

I have 2 questions. Why we have to put our functions before void loop and void setup into VScode+platformio? I switched from arduino IDE to VScode+platformio today, when I upload the sketch with ...
0
votes
0answers
41 views

ESP8266/Android app: slow response when using soft access point and keeps dropping connection

I have an ESP8266 which I'm using the Arduino IDE to compile a program which uses soft access points to talk to an Android App compiled using MIT App Inventor. The app seems to work the first couple ...
1
vote
0answers
79 views

ESP8266 NodeMCU CP2102 ESP-12E I2C with MPU 6050 Error

So the previous two questions could be found here: ESP8266 computtion error and ESP8266 not working with MPU 6050 over wire library and I2C However, it was not resolved, and with updates and debugs,...
0
votes
1answer
85 views

How to connect to MQTT broker with TLS?

I have ESP8266 which is connecting to MQTT broker and it is working ok using user+pass with following code: #include <ESP8266WiFi.h> #include <PubSubClient.h> const char* ssid = "...
1
vote
1answer
59 views

Does flashing ESP8266/ESP-01 firmware mean uploading a new 'sketch' and why different firmware?

Hi I am new to IOT and I am now in love with this. However I'm a little confused right now with the jargon. My question is similar to this. But I do have some extra questions though. When using ESP ...
0
votes
0answers
44 views

ESP8266 computtion error

The related hardware diagnostic could be found here: ESP8266 not working with MPU 6050 over wire library and I2C .But I'm not so sure it's a hard ware issue any more because I got the reading for ...
0
votes
0answers
24 views

Setting up Software serial connection between Esp8266 and Arduino

I have a Lolin Wemos D1 R2 and mini version of ESP8266 and an Arduino UNO. I have connected the pin described as Rx in Arduino to the pin described as Tx in ESP8266 and the same for pin described as ...
1
vote
1answer
54 views

Why ESP8266 slower than Arduino nano?

I'm using the same script(and standard wire and serial library only) one uploaded to Arduino nano one uploaded to ESP8266. However, despite ESP8266 running at 160MHz, 10 times faster than nano, it's ...
0
votes
0answers
61 views

ESP8266 not working with MPU 6050 over wire library and I2C

I'm trying to use this version of ESP8266 to access MPU 6050. However, it's not working. https://www.amazon.com/gp/product/B07HF44GBT/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1 i.e. ...
0
votes
1answer
49 views

Random characters transmitted from ESP8266 to Arduino

Below is the code for getting a value from Firebase and sending the received data to arduino for performing necessary action. The code here here sends a string "o" to arduino once //uploaded to ...
0
votes
0answers
28 views

Generate & Display QR using Nodemcu on TFT Display ST7789 240*240

I have NodeMCU & ST7789 TFT display. I want to generate QR Code of any dynamic input and display it on my TFT display. Not able to find any suitable reference. All Standard QR code libraries only ...
0
votes
1answer
44 views

Determining which raw IR code to use for AC

I'm new on this so go easy on me. I'm trying to make an IR blaster to control my TV and ACs. I realized that when I capture the IR code, power button/temp up and down/mode send raw codes that are ...
0
votes
0answers
38 views

How can I use Wemos D1's TX pin as OneWire?

I'm building a thermostat control with a Wemos D1 Mini. The ILI9341 display uses almost all the pins, and all I have left are the RX, TX, A0 and D0 pins. However I can't get any valid readings from ...
-1
votes
1answer
57 views

how to turn on and off 5v relay using ESP32

I'm trying to turn on and off 5v relay using ESP32 Using this code int ledPin = 21; void setup() { pinMode(ledPin, OUTPUT); Serial.begin(115200); } void loop() { Serial.println("High!");...

1
2 3 4 5
33