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

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
23 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
24 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
32 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
19 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
18 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
18 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
64 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
38 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
49 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
22 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
49 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
50 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
42 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
17 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 ...
-2
votes
0answers
48 views

Serial Communication Problem Between - Arduino UNO and ESP8266 (ESP-01)

I have built a Small Project to illuminate a connected LED on the Arduino-Uno via the internet by ESP8266-01 using the adafruit website but the problem is getting a wrong result and not lighting the ...
0
votes
1answer
38 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
32 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
49 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!");...
0
votes
1answer
46 views

Fixing serial communication , condition for serial data available checks out even after reading all the data sent

I have been working on monitoring an aquaculture , where I log the environment variables (temp. , humidity, gas sensor data) to firebase and control feeding mechanism via an app(where data can also be ...
0
votes
0answers
58 views

esp8266 WiFiClient Troubleshooting

I have a pair of ESP8266 modules: 1 Server running in (STA+AP mode or AP mode) and 1 client. The client cannot seem to make a TCP connection to the server. Only changing the wifi-networt, HOST, and ...
0
votes
1answer
33 views

ESP8266 compilation error: “previous declaration of 'HTTPMethod HTTP_HEAD'”

I have an ESP8266 program that used to work but is now failing to compile with this error: C:\...\Arduino\libraries\WiFiManager/WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM' const ...
1
vote
2answers
32 views

cannot connect ESP8266 web server after some time

I am new to ESP8266 and found an example about turning a LED ON/OFF using web interface. It works well but after some time (few minutes) i cannot open the web page (in my case it is http://192.168.100....
0
votes
0answers
23 views

ESP8266 exception on Array access

I have code to run an SH1106 display that works perfectly fine on a Mega328 (basic Uno clone) and Sparkfun Redboard Artemis (ARM M4). The code for the ESP8266 (NodeMCU v1 clone) should be pretty ...
0
votes
1answer
50 views

ESP8266-01 Resetting when DC motor runs

DC motor: 3-6v Servo sg90: 3-7.2v Esp 8266 01: 3.3v I have 2 Arduino Uno both has their own ac-dc power adapter. Lets say, 1st Arduino is Ard1 and 2nd is Ard2. The Ard1 communicates to a web ...
0
votes
0answers
36 views

arduino and esp-1 stop workign after 1 day running

i'm trying to create a system that arduino and esp-1 send an GET request each 2 secs to a server and depend on server reply turns a LED on or off . system works good for 6-7 hours but stops after one ...
0
votes
1answer
36 views

HC-12 modules stopped receiving, cannot understand why

I've created a simple transmitter with an HC-12 and an Arduino Nano (clone), where I send the values of DHT11 and LM35 sensors to a receiver unit made only of a Wemos D1 and another HC-12. Setup is ...
0
votes
1answer
39 views

ESP8266, sporadically no write access to the file system

I have an ESP8266 project which reads my gas consumption. The hardware and the project run satisfactorily. Sporadically, the ESP8266 can no longer write to its file system and therefore cannot save ...
0
votes
0answers
15 views

Wifi communication between ESP8266 (s) and ESP32: know if the client is alive (possibly without errors …) [duplicate]

I state that I am an amateur beginner and this is the first time I ask a question in a forum, so any criticism, judgment or advice is a pleasure for me! I am trying to build an automatic irrigation ...
0
votes
1answer
27 views

Detect the end of playback of a MP3 file with DFPlayerMini / DFRobotDFPlayerMini.h library

For a project I'm doing I've used an ESP8266/12e, a RTC Module DS3231 and a DFplayerMini Basically it's a caller for birds and it has to play a 12-minute long MP3. The MP3 file should be played for 2 ...
0
votes
0answers
24 views

ESP8266 and WPA2 PSK network

I'm having some issues with esp8266 connecting to a wifi network. I'm testing with a hotspot from a mobile phone. If I set the network to open (no security) my code below works without any issue. If ...
0
votes
0answers
51 views

POST request using WiFiEsp.h library

I'm using an arduino uno and ESP8266 (esp01) with the WiFiEsp library to connect to WiFi and POST data, connecting to WiFi works just fine. I need to send a POST request, but I can't get it to work ...
0
votes
1answer
31 views

ESP8266 reseted due to relay / AC plugged

My Wemos card is reseting for unknown reason. For example, the pump plugged on the relay works fine till 1am and then the pump stop. After a few research I figured out the ESP should reset because all ...
0
votes
0answers
34 views

How to edit code from Node-Red to Cayenne

I am working on a project to run some (relays or LED's) on an inputs (Pins) Arduino by esp8266-01s . now while searching on internet I found a video divided it two step that talks about the issue ...
1
vote
1answer
49 views

Serialize JSON as response to HTTP request

I'd like my ESP8266 to provide some JSON endpoints. I want to use ArduinoJson for serialisation. While this works in general if I serialize into a String and return this String afterwards, I was ...
1
vote
2answers
221 views

esp32-cam publish image to mqtt

I want to publish image capture through ESP32-CAM to MQTT. Have following code : #include "WiFi.h" #include "esp_camera.h" #include "esp_timer.h" #include "img_converters.h" #include "Arduino.h" #...
0
votes
2answers
36 views

Nodemcu powering with 5.2v and 2A?

I bought a this voltage regulator . DC-DC 5v 8A voltage regulator. ıts supported 8-35V input voltage . And i want to use this with 12v power supply. But i searched on the internet . Nodemcu max amp is ...
0
votes
0answers
39 views

Can ESP 32 use the wire library exactly like that was in Arduino?

Compare the YouTube video and this webpage, the former one made programming very different in ESP32 and that was in Arduino nano, while the webpage seemed to imply that they work exactly the same. ...
0
votes
1answer
49 views

Arduino ESP8266 - stack ERROR - ESPExceptionDecoder to debug - need help to find ERROR

i have one project that can ready compiled. The function is break on the hardware an i need help to finde the error. I am a beginner and ask for help. How can I narrow the error down? Sketch: ...
1
vote
2answers
42 views

How can I power an ESP8266 using a 9V 1A barrel connector power supply?

I have a Huzzah Feather ESP8266 (pinout) and due to the requirements of my project, I need to supply it with a 9V power adapter with a barrel connector, such as this one. I'm REALLY new to all of ...
0
votes
1answer
42 views

setting a dc motor to work for a fixed amount of time [closed]

I am trying to set a DC motor to work for a fixed amount of time. For example if I will press left, I want it to work for a minute and after that to stop. If I will press right, to work for a minute ...
-1
votes
1answer
101 views

esp8266 ip address issues

I have android studio app and arduino codes they are connected to each other using esp8266 but it works only on one network when I use another network it doesn't recognise it's ip address instead it ...
1
vote
0answers
42 views

StoreProhibitedCause Exception with linked list on ESP8266 [migrated]

I have implemented a linked list class as follows for storage of sensor data readings. (Note the total code is ~4000 lines so I can't provide it all, hopefully this gives an idea of what's done). ...
-1
votes
1answer
22 views

i want to make Node Mcu a bride for other devices but its self connected with home wifi not providing internet to others

i there! i have Node Mcu which i want to connected with my home wifi after it it made it own station mode then i want to make it access point for other but now problem is that it is now in both mode ...
0
votes
1answer
107 views

HTTP Post data from Arduino uno using WiFi

Please help me to post data from arduino uno to a webpage using wifi(ESP-01) module. I try with AT commands it didn't give the response from my webpage #include <SoftwareSerial.h> #include <...
0
votes
0answers
32 views

ESP8266 as ISP for Arduino Mega2560

I'm trying to use an ESP8266 Node MCU 1.0 (ESP-12E Module) as an ISP to program an Arduino Mega2560 over Wifi with no USB cable. (USB connected to ESP8266 module just for power). I used the sketch '...
0
votes
0answers
27 views

NodeMCU hc05 Connection

I am using a NodeMCU from Amica. I tried interfacing the HC-05 module to the NodeMCU. The following code works fine without any errors #include<SoftwareSerial.h> SoftwareSerial btport(D2, D3);...
0
votes
1answer
33 views

Arduino Firebase ESP8266 Connection

I am working on a project that needs data to be stored in cloud db so that I can access the data in a mobile application. For database I have considered Firebase. I am following the following link. ...
0
votes
1answer
32 views

Code uploads successfully on esp8266-01 but doesn't run

I am using esp8266-01 board. It was working fine few days ago, the codes uploaded and ran successfully. But now that I upload code to it, it gets uploaded successfully but it doesn't work. I am using ...

1 2 3 4 5 32